OPEN-SOURCE SCRIPT

Color Change 50 SMA

This 50 SMA changes color based on the trend of the market.

If the SMA is green, use your edge to determine when to buy.
If the SMA is red, use your edge to determine when to sell.

Can be used on any timeframe and market.

Customize this to meet your needs.
50smacolorchangeMoving AveragesSimple Moving Average (SMA)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer