OPEN-SOURCE SCRIPT
Updated

Anti-Equal Prices

543
Overview
This strategy identifies Equal Highs and Equal Lows - key liquidity zones where stop losses cluster - and enters counter-trend trades when price taps these levels. Based on the smart money concept that institutions sweep liquidity at obvious levels before reversing.

How It Works
1.
Level Detection: Scans the last 30 bars to find the highest high and lowest low
2.
Equal Level Identification: Counts how many bars have touched within tolerance of these extremes. If 2+ bars touched the same level, it's considered an "Equal High" or "Equal Low"
3.
Entry Trigger: When price touches an established equal level, the strategy enters a counter-trade (short at equal highs, long at equal lows)
4.
Exit: Fixed stop loss and take profit in points
Why Equal Highs/Lows Matter
Equal highs form obvious resistance where retail traders place sell stops above
Equal lows form obvious support where retail traders place buy stops below
Smart money "sweeps" these levels to trigger stops before reversing
This strategy fades the breakout, anticipating the reversal
Release Notes
Risk Management

Stop Loss: Fixed 10 points below the Equal Low anchor, providing defined risk on every
trade regardless of volatility.

Profit Target: Dynamic, set at 3x ATR(14) above the entry level. Using ATR for the
target rather than a fixed point distance allows the strategy to capture larger moves
during high-volatility sessions while keeping targets realistic during quiet periods.

This creates an asymmetric risk profile — a fixed small loss against a variable larger
gain — which is the foundation of the strategy's edge.

Session Filter: Active 09:45 to 14:00 ET, avoiding the volatile opening 15 minutes
and late-session liquidity decay.

Cooldown: A minimum 3-bar gap between entries on the same level prevents over-trading
a single setup.

---

Settings

Parameter | Default | Description
-------------------|---------|------------------------------------------
Lookback Bars | 30 | Bars scanned for equal low touches
Tolerance | 5 pts | Max distance between lows to qualify
Min Touches | 3 | Prior touches required before signal
Session | 0945-1400 ET | Active trading window
Entry Within | 5 pts | Max distance from anchor to enter
Cooldown Bars | 3 | Min bars between entries on same level
Stop Loss | 10 pts | Fixed points below the EQL anchor
Target Multiplier | 3.0x | Profit target = ATR x multiplier
RSI Filter | ON / 40 | Only enter when RSI(14) <= 40
Rejection Candle | ON | Close must be above bar midpoint
Longs Only | ON | EQL longs only — shorts disabled

---

Recommended Use

Designed for NQ and MNQ futures on the 1-minute chart.
Works on other liquid instruments — adjust tolerance to match the instrument's
typical tick range.
Always backtest on your specific market and time period before live trading.

---

Risk Disclosure

Trading futures involves substantial risk of loss and is not appropriate for all
investors. Past performance is not indicative of future results. This strategy is
provided for educational purposes only. Always use appropriate position sizing and
never risk more than you can afford to lose.

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.