OPEN-SOURCE SCRIPT
Updated

MA Trend Monitor

2 513
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.
Release Notes
Added Infomation: Age of Trend.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.