mellowmichellehe

Volumetric colored candles with matching pivot point lines

mellowmichellehe Zaktualizowano   
Candles are split into 10 categories based on their volume, and can be changed in the options. By default and in the images, white is very high volume, reds are high volume, yellows are medium volume, greens are low and dark-grey is very low.

Adjustments for scale are included in the options. The Magnitude option is a 10x multiplier, so 1=10, 2=100, 3=1000, etc., up to 9. There is also a Multiplier selection option where 1=1, 2=2, 3=3, 4=4, etc.

To attenuate for a given chart, these multipliers will need to be changed. In general, all white means you need to increase the Magnitude and all dark-grey means you need to decrease the magnitude. Somewhere between those two, the Multiplier can be used for further calibration. All this color coating is relational, like a spectrum. As you adjust you will see them maintaining their proportions as the candles switch color (ex. green become yellow while yellow becomes red).

I have also included pivot lines that follow the same logic for color coding. Two options exist for adjusting the pivot high and pivot low points respectively. They do not always correspond to the exact color of the candle producing them, but they should be a rough average (ie. red and green bars making yellow lines). They make for good indicators of how much liquidity may be at a certain support/resistance level. The lines can also be turned off altogether.

If your candles aren't looking right, go to settings of both regular candles and heikin-ashi, and uncheck both border and wick.

I still have some code to clean up and I plan on expanding upon this study. If you like my work consider tipping!
Informacje o Wersji:
This release was intended to offer a primitive method for saving a set of defaults for a given ticker's chart. Until I find a work around, the user must comment and uncomment 4 blocks of code that they will configure for up to six different tickers. The sets of defaults are in the go() function. Change use_default to false and then comment out the first block of code in the go() function. Uncomment the next block of code and replace defval for each option and set the corresponding ticker in symb=="ticker".

Removed option to select timeframe because it was jenky.
Informacje o Wersji:
This release was intended to offer a primitive method for saving a set of defaults for a given ticker's chart. Until I find a work around, the user must comment and uncomment 4 blocks of code that they will configure for up to six different tickers. The sets of defaults are in the go() function. Change use_default to false and then comment out the first block of code in the go() function. Uncomment the next block of code and replace defval for each option and set the corresponding ticker in symb=="ticker".

Removed option to select timeframe because it was jenky.
Informacje o Wersji:
Restoration of original commit where default options is default and not ADAUSD
Informacje o Wersji:
Added maxval to options.
Informacje o Wersji:
To clean up the pivot point lines, I disabled all lines that are less than 50% of the max volume, leaving only the high volume pivot point lines. This should save some chart space and help you adjust the High and Low Lengths to get the best pivot points.
Informacje o Wersji:
I added the option to use an exponential metric to help flesh out the steeper inclines, resulting in smoother gradations of color. All colored lines except for dark-grey have been brought back and instead maxLines was lowered to reduce cluttering with too many pivot points..
Informacje o Wersji:
Fixed issue where lines did not match the color of their corresponding pivot point candle.
Informacje o Wersji:
Fixed default options.
Informacje o Wersji:
  • Removed option to change bar colors
  • Added settings to change line styles
  • Added labels showing the volume of the candle
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?