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

想在圖表上使用此腳本?

免責聲明