Moving Average Crossovers, ATR Strategy
Daily EUR/USD system: long when SMA 30 is above SMA 60 with the low above SMA 30, short on the reverse; exits placed at 2x ATR 14 from the entry price.
Published · Updated · Methodology: Technical Indicators
Part of: Moving Average Crossover
- Methodology: Technical Indicators
- Content type: strategy
- Timeframes: D1 (Daily)
- Markets: EURUSD
Indicators used
- Moving Average (Fast)
- Moving Average (Slow)
- ATR
Source video
Decoded from: Reimagining Classic Strategies (Part 19): Deep Dive Into Moving Average Crossovers - MQL5 Articles by mql5.com — watch the original
Strategy overview
A moving average crossover flags a shift in trend when a faster average crosses a slower one, and this entry decodes a treatment of it that comes from an unusual place: not a trading channel, but mql5.com's own article library — "Reimagining Classic Strategies (Part 19): Deep Dive Into Moving Average Crossovers". MQL5 is MetaTrader's developer platform, so the audience here is people writing Expert Advisors rather than people watching charts, and the series format matters: nineteen installments in, the classic setup is being revisited as a research object to be rebuilt in code, not pitched as a discovery.
What distinguishes this version is the company the crossover keeps. Alongside a fast and a slow moving average, the entry records ATR, and it is anchored to the daily chart. ATR says nothing about direction — it measures how far price typically travels in a bar — so a volatility reading sitting next to a directional signal points at the half of a system that handles magnitude rather than timing: how far away things should sit, how big a move has to be to count. On D1, that distinction carries real weight, because daily bars produce few crossovers, each one commits capital for a long stretch, and the difference between a normal week and a violent one is exactly what a range measure is there to register.
This entry is concept-level: the source is catalogued with its indicator set and timeframe, but no entry, exit or filter rules have been extracted, so there is no decoded rule breakdown on this page. Read it as a pointer — the crossover as a maintained engineering subject on a developer platform, examined in a series that keeps coming back to it — and go to the MQL5 article itself for the implementation the title promises.
Topics
moving average crossover · atr strategy · eurusd strategy · daily timeframe strategy · trading strategy · technical indicators · pine script · tradingview strategy · forex strategy · swing trading
Frequently asked questions
What is a moving average crossover strategy?
It is a trend-following approach that treats the moment a faster moving average crosses a slower one as a change of direction — crossing up is read as bullish, crossing down as bearish. It is one of the oldest mechanical signals in technical analysis, which is why it is repeatedly revisited as a baseline rather than a finished system.
Why would ATR be used alongside a moving average crossover?
ATR (Average True Range) measures typical bar-to-bar movement, not direction, so it is generally paired with a directional signal to handle scale — position size, stop distance, or how large a move must be before it is treated as meaningful. This entry records ATR alongside the two moving averages, but the specific role it plays in the source has not been extracted.
Does running a crossover on the daily timeframe change how it behaves?
Considerably. Daily bars generate far fewer crossovers than intraday charts, each signal implies a hold measured in weeks rather than minutes, and the lag inherent to moving averages is amplified — you give up early entry in exchange for filtering out most of the noise that whipsaws faster timeframes.
What exactly is recorded for this strategy?
The source (an MQL5 article series entry), the daily timeframe, and the indicator set — two moving averages plus ATR. No entry or exit rules were extracted, so Strategy Decoder catalogues this one at concept level; other entries under the moving average crossover concept carry decoded structure where the source provided it.
About this strategy page
This trading strategy was decoded by Strategy Decoder's AI from a public YouTube trading video and turned into a structured, reviewable specification. In the interactive app this page shows the full entry and exit logic, risk management settings, the indicators involved with their parameters, AlgoWizard-compatible logic and a Pine Script export ready for TradingView backtesting — plus an automated backtest verdict when one has been computed for this strategy.
Strategy Decoder catalogs 2,229 decoded strategies. Each one is extracted with confidence scoring, cross-linked to the indicators it uses, and kept up to date as new videos are processed daily. Load this page with JavaScript enabled to use the interactive tools, or start from the strategy explorer to filter by methodology, market and timeframe.
Other versions of this strategy
- Moving Average Crossover Strategy — ZipTrader
- Moving Average Crossover Trading Strategy — Ali Casey | StatOasis
- Moving Average Crossover Strategy — github.com
- Moving Average Crossover Strategy — chartswatcher.com
- Overfitting, Q-Learning, Moving Average Crossover, RSI — Ignacio Ayago | Trading con Bots
- Moving Average Crossover, Modified RSI Strategy — TradeGenius