Quattro  Grid MT5:   Time Tracking

Quattro Grid MT5: Time Tracking

11 April 2026, 16:16
Aliaksandr Charkes
0
25

<<    Back to General Settings Overview

Description of settings related to Time Tracking

This section describes the EA ability to start and/or end trading at a specified time. 

To get quicker information on the desired setting, you can use the page search function. This is normally accessed by pressing F3 or Ctrl+F 

Two time-range control modes are supported. Trading can be allowed either only within a specified range (the classic option) or only outside a specified range (if you need to block trading for a certain period). Furthermore, if you use multiple charts for a single symbol simultaneously, you can configure scheduled trading in various combinations. To do this, you must use different Magic Numbers for each instance of the Expert Advisor on every chart (in addition to other differing settings).

Upon reaching the end time in "Only In Range" mode (or while inside the specified range in "Only Out Range" mode), the EA stops auto-updating its price levels. Additionally, bulk closing of market positions or deletion of pending orders can be performed in various combinations. The EA will continue to do this until the trader disables this mode or removes the EA from the chart.

This trading type can be used simultaneously with any other trading modes supported by the Expert Advisor.



Information Capabilities:
 All necessary data related to this trading type is displayed in a dedicated information panel created specifically for this mode. Additionally, once trading is finalized, a distinct notification is displayed that is impossible to miss or ignore.

On-the-Fly Settings: Virtually all settings for this mode can be adjusted even after it has been activated. This means you can seamlessly modify existing values at any time and as many times as needed. Meanwhile, the Expert Advisor will constantly monitor the validity of the entered settings, helping you better adapt to the current trading situation.

Variety of Strategies: The trading and informational capabilities of this mode can be used not only for the operation of the current Expert Advisor but also for manual trading and, in some cases, for monitoring the performance of third-party EAs.



Example of Mode Operation using Alpha Grid MT5 1.0


Description of Settings 

>>    Activation Mode of limiting trading by TIME
Activating the time tracking trading mode. This setting enables or disables all other parameters for this trading mode. If set to  false, the values of the other settings in this section will be ignored (except for the option to display the dedicated info panel for this mode).

You can also use this setting to restart the trading cycle after it has finished. If the end time has been reached and you wish to restart the process without reloading the Expert Advisor, simply turn this mode off, apply the changes (click OK), and then turn it back on.

>>    Always show Panel for limiting trading by Time

A dedicated information panel is created for this trading type, providing full control over all specified conditions.

It displays various useful data on the chart (related to time tracking), allowing for better management of the trading situation. The panel features its own color indicator for various events, which also serves as a button to collapse or expand the panel. The panel can be easily moved around the chart by simply dragging it with the mouse. Once collapsed, the remaining indicator button can be placed anywhere convenient, such as the top panel. Additionally, using the  Shift + Left Mouse Click combination, you can bring the panel (or its button) to the foreground at any time.

When this trading mode is activated, the information panel will be enabled regardless of the settings (even if the specific parameter is set to  < false >). This is done to ensure maximum possible control over this trading type by default. However, to use the informational capabilities of this panel before launching the mode (for example, for visual pre-selection of settings or for manual trading), you should set this value to  < true >; the panel will then be displayed even if the trading mode itself is disabled.

The panel has its own separate scaling setting, and its color configurations can be used to quickly visually distinguish the EA when running it on multiple charts simultaneously.

>>    Start DATE of Trading

Here you can set any CALENDAR time (server's) from which the adviser should start its work (or pause in the "Only Out Range" mode). If the time is set in the past, then it will automatically be equated to the present moment. The current time of the trading server can be viewed in any information panel.

>>    Finish DATE of Trading
This field sets the final  CALENDAR time, after which the EA stops trading (or resumes in "Only Out Range" mode). Upon reaching this time in "Only In Range" mode (or while inside the specified range in "Only Out Range" mode), the EA stops auto-updating its price levels. Additionally, bulk closing of market positions or deletion of pending orders can be performed in various combinations (this is configured in a separate setting for the  CALENDAR mode).

>>    Enable Updating Initial Prices if Start Date is in the Future
This setting is only relevant for moments when the time tracking mode is enabled, and the automatic generation of initial prices is enabled, and the starting CALENDAR time (server's) is set in the future.

true: Initial grid prices are updated at every tick. The final price fixation will occur only when the start time is reached.

false: Initial prices are not updated and remain unchanged after the start time.

>>    Trading Range TYPE for CALENDAR dates

<  Only In Range  >   

Placing and restoring orders only INSIDE the specified CALENDAR range  

<  Only Out Range  > 

Placing and restoring orders only OUTSIDE the specified CALENDAR range

>>    Control Panel scale 
Scaling the information panel for a given trading mode (increase or decrease)

>>   Selecting a deletion mode after reaching the DATE Limit
Using this setting, you can select which market positions or pending orders will be closed and deleted after the end of CALENDAR trading in the "Only In Range" mode (or during a pause in the "Only Out Range" mode). In this case (in the "Only In Range" mode), the advisor will continue to do this until the trader turns off this mode or unloads the advisor from the chart.


<  Do not Delete or Close anything  >
No actions with orders and positions are required. In this case, the EA will simply stop auto-updating its price levels.


ALL EA Orders AND Positions  >
Deleting all pending orders and market positions of the Expert Advisor for the current currency instrument

EA Market Positions Total  >
Closing only market positions of the  Expert Advisor for the current currency instrument

EA Pending Orders Total  >  

Deleting only pending orders of the Expert Advisor for the current currency instrument

<  EA BUY Market Positions Only  >

Closing only market positions of the BUY type EA for the current instrument

<  EA SELL Market Positions Only  >
Closing only market positions of the SELL type EA for the current instrument


ALL SYMBOL Orders AND Positions  >
Deleting all pending orders and market positions for the current currency INSTRUMENT

SYMBOL Market Positions Total  >
Closing all market positions for the current currency INSTRUMENT

<  SYMBOL Pending Orders Total  > 

Deleting all pending orders for the current currency INSTRUMENT

<  SYMBOL BUY Market Positions Only  >

Closing only market positions of the BUY type for the current INSTRUMENT

 SYMBOL SELL Market Positions Only  >
Closing only market positions of the SELL type for the current INSTRUMENT


<  ALL ACCOUNT Orders AND Positions  >

Deleting all pending orders and market positions for the entire ACCOUNT

<  ACCOUNT Market Positions Total  >
Closing all market positions on the current account for the entire ACCOUNT

<  ACCOUNT Pending Orders Total  >

Deleting all pending orders for the entire ACCOUNT

<  ACCOUNT BUY Market Positions Only  >

Closing only market positions of the BUY type for the entire ACCOUNT

 ACCOUNT SELL Market Positions Only  >

Closing only market positions of the SELL type for the entire ACCOUNT