midtownsk8rguy

Pine Color Magic and Chart Theme Simulator

This is my "Pine Color Magic and Chart Theme Simulator" display using Pine Script version 4.0. The purpose of this colorcator is to show colors that are most suitable in my opinion for developing Pine scripts not using Pine's built-in colors. I would not qualify Pine built-in colors as visually appealing as they currently exist. Hopefully that will improve after this demonstration. It should aid you in developing indicators with stunning color from the provided color list that is easily copied and pasted into any novel script you should devise.

Colors are most vibrant on the "Black Chart" which is the default, but it doesn't currently exist as a chart theme. With the extreme luminous intensity of LCDs in millicandela( mcd ), you may notice "Light" charts may saturate the colors making charts challenging to analyze. Because of this, I personally use "Dark Charts" and design my indicators for these. I hope this provides inspiration for the future developers who are contemplating the creation of next generation indicators and how color may enhance their usefulness.

For those of you who are new to Pine Script, this also may help you understand color hex and how it is utilized in Pine in a most effective manner. I would like to see Tradingview become the go to platform for the most vibrantly colored indicators attainable with this contribution to the TV community. If you wish to contribute additional ideas, please do so below in the comments about all things colorful in Pine.

Features List Includes:
"Line Width" adjustment
Chart Theme Simulator with additional background colors
Ability to enable/disable displayed alternative colors and Pine built-in colors
"Pine Built-in Transparency" selection

NOTICE: Copy pasting bandits who may be having nefarious thoughts, DO NOT attempt this, because this may violate Tradingview's terms, conditions and/or house rules. "WE" are always watching the TV community vigilantly for mischievous behaviors and actions that exploit well intended authors for the purpose of unscrupulously increasing brownie points in reputation scores. Hiding behind a "protected" wall may not protect you from investigation and account penalization by TV staff. Be respectful, and don't just throw a meaningless feature in there branding it as "your" gizmo. Fair enough? Alrighty then... I firmly believe in "innovating" future state-of-the-art indicators, and please contact me if you wish to do so.

The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. If you do have any questions or comments regarding this indicator, I will consider your inquiries, thoughts, and concepts presented below in the comments section, when time provides it. When my indicators achieve more prevalent use by TV members , I will implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Release Notes: Code cleanup and a few other subtle color modifications and notations.
Release Notes: I provided labels displaying a rainbow spectrum when using label.new(). This identifies the colors used in the code, while showing developers fantastically colored labels for potential use within their novel indicators. Detailed notation was updated along with code cleanup.
Release Notes: Miniscule update
Release Notes: #1 - Added a few 'brownish' colors in "Alternatives" color list
#2 - Provided text color selection for the labels
#3 - A few other code modifications when I ran out of label.new() when trying to provide labels for every color
Release Notes: TV graciously provided us tooltip= for label.new() recently. If you hover over a label, you will witness it's ability to display hidden programmable text that may be used to show additional information. This technique can reduce the amount interference with other plot()s and indicators, without increasing the size of label.new() to unacceptable proportions. In this case, when the indicator is loaded, you may conveniently see the hex color values of the line and the label.
Release Notes: Added transparency input() for line plot()s
Open-source script

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.

Want to use this script on a chart?

Comments

This is absolute gold!!!!

Thx!
JD.
+2 Reply
luverly
+1 Reply
By grabbing the y-scale, and scrunching it all together, I start to get some ideas as to how that gradient color wave example was created.
Reply
Awesome script
Thank you for publishing it
Reply
midtownsk8rguy Sneaker_Wave
Reply
Thank you very very much !!! @midtownsk8rguy
awesome publication
Very use full indeed :)
Reply
iamthree iamthree
@iamthree, Trading view should add this color set to there native values ... just a thought
completely underrated ... in my view
Reply
iamthree iamthree
@iamthree, The best keeps getting better :) thanks for the update !!!
Reply
@iamthree, I appreciate all the gratitude given. I think this will be the final update. I can't think of anything else in order to improve it. Of all my scripts, this is probably my most important one of them all. It's a vivid display of the finest in color via hex, showing just how empowering the "Power of Pine" can be for all developers of any skill, new or experienced.
+2 Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out