Do you think it is possible to use CALL fonction to create a “remote control” of the code?
My idea is to modify the called indicator to say to indicate days on and day off. But I don’t know if a bot can’t take in account indicator modification. I didn’t test it.
My idea was to change the indicator, setting it either to 0 or 1 to allow/ban trading, but it seems indicators are now being embedded at launch time and used like regular functions in programming languages (this feature will make code faster and was long awaited) but you will have to stop your strategy and restart it from scratch after modifying the indicator, so it’s no use. You’ll have to modify dates embedded in your strategy.
As far as I know there are no alternatives, can @nicolas confirm indicators are now embedded in the strategy?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.