Hi ApplyStop can be used for ATS? or it can be only used for backtesting? because this method does not have return value.
Is it possible to write like the following code?
Sell = ApplyStop(stopTypeTrailing, stopModePoint, 3*ATR(14), True,
True );
iif(sell){
ibc.PlaceOrder( Name(), "Sell", 2, "MKT", 0, 0, "DAY", True );
}
Thanks in advance.
