OPEN-SOURCE SCRIPT
Updated

high/low MA-trend - JD

4067
Short script for trend indication taking a moving average of the highs and the lows seperately.

Lookback period for the highs/lows can be altered.
Ema length can be altered.

JD.
Release Notes
Added an indication of the dominant trend with dots.

JD.
Release Notes
Fixed an error in determining the major trend. (was just opposite of what it needed to be! :-)

JD.

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.