OPEN-SOURCE SCRIPT

BEST Supertrend MA

Hello traders,

That one is an experiment
I was curious to see what a supertrend based on moving average cross could give

How does it work?

Bull event: fast moving average crossing overthe slow moving average
Bear event: fast moving average crossing underthe slow moving average

When the event is triggered, the script will plot the Supertrend as follow

UP Trend = ohlc4+ ATR * Factor
DOWN Trend = ohlc4- ATR * Factor

Interesting to see the results given by ohlc4 vs hl2 and hl3
Documentation: tradingview.com/pine-script-reference/v4/

This is an alternative of the classical Supertrend based on candle close being above/beyond the previous Supertrend level.

Hope you'll enjoy it and it will improve your trading making you a better trader
Dave
algotradingATRconvergencedaveattMoving AveragesohlcprofitviewsupertrendTrend AnalysisVolume

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?


⭐️ Listed as an Official TradingView Trusted TOP Pine Programmer

📧 Coding/Consulting Inquiries: dave@best-trading-indicator

Telegram: Daveatt

⏩ Course: best-trading-indicator.com

Twitter: twitter.com/bti_trading
Also on:

Disclaimer