OPEN-SOURCE SCRIPT

Trend Finding by EMAs

已更新
INTRO

This indicator is a price action based tool used to visualize trends using Exponential Moving Averages (EMAs).

CONCEPTS

It's created with two EMAs with different lengths (9 and 15) based on user-defined parameters. The script calculates the EMAs for the given lengths using the closing prices of the asset.

The EMAs are plotted on the chart, and their colors are dynamically determined by a conditional statement. If slower EMA is crossing above the faster EMA than the color will be change, And vise-versa for the opposite.

USES:-

The visualization of EMAs in different colors assists in identifying potential trends:

  • a bullish trend when EMAs color is Blue
  • and a bearish trend when EMAs color are Red.


Purpose

This script provides a quick visual representation of potential trend changes based on the relationship between these two EMAs.
發行說明
INTRO

This indicator is a price action based tool used to visualize trends using Exponential Moving Averages (EMAs).

CONCEPTS

It's created with two EMAs with different lengths (9 and 15) based on user-defined parameters. The script calculates the EMAs for the given lengths using the closing prices of the asset.

The EMAs are plotted on the chart, and their colors are dynamically determined by a conditional statement. If slower EMA is crossing above the faster EMA than the color will be change, And vise-versa for the opposite.

USES:-

The visualization of EMAs in different colors assists in identifying potential trends:

  • a bullish trend when EMAs color is Blue, (Also added Buy signal for easy reading)
  • and a bearish trend when EMAs color are Red. (Also added Sell signal for easy reading)


Purpose

This script provides a quick visual representation of potential trend changes based on the relationship between these two EMAs.
發行說明
Alert Feature Added,
Changed 2nd EMA to 21 for better results. ( You can use anything there )
Exponential Moving Average (EMA)Moving Averages

開源腳本

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

想在圖表上使用此腳本?


更多:

免責聲明