OPEN-SOURCE SCRIPT
已更新 DTFX Time based range candle box [Wang Indicators]

DTFX Time based range candle box
Overview : This indicator highlights HTF Candles in specified timeframe within boxes and extend them until they are mitigated. Allowing traders to use them as zones from which you could find some turn-around or scalp
How does it works ?
Exemple
Here we have those settings :

Settings
How does it helps users ?
Overview : This indicator highlights HTF Candles in specified timeframe within boxes and extend them until they are mitigated. Allowing traders to use them as zones from which you could find some turn-around or scalp
How does it works ?
- Users can setup up to 8 desired timeframe with the hour/minute of the HTF candle
- Be carrefull when you chose the time. You must put something coherent with the timeframe (e.g : you can't put 'minutes' = 45 if your timeframe is '1h')
- Everyday, the indicator will draw a box around the specified candle for it timeframe
- Once the price close above or bellow this candle in the same timeframe, the Zone become "active"
- As long as the price doesn't came back into the zone, the retracements will extends
- Once the price came back into the zone (in the current timeframe), it stops the expension
Exemple
Here we have those settings :
- timeframe : 1 hour
- time : 9am
- mitigation : 10%
- fibs : visible & dashed
- The box highlights the 9am 1H candle (9am to 10am)
- We now wait for the price to close in the same timeframe (1h here) above or bellow the price
- At 11am we close above - the zone is now "active"'
- Now we wait for the price to go back in this zone in the current timeframe (here 5min)
- 12:40am : we put a low above the 10% of the zone -> we stop the retracements, the zone is considered as "mitigated"
Settings
- Hour : The hour of the begiging of the candle
- Minute : Combined with hour (default 0)
- Timeframe : In whichtimeframe we are looking for the candle
- % Mitigation : % of the box in wich the price must go back-in in order to "mitigate" the box and stop the expension of the fibs/box (if settings enabled)
- Retracements style : Hidden, dashed, dotted or lines for the fibs
- Extend Box : extend the box itself until it get mitigated
- Number of unmitigated zones : Max unmitigated zone drawed on the chart PER CONFIG
- Timezone : Must be set to reflect your needs. (preferably the chart timezone)
How does it helps users ?
- Once a Candle is "active" it can be used as a Zone
- Fibonnacis levels (30, 50 and 70%) are displayed (if enabled)
- Users can customize their apparence and the boxes as they see fit
- The 30 - 50 - 70 levels are possible support/resistance that the price tend to bounce of off
- You might find some success looking for an entry inside the zone at a level if price gives further confirmations such as a lower time frame flip.
版本注释
Inside Bars
Inside bars are a common thing in trading. Often know as Harami Candles they may be used as reversal confirmation.
An inside bar is a candle wich is engulfs by the previous candle.
In technical terms : The previous high and lows are higher and lower than the next candle.
How does it works ?
When a TBR become active, a TBR will be either Bulish or Bearish
If we traded bellow, it is considered as "Bearish TBR" and if we traded above, a "Bullish TBR"
When the price goes back in the TBR, we are going to search some sign of reversal : Inside bars
For Bullish TBR we are looking for a bearish candle that engulfs the body of the next candle.
And for Bearish TBR we are looking for a bullish candle that engulfs the body of the next candle
UI
- A TBR that is not yet active will be colored in gray
- Small change on the TBR Box borders
- Insides bar will be displayed on demand(as soon as they append in a TBR) and with various styles (Asteriks, Arrow, cross or as a hollow candle)
Here, some inside bar within a bullish TBR
Alerts
You can now set alerts for each TBR configured for those 2 events :
- When a TBR become active
- When an inside bar pop in the TBR
版本注释
Add new alert type : TBR is retestedWhen does it trigger ?
- On a bull TBR : when we trade bellow the high of the TBR
- On a bear TBR : when we trade aboce the low of the TBR
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。