OPEN-SOURCE SCRIPT
已更新

[e2] Color Gradient Function

8 310
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)).
版本注释
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
快照
版本注释
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 ).
版本注释
- Code clean up
版本注释
Major update:
- Color gradient moved into array
- 3 additional gradients
- Indicator inputs hardcoded
- Code refactor
版本注释
.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。