Download MetaTrader 5
To add comments, please log in or register
Freelance service: the safe way to order a trading robot. Try it!
jclee
4
jclee 2016.09.02 00:50 

Can anyone suggest some code that able to open a new pending order once the existing pending order been trigger ? and put the current count of total open order into the magic number of this newly open pending order ?

I assume this will need to check on every tick, so thinking to avoid using OrderTotal() to loop through and check. thanks a lot in advance 

/
To add comments, please log in or register