Wednesday, May 6, 2026
HomeStockTrendline EA PRO - Person Information and Documentation - Buying and selling...

Trendline EA PRO – Person Information and Documentation – Buying and selling Programs – 6 Might 2026

Model: 1.3
Platform: MetaTrader 5
Product sort: Knowledgeable Advisor

1. Overview

Trendline PRO is a chart execution assistant for discretionary MT5 merchants.

You place a line on the chart, select what the road ought to do, then the EA watches value. When value reaches or crosses the road, Trendline PRO can open a commerce, shut a commerce, or ship an alert.

Most important features:

  • Purchase and Promote trendline entries
  • Contact-cross and closed-candle breakout triggers
  • OCO entry pairs
  • TP and SL zones drawn instantly on the chart
  • Auto Breakeven per entry line
  • Trailing Cease per entry line
  • Full or partial shut strains
  • Alert strains
  • Line persistence after chart reloads and template saves
  • Hedging and netting account assist

Necessary: Trendline PRO is an execution device. It doesn’t predict market course. All buying and selling choices, line placement, lot dimension, danger, and account publicity stay the dealer’s accountability.

2. Set up

  1. Open MetaTrader 5.
  2. Set up or copy FXTT-Trendline-PRO.ex5 into the terminal MQL5/Specialists folder.
  3. Restart MT5 or refresh the Navigator.
  4. Drag the EA onto a chart.
  5. Allow Algo Buying and selling in MT5.
  6. Verify the EA inputs earlier than stay use.

If Enable commerce orders is disabled, the EA can nonetheless draw strains and ship alerts, but it surely won’t open or shut trades.

3. EA Inputs

Buying and selling Security

  • Enable commerce orders
    Default: true
    Permits or disables all order open/shut actions.
  • Max unfold allowed (factors)
    Default: 0
    Blocks new entries when unfold is above this worth. 0 means no unfold restrict.
  • Magic quantity for EA trades
    Default: 4885001
    Used to determine EA-managed positions. Use completely different magic numbers when operating a number of cases.

Default Line Setup

  • Default lot dimension for brand new strains
    Default: 0.01
    Beginning quantity for brand new entry and shut strains.
  • Worth button step (factors)
    Default: 1
    Worth change utilized by the small up/down value buttons on a particular line.

Chart Interplay

  • Drag deal with dimension (pixels)
    Default: 6
    Dimension of line and zone drag handles.
  • Click on sensitivity (pixels)
    Default: 10
    Mouse hit space for choosing strains and handles. Improve this on high-DPI or contact units.
  • Redraw interval, 33 ms = about 30 FPS
    Default: 33
    Controls chart redraw pace whereas dragging.

Panel Place

  • Panel X place
    Default: 20
    Horizontal panel place in pixels from the left chart edge.
  • Panel Y place
    Default: 50
    Vertical panel place in pixels from the highest chart edge.
  • DPI scale
    Default: 0.0
    0.0 makes use of regular scaling. Use values resembling 1.25, 1.5, or 2.0 if panel or handles are too small.
  • Save dragged panel place
    Default: true
    Saves the panel place after you progress it.

Diagnostics

  • Print debug messages to Journal
    Default: false
    Prints detailed inside messages for troubleshooting.

4. Floating Panel

The floating panel creates new strains. Drag the panel title space to maneuver it.

Panel buttons:

  • Purchase Line
    Creates a Purchase entry line.
  • Purchase BO
    Creates a Purchase breakout line. It triggers after a candle opens under the road and closes above it.
  • Promote Line
    Creates a Promote entry line.
  • Promote BO
    Creates a Promote breakout line. It triggers after a candle opens above the road and closes under it.
  • Shut All
    Creates a detailed line. It closes matching open positions when crossed.
  • Set Alert
    Creates an alert line. It sends an MT5 alert when crossed.
  • OCO
    Creates a linked Purchase/Promote entry pair. When one line triggers, the opposite line is disabled.
  • Clear All
    Removes all strains from the chart.

New strains seem close to the middle of the seen chart. Transfer them after creation.

5. Line Varieties

Purchase and Promote Entry Traces

Entry strains open market orders when the execution value reaches the road:

  • Purchase entries use Ask.
  • Promote entries use Bid.

Contact-cross entry strains can set off when value crosses the road in both course allowed by the road state.

Breakout Traces

Breakout strains anticipate a accomplished candle physique.

  • Purchase breakout: candle opens under the road and closes above it.
  • Promote breakout: candle opens above the road and closes under it.

Breakout strains don’t set off from older candles that crossed earlier than the road was created or edited.

Shut Traces

Shut strains shut matching positions on the present image.

  • Quantity All: shut all matching positions.
  • Particular quantity: shut as much as that lot quantity.

On hedging accounts, partial shut makes an attempt to revive earlier SL/TP after the partial shut. On netting accounts, SL/TP restore is skipped as a result of dealer counter-order habits is broker-dependent.

Alert Traces

Alert strains ship an MT5 chart alert and print the alert message to the Journal. They don’t open or shut orders.

OCO Traces

The OCO button creates two linked strains:

  • Purchase entry under present mid-price
  • Promote entry above present mid-price

When one OCO entry opens an order, the opposite line is marked disabled and can’t hearth. Should you delete one line in an unresolved OCO pair, its peer can be deleted.

6. Working With Traces

Choose a Line

Click on a line physique, deal with, or TP/SL zone. The energetic line reveals handles and motion buttons.

Click on empty chart house to clear choice.

Transfer a Line

Drag the center sq. deal with to maneuver the entire line.

Maintain Shift whereas dragging the center deal with to maneuver the road in time solely.

Transfer an Endpoint

Drag a spherical endpoint deal with to alter time and value.

Maintain Shift whereas dragging an endpoint to maintain the road horizontal.

Change Facet or Set off

Some chosen line labels/buttons enable biking facet or set off state instantly on the road. Use them earlier than the road triggers.

Triggered strains are locked from facet/set off modifications.

7. TP and SL Zones

Entry strains can have TP and SL zones.

  • Click on +TP to allow a Take Revenue zone.
  • Click on +SL to allow a Cease Loss zone.
  • Click on the zone delete button to take away the zone.
  • Drag the outer center sq. deal with to resize a zone.
  • Drag an outer endpoint sq. deal with to slope a zone.
  • Use the small value up/down buttons to regulate line, TP, or SL value by Worth button step (factors).

Zone labels present distance and estimated cash worth. Values are estimates from present image tick worth, quantity, and distance.

Trailing Cease and SL zone are mutually unique within the UI. Enabling Trailing Cease disables the SL zone.

8. Quantity

Every entry or shut line has a quantity badge.

  • Click on + to extend quantity.
  • Click on – to lower quantity.
  • Entry line quantity is normalized to the image minimal, most, and step.
  • Shut line quantity may be All or a particular lot quantity.

9. Safety Panel

For an entry line, click on the protect button close to the chosen line to open the safety panel.

The safety panel incorporates:

  • Auto Breakeven checkbox
  • Auto Breakeven set off pips
  • Auto Breakeven lock-in pips
  • Trailing Cease checkbox
  • Trailing Cease distance pips

Auto Breakeven

Auto Breakeven strikes SL after value reaches the set off distance from the opened place value.

  • Set off pips: revenue distance wanted earlier than safety prompts.
  • Lock-in pips: what number of pips past entry the SL ought to transfer.

For Purchase positions, SL strikes above entry by the lock-in worth.
For Promote positions, SL strikes under entry by the lock-in worth.

The set off should keep above the lock-in distance. The EA additionally respects unfold, cease degree, and freeze degree constraints.

Trailing Cease

Trailing Cease strikes SL as value strikes in revenue.

The panel exposes the trailing distance in pips. The EA solely tightens danger; it doesn’t transfer SL farther away from value.

When Trailing Cease is enabled, the visible SL zone is disabled to keep away from conflicting cease directions.

10. Order Security

Earlier than opening entries, Trendline PRO checks:

  • Buying and selling permission from Enable commerce orders
  • Present unfold in opposition to Max unfold allowed (factors)
  • Image quantity min/max/step
  • Accessible margin by way of OrderCalcMargin()
  • Dealer cease degree and freeze degree when making use of SL/TP or safety

Orders use the configured magic quantity and an inside line remark.

11. Account Modes

Hedging Accounts

On hedging accounts, every place is impartial. Trendline PRO matches entry positions by image, facet, magic quantity, and line remark when potential.

Netting Accounts

On netting accounts, MT5 retains one web place per image. Brokers can overwrite remark or magic after counter-orders. For cover monitoring, Trendline PRO matches by image and facet.

If an entry could web in opposition to an current opposite-side place, the EA prints a warning within the Journal and continues. This enables intentional scale back/flip workflows whereas making the danger seen.

12. Persistence and Templates

Trendline PRO saves strains routinely after line edits and panel actions.

Persistence makes use of:

  • Terminal GlobalVariables for quick reload in the identical terminal.
  • Hidden native chart objects for chart templates and Technique Tester visible mode.

On startup, the EA first restores from chart objects. If none are discovered, it restores from GlobalVariables.

13. Technique Tester

Trendline PRO can be utilized in Technique Tester visible mode.

Beneficial workflow:

  1. Place strains on a stay chart.
  2. Save the chart as a template.
  3. Open Technique Tester.
  4. Allow visible mode.
  5. Load the saved template.
  6. Run the check.

Non-visual optimization runs don’t present regular chart interplay. Interactive setup requires visible mode.

14. Keyboard Shortcuts

  • Delete: delete the chosen energetic line.
  • T: toggle TP zone on the chosen entry line.
  • S: toggle SL zone on the chosen entry line.

15. Frequent Workflows

Breakout With OCO

Click on OCO, transfer the Purchase and Promote strains across the consolidation space, configure quantity and non-compulsory TP/safety, then let the primary triggered facet disable the opposite line.

Threat-Outlined Entry

Create a Purchase or Promote entry line, allow TP and/or SL zones, set quantity, then place the road on the supposed execution degree.

Auto Breakeven Safety

Create an entry line, open the protect panel, allow Auto Breakeven, then set set off and lock-in pips.

Trailing Safety

Create an entry line, open the protect panel, allow Trailing Cease, then set distance pips.

Partial Shut

Create a detailed line, set a particular quantity, and place it on the goal degree. Create one other shut line with All if you wish to shut the remaining place later.

Alert Solely

Set Enable commerce orders to false, then use alert strains. The EA won’t ship commerce orders whereas this enter is disabled.

16. Troubleshooting

Traces don’t open trades

Verify:

  • MT5 Algo Buying and selling is enabled.
  • Enable commerce orders is true.
  • Unfold will not be above the configured restrict.
  • Image permits buying and selling.
  • Account has sufficient free margin.
  • Journal has no dealer rejection message.

Clicks are arduous to hit

Improve Click on sensitivity (pixels) and/or DPI scale.

Panel or handles are too small

Set DPI scale to 1.25, 1.5, or 2.0.

Safety didn’t transfer SL

Verify:

  • Place nonetheless exists.
  • Auto Breakeven or Trailing Cease is enabled.
  • Worth reached the set off/distance.
  • Dealer cease degree or freeze degree didn’t block SL modification.
  • Journal has no modify rejection message.

18. Threat Discover

Buying and selling Foreign exchange, CFDs, futures, and different leveraged merchandise entails danger. Trendline PRO automates execution based mostly on user-defined chart strains. It doesn’t assure revenue and can’t forestall losses from slippage, unfold modifications, dealer rejection, disconnections, mistaken settings, or market gaps. Take a look at on a demo account earlier than stay buying and selling.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments