OPEN-SOURCE SCRIPT

Dynamic Time Period Candles

업데이트됨
This indicator gives the dynamic history of the current price over various time frames as a series of candles on the right of the display, with optional lines on the chart, so that you can assess the current trend more easily.

In the library I found lots of indicators that looked at the previous xx time period candle, but they then immediately switched to the new xx time candle when it started to be formed. This indicator looks back at the rolling previous time period. With this indicator, you can clearly see how price has been behaving over time.

IMPORTANT SETUP INFO:
Initially, you must go into the settings and select the timeframe (in minutes) that your chart is displaying. If you don't do this then the indicator will look back the wrong number of candles and give you totally wrong results.

You can then setup how high you want the candle labels to be on the chart.
Then you can select settings for each candle that you want displayed. Anywhere between 1 and 5 different timeframes can be displayed on the chart at once.


I initially published an indicator called 'Dynamic 4-Hour Candle (Accurate Highs and Lows)', but this new indicator is so different that it needs to be forked and published as a separate indicator. The reasons for this are below:

  1. The original indicator only looked at the previous 4 hour time period. This indicator allows the user to select any time period that they choose.
  2. The original indicator only looked at one time period. This indicator allows to select between one and five time periods on the chart at once.
  3. The original indicator did not put lines on the chart to show the lookback period and the highs and lows of that time period. This indicator does both those things.
  4. The name of the original indicator in no way now describes what this new indicator is capable of, and would be very misleading to anyone who came across it. This new indicator has a name that much more accurately reflects what its' purpose and functionality is.
릴리즈 노트
I've added the ability to set alerts when each or any of the candles change colour. There is also an alert option if all the candles become the same colour, so you can use that to identify a really strong trend. (or the possibility that the trend could be about to reverse!)

When you create an alert on this indicator, in the Create Alert settings, use the 'Any alert() function call' dropdown menu to select which candle that you want to set the alert for. Each candle will require a separate alert to be set for it.
candleCandlestick analysishighlookbackLOWmultitimeframeperiodTIMEtimeframetrendTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항