HOW ?? calculate of total pips. multiple pair basket order close in profit or loss. setting next day cycle. please suggest me.
-
how can calculate all my trade profits and close order with total sum? multiple pair..
my ea run on 5 currency at a time. any trade buy or sell. when total profit like 100 pip then close all my order. and no new order that day. after my next day this cycle start again. -
-
here we need cycle like this
1:- EA is running many currency at a time. like eurusd, gbpusd, eurjpy, audusd.. when total my floating profit like 100 pips then close all trade. and stop working EA on this day. next start this process. this is must be condition.2:- particular currency wise. when two trade-in profit close EA.. after AUTO start the next day.
3:- particular currency wise. when two trade-in loss close EA.. after AUTO start the next day.
4:- hour filter is applied to start when trade. -
@rld51251 Can you please share you current project?
-
https://fxdreema.com/shared/0rW4S8j4
this is the link my project. I am use stop loss and TP fixed.
now I am trying to set hour filter and other stuff.. and trying to calculate total profit and loss. all currency. that I am not know.
-
@rld51251 You just need to connect a 'close trades' block below the 'Check profit (unrealized)'. Once the amount of pips you are looking for is reached, all open trades will be closed. That 'bucket of trades' block is unnecessary.
I also recommend you to use candle ID 1 in all operands of all condition blocks.