Project Pegasus Revenant

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.
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ Project_Pegasus โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา
คำแนะนำของผู้เขียน
คำจำกัดสิทธิ์ความรับผิดชอบ
สคริปต์แบบเฉพาะผู้ได้รับเชิญเท่านั้น
เฉพาะผู้ใช้ที่ได้รับการอนุมัติจากผู้เขียนเท่านั้นที่สามารถเข้าถึงสคริปต์นี้ได้ คุณจะต้องร้องขอและได้รับอนุญาตก่อนจึงจะสามารถใช้งานได้ โดยปกติจะได้รับอนุญาตหลังจากชำระเงินแล้ว สำหรับรายละเอียดเพิ่มเติม ทำตามคำแนะนำของผู้เขียนด้านล่างหรือติดต่อ Project_Pegasus โดยตรง
TradingView ไม่แนะนำให้ชำระเงินหรือใช้สคริปต์ เว้นแต่ว่าคุณจะเชื่อถือผู้เขียนสคริปต์และเข้าใจวิธีการทำงานของมัน คุณยังอาจพบทางเลือกของโอเพนซอร์ส แบบฟรีในสคริปต์ชุมชนของเรา