d0rsha

Colored MA with crossovers

d0rsha Updated   
The indicator is used to identify trends in different MA and mark crossovers/crossunders with triangles on chart. Each MA line has different linewidth to easier identify it's value. Lines are transparent not draw to much attention, crossovers marked to draw attention to pivotal moments.

Choose SMA or EMA type.
Enable/disable crossover/crossunder.

Each MA line is adjustable in the input tab.
Each MA line has different linewidth to easier identify it's value (higher value bigger linewidth).
Each MA line changes color depending on it's gradient, green if positive, red if negative, gray if flat.

Edit which crossovers/crossunders to be visible in the style tab. In the same tab colors is adjustable.
Release Notes:
* Updated SMA/EMA selection for each MA.
* Updated MA max value to 200.
* Code refactoring.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?