[r]MT5 ROBOT LABCONFIGURABLE STRATEGIES

Tori Trades-inspired Trendline Break Strategy

TRADING STRATEGIES / TRENDLINES / EA007

Tori Trades-inspired Trendline Break Strategy

Inspired by Tori Trades’ Trendline Strategy

Based on the trendline concepts presented in Tori Trades’ full guide. Independently developed by EA LAB; no affiliation or endorsement is claimed.

A respected action line defines the opportunity. An opposing safety line defines when the idea stops working.

EA007 Trendline Break strategy inspired by Tori Trades - independent EA LAB implementation
THE MATCHING MT5 ROBOT / EA007EA #007 – Trendline BreakExplore the independent EA LAB implementation, inputs, manual and historical evidence.View the robot →

From discretionary trendlines to explicit MT5 rules

Tori’s guide starts with market structure and wick-based trendlines. EA007 turns the illustrated three-touch breakout and opposing safety-line approach into configurable rules on ordinary candles. Automatic pivots are a mechanical interpretation; manual named trendlines let you choose the geometry yourself.

ORIGINAL CREATOR / SOURCE MATERIAL

Tori Trades: How To Trade TRENDLINES (Full Guide)

Watch the original trendline guide → · Visit Tori Trades on YouTube →

Relevant chapters: Trend Lines at 14:56; Strategy at 29:02; Three Touch-point Trendline Break at 30:20. The automated geometry, exit options and optimization filters below are EA LAB implementation choices.

Two sides of the same setup

BUY: break above resistance

Find a descending action line respected by at least three confirmed wick touches. A break above it can trigger BUY only when a rising opposing safety line supplies initial protection below entry.

SELL: break below support

Find a rising action line with at least three confirmed touches. A break beneath it can trigger SELL only when a descending opposing safety line provides protection above entry.

Real GOLD H4 examples

Real EA007 GOLD H4 SELL example with gold descending safety line and separate horizontal broker Stop Loss
SELL in progress, 30 April 2024. Gold: active safety ray. Red dashed horizontal level: broker SL. The supplied preset keeps broker SL trailing off.
EA007 GOLD H4 completed BUY trade connectors and current descending resistance while scanning
Completed BUY sequence, 6-21 May 2024. Dotted connectors link historical trades; they are not active safety lines. Panel is SCANNING.
EA007 GOLD H4 scanning a rising support action line with earlier BUY and SELL markers
July-August structure. The green ray is a current rising action/support line. No active position is shown.

Keep the safety exit separate from Stop Loss trailing

The EA evaluates the stored opposing safety line before considering replacements. BUY closes below its rising safety boundary; SELL closes above its descending boundary. PRICE_BREAK uses executable bid/ask, while CANDLE_CLOSE uses the latest completed signal candle. A protective broker SL is also placed at entry.

InpTrailSafetyLine optionally moves broker SL along that line, tightening only. InpAllowNewSafetyLine optionally adopts newer, steeper and tighter confirmed profit lines. InpMinProfitSlopeATR measures minimum movement per candle in ATR units, so chart zoom does not change the threshold.

If no qualifying steep line exists, the EA keeps its existing SL and original safety exit. It does not invent geometry or guarantee a maximum profit giveback.

Optional profit-taking at an opposing line

InpCloseAtOppositeLine=true can close a profitable BUY at confirmed resistance ahead of price, or a profitable SELL at support below price. A known target is drawn purple. This option closes at touch or a gap through the line rather than waiting for a bounce. The example report has this option disabled.

What is configurable?

Execution timeframe, automatic/manual lines, higher-timeframe refinement, swing confirmation, touch spacing and tolerance, breakout confirmation/buffer, entry hours/spread, safety exits, initial risk and fixed lots. One qualifying attempt per action line is enabled by default; blocked breaks are not chased later.

ParameterWhat it changes
InpSignalTFThe candle timeframe used for entries and safety geometry. H4 is the supplied example.
InpLineSource / InpTopDownAutomatic confirmed pivots or your named chart lines; automatic top-down refinement is optional.
InpPivotWingBars on either side required to confirm a swing. Larger values delay confirmation and reduce small pivots.
InpMinTouchSpacing / InpMinLineSpanMinimum spacing between touches and total line span, both measured in signal candles.
InpTouchToleranceATRMaximum allowed pivot-to-line distance in ATR units; controls which touches qualify.
InpBreakConfirmation / InpBreakBufferATRIntrabar price break or completed-candle confirmation, with an optional breakout distance.
InpSLBufferATRInitial broker Stop Loss buffer beyond the opposing safety line.
InpTrailSafetyLine / InpAllowNewSafetyLineTighten broker SL along the active safety line and optionally adopt newer, steeper safety lines.
InpMinProfitSlopeATR / InpCloseAtOppositeLineMinimum qualifying profit-line slope and optional profitable closure at opposing support/resistance.
InpRiskPercent / InpFixedLotBalance risk or fixed volume, depending on the chosen money-management mode. Source default risk is 1%; the historical preset uses 3%.
InpOptimizationMinTrades / InpOptimizationMaxDDPercentEditable Custom max gates: 40 trades and 35% relative equity DD by default. These gates are excluded from optimization.

Research standard: Custom max

v1.04 adds EA LAB’s constrained net-profit criterion: default minimum 40 trades and maximum 35% relative equity drawdown, both editable and excluded from optimization. Choose Custom max in MT5. The supplied v1.04 test uses minimum 35 trades and maximum 35% equity DD; its 66 trades also meet the default 40-trade threshold.

EXAMPLE HISTORICAL BACKTEST / v1.04

Real evidence, with the settings visible.

NET PROFIT / USD18,244.25
MAX EQUITY DD26.59%
PROFIT FACTOR3.17
CLOSED TRADES66
INITIAL DEPOSIT / USD5,000
EXAMPLE INITIAL RISK3%

GOLD.pro H4 · 1 January 2024 to 1 October 2026 · USD · 1:100 leverage · 99% reported history quality.

EA007 v1.04 GOLD H4 reconstructed balance curve from 5000 to 23244.25 USD across 66 closed trades

Balance reconstructed from report deals, including swaps and commissions. This is not an equity curve. Example uses candle-close entries, SL trailing off and opposite-line profit exit off. No forward/out-of-sample report supplied. Historical performance does not guarantee future results.

Limits of this implementation

Confirmed pivots are delayed; missing higher-timeframe history can block entries; broker spread, tick size and stop limits can prevent execution. A discretionary trader’s exact anchor choices cannot be reproduced automatically. The owner’s screenshots do not preserve every historical setup line, so they are visual examples rather than a complete pre-entry audit.

THE MATCHING MT5 ROBOT / EA007EA #007 – Trendline BreakExplore the independent EA LAB implementation, inputs, manual and historical evidence.View the robot →

Read the full user manual

Software for independent research. You choose the market, settings and risk. Trading can lead to loss of some or all capital.

Withdraw from contract here · Paid adaptation purchase terms