OPEN-SOURCE SCRIPT

Swing Ribbon

By Electrified
Updated
A configurable fast and slow moving average combined to help visualize the current trend and potential changes in trend.
Allows for specifying a fixed set of minutes or days instead of just bars so that the visualization is similar when changing time-frames.
Release Notes
Added basic alerts.
Release Notes
Better documentation.
Release Notes
  • Adds an additional color to each direction in order to signal when the price crosses the fast MA instead of only the warning color when the option is checked.
  • Adds the option for inverting the gradient to make the emphasis on the slow MA instead of the fast MA.

Moving AveragesribbonSimple Moving Average (SMA)trendvisualizationWeighted Moving Average (WMA)

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