I am trying set an interval to trade as input so that I can select when I want the strategy to trade. It works well, but only after midnight. If I select Start Time before midnight it fails and does not execute any trade. If the start time is after midnight, it executes them correctly.
I defined the input as Time type and use a Condition: If Time Series Greater equal User Input (Start Time) and the same for Time Series Less equal User input (Stop trade).
What am I doing incorrectly?
Along the same line, if I want to have the option to select which day of the week the Strategy is looking for/executing trades, how would I do it?
I tried selecting the days of the week as Bool and then adding a condition if Day of Week/Misc Sunday Equals User Input (e.g. Sunday), but I got an error message that left and right expressions do not match...
Thanks!
David
Comment