I don't think that MQL code can detect or even enable MetaTrader's Trailing Stop functionality from the code itself. It has to be set manually.
All an EA can do, is itself manage a trade by implementing the equivalent of a trailing stop-loss based on your conditions. You can find several such EAs in the CodeBase section of this site, and there are also many more available in the Market section, some free and some paid.
I don't think that MQL code can detect or even enable MetaTrader's Trailing Stop functionality from the code itself. It has to be set manually.
All an EA can do, is itself manage a trade by implementing the equivalent of a trailing stop-loss based on your conditions. You can find several such EAs in the CodeBase section of this site, and there are also many more available in the Market section, some free and some paid.
It is against forum rules to discuss Market products.
It is however acceptable to discuss Codebase publications, but it is recommended that you do your own research according to your own requirements, but here are some search results with the keywords "trailing stop":
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi , Can we SET TRAILING TP of any individual active open position/trade once by EA? For example there can be a EA that looks for any "NON SET TP TRADE" it puts a trailing TP of say 15 points?
Can someone refer such a EA?