In this article you can find out more about the parameters available in the advanced GridX Expert Advisor.
This article will cover in particular the Date and Time Filters.
GridX is the advanced grid systems with optional dollar cost average feature and martingale.
You can learn more about GridX here.

GridX EA β Understanding Date and Time Filters in MT5
When running an Expert Advisor in MetaTrader 5, you want precise control over when your strategy is active.
The Date and Time Filters in GridX EA allow you to define exact trading windows, ensuring the EA only operates when market conditions align with your plan.
What Are GridX Date and Time Filters?
Date and Time Filters are restrictions you can apply to your EA so that it will only place trades within specific time periods.
They act as a safety net, preventing the system from opening new positions during sessions or market hours you want to avoid.
In GridX EA, these filters are broken down into two categories:
- Session Start/End β Defines a fixed date and time range when the EA is allowed to trade.
- Operating Hours β Allows you to set daily start and end times for new entries.

How to Use the Session Start and End Filter
The Session filter is useful when you want your EA to trade only within a defined event window or limited timeframe. For example:
- Running the EA during a one-month trial period.
- Restricting trading to a specific week when volatility is high.
- Avoiding execution outside of your chosen backtest scenario.
Once the Session End time passes, GridX EA will stop placing new trades automatically.
How to Use the Operating Hours Filter
The Operating Hours filter lets you control intraday trading. You can configure a start and end time in hours (e.g., 09:00 to 17:00). This ensures that:
- The EA is active only during your preferred market sessions, such as the London or New York session.
- It avoids placing trades during quiet hours when spreads widen and liquidity is poor.
- It can be switched off overnight to reduce risk from unexpected volatility.
GridX automatically checks these conditions before opening new trades.

Benefits of Using Date and Time Filters
Having precise scheduling gives traders several advantages:
- Session Alignment
Trade only when the markets you care about are active. For example, scalping setups may work best during LondonβNew York overlap. - Avoiding Risky Periods
Stay out of the market during times of thin liquidity or when spreads are wider, such as after rollovers or on holidays. - Backtesting Accuracy
When you want to test strategies during certain hours or events, Date and Time Filters provide cleaner results that reflect realistic conditions. - Automated Discipline
By hard-coding your trading schedule, you remove the temptation to let the EA run during times that do not suit your risk profile.
Putting It All Together
When used correctly, Date and Time Filters turn GridX from a continuous trading bot into a precisely timed strategy executor.
Whether you want to limit exposure during low-volume sessions or only run trades around major market overlaps, these settings give you the control you need.
Why GridX Is Different
Traditional grid EAs often operate with fixed leg distance and static lot sizes, leaving traders vulnerable during volatile swings. GridX goes further by offering features such as:
- Dynamic basket management.
- Cool-off after maximum loss.
- Incremental leg distance and position sizing.
- Visual panel with clear PNL and order tracking.
These advanced settings give traders a more adaptable and safer framework for grid trading.

For any feedback or assistance needed please reach out through the Contact Form.