I want to ask please if there might be any problem when I move my setstoploss from onbarupdate to onExecution. (The reason is that I want to move my stops referring to market conditions but when I have the stops in onbarupate then they switch back always to the position determined in the script and do not stay at the new position).
Thank you
Tony
Comment