OPEN-SOURCE SCRIPT
Smart Order Block Identifier

This custom TradingView indicator identifies and highlights Smart Money Order Blocks (OBs) based on refined multi-candle price action logic. It detects bearish and bullish order blocks using a structured pattern involving five candles. For a bearish order block, the central (OB) candle must have a high that is greater than the highs of both the candle before and after it—signaling local strength. Additionally, the high of the candle two bars after (the “next-next” candle) must be lower than the OB candle’s low, indicating a potential shift in momentum and confirming bearish intent. Conversely, a bullish order block is identified when the OB candle has a low lower than the lows of both the previous and following candle. The candle two bars later must have a low higher than the OB candle’s high, showing price rejection and a likely reversal. The indicator marks these blocks visually with boxes on the chart and optionally filters out mitigated zones.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。