if (BarsInProgress == 0)
{
EnterShortStop(1,true,1,MyEntryPrice,"");
}
...
where 5 minutes is BarsInProgress=0 and 1 minute is BarsInProgress=1.
If I use "false" like the second parameter my order is Accepted and Cancelled inmediately.
If I use "true" like the second parameter I can't cancel my order when the 5 minutes have finished.
Thanks in advance.
Jesus.
Comment