mellowmichellehe

Volumetric colored candles with matching pivot point lines

mellowmichellehe 已更新   
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!
發布通知:
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.
發布通知:
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.
發布通知:
Restoration of original commit where default options is default and not ADAUSD
發布通知:
Added maxval to options.
發布通知:
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.
發布通知:
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..
發布通知:
Fixed issue where lines did not match the color of their corresponding pivot point candle.
發布通知:
Fixed default options.
發布通知:
  • Removed option to change bar colors
  • Added settings to change line styles
  • Added labels showing the volume of the candle
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?