PROTECTED SOURCE SCRIPT

Arden SMC OTE

162
This indicator represents a comprehensive trading system based on Smart Money Concepts (SMC) and Optimal Trade Entry (OTE). The script's key feature is the built-in "Liquidity Trap" filter, which protects the trader from entering positions where the price is highly likely to hunt for stop losses before making the true move.

Key Features:

1. Automatic OTE Search: The indicator identifies market structure (Swing Highs/Lows) on the selected timeframe and draws a Fibonacci grid. Entry is based on the 0.62 level, and the target is the -0.27 extension (or a fixed Risk:Reward ratio).

2. "Liquidity Trap" Filter (Smart Logic):
  • The algorithm scans the chart for Equal Highs (EQH) and Equal Lows (EQL), based on precise candle body touches.
  • Protection Logic: If a liquidity zone (EQH/EQL) is located between your entry point and your Stop Loss, the indicator cancels the signal. This saves you from situations where the market maker first "sweeps" liquidity (hits your stop) and only then moves in the desired direction.

3. Flexible Risk Management:
  • 3 Stop Loss modes (Conservative behind the swing, Aggressive behind 0.88 Fib, or ATR-based).
  • Take Profit selection (Structure-based or fixed RR).

4. SMC Filters:
  • Equilibrium: Checks if the price is in the Discount zone (for buys) or Premium zone (for sells).
  • Structure Size: Filters out structures that are too small (noise) using ATR.


How to read the chart:
  • Grey zones/lines: Your potential trade (Entry, Stop, Take Profit).
  • Orange boxes: Liquidity Zones (EQH/EQL). If they appear, it means orders have accumulated there.
  • Labels: "ENTRY 🚀" — entry triggered, "TP HIT" — target reached.


Disclaimer:
This indicator is an assistive tool. Always check the higher timeframe context yourself.

Liquidity Filter Settings
  • ❌ Block on Liquidity (EQH/EQL): The main checkbox. If enabled, the script checks: "Is there an orange liquidity box right before my stop loss?". If yes — no signal is generated.
  • Show Liquidity Zones: Toggle the visibility of the orange boxes.
  • Touch Count (cNum): How many times the price must hit the exact same level (body-to-body) for it to count as liquidity. Usually 2 (Double Top/Bottom).
  • Gap Count (bars): Minimum distance (in bars) between touches.
  • Confirmation Bars: How many candles must pass after the touch for the zone to be confirmed and drawn.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.