I have finished all my scripts and not I´m facing the last problem with executing stops correctly.
a.) If an order is rejected, eg exitlongstop, because of fast move in market and therefore in my script I do
"if (order.OrderState == OrderState.Rejected)
{
exitOrder(1a) = ExitLong(1,"x1a","1a");
CancelOrder(stopOrder1a);
}
would this be the same action as a market-order?
b.) I´m looking for how to do a stop as mar****rder (instead of using setstoploss because of handling restrictions). Is there a stop as market-order with exitlong....() to use instead of setstoploss to have it working as stop-market-order?
Thanks
Tony
Comment