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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明