HoanGhetti

Support Resistance with Breaks and Retests

HoanGhetti 업데이트됨   
The Break and Retest indicator strives to provide a visual aid for spotting areas of continuation and pullbacks. Support and resistance levels are drawn out automatically and have sequential conditions in place to determine a breakout following an eventual retest. Additionally, there are methods in place that try and detect liquidation events and still output a retest.

Although there are options to adjust repaint settings, "potential labels" are structured in a way to detect live ongoing retest events and therefore will be the only thing in the script that will be forced to repaint.


🔳 Settings
  • Lookback Range: Lookback period to trigger a new support/resistance level when pivot conditions are met.
  • Bars Since Breakout: How many bars since breakout in order to detect a retest.
  • Retest Detection Limiter: Whenever a potential retest is detected, the indicator knows that a retest is about to happen. In that given situation, this input grants the ability to raise the limit on how many bars are allowed to be actively checked while a potential retest event is active. For example, if you see the potential retest label, how many bars do you want that potential retest label to be active for to eventually confirm a retest?

🔳 Repaint Options
By default, the break and retest system uses the current close value to determine a condition. (Repaints by default)
  • On: Allows repainting
  • Off - Bar Confirmation: Prevents repainting and generates alerts when the bar closes. (1 candle later)
  • Off - High & Low: Prevents repainting, but in return utilizes both the high and low values instead of the close which may yield a higher outcome and inaccurate results.

🔳 How it works
In the background, calculations aren't searching for the perfect retest within the zone but instead focuses its attention towards price fluctuation around the zones. This allows the indicator to yield more results than it would otherwise.

The chart below provides an example of how potential retests are established. These are updated constantly until a retest is confirmed, and deleted if not. If a potential retest is active and the next candle drops below the value when the potential retest was detected, a retest is placed..

🔳 Alerts
릴리즈 노트:
• Fixed retest alerts not going off under certain circumstances.
릴리즈 노트:
• Added styling options
릴리즈 노트:
Updated
  • Unlocked max value for the detection limiter.
릴리즈 노트:
Added
  • Extend options (Only affects the current levels)
  • Combined all alerts
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

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