t4fast:
Find out what is happening with your functions: What are Function return values ? How do I use them ?
Hi all,
there is an issue with the below code, as the loop only modifies (TP/SL) the first order, and doesn't loop through all of the existing orders.
Can some one help.
t4fast:
Hi all,
there is an issue with the below code, as the loop only modifies (TP/SL) the first order, and doesn't loop through all of the existing orders.
Can some one help.
Maybe this is what you need, Loops and Closing or Deleting Orders, and btw, you can compare double like this :
if(OrderTakeProfit() != TP||OrderStopLoss() != SL)
You may also read this Can price != price ?
both by the same author, actually. Here's another one Some double values invisible during cycle? by different author.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
there is an issue with the below code, as the loop only modifies (TP/SL) the first order, and doesn't loop through all of the existing orders.
Can some one help.