TrendLine GRID EA MT5 Settings Guide
TrendLine GRID EA MT5 is an automated trading Expert Advisor that combines TrendLine-based market analysis with Grid trading and flexible position-management functions. Its Inputs provide detailed control over lot sizing, dynamic Buy/Sell Zones, manual trading, Grid spacing, two-way trading, Take Profit, drawdown reduction, lot multiplication, trading hours, Higher Timeframe filtering, Candle filtering, news protection, notifications, and chart interface settings.
The displayed configuration is designed to provide traders with extensive control over how Grid positions are opened, managed, and closed. Several advanced filters and risk-management functions can be enabled or disabled independently, allowing the EA to be adapted to different trading environments and account-management preferences.

General Settings
🔹 Amplitude of Trend Line PRO indicator = 6 — Sets the Trend Line PRO indicator amplitude to 6, controlling the sensitivity of the trend-line analysis.
🔹 Lot Type (need to choose)---> = Fixed — Selects Fixed as the position-sizing method.
🔹 Lot Size = 0.01 — Sets the fixed starting lot size to 0.01 lots.
🔹 Balance amount to increase Auto Lot size = 2500 — Sets the balance increment to 2500 for the Auto Lot calculation when automatic sizing is selected.
🔹 Maximum Lot Size Type (should be chosen)---> = Don't use — Disables the maximum-lot-size restriction.
🔹 Max lot size = 0.3 — Sets the maximum lot value to 0.3 when the maximum-lot-size function is activated.
Zone Trading Settings
🔹 Use Dynamic Buy/Sell Zones = true — Enables the Dynamic Buy/Sell Zones function for identifying and using dynamic trading zones.
🔹 High/Low day for Zone = 2 — Uses 2 as the selected day reference for calculating the High/Low trading zone.
🔹 Reverse Zones = true — Enables reversed interpretation of the identified trading zones.
🔹 Show Lines = true — Displays the relevant trading-zone lines directly on the chart.
Manual Trading Settings
🔹 Use GRID for manual trading = true — Enables Grid management for manually initiated trades.
🔹 TakeProfit for first order (points) = 130 — Sets the Take Profit for the first manual order to 130 points.
🔹 StopLoss for first order (points) = 0 — Sets the Stop Loss for the first manual order to 0 points, meaning no fixed Stop Loss is configured through this parameter.
🔹 TP & SL parameters using till started the GRID = TP & SL parameters using for the first order ONLY — Indicates that the initial order's TP and SL parameters are used until the Grid sequence starts.
Trailing Settings for Manual Orders
🔹 Use Trailing stop = false — Disables the Trailing Stop function for manual orders.
🔹 Points to Start Trailing (if =0 don't use) = 150 — Sets the trailing activation level to 150 points if the Trailing Stop function is enabled.
🔹 Trailing distance (points) = 50 — Sets the trailing distance to 50 points.
Grid Settings
🔹 Use Grid function = true — Enables the Grid trading function.
🔹 Two-way trading = true — Allows the Grid system to operate in both trading directions.
🔹 Pending order = false — Disables the use of pending orders for the Grid system.
🔹 Keep on trading after Take Profit = false — Prevents the EA from continuing the Grid trading sequence after Take Profit is reached.
🔹 Take Profit for Grid orders (points) = 130 — Sets the Take Profit for Grid orders to 130 points.
🔹 Order number to start DrawDown Reduce = 7 — Activates the DrawDown Reduction mechanism starting from 7 orders.
🔹 % of Profit for DD Reduce = 5.0 — Sets the profit percentage parameter for DrawDown Reduction to 5.0%.
🔹 Coefficient of Multiple Lot Size = 1.0 — Sets the lot-size multiplication coefficient to 1.0.
🔹 Order number to start Lot Size Multiplication = 5 — Starts the lot-size multiplication mechanism from 5 orders.
🔹 Step between orders (points) = 100 — Sets the distance between Grid orders to 100 points.
🔹 Max orders in a series = 15 — Limits each Grid series to a maximum of 15 orders.
🔹 Order number to Start Multiple Step = 5 — Starts the Multiple Step mechanism from 5 orders.
🔹 Coefficient of Multiple Step between orders = 1.5 — Sets the Multiple Step coefficient to 1.5, affecting the spacing between subsequent Grid orders.
🔹 % DD of Deposit to close ALL orders = 0.0 — Sets the account drawdown percentage trigger to 0.0%; the displayed value does not establish a positive percentage threshold for closing all orders.
Higher Timeframe Filter Settings
🔹 HTF-Filter = false — Disables the Higher Timeframe Filter.
🔹 Time Frame of HTF-Filter (should be chosen)---> = 30 Minutes — Sets the Higher Timeframe reference to 30 Minutes when the HTF Filter is enabled.
🔹 If HTF Filter is used, orders open at same HTF direction = If HTF Filter is used, orders open at same HTF direction — Indicates that when the HTF Filter is enabled, Grid orders follow the direction identified by the Higher Timeframe analysis.
Time Filter Settings
🔹 Use Time Filter = true — Enables the trading-time filter.
🔹 OpenTime for Signal (hour) = 2 — Sets the signal-opening time to 02:00.
🔹 CloseTime for Signal (hour) = 22 — Sets the signal-closing time to 22:00.
🔹 The Time Filter works with Manual orders & first Grid order only — Specifies that the Time Filter applies to manual orders and the first Grid order only.
Candle Filter Settings
🔹 Candle Filter (should be chosen)---> = OFF — Disables the Candle Filter.
🔹 Candle Filter TF (should be chosen)---> = 1 Day — Sets the Candle Filter timeframe to 1 Day when the filter is enabled.
🔹 If Candle Filter is used, orders open at same candle direction = If Candle Filter is used, orders open at same candle direction — Indicates that orders follow the direction of the selected candle when the Candle Filter is activated.
Additional Settings
🔹 Comment EA = TL GRID EA — Sets the EA trade comment to TL GRID EA, making its trades easier to identify.
🔹 Magic = 7777 — Sets the EA Magic Number to 7777, allowing the EA to identify and manage its own positions.
🔹 MaxSpread (points) = 0 — Sets the maximum spread parameter to 0 points, which means no positive maximum-spread restriction is configured through this value.
🔹 Notification to mobile = false — Disables mobile push notifications.
🔹 Notification to email = false — Disables email notifications.
News Filter Settings
🔹 Allow Web Request for Listed URL = You have to add http://ec.forexprostools.com link to the list of allowed URL tab Tools/Options/Expert Advisor — Provides the URL that must be added to MetaTrader's allowed WebRequest URL list if the news functionality requires external calendar access.
🔹 Use News filter = false — Disables the News Filter.
🔹 Pause before News, minutes = 60 — Sets the pre-news trading pause to 60 minutes when the News Filter is enabled.
🔹 Pause after News, minutes = 60 — Sets the post-news trading pause to 60 minutes when the News Filter is enabled.
🔹 Enable minor news = false — Disables filtering for minor-impact news events.
🔹 Enable medium news = false — Disables filtering for medium-impact news events.
🔹 Enable major news = true — Enables major-news event recognition, although the overall News Filter remains disabled because Use News filter = false.
🔹 Auto offset Broker time GMT (for news) = false — Disables automatic detection of the broker's GMT offset for news calculations.
🔹 Allow Web Request for Listed URL = You need to add http://worldtimeapi.org link to the list of allowed URL tab Tools/Options/Expert Advisor — Provides the WorldTimeAPI address that should be allowed in MetaTrader for broker-time/GMT calculations when required.
🔹 Manual offset Broker time GMT (for news) = 3 — Sets the manual broker GMT offset to 3 for news-related time calculations.
Interface Settings
🔹 Show Trade Panel = true — Enables the on-chart Trade Panel.
🔹 Show profit calculation = true — Enables the display of profit calculations on the trading interface.
🔹 Show TakeProfit, BreakEven levels = false — Disables the visual display of Take Profit and BreakEven levels.
🔹 Backgrounds Profit = SteelBlue — Sets the profit-display background color to SteelBlue.
🔹 Profit calculation color = Gold — Sets the profit-calculation display color to Gold.
🔹 Profit size text = 15 — Sets the profit-display text size to 15.
Current Configuration Summary
🔹 Lot Management: The EA uses Fixed lot sizing with Lot Size = 0.01, while the maximum-lot function is set to Don't use.
🔹 TrendLine Analysis: The Trend Line PRO indicator uses Amplitude = 6.
🔹 Dynamic Zones: Dynamic Buy/Sell Zones are enabled, using High/Low day = 2, with Reverse Zones = true and Show Lines = true.
🔹 Grid Trading: The Grid function is enabled, with Two-way trading = true, Pending order = false, and Keep on trading after Take Profit = false.
🔹 Grid Take Profit: Grid orders use Take Profit = 130 points.
🔹 Grid Spacing: Orders are separated by 100 points, with a maximum of 15 orders in a series.
🔹 Lot Multiplication: Lot-size multiplication begins from 5 orders, with a coefficient of 1.0.
🔹 Multiple Step: The Multiple Step mechanism also starts at 5 orders, using a coefficient of 1.5.
🔹 DrawDown Reduction: The DrawDown Reduction mechanism starts from 7 orders and uses a 5.0% profit parameter.
🔹 Time Filter: The Time Filter is active between 02:00 and 22:00, applying to manual orders and the first Grid order.
🔹 HTF Filter: The Higher Timeframe Filter is disabled, although its configured timeframe is 30 Minutes.
🔹 Candle Filter: The Candle Filter is OFF, with the configured timeframe set to 1 Day.
🔹 News Protection: The News Filter is disabled, with 60 minutes configured before and after news events.
🔹 Notifications: Both mobile and email notifications are disabled.
🔹 Trade Identification: The EA uses Magic = 7777 and Comment EA = TL GRID EA.
🔹 Interface: The Trade Panel and profit calculation are enabled, with SteelBlue profit backgrounds, Gold calculation text, and 15 text size.
Important Notes
🔹 Grid Exposure: Because Use Grid function = true, the number of positions can increase according to the configured 100-point spacing and 15-order maximum.
🔹 Two-Way Trading: Two-way trading = true allows the Grid system to work in both directions according to its trading logic.
🔹 Lot Multiplication: The configured Coefficient of Multiple Lot Size = 1.0 should be interpreted according to the EA's internal lot-management calculation; it does not necessarily imply an increase in lot size by itself.
🔹 DrawDown Reduction: The DrawDown Reduction mechanism begins at 7 orders and uses 5.0% as its configured profit parameter.
🔹 Maximum Drawdown Close: % DD of Deposit to close ALL orders = 0.0 means no positive percentage threshold is displayed for this particular all-orders closing trigger.
🔹 Time Filter: The active 02:00–22:00 window affects manual orders and the first Grid order according to the description shown in the Inputs.
🔹 News Filter: Although Enable major news = true, the overall Use News filter = false means news filtering is not currently active.
🔹 GMT Offset: Automatic broker GMT detection is disabled, while Manual offset Broker time GMT = 3 is configured for news calculations.
🔹 Trailing Stop: The Trailing Stop is currently disabled, despite Points to Start Trailing = 150 and Trailing distance = 50 being configured.
Conclusion
The TrendLine GRID EA MT5 configuration combines TrendLine analysis, Dynamic Buy/Sell Zones, Grid trading, two-way execution, automated lot management, DrawDown Reduction, time filtering, and optional news protection into one configurable trading framework.
The displayed setup uses Amplitude = 6, Fixed Lot Size = 0.01, Dynamic Zones enabled, Grid trading = true, Two-way trading = true, Grid Take Profit = 130 points, Step between orders = 100 points, and Max orders in a series = 15. Lot-size multiplication starts from 5 orders, while DrawDown Reduction starts from 7 orders with a 5.0% setting.
The current configuration also enables the 02:00–22:00 Time Filter while keeping the HTF and Candle Filters disabled. News filtering is disabled, although major news recognition and 60-minute before/after settings are configured. Traders should carefully test the Grid and position-management parameters because the combination of order spacing, maximum order count, and lot-management rules can significantly affect total market exposure.
FAQs
❓ What is the main lot size of TrendLine GRID EA MT5?
The current configuration uses Lot Type = Fixed with Lot Size = 0.01.
❓ Is Grid trading enabled in TrendLine GRID EA MT5?
Yes. Use Grid function = true, with 130 points Take Profit, 100 points between orders, and a maximum of 15 orders in a series.
❓ Does TrendLine GRID EA MT5 support two-way trading?
Yes. Two-way trading = true, allowing the Grid system to operate in both supported market directions.
❓ When does DrawDown Reduction start?
The DrawDown Reduction mechanism starts when the Grid reaches 7 orders, with % of Profit for DD Reduce = 5.0.
❓ Is the News Filter active in the current configuration?
No. Use News filter = false. However, the EA has 60 minutes configured before and after news events, with Enable major news = true and a manual GMT offset of 3.








