Closing all opened positions on defined profit in 1 tick.
-
hello.i got an EA(close-profit) that closes all trades on defined profit,but closes every trade on 1 tick.it means it closes 10 trades on 10 ticks.there is a problem with changing profits for every trade(will be reduced in many times) and if i use trading robots for executing trades,because the robot is executing trades in every 1 tick on its signals.when it is closing opened trades ,if the signal exists the trading robot will execute new trades and (close profit EA) will close it on next tick and again it will repeat(trading+closing)untill all the balance will be wiped.i want to close all my opened positions immidiately on 1 tick and other trades from my trading robot in next tick must not be closed,or it closes every my opened positions in 1 tick but the trading robot must be terminated untill all the trdaes be closed.then the trading robot must be on again.i prefer closing all opened positions in 1 tick.how can i do it in fxdreema blocks?and how can i terminate another robot for a time and make it on later?(the terminate block ifxdreema just terminates the same robot not other robots)please share the link for this piece of project.thank you so much.
-
@ali-pahlawan I am trying to understand your situation.
You have a EA running and you want to control the Trades with a EA you create in fxdreema?
Is that correct? Could you share your current project please.
-
yes.i have it.but works undesirable.i want to close all trades instantly in 1 tick,but it closes every 1 trade in 1 tick.this is the problem.because in this time the other trading robot executes trades again and closing them continues to make the balance zero.