The problem is that in a long trade, for example, the sl must move one tick below the price, but sometimes the price is already two ticks below the price of the sl.
there is a way to detect when this error occurs, so that the strategy closes the operation with a market order, that is, if it fails to move the sl, it closes the operation, since it is understood that in normal circumstances the sl would have closed it.
and of course everything without resorting to adding a series of tick data
would it be correct to use this?
protected override void OnMarketData(MarketDataEventArgs e){}
Comment