would be nice if in the help section there could be an example how to use the ENTERLONGSTOPLIMIT function
there is currently only a help section for
but not for
i simply want to trigger a stop order on the high +1 Tick of prior bar and then once this price is reached a limit order of -4 tick of the current price should be placed..
when using this command
EnterLongStopLimit(DefaultQuantity, High[0] - 4 * TickSize, High[0] +1 * TickSize, "long");
i get an order rejected error with the message: price cant be smaller than the stop price.
if i place by hand (with the chart trader) a LongStopLimit order above the market with -4 Ticks then everything is working fine (limit order can be smaller than the stop price: once my stop price is reached a limit order is placed and filled.
Comment