Dislikedbut how do i get it to do it to every open order on that currency pair?Ignored
- #81
- Aug 25, 2009 12:41pm Aug 25, 2009 12:41pm
- Joined Nov 2007 | Status: Trying manual mode again | 2,210 Posts
Learning at the speed of snail [Newbie Learning Journal] 9 replies
Questions to Analyze a Trading Plan (boring bit that actually makes you profitable) 0 replies
It's been a bit crazy... 1 reply
Dislikedbut how do i get it to do it to every open order on that currency pair?Ignored
for(int m=1; m<=OrdersTotal(); i++)
{
if (OrderSelect(m-1,SELECT_BY_POS)==true)
{
OrderModify(OrderTicket(),OrderOpenPrice(),Ask-StopLoss,WorkingTP,0);
}
} Dislikedthis is what i narrowed it down to, but its not working.......
Inserted Codefor(int m=1; m<=OrdersTotal(); i++) { if (OrderSelect(m-1,SELECT_BY_POS)==true) { OrderModify(OrderTicket(),OrderOpenPrice(),Ask-StopLoss,WorkingTP,0); } }Ignored