is there a way to avoid the strategy to be stopped while an order has been rejected?
I have a grid of buy stop orders which take place as long as the market reach some prefixed levels.
Sometime, in case of hectic market, one or more of them are rejected because the market immediately crosses over my entry stop level, so the order is not anymore a buy stop order (entry is below the actual price).
I tried something like this buy doesn't seems to solve.
I think the better way is simply to ignore orders that are rejected but the strategy needs to carry on running. How can I do it?
Thanks.
if (OkEntry1Stop == true )
{
if (level_1 + offset >= GetCurrentAsk())
{
EnterLongStop(nCtr, level_1 + offset , "Buy_Grid_1_Stop");
}
}

Comment