im trying to develop a trailing stop for my strategy, using teh managed aproach (SetStopLoss) iteratively, but when the market is so volatile, apparently, when i try to put the setstoploss, in this moment the market value change its direcction so volatile and de value is below my setstoploss value.
So, i know that is not posible to set the stoploss above the market vale (for longs) or below the market value (for shorts), but when it occurs, my strategy is disabled automatically.
It´s possible to catch this excepcion, and does not disable my strategy and try to get the last stoploss or try to set another one? or its possible to reactivate my strategy automatically at least?
Thank you for your help

Comment