chilllaxtrader

Chilllax Moving Averages with Qullamaggie colors

// Display 2 Moving Averages. Default is 10d sma and 20d sma. You can choose any length. Choose sma, or ema. Choose ma of Open, High, Low, or Close

// Color code is based on Qullamaggie's idea:

// Dark green = 10d ma > 20d ma, and both trending up
// Light green = 10d ma > 20d ma, but only 10d ma trending up
// Yellow = 10d ma > 20d ma, but neither trending up

// You can change the color

// You can hide the colors, then it will simply show 2 moving averages of your choice

// Trend is comparing the ma from X trendlen days ago. Default to 5 days ago. So, if today's ma is > 5 days ago, it is trending up
Release Notes:
Tidying some comments and variable names
Release Notes:
Update the description chart
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?