INVITE-ONLY SCRIPT

Project Pegasus Revenant

81
Description

Project Pegasus Revenant is a reversal and liquidity-trap detection system combining a configurable fractal reversal engine with the SweepTrigger liquidity finder. It highlights potential structural turning points and stop-hunt scenarios directly on the chart.

What’s unique

Fractal Reversal Engine: Adjustable strictness (1 = loose, 5 = strict) to fit different market conditions.

Signal Filtering: Minimum bar spacing to avoid clustering of false or repeated signals.

SweepTrigger Add-on: Detects liquidity sweeps with wick-based rejection logic, auto-doji detection, and range-strength confirmation.

Dual Signal Output: Circle markers for pure fractal reversals, triangles for sweep-based liquidity traps.

Adaptive Filters: Customizable thresholds for body size, candle range, and sweep strength.

How it works (technical)

Fractals: A reversal fractal is confirmed when the high/low at position n is surrounded by lower/higher highs/lows across a configurable frontier.

Signal confirmation: Once price trades back through the fractal level within a limited number of bars, a potential reversal is triggered.

Bar filter: Signals require a minimum distance in bars to prevent noise.

SweepTrigger logic:

Wick comparison (upper vs lower) determines rejection direction.

Doji and low-body candles are auto-filtered.

Range check ensures the current candle exceeds a configurable multiple of the average range.

Visuals:

Green/Red circles = fractal reversals.

Cyan/Purple triangles = liquidity sweep triggers.

How to use

Watch fractal signals to anticipate structural reversal points.

Combine SweepTrigger signals with liquidity highs/lows for identifying stop hunts and fakeouts.

Use as standalone reversal tool or as confirmation within a broader system (e.g., order blocks, volume profile, or market structure).

Key settings

Reversal Mode: 1–5 (controls strictness of fractals).

SweepTrigger: On/off toggle, lookback window, body-size filter, range strength multiplier.

Visuals: Shapes, sizes, and color-coded signals for clear separation between fractal and sweep triggers.

Notes & limitations

Works on all timeframes.

Signals are reactive (based on confirmed bars), not predictive — no lookahead logic.

Too strict settings may reduce signal frequency; too loose may increase noise.

Disclaimer

For educational and informational purposes only. Not financial advice.

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.