OPEN-SOURCE SCRIPT
ที่อัปเดต: 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
// 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
เอกสารเผยแพร่
Tidying some comments and variable namesเอกสารเผยแพร่
Update the description chartสคริปต์โอเพนซอร์ซ
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
คำจำกัดสิทธิ์ความรับผิดชอบ
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.
สคริปต์โอเพนซอร์ซ
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
คำจำกัดสิทธิ์ความรับผิดชอบ
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.