prosum_solutions

HTF Candles by Prosum Solutions

Overview of Features

This indicator was inspired by the work of "informanerd" in the script called "HTF Candles" as well as the built-in script called "Multi-Time Period Charts" by TradingView. The script will provide a highly customizable interface to specify the higher timeframe resolution for the candlesticks , the type of candle, as well as various styling options for the body, borders and wicks.

Usage Information

The indicator can be applied to any chart at any time frame, but resolutions less than 1 minute may demonstrate gaps between bars and the candles may not render properly.

When the "Same as chart" option is chosen for the "Resolution" field, the indicator will attempt to find a higher timeframe resolution to ensure the candlesticks are drawn.

Enjoy! 👍
Sürüm Notları: v1.0.1 - Patch Release

New features and fixes in this release:

  • Added a new "Show Label" checkbox to display the resolution value as a label on the last candle.
  • Fixed a defect where the HTF candle was not drawing when the time is on the boundary of the HTF resolution.
  • Fixed a defect where the using the 12H timeframe would not render the candles properly.
  • Renamed the "Candle" option to "Normal" for the "Candle Type" input.
  • Update emoji placement in color inputs.
  • Update the maximum values of the width inputs from 5 to 10.
Sürüm Notları: v1.0.2 - Patch Release

New features in this release:

  • Added validation on the "Resolution" input value and display an error message if the value is not higher than the current chart resolution.
  • Enhanced the value of the resolution label to include the units of either "minutes", "hours", "days", "weeks", or "months".
Sürüm Notları: v1.0.3 - Patch Release

New fixes in this release:

  • Addressing a possible repaint issue by removing the High, Low, and Close plots for the Data Window.
Sürüm Notları: v1.0.4 - Patch Release

New features and fixes in this release:

  • Converted the Pine Script code to version 5.
  • Fixed a defect where the right-side candle boundary would end in the center of the new HTF resolution. There will now be a one candle width spacing between HTF candles.
Sürüm Notları: v1.0.5 - Patch Release

New features and fixes in this release:

  • Added a new "Offset" input to shift the candlesticks either to the left or to the right for the given number of bars.
  • Added a new "Time to close" checkbox, position, and text-size options for the time to close text inside the candle body.
  • Fixed a defect where the candles were not rendering properly on charts that have defined trading sessions less than 24 hours.
  • Fixed a defect where disabling the body color of the HTF candles would remove the timeframe label frame.
  • Fixed a defect where disabling the border color of the HTF candles would remove the timeframe label text.
  • Improved rendering performance by not deleting and recreating boxes, lines, and labels on every tick.
  • Removed the error label that displays when the timeframe of the chart is greater than the indicator timeframe in favor of the new `runtime.error()` function.
  • Removed the custom `stringEndsWith()` function in favor of the new `str.endswith()` function.
  • Renamed the "Resolution" input to "Timeframe" to conform to the terminology in TradingView and Pine Script. This includes tool tips and code variable names.

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?