OPEN-SOURCE SCRIPT

MA Trend Monitor

已更新
MA Trend Monitor base on 3 Moving Average to define and display trend status on all time frame.
1. Calculate
* Fast Moving Average apply to High Price and Low Price
* Slow Moving Average apply to Close Price
* Trend defined by rule below:
- Up trend when Moving Average of Low Price moving above Moving Average of Close Price
- Down trend when Moving Average of High Price moving below Moving Average of Close Price
- Sideway when Moving Average of Close Price moving between 2 Moving Average of High and Low Price

2. Interface
* Color:
- Up trend: green
- Down trend: red
- Sideway: gray

* Fast Moving Average
- Default period: 20
- Moving Average Type: EMA/SMA

* Slow Moving Average
- Default period: 70
- Moving Average Type: EMA/SMA

* Line Resolution
- Number of Line: 13 (from 1 minute to 1 Month)
- Resolution of each line adjustable or disable.
版本注释
Added Infomation: Age of Trend.
Exponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)

开源脚本

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

想在图表上使用此脚本?

免责声明