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. اقرأ المزيد في شروط الاستخدام.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟