Hòa Nguyễn:
we might help you if you go and read the rules for posting in the forum, including using the code button when inserting code.
Hòa Nguyễn #:
I'm very sorry for not knowing the forum rules, I will read it and come back. Thank you so much
I'm very sorry for not knowing the forum rules, I will read it and come back. Thank you so much
Try this, change this line
if(AllProfit()>Profit || AllProfit()<-Loss)
to
double total_profit = AllProfit(); if((total_profit>=20 && CountTrades() == 1) || (total_profit>1 && CountTrades() > 1) || total_profit<-Loss)
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
Help me edit the EA. If Number of Trades = 1, profit = 20, If Number of Trades > 1, profit = 1.