Contains functions for conversion of color to string and vice versa: method toClr( string this ) - converts string reperesentation of color (in hex format) to color method toHex( color this ) - converts color to string (hex form) method toRgb( color this ) - converts color to string ("rgb(11,11,11,0)" form) Thanks to @ImmortalFreedom for his ...
Library "ColourUtilities" Utility functions for colour manipulation adjust_colour(rgb, desaturation_amount, transparency_amount) to reduce saturation or increase transparency of an RGB colour Parameters: rgb (color) desaturation_amount (float) : 0 means no desaturation (colours remains as-is), and 1 means full desaturation (colour turns grey)....
Triple EMA Distance Indicator The Triple EMA Distance indicator comprises two sets of triple exponential moving averages (EMAs). One set uses the same smoothing length for all EMAs, while the other set doubles the length for the last EMA. This indicator provides visual cues based on the relationship between these EMAs and candlestick patterns. Blue...
This library provides a standard set of colors defined in Material Design 2.0. 🔵 API Step 1: Import this library. import algotraderdev/material/1 // remember to check the latest version of this library and replace the 1 above. Step 2: Get the color you like. Check the source code or the screenshot above to see all the supported colors. material.red() ...
This script helps with identifying certain conditions without cluttering too much of the candles. Some use cases: It helps identify rsi low and high values. Directional price movement becoming difficult. low and high volume. it uses a percent rank to distinguish low and high values. It then uses a gradient to match the percentile rank to heatmap type...
This lightweight library provides a utility method that analyzes any provided background color and automatically chooses the optimal black or white foreground color to ensure maximum visual contrast and readability. 🟠 Algorithm The library utilizes the HSP Color Model to calculate the brightness of the background color. The formula for this calculation is as...
This indicator shades the background of each candle based on the strength off the current TICK.US chart. User can define the strength levels, which are by default set to 1-299 (lightest), 300-599, and 600+ (darkest). Best used on lower timeframe charts to help identify whether or not to remain in a trend, or if a trend is possibly reversing when you start to see...
This indicator gives the user an easy way to check the conditions of the market. Up market should be good for breakout traders. Down market should be good for breakdown shortsellers The others should be good for pullback buyers. This script automaticlly check which index should be used for the depending on which ticker is view. If no match is found indicator will...
Library "lib_colors" offset_mono(original, offset, transparency) get offset color Parameters: original (simple color) : original color offset (float) : offset for new color transparency (float) : transparency for new color Returns: offset color
█ OVERVIEW This indicator is an educational indicator to make pine coders easier to input color code. Color code displayed either in hex or rgb code or both. █ INSPIRATIONS RGB Color Codes Chart Table Color For Pairing Black And White █ FEATURES Hover table cell to see all properties of color such as Hex code and RGB code via tooltip. Cell can be...
This script lets you create the equivalent of "volume candlesticks" in TradingView. "Volume candlesticks" normally vary their width according to the bar's volume. This script varies COLOUR instead of WIDTH. Bar charts are also supported. Candles/Bars are coloured by their distance from the average volume. You can also add a "huge volume" colour to further...
Library "tools" A library of many helper methods, plus a comprehensive print method and a printer object. This is a newer version of the helpers library. This script uses pinescripts v5 latest objects and methods.
Ignition Cha Cha Cha (ICCC) is a 3 color coded moving average indicator which numerically quantify the angle of their trends. I have labeled them as fast, medium and slow. The trend colors are Green for bullish, Red for bearish and Grey for sideways. The sideways movement can be user defined for all 3 in the settings under Threshold. If you regard for example...
// I have written a Pine Script to re-paint large candles in a different Color. // You can set the value that you want to use to define what is 'Large', and the script will re-paint any candle whose size is equal to or greater than your value. // The number can be an integer (8) or a decimal (7.5). // You can enable the size measurement to be done in one of two...
Utility for working with colors. Get the luminosity of a color and determine the optimal (black or white) foreground color.
1.0 -> Changes the Background Based on the Color of the Latest Candle
Library "hsvColor" HSV and HSL Gradient Tool Alternatives and helpers. Demo'd is built-in in the middle with HSL/HSV gradients on top/bottom TODO: Solve for #000000 issue rgbhsv(_col) RGB Color to HSV Values Parameters: _col : Color input (#abc012 or color.name or color.rgb(0,0,0,0)) Returns: values rgbhsv(_r, _g, _b, _t) RGB Color to HSV...