The strategy has 2 trading modes, breakout and range. A button would enable/disable either of the modes in order for the strategy to take trades in the expected direction.
I have not found any resources to be able to pull this out. I have some sample codes but way too complex to use in my simple strategy.
Thanks!

Comment