OPEN-SOURCE SCRIPT

Simple 5-8-13 Strategy

The Simple 5-8-13 SMA Strategy is a trend-following trading system that uses three Simple Moving Averages (SMA) with periods of 5, 8, and 13. The strategy generates buy signals when the shorter-term moving averages cross above the longer-term ones (specifically when SMA5 > SMA8 > SMA13), indicating an upward trend. Sell signals are generated when the shortest moving average falls below both longer averages (SMA5 < SMA8 and SMA5 < SMA13), suggesting a downward trend. This strategy is designed to work on 15-minute timeframes and aims to capture medium-term price movements. Like all trading strategies, it should be used in conjunction with proper risk management and other technical analysis tools.
5-8-13Bands and ChannelsCandlestick analysisChart patterns

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer