I need an idea (or a piece of code to starts it), about making my EA open an order if it catches de stop loss level, in the new direction. Coudn't find anything that helps on my searches. Thanks in advance!
- [WARNING CLOSED!] Any newbie question, so as not to clutter up the forum. Professionals, don't go by. Can't go anywhere without you.
- [ARCHIVE]Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Can't go anywhere without you - 5.
- Coding Trailing Stop Loss in MQL5
Rafael Peres:
I need an idea (or a piece of code to starts it), about making my EA open an order if it catches de stop loss level, in the new direction. Coudn't find anything that helps on my searches. Thanks in advance!
I need an idea (or a piece of code to starts it), about making my EA open an order if it catches de stop loss level, in the new direction. Coudn't find anything that helps on my searches. Thanks in advance!
Use "OnTradeTransaction" and the new property "DEAL_REASON"
Thank You, Vladimir for the tip! I´ll study this. I´m not a programer, and sometimes this is dificult for me!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register