Download MetaTrader 5

Interesting feature of the SBRAER EA (TC2011)

To add comments, please log in or register
philippe
324
philippe  

I found this feature very interesting, where the trades going in negative territory finish at 0.

Anybody knows how it works?

 

Thanks 

Andriy Moraru
1261
Andriy Moraru  
I'm not exactly sure what you mean, but it could be so that the EA detects max drawdown of each position - if it goes below Spread value, then the EA will try to close it at zero profit, if it never goes into drawdown higher than spread, then it lets the profits run.
Documentation on MQL5: Standard Constants, Enumerations and Structures / Environment State / Symbol Properties
  • www.mql5.com
Standard Constants, Enumerations and Structures / Environment State / Symbol Properties - Documentation on MQL5
philippe
324
philippe  

thanks for your answer... that makes sense indeed.

To add comments, please log in or register