MT4MT5expert advisorMT4 v1.15.0MT5 v1.17.0

MT5 & MT4 trendline EAYour lines, executed automatically.

TrendlinePRO turns drawn trendlines into MT5 and MT4 trading rules. Set take-profit, stop-loss, entry mode, breakeven, and volume on the chart. The EA monitors the level and executes when price reaches it.

Test the demo safely

The demo executes orders on your broker's demo account. Test the exact symbol before going live.

  1. Install on a demo account
  2. Draw one line
  3. Confirm order and protection
  4. Check the Experts log

One-time license Β· MT5, MT4, or the TrendlinePRO MT4 + MT5 pair Β· 12 months of updates and support per platform Β· 60-day money-back guarantee

MT4 & MT5Available for MT5 & MT4
You draw. It executes.Your rules, automated
60-dayMoney-back guarantee

What TrendlinePRO does

TrendlinePRO is a MetaTrader 5 and MetaTrader 4 Expert Advisor (EA) that turns drawn trendlines into live execution rules. Draw a line on the chart, configure take-profit and stop-loss zones, choose how the trade triggers, and set automatic protection. The EA monitors the level and executes your plan without you sitting at the screen.

TrendlinePRO does not generate signals or use black-box logic. Your analysis stays yours. It handles execution.

Draw the line and set the trade. TrendlinePRO watches it.

MT5 TrendlinePRO chart with buy entry, TP/SL zones, auto-breakeven, and chart panel
TrendlinePRO on MetaTrader 5 with a buy entry, TP/SL zones, auto-breakeven trigger, and on-chart panel

You drew the level. TrendlinePRO can watch it.

Discretionary traders on MetaTrader 4 and MetaTrader 5 share one recurring frustration. The setup was right, the trendline was placed correctly, and price hit the exact level while they were away from the screen, managing another chart, or asleep.
TrendlinePRO is an MT5 and MT4 Expert Advisor for that gap. Draw the breakout, pullback, or support/resistance level. Set take-profit, stop-loss, lot size, entry mode, and trade-management rules. The EA watches the level and executes the rule you set. It does not generate signals or predict the market.
Your analysis stays yours. TrendlinePRO handles the execution.

Who gets the most from TrendlinePRO

TrendlinePRO fits discretionary traders who make their own chart decisions and want execution to follow the plan, not their reaction time. If you trade trendlines, support/resistance levels, range breakouts, channels, or diagonal structures, MetaTrader can monitor the rule while you are away. TrendlinePRO does not generate signals, scan the market, predict direction, or promise a win rate. It is not for traders who want an autonomous strategy. It is for traders who want their setups executed, alerted, protected, and logged consistently. It works well for traders with limited screen time, swing traders planning overnight or multi-day setups, intraday traders who need candle-close breakout confirmation, multi-chart traders monitoring several instruments, and cautious buyers who want to verify alert mode before live execution. Support is available in English and Spanish.

Common use cases:

  • Execute MT5 and MT4 trendline breakouts without sitting at the screen for the trigger
  • Require candle-body or full-bar confirmation to filter wick-based false entries
  • Plan complete risk/reward with visual TP/SL zones, live pip labels, and money-value estimates
  • Validate a level in alert-only mode before enabling live trade execution
  • Move stops to breakeven and activate trailing protection automatically after entry
  • Set up OCO buy-above / sell-below pairs. One trigger removes the other line.
  • Ladder out with partial-close lines at predefined price levels
  • Monitor forex, gold, indices, commodities, and CFD setups across multiple charts without extra screen time
  • Test complete trendline setups in Strategy Tester visual mode using saved chart templates

Full walkthrough

See TrendlinePRO in action

How it works

From a blank chart to a running setup

Build a tested trendline rule in five steps.

  1. 01
    Attach and test safely

    Before clicking OK, set TradingEnabled=false. Then draw and adjust lines, trigger test alerts, and explore the full workflow. Live orders stay disabled while this setting is false.

  2. 02
    Build the full trade plan on the chart

    Choose the line type: buy, sell, breakout, alert, OCO, close-all, or partial-close. Shape TP and SL zones, set per-line volume, and read pip and money-value labels in real time.

  3. 03
    Set the entry trigger

    Tick-cross for speed. Candle-body breakout for closed-bar confirmation. Full-bar breakout when you need both the open and close to clear the line. Each mode shows a visual cue on the chart.

  4. 04
    Add trade management before price arrives

    Configure auto-breakeven trigger and lock-in pips, trailing stop, spread limit, and magic number. Everything is visible and set before the level is reached.

  5. 05
    Verify on demo, then enable

    Test alert-only mode. Review execution logs. Run a small demo order on your broker. When behavior matches the plan, enable live execution and walk away.

Get Started TrendlinePRO

One-time license Β· Choose MT4 or MT5 Β· 12 months of updates and support

60-day guarantee
MT4v1.15.0β˜… on SALE
79.00€59.00
Try Demo
MT5v1.17.0β˜… on SALE
79.00€59.00
Try Demo
MT4MT5

TrendlinePRO MT4 + MT5

€79.00
  • MT4 licence, unlimited MetaTrader 4 accounts you control.
  • MT5 licence, unlimited MetaTrader 5 accounts you control.
Buy for MT4 + MT5
See license terms
  • One-time purchase. No subscription, no machine activation lock.
  • 12 months of minor updates and direct support per platform, starting on the purchase date. Community support afterwards.
  • Each platform is released on its own schedule, so the MT4 and MT5 version numbers may differ. You always get the current paid build for each platform.
  • Major upgrades may be priced separately.
  • The 60-day money-back guarantee covers the order as a whole. A refund revokes both platform downloads; there is no partial single-platform refund.
What the free demo lets you test

The free Trendline PRO build has different limits from the paid EA. Use it to try the full chart workflow before buying.

  • It requires a demo account. The free build rejects live accounts.
  • Up to 2 lines total at once, single and OCO lines combined
  • The demo executes orders on demo accounts. Test the exact broker and symbol before live use.
  • The full interactive chart panel and alert workflow are identical to the paid build
  • The demo does not expire. Its only limits are the demo account requirement and the two-line cap.

Set up push alerts on your phone

  1. In MetaTrader, open Tools β†’ Options β†’ Notifications
  2. Tick Enable Push Notifications
  3. Enter your MetaQuotes ID, found in the MetaTrader mobile app under Settings β†’ Messages
  4. Click Test in the terminal. A notification should reach your phone within seconds.

Alert didn't fire? Check these first

  • Algo/AutoTrading is enabled in the terminal toolbar
  • The EA's trading-enabled or alert-mode input is set the way you expect
  • The symbol is visible and permitted in Market Watch
  • Notifications are enabled with the correct MetaQuotes ID
  • The Experts/Journal log to see whether the condition was met

One-time payment, no subscription. 12 months of updates and support. 60 days to ask for your money back. See license terms

What you set on the chart

Entry triggers and when the trade fires

Choose one of three entry triggers for each line. Use a tick cross when speed matters. Use closed-candle confirmation when the candle body needs to confirm the move.

  • Touch / Cross: mid-price crosses the line on any tick. This is the fastest trigger.
  • Breakout: candle opens on one side and closes on the other (body confirmation only, wicks excluded)
  • Full-Bar Breakout: both the open and the close must be beyond the line for stricter validation
  • Two-candle visual glyph on selected breakout lines shows the exact trigger rule at a glance
  • Set a trigger mode for each line. Different setups on the same chart can use different modes.

Each trigger mode displays a visual cue directly on the chart.

On the chartTriggerWhat opens the trade
Buy lines
Chart showing a buy line firing where price crosses it upwardBuy on touchMid-price crosses the line upward and the buy opens. Tick-based, no waiting for the candle to finish.
Chart showing a candle opening below the line and closing above itBuy on breakoutThe candle has to open below the line and close above it. A wick through the level opens nothing. An optional minimum distance in pips makes the close clear the line by a margin.
Chart showing a candle straddling the line and then a candle whose open and close both sit above it, opening the buyBuy on full-bar breakoutStricter than a plain breakout: open and close both have to sit above the line, which filters out bars that straddle it.
Chart showing price running a set distance above the line and triggering before the candle closesBuy on distance breakoutNo waiting for the close at all. Price has to run a set distance above the line, and the buy goes in the moment it does.
Chart showing a closed buy breakout followed by a wick back down to the line that opens the tradeBuy on pullbackA closed breakout above the line arms it. Within the next few candles (two by default) a wick back down to the line opens the buy; you can require that candle to close above the line instead.
Chart showing a candle whose wick pierces below the line before closing back above itBuy on false breakoutThe candle opens and closes above the line, but its wick pierces below and comes back. The buy goes in at the close, once the level has held.
Sell lines
Chart showing a sell line firing where price crosses it downwardSell on touchPrice crosses the line downward and the sell opens, on the tick rather than the close.
Chart showing a candle opening above the line and closing below itSell on breakoutThe candle opens above the line and closes below it before the sell goes on. The same optional pip margin applies.
Chart showing a candle straddling the line and then a candle whose open and close both sit below it, opening the sellSell on full-bar breakoutOpen and close both have to finish under the line, so a bar that only dips below it is ignored.
Chart showing price running a set distance below the line and triggering before the candle closesSell on distance breakoutPrice has to run the set distance below the line, and the sell goes in intrabar, the moment the distance is covered.
Chart showing a closed sell breakout followed by a wick back up to the line that opens the tradeSell on pullbackOnce a candle has closed below the line, a wick back up to it opens the sell inside the same window of candles.
Chart showing a candle whose wick spikes above the line before closing back below itSell on false breakoutThe candle opens and closes below the line while its wick spikes above it. The sell goes in at the close.
Both sides at once
Chart showing a linked buy line below and sell line above, the untriggered side cancelledOCO pairA buy line below and a sell line above, linked. Whichever side triggers first opens the trade; the other line is removed automatically.
TrendlinePRO buy on breakout example
Buy on Breakout. The entry fires only after a candle body closes on the other side of the trendline.

Visual risk planning with TP/SL zones and live labels

TP and SL zones are drawn on the chart. Pip distance and estimated money value update as you drag. Make the risk/reward decision before placing an order.

  • TP zone renders above (buy) or below (sell); SL zone on the opposite side
  • Live labels show pip distance and estimated monetary value while you drag
  • Zones can be horizontal or sloped to follow wedges, channels, and diagonal structures
  • Sloped zones display a pip range across the candle window (e.g., '38.9 to 21.3 pips')
  • Toggle TP and SL independently per line with one click
TP and SL zones with live pip and money-value labels in TrendlinePRO
TP and SL zones show live pip distance and estimated money-value labels. You can adjust them before the trade triggers.

Automatic trade protection

Once a trade is open, TrendlinePRO can manage the stop. Configure auto-breakeven and trailing stop on the chart before entry. You do not need to intervene after the position opens.

Auto-breakeven

Set auto-breakeven before entry. Choose the trigger pips and lock-in buffer. TrendlinePRO moves the stop when price reaches the threshold.

  • Trigger distance: the profit in pips that activates the breakeven move
  • Lock-in buffer: where the stop is moved after trigger (entry plus the buffer)
  • Both levels appear as draggable lines on the chart. The trigger is orange and the lock-in line is dark red.
  • Configure each line separately. Multiple active trades can use different breakeven rules.
  • Breakeven trigger is capped at the TP distance when TP is enabled
Auto-breakeven trigger line and lock-in line in TrendlinePRO
Orange trigger line and dark-red lock-in line. Both are draggable before the position opens.

Trailing stop

It activates after a configurable start distance and follows price at your set gap. It can run with auto-breakeven on the same line.

TrendlinePRO trailing stop example
Trailing stop in action. Once price reaches the configured profit distance, the stop follows it.

Advanced tools: OCO, partial close, and alert lines

Trailing stop, OCO pairs, and close lines define the full trade lifecycle on the chart before price arrives. No improvised exit decisions after the position opens.

  • Trailing stop: activates after a start distance in profit, follows price at your configured gap
  • OCO pairs link a buy-below and sell-above line. One trigger cancels the other.
  • Close All line: exits every matching position when price reaches the level
  • Partial Close line: specify a volume to reduce position size at a predefined level
  • Multiple close lines can stack for staged exits at different price levels

Alert mode

Use alert mode to test a line without execution risk. Switch to live entry only after the alert timing matches your plan.

  • Any line type can use alert-only mode. MetaTrader sends a push notification and no order is sent.
  • Alerts use the same tick-cross, breakout, and full-bar breakout logic as live entries
  • Use alert mode on demo to validate line placement, symbol behavior, and crossing timing
  • Switch a validated alert line to live execution without redrawing or repositioning

Test the rule before you trade it

TrendlinePRO gives you separate controls for testing and execution. Set TradingEnabled=false or use an Alert line before testing a setup. Broker-side rejections are written to the MetaTrader Experts log with the reported condition.

  • Disable trade orders while testing

    Set TradingEnabled=false, draw lines, and test alerts before allowing any live order. Enable execution only when the setup and log match your plan.

  • Alert-only line type

    Any line can run in alert mode. It sends a MetaTrader push notification using the same tick-cross, breakout, or full-bar logic as a live entry without placing an order.

  • Pre-order broker validation

    Spread guard, margin check, lot-step normalization, filling-mode detection, and stop-distance validation run before every execution attempt. Rejections appear in the MT5/MT4 Experts log.

  • Duplicate-entry protection

    Same-condition repeat entries are blocked per line. Independent setups on the same chart stay independent and do not interfere.

  • Reload persistence

    Dual-layer storage uses GlobalVariables for live-chart reloads and mirrors chart objects for template and Strategy Tester portability.

  • Magic number separation

    Assign a unique magic number per chart or symbol to keep TrendlinePRO positions separate from manual trades and other EAs running simultaneously.

Run the alert-only workflow first

Draw a line, set it to Alert mode, and confirm the notification fires at the exact tick-cross or candle-close. Then place a small demo order to verify broker-specific behavior. Enable live execution only when the log and alerts both match your plan.

What execution feedback looks like

  • Alert fired: EURUSD M15 full-bar breakout confirmed
  • Order blocked: spread exceeds InpMaxSpreadPoints
  • Order rejected: stop level too close (XAUUSDm)
  • Trading disabled: signal logged, no order sent

Example log formats. Your broker's exact wording may vary.

Recommended testing workflows

Step-by-step workflows for the most common testing scenarios. Start with the first; move to the others once the basics behave as expected.

  • Alert-only validationStart here. Verify crossing logic and timing before enabling execution.
    1. Set TradingEnabled=false when attaching TrendlinePRO
    2. Draw an alert line on the level you want to monitor
    3. Choose tick-cross or candle-close confirmation mode
    4. Wait for the MT5/MT4 push notification at the exact level
    5. Move to a small demo order only after the alert behavior looks correct
  • Risk-defined breakout entryFor discretionary traders who want repeatable, rule-based breakout execution.
    1. Add a Buy BO or Sell BO line from the chart panel
    2. Drag endpoints onto the market structure you want to trade
    3. Shape TP and SL zones. Read the live pip and money-value labels
    4. Set per-line volume and configure auto-breakeven before the level is reached
    5. Verify candle-close confirmation on demo, then enable live execution
  • Two-sided OCO breakoutFor range setups where either side can trigger and the other should be cancelled.
    1. Create a linked buy-below and sell-above OCO line pair
    2. Drag both lines to set the intended levels
    3. When one triggers, the paired line is automatically removed
    4. Test on a fast-moving demo chart before using in live markets
    5. Check the log to confirm only one order opened
  • Multi-chart monitoringFor traders managing several instruments or timeframes without extra screen time.
    1. Attach one EA instance per chart with a unique magic number per instrument
    2. Draw setups on each chart and run alert-only mode per chart first
    3. Verify close-line behavior per instrument before scaling to more charts
    4. Confirm logs are clean across all open instances
    5. Scale to additional charts only after the first setup runs as expected
  • Prop-firm and challenge-account testingFor rule-sensitive accounts where a single misstep ends the challenge.
    1. Run on demo with the same lot sizes and risk settings as the challenge account
    2. Verify max spread limits, lot step, and stop-distance rules with your broker
    3. Use alert-only mode first on any unfamiliar symbol or timeframe
    4. Enable execution only for setups you have already verified on demo
    5. Do not enable OCO or close lines until you fully understand their behavior on your broker

Works on Forex, Gold, Indices, Commodities, and CFDs

TrendlinePRO uses standard MetaTrader execution functions, so it is not tied to a specific broker or market. The hero screenshot shows it on US500. Each broker uses different symbol names, lot steps, filling modes, spread behavior, minimum stop distances, and trading hours. Test the exact broker and symbol on demo before going live. The Safety section shows the log messages you may see when a broker rule conflicts with your settings.

MarketExample symbolsVerify on demo
ForexEURUSD, GBPUSD, USDJPYspread limits, lot step, stop level
GoldXAUUSD, GOLD, XAUUSDmcontract size, stop distance, filling mode
IndicesUS100, NAS100, GER40, DAXsymbol suffix, minimum volume, trading hours
CommoditiesUSOIL, UKOILprice precision, stop level, session gaps
CFDsBroker-specific symbolsfilling mode, margin, min/max volume

TrendlinePRO can support disciplined execution on prop-firm and challenge accounts, but it does not bypass firm rules or guarantee compliance. Verify every risk parameter, spread limit, and lot-step rule on demo before using a live challenge account.

Technical specifications

PlatformMetaTrader 5 + MetaTrader 4
Account typesHedging and retail netting
Entry modesTick-cross, candle-body breakout, full-bar breakout
RenderingCustom ARGB canvas overlay, ~30 FPS
PersistenceDual-layer (GlobalVariables + mirrored chart objects)
Strategy TesterTemplate-based visual mode only (no live drawing during test)
ProtectionAuto-breakeven + trailing stop, per-line
Undo / RedoCtrl+Z / Ctrl+Y
Accounts per licenceUnlimited (no machine activation lock)
Updates12 months
Guarantee60-day money-back

Automated execution does not remove market, slippage, spread, margin, broker, or configuration risk.
Test all setups on demo before enabling live execution.

Get Started TrendlinePRO

One-time license Β· Choose MT4 or MT5 Β· 12 months of updates and support

60-day guaranteePurchase options

Trading tools are analysis and execution aids. They do not guarantee profits. Always test with appropriate risk controls before live trading.