Download MetaTrader 5
To add comments, please log in or register
Do you know C++? MQL5 has much in common with it. Just try it yourself!
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