This indicator shows market structure. The standard method of using Williams Highs and Lows as pivots, is something of an approximation. What's original here is that we follow rules to confirm Local Highs and Local Lows, and strictly enforce that a Low can only follow a confirmed High and vice-versa. -- Highs and Lows To confirm a candle as a Local High, you need a later candle to Close below its Low. To confirm a Local Low, you need a Close above its High. A Low can only follow a High (after it's been confirmed). You can't go e.g High, High, Low, Low, only High, Low, High, Low. When price makes Higher Highs and Higher Lows, market structure is said to be bullish. When price makes Lower Lows and Lower Highs, it's bearish. I've defined the in-between Highs and Lows as "Ranging", meaning, neutral. They could be trend continuation or reversal. -- Bullish/Bearish Breaks A Bullish break in market structure is when the Close of the current candle goes higher than the previous confirmed Local High. A Bearish Break is when the Close of the current candle goes lower than the most recent confirmed Local Low. I chose to use Close rather than High to reduce edge case weirdness. The breaking candle often ends up being a big one, thus the close of that candle can be a poor entry. You can get live warnings by setting the alert to Options: Only Once, because during a candle, the current price is taken as the Close. Breaks are like early warnings of a change in market bias, because you're not waiting for a High or Low to be formed and confirmed. Buy The Dip / Sell The Rally Buy The Dip is a label I gave to the first Higher Low in a bullish market structure. Sell The Rally is the first Lower High in a bearish market structure. These *might* be good buying/selling opportunities, but you still need to do your own analysis to confirm that.
== USAGE == The point of knowing market structure is so you don't make bullish bets in a bearish market and vice versa - or if you do at least you're aware that that's what you're doing, and hopefully have some overwhelmingly good reason to do so. These are not signals to be traded on their own. You still need a trade thesis. Use with support & resistance and your other favourite indicators. Works on any market on any timeframe. Be aware that market structure will be different on different timeframes. IMPORTANT: If you're not seeing what you expect, check your settings and re-read this entire description carefully. Confirming Highs and Lows can get deceptively complex.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
차트에서 빠르게 액세스하려면 이 스크립트를 즐겨찾기에 추가하세요 — 여기에서 자세히 알아보기.