This started as a personal arrays study, but after a few tests I decided to made a framework to get my own scripts simplest, lighter and faster.
And now I'm sharing with you guys.
Is very simple to use:
Feel free to use.
Hope brings some profits for you guys!!
And now I'm sharing with you guys.
Is very simple to use:
- Copy evething inside "RK's Auto Color Gradient Framework" block;
- Paste anywhere before the plotting;
- Declare the color variable name calling the function "f_autocolor(___, ___)" with the source you gonna plot and the size of the scale do you want to use to compare the data.
Feel free to use.
Hope brings some profits for you guys!!
版本注释
Version 1.1 notes:- Put the script link on the code;
- Now the choice of the theme is outside the function;
- I deleted the reverse input and put the explanation to how reverse the scale;
- And I wrote a simple text to help if anyone wants to add their own color scale gradient.
To change the direction of the gradient scale, just invert the math sign of the source with a simple (-).
版本注释
█ PATCH NOTES: Version 1.2- Better Instructions Comments;
- More themes;
- Adding new Gradient Scales is easier;
█ HOW TO USE THIS FRAMEWORK:
1 — Copy evething inside "RK's Auto Color Gradient Framework" block;
2 — Paste anywhere before the plotting;
3 — Declare the color variable name calling the function f_autocolor(series, scale_length, theme_number)
ARGUMENTS:
series (series) → Series of values (source) to process.
scale_length (integer) → Number of bars to measure the highest and lowest values
theme_number (integer) → Number of the theme
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。