Day and Time
Last updated
Last updated
The Day and Time Block is a versatile tool in the script builder that allows you to set specific time-based conditions for your trading strategy. This block helps you define when your strategy should be active based on days of the week and specific time ranges.
Time Zone Selection: Choose the appropriate time zone for your trading activities from a comprehensive list of global time zones.
Day Selection: Select which days of the week you want your strategy to be active. You can choose any combination of days from Monday to Sunday.
Time Range: You can set your strategy to run "All Day" or specify a particular time range. If you choose a specific time range, you'll need to set a "Start Time" and an "End Time" for your trading hours.
Visual Representation: You have the option to "Draw Allowed Time" on your chart, which visually highlights the periods when your strategy is active.
Market Hours: Set your strategy to only operate during specific market hours, such as the New York Stock Exchange trading hours.
Day Trading: Limit your strategy to operate only during the most active trading hours of the day.
Avoid Specific Periods: Exclude certain days or times known for high volatility or unpredictable market behavior.
Time-Based Strategies: Create strategies that only trade during specific times of day when certain patterns are more likely to occur.
Multiple Sessions: Set up different rules for different trading sessions (e.g., Asian, European, and American sessions).
Remember, the Day and Time Block acts as a filter for your entire strategy. When the current time is outside your specified days and times, your strategy will not generate any signals or execute any trades, regardless of what other conditions might be met. By carefully configuring your Day and Time Block, you can fine-tune your strategy to trade only during the most opportune periods, potentially improving its effectiveness and reducing unnecessary trades during less favorable times.