Moving Average Crossover Strategy
Learn a simple moving average crossover strategy using two SMAs to generate buy and sell signals. Works on any market and timeframe.
Published · Updated · Methodology: Technical Indicators
Part of: Moving Average Crossover
- Methodology: Technical Indicators
- Content type: strategy
- Timeframes: User-defined
- Markets: Not specified
Indicators used
- SMA
Source video
Decoded from: Moving Average Crossover Strategy by satharexpand — TradingView by TradingView — watch the original
Strategy overview
A moving average crossover reads a fast average crossing a slow one as the moment a trend changes hands. What distinguishes this entry is not what it specifies but what it deliberately leaves open: both the short and the long average are carried as user-defined lengths, and the timeframe is user-defined as well. Nothing about the speed of the system is decided in advance.
That matters more in this concept than in most, because in a crossover the lengths largely are the strategy. The same crossing logic produces an intraday scalp at one pair of settings and a multi-year trend follower at another — same code, different instrument in practice. Leaving both inputs open turns the entry into a chassis rather than a position: the one thing committed here is the use of simple moving averages, and every parameter that would determine holding period, signal frequency and whipsaw exposure is handed to whoever loads it.
The source is a TradingView publication under the handle satharexpand rather than a taught walkthrough — there is no presenter, no segment structure and no timestamps, and no instrument or required timeframe was recorded with it. Accordingly, no mechanical rules were extracted for this entry; what this page offers is the concept and the provenance, with the honest caveat that a crossover published without settings is a starting point to be parameterized and tested, not a system to be copied.
Topics
moving average crossover · pine script · trading strategy · technical indicators · tradingview strategy · sma strategy · trend following · entry signals · momentum trading · algorithmic trading
Frequently asked questions
What is a moving average crossover strategy?
It is a trend-following approach that treats the crossing of a faster moving average above or below a slower one as the signal that direction has changed, using the two averages as a simple mechanical read on trend.
What moving average lengths does this version use?
None are fixed. This entry carries both the short-term and long-term simple moving average lengths as user-defined inputs, and the timeframe is user-defined too — the settings come from whoever applies it, not from the source.
Does the choice of lengths really change the strategy?
Substantially. The gap between the fast and slow averages determines how often signals fire, how long positions are held and how much whipsaw the system absorbs in ranges. There is no universally correct pair, which is why the choice has to be tested on the instrument and timeframe you actually intend to trade.
How should I evaluate a crossover published without settings?
Treat the crossing logic as the fixed part and the lengths as the experiment: backtest a range of fast/slow combinations on your own instrument and timeframe, and check that performance holds across neighbouring settings rather than at a single lucky pair. Strategy Decoder catalogues entries like this one so you can see what was and was not specified at the source before you start testing.
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