OPEN-SOURCE SCRIPT

[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)).
發布通知
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
發布通知
.
barcolorcolorcolorbarfunctionfunctionsgradientthemeTrend Analysis

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


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
更多:

免責聲明