Example how to set the time range window to be backtested for both entries and exits. Additional examples are also included showing how to set the date range and toggle plot visibility. By incorporating this code with your own strategy's logic, it will allow you to backtest various time windows. Much gratitude to @LucF and @a.tesla2018 for help with including...
Example how to automatically set the date range window to be backtested from X days or weeks ago to present. Additional options are also included to manually set the date range or to show entire range available. Normally when you change chart period it changes the number of days being backtested, which means as you increase the chart period (for example from 5min...
Example how to select and set date range window to be backtested. Normally when you change chart period it changes the number of days being backtested which means as you increas the chart period (for example from 5min to 15min) you also increase the number of days traded, so you can not compare apples to apples for which period would yield best returns for your...