OPEN-SOURCE SCRIPT

EMA (8,21,200)

This script displays three Exponential Moving Averages (EMA) on the chart with periods of 8, 21, and 200 days. It visually highlights the trends by shading the area between the EMAs:

- Green shading: Indicates an upward trend, where the shorter EMA is above the longer EMA.
- Red shading: Indicates a downward trend, where the shorter EMA is below the longer EMA.

The shaded areas help you quickly spot potential buying or selling opportunities based on the strength and direction of the trend.
Exponential Moving Average (EMA)Moving AveragesTrend Analysis

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