i'm trying to understand the best way for change the stoploss in a strategy:
my favourite method is SetStopLoss(), that i use it in OnBarUpdate every time i need to change the SL dynamically when i'm having an open position.. in this mode i try to make a trail stop more elastic (the initial trigger is 5 point over the position.AvgPrice and change SL over of 1 point, the next ones changes (after the first) is every 2 point / added value of 2 point by the prev stoploss)...
i read some others methods, such as use the direct method EnterLongStop / EnterShortStop inside OnOrderUpdate or OnExecution..
which is the best way for do this?
thanks in advance
wyatt
Comment