I have something like :
if (xxxxx)
enterlonglimit(1,close[0],"LongA1")
with a profit target of 1 tick and stop loss of 10
on xxx min bars. (if that actually makes a difference)
now my problem is that when I get a signal to buy, it is only good for (i) bbb min and (ii) 1 one tick increase in price. I have part (i) done but part (ii) is causing me some trouble.
I have looked at IOrders with Cancel() but I was wondering if there was an "easier" way to cancel my order if it was left open but the price had gone up by 2 ticks already for what ever reason?
JP

Comment