Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Indicateurs

ATS Confirmed Swings - non-repainting swing highs and lows - indicateur pour MetaTrader 5

Andrea Michelon
Andrea Michelon
5 (2)
Andy Trading Solutions (ATS). MetaTrader 5 indicators, dashboards and Expert Advisors for XAUUSD and other symbols. Live in the MQL5 Market: free tools, indicators, statistics panels and a risk-management utility.
Vues:
105
Note:
(1)
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

This indicator marks swing highs and swing lows on the chart, and it never repaints. A swing is drawn only after the bars that confirm it have closed, so what you see today is exactly what the chart will still show tomorrow.

How it works

A bar is a swing high when its high is above the highs of the N bars on its left and not below the highs of the N bars on its right. Swing lows use the same logic, mirrored. The bar that is still forming is never used, and a swing is drawn only when all N confirming bars on its right have closed.

Nothing is drawn early and nothing is removed later. This makes the swings safe as a building block for BOS / CHoCH logic and for backtests. The cost of this honesty is a lag of N bars: that lag is unavoidable for any swing that cannot repaint.

Inputs

InpStrength - number of bars on each side used to confirm a swing (default 5).

InpMaxBars - how many bars to scan on the chart (default 2000, 0 = all).

InpAlert - popup alert when a new swing is confirmed.

InpPush - push notification to the phone when a new swing is confirmed.

Buffers (for use from an Expert Advisor with iCustom and CopyBuffer)

Buffer 0 - swing high price (EMPTY_VALUE when there is none).

Buffer 1 - swing low price (EMPTY_VALUE when there is none).

Notes

This is a drawing tool, not a trading signal, and it makes no claim about profitability. It works on any symbol and timeframe.

Turtle Breakout Indicator Tested on Gold: Profitable in 2025 and 2026 (70) Turtle Breakout Indicator Tested on Gold: Profitable in 2025 and 2026 (70)

Turtle-style Donchian breakouts on gold, followed with three exits at once: an ATR trailing stop, the Turtle exit channel and a fixed target. Backtested on XAUUSD H1 and H4 in 2025 and 2026, where all twelve combinations were profitable. Non-repainting, with buffers for an Expert Advisor.

Gold Breakout EA for XAUUSD H4 +90 Percent in a 2020 to 2026 Backtest Gold Breakout EA for XAUUSD H4 +90 Percent in a 2020 to 2026 Backtest

A Turtle-style breakout EA for gold. It buys when an H4 bar closes above the 20-bar high in an uptrend, with a 2 ATR stop and a 2R target. Backtested on XAUUSD from January 2020 to September 2026: +9,029.72 on 10,000 at 1% risk, profit factor 1.77, max drawdown 11.38%, 6 of 7 years profitable.

Price Action Volumetric Order Blocks MT5 Price Action Volumetric Order Blocks MT5

Open-source MT5 indicator for confirmed market structure, volumetric order blocks and estimated buy/sell activity.

MACD Signals MACD Signals

Indicator edition for new platform.