Flat Lines Breakout MT5
- Göstergeler
-
Keijinro Mizutani
Hello, I’m kotoha, a system designer focused on research-driven, rule-based trading tools for the MT5 platform.
My work centers on market structure analysis, swing dynamics, and Fibonacci-based logic. - Sürüm: 1.7
- Etkinleştirmeler: 5
What it is
Flat Lines Breakout MT5 draws two families of lines from confirmed swing pivots — trendlines and horizontal levels — and signals the moment a closed bar breaks one. Lines are built only from pivots that have been confirmed by enough bars on their right side; once a line exists, its anchors never change. Nothing is redrawn, and a signal, once given, is never taken back.
Trendlines and channels
A resistance line connects two confirmed swing highs, a support line two confirmed swing lows. Lines that price has already closed through are never created, and near-horizontal levels are left to the horizontal family instead. When a valid resistance and support run nearly parallel, the panel treats the pair as a channel (no artificial parallel copy is drawn — both lines are real pivot connections).
Horizontal levels and zones (multi-timeframe)
When several pivots cluster at nearly the same price, that level becomes a horizontal line. Its price is fixed at adoption (the cluster median): later reactions only add to its touch count, they never move it. Levels can be shown as zones — a band spanning the spread of the pivots in the cluster, fixed at adoption — and a break is then judged at the zone's outer edge, not its centre, which filters out shallow pokes.
Horizontals are multi-timeframe: every timeframe can be switched on individually (the chart timeframe plus H1, H4 and D1 by default), up to three levels per timeframe, all drawn on the current chart and labelled with their source timeframe (for example "H4 T4").
Strength is one honest number: touches. A line starts at two touches (its two anchors); at three or more it draws thicker and carries a T3 / T4 label.
Breaks and retests
A break is a closed bar closing beyond the line by a set buffer. A wick through the line is only a touch, never a break. Each line fires once; broken lines stay on the chart as faded extensions, and for a set number of bars afterwards the indicator watches for a retest — price returning to the line and closing on the breakout side. A break that fails is recorded on the panel as information; the signal itself is never cancelled.
Please note the honest trade-off: because pivots must be confirmed first, signals arrive with a delay — the pivot confirmation plus the break bar itself. That delay is the price of lines that never move.
Buffers (20)
The main signals are 2 = Buy break and 3 = Sell break (edge type, read at shift 1); their source can be selected: trendlines only, horizontals only, or both (default). 4 / 5 = retest signals. 10 / 11 and 14 / 15 give the horizontal-only and trendline-only breaks separately. 0 / 1 = nearest trendline prices, 8 / 9 = nearest horizontal centre prices, 16-19 = zone edges, 6 / 7 / 12 / 13 = touch counts. Buffers 2 and 3 can be read by Flat Manual Trader MT5 via iCustom (Buy = 2, Sell = 3, shift = 1). The indicator itself does not place orders.
Panel and alerts
The movable panel shows the active line counts, the nearest line or zone with its distance and touch count, the most recent break (with its source timeframe for horizontals), and the retest state. Drag it anywhere; its position is saved. Alerts for breaks and retests: pop-up, sound, push notification and e-mail, each switchable.
One clarification: these are lines from pivot reactions — not supply/demand zones (no departure scoring), no volume is used, and no SMC labels (no BOS / order blocks) are drawn.
Disclaimer: This product is an analysis tool. It does not provide investment advice and does not guarantee profit. Trading involves risk; please trade at your own responsibility.
