How do I do this simple custom code?
-
I have a modify stop, with value of an indicator of the previous candle being the stop loss.
However, I want to store values and only modify the stop loss if it hits this condition:
If value of candle 1 > current_stop:
modify stop loss
else:
Don’t modify stop lossThis is what I have set up currently for modify stop

-
@yoloyacht I see you are using a custom indicator. Are you sure it is correctly uploaded to your fxDreema account?
-
@l-andorrà Yes. Did some backtesting too and it's working the way it should so far
-
@yoloyacht Can you then please share your project?