[e2] Color Gradient Function

20 step red/green gradient function

The color gradient function allow colorize any source in 5% steps.
Define the source, minimum and maximum value (constant or , for example, bb (or any other channel)).
Informacje o Wersji: Added the bollinger bands on top of rsi to use the bands as the gradient's min and max values.

Added color themes: Red and Green, Red and Blue, Blue and White, Rainbow
Informacje o Wersji: Color theme code hidden inside the function.
So now you can use the same function to colorize multiple plots and flip (or not) the gradient separately for every function call.
f_col_grad ( source, min_source, max_source, color_theme , color_flip ).
Informacje o Wersji: - Code clean up
Informacje o Wersji: Major update:
- Color gradient moved into array
- 3 additional gradients
- Indicator inputs hardcoded
- Code refactor
Informacje o Wersji: .
Skrypt open-source

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.

Chcesz użyć tego skryptu na wykresie?
Pisces swimming through the river
All their life against the stream
Searching for a hook to catch on
And see their sun beam
Then suffocate in painful tortures
On cutting tables of callous men
Under a knife of handsome butchers
Emeralds are ripped away