OPEN-SOURCE SCRIPT

Dual EMA with Distance Indication

Dual EMA with Distance

This indicator plots two Exponential Moving Averages (EMAs) of your choice directly on the chart and calculates the absolute distance between them. Whether you’re tracking trends or identifying crossover opportunities, this tool gives you added insight into the relationship between the selected EMAs.

Features:
  • Customizable EMAs: Adjust the length and line width for both EMAs to fit your strategy.
  • Color & Style Options: Personalize the colors and transparency of each EMA line to match your chart theme.
  • Distance Display: Enable an optional distance box that dynamically shows the absolute difference between the two EMAs. You can position this box in any corner of the chart and choose your preferred text size, color, and precision (decimal places).
  • Clean Visualization: The indicator ensures clarity with adjustable transparency and a sleek box design for the distance.

Use this to quickly gauge the strength of a trend or identify potential consolidation when the EMAs are close together. It’s versatile, easy to customize, and a handy addition to any trader’s toolkit.

Have ideas for improving this indicator or creating new ones?
Feel free to DM me DerLucas432 with suggestions or custom indicator requests!
educationalExponential Moving Average (EMA)statistics

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明