Neill Forbes / Publications
Forum
Changing the Stop Loss and Take Profit of all Orders
Hi, I' having a hard time with changing the SL and TP of all active orders. See code below, It seems to never close trade 1 (order 0). Should the below code not change all orders to the same stop loss and take profit ? for ( int i= 0 ;i< OrdersTotal ();i++) { if ( OrderSelect