TradingView
UnknownUnicorn28067390
٢٤ تشرين الثاني نوفمبر ٢٠٢١ ٠٦:٠٤

Green to Red Gradient for Dynamic / Color Changing Indicators 

EUR/USDOANDA

الوصف

I have evenly divided every color between green and red.
This gradient is useful for pine coders who are creating color changing, dynamic, or gradient indicators.

ملاحظات الأخبار

Added Color List

ملاحظات الأخبار

Added Fill Demo

ملاحظات الأخبار

seo

ملاحظات الأخبار

no change

ملاحظات الأخبار

demo.
التعليقات
Trendoscope
There is library method for that.

tradingview.com/pine-script-reference/v5/
kakola
@HeWhoMustNotBeNamed, For bi-color gradients, yes, but not tri-color.
UnknownUnicorn28067390
@HeWhoMustNotBeNamed, Oh I didn't know that, thanks for sharing. I couldn't find anything for creating a range between red, yellow, and green but I may have missed it. Figured I might as well publish this to make someone's life easier. But I can use what you showed me in the future.
Trendoscope
@ZacVaughn, no worries. There are also some good scripts from RicardoSantos on Colors. Check them out.
UnknownUnicorn28067390
@HeWhoMustNotBeNamed, Thanks, only been doing this for like 3 months so I still have lots to learn. Will check out his scripts.
UnknownUnicorn28067390
To use this, run an oscillator through these levels and assign the corresponding color to the oscillator. You can assign the same color to anything else plotted on the chart to give anything a dynamic color based on momentum or volatility.
المزيد