OPEN-SOURCE SCRIPT

Customizable Daily EMAs (up to 8)

This indicator provides you with up to 8 different EMAs that are customizable.
You can specify how many EMAs you want on the chart (up to a maximum of 8), as well as the length and color of each EMA. In addition, the resolution of all EMAs can also be customized - by default all EMAs follow the Daily timeframe but you could set this to any timeframe you want or you could choose for it to follow the timeframe chart as most other EMA Indicators do.

The reason for creating this indicator is because I was looking for Daily EMAs, but wanted to view the chart in a different time period without the EMA lines themselves changing. In addition, I wanted to view ample EMAs at once, and have the ability to change their length as I see fit.

You can see this demonstrated on the 4-hour chart above. Despite the chart being a 4 hourly chart, the EMAs are Daily EMAs.
In the example above all 8 EMAs have been activated, but you could turn any of these off to suit your own preferences.

The default EMAs are set to the following: 20, 50, 100, 200, 5, 9, 13, 26.
The First 4 are ideal for longer-term targets, while the smaller timeframes are more suited to short-term trading targets.

I have made this script Open-source for anybody to view, copy and modify if they need.
Daily ChartsExponential Moving Average (EMA)

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明