I found this EA and would love if someone could help me adjust it. The only setting I want to change is closing everything for a loss instead of a gain.
Currently when all the trades that are open reach XX positive it closes everything. But I want to change it so when the trades are XX negative it closes everything.
Can anyone help?
Files:
close_all_positions_at_profit_target.mq4
6 kb
- Request Execution - Opening and Closing Positions - Trade - MetaTrader 5 for iPhone
- Request Execution - Opening and Closing Positions - Trade - MetaTrader 5 for Android
- Modifying a Position - Trade - MetaTrader 5 for Android
fly2hi:
I found this EA and would love if someone could help me adjust it. The only setting I want to change is closing everything for a loss instead of a gain.
I found this EA and would love if someone could help me adjust it. The only setting I want to change is closing everything for a loss instead of a gain.
Currently when all the trades that are open reach XX positive it closes everything. But I want to change it so when the trades are XX negative it closes everything.
Can anyone help?
I corrected - if the ProfitTarget value is negative, then it should work as you want, and if positive, then how it worked before. Check only I have no time to check.
Files:
Hi there, how about this EA profitability?
Philipp Negreshniy:
Thank you so much. I will try it out.
I corrected - if the ProfitTarget value is negative, then it should work as you want, and if positive, then how it worked before. Check only I have no time to check.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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