mortdiggiddy

Candlestick Plot MTF

mortdiggiddy Uppdaterad   
Plots the live non-repainting candles for a higher time interval than the chart interval.

Features:

  • Configuration of the look and feel of the MTF candles.
  • Live candles update as the price action evolves for the session.
  • Historical candles can be toggled on/off.
  • Includes a moving average ribbon that is also MTF, matching the interval chosen.

Please watch this video to understand more:

Versionsinformation:
  • Improved gap logic.
Versionsinformation:
  • Added Heikin Ashi Candles.
Versionsinformation:
  • Fixed issues with heikin ashi plot.
Versionsinformation:
  • Updated max "recent" candle count. Shows a maximum of 90 candles built with pine 4.0 lines instead of 9.
Versionsinformation:
  • Major overhaul to Pine V5.
  • Swapped candle body lines for "boxes" that were recently introduced. This has increased the total number of drawn candles by a factor of 4x.
  • Removed Moving Averages.
  • Removed "historical candles". There is a max bars back limitation. This new version will show 500 boxes (candles) in history. Only the most recent 250 candles will show wicks.
  • Code is condensed and simplified, speed improved.
Versionsinformation:
  • Added simple countdown label showing the time remaining until the interval ends.
Versionsinformation:
  • Removed unused plot.
Versionsinformation:
  • Added volume gradient.
  • Shade the background of candles and set the border width based on the candle relative volume compared to the previous N candles.\n\nA candle with a lower relative volume will appear more transparent and have a thinner border, while a candle with a higher relative volume will appear more opaque and have a thicker border.
Versionsinformation:
  • Minor updates and improvements,
Versionsinformation:
  • Added better volume gradient range.
  • Added large tooltips in the center of each candle that can be shown when hovered over. These tooltips show the current candle volume and also the volume percentile rank.
Versionsinformation:
  • Tweaked volume gradient shading mechanism.
  • Added option to show volume percentile value inside candle.
  • Updated tooltips.
Versionsinformation:
  • Added ability to set the wick colors based on bullish/bearish candles.
  • Added fade in/out mechanism to the volume percentile rank labels. The text opacity approaches 100 as the rank approaches 100.

Versionsinformation:
  • Set text opacity function to sqrt.
Versionsinformation:
  • Added 'distribution' rank mode. See description in pictures attached to this update message.

Interesting combination of distribution and percentile rank modes on the same candle. This is live and occurred a few minutes ago when the CORE PCE data headline was released.


Versionsinformation:
  • Updated input descriptions.
Versionsinformation:
  • Added option to use custom sigma value, see input notes to know more next to the sigma variable.
  • Updated 'hybrid' candlestick types.
  • Updated documentation.

Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?