Controlling lose EA+opposite trades
-
How can i creat an EA to check every trade individually and if 1 trade went in lose more than X pips , executes an opposite trade for covering the lose.it must be on 1 chart and controlls all the opened positions.
the block(check profit-unrealized)checks the all profits not every 1 trade.
which block(s) should i use?
thank you. -
@ali-pahlawan You can change the 'check profit-unrealized' block by selecting 'Specified' instead lf 'Any symbol' in its 'Symbol mode' option.
-
thanks.i will try it.
-
dont forget to account for spread!
-
@l-andorrà
thanks.and i got a problem with this EA.THE STRATEGY IS:
candle close > EMA200 IN H4-H1-M15 (ALTOGETHER)>>> BUY;
candle close < EMA200 IN H4-H1-M15 (ALTOGETHER)>>> SELL;
BUT ITIS WORKING ON EVERY 1 PASS.i want the block(set current time frame)passes 3 times and if the conditions in 3 of the were true then executes the trade.please see my EA AND resolve it by sharing link of true blocks that i must use.look at it if i am true?
like always so much thank you so much.
https://fxdreema.com/shared/MPKJjyt5c

-
@ali-pahlawan I see you fixed the problem by adding a 'Count 'n' times block'. Good for you!

-
@l-andorrà
blocks 16+17 will work?and how i used them,are they right?testing them is so time taking.thank you explain more about blocks(if...then)and variables.thanks a lot. -
@ali-pahlawan I think they should (although not tested). Let us know if you find any issue.