I have some time parameters in the strategy (unlocked, working in code) and I'd like to be able to switch these on and off, particularly for the analyzer. What would the right way to do this be? As I'm not a programmer and just learning to code, I'd appreciate an "easy" explanation..
I was thinking of using variables in the strategy builder, but I am not sure they would become visible in the analyzer as a parameter to select as on/off.
Something like this:
// Set 3 if ((CrossBelow(RSI1.Default, RSI_Min_Long_SL, 1)) // Morning Hours && ((Times[0][0].TimeOfDay < new TimeSpan(8, 0, 0)) || (Times[0][0].TimeOfDay < new TimeSpan(10, 0, 0))) && (TimeManagement == 1))
So any help to make this a bit more slick is much appreciated!
PS: the above use of a variable still doesn't show up in the analyzer as a "switch" so maybe I am on a wrong track here... :-(
Comment