Project Pegasus RevenantDescription
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.
Reversalcandlestick
3 Bar Reversal3 Bar Reversal
This pattern is described in John Carter's "Mastering the Trade"
The 3 Bar Reversal indicator is a simple but effective price action tool designed to highlight potential short-term reversals in market direction. It monitors consecutive bar behavior and identifies turning points based on a three-bar pattern. This tool can assist traders in spotting trend exhaustion or early signs of a reversal, particularly in scalping or short-term trading strategies.
How It Works
This indicator analyzes the relationship between consecutive bar closes:
It counts how many bars have passed since the price closed higher than the previous close (barssince(close >= close )) — referred to as an "up streak".
It also counts how many bars have passed since the price closed lower than the previous close (barssince(close <= close )) — known as a "down streak".
A reversal condition is met when:
There have been exactly 3 bars in a row moving in one direction (up or down), and
The 4th bar closes in the opposite direction.
When this condition is detected, the script performs two actions:
Plots a triangle on the chart to signal the potential reversal:
A green triangle below the bar for a possible long (buy) opportunity.
A red triangle above the bar for a possible short (sell) opportunity.
Triggers an alert condition so users can set notifications for when a reversal is detected.
Interpretation
Long Signal: The market has printed 3 consecutive lower closes, followed by a higher close — suggesting bullish momentum may be emerging.
Short Signal: The market has printed 3 consecutive higher closes, followed by a lower close — indicating possible bearish momentum.
These patterns are common in market retracements and can act as confirmation signals when used with other indicators such as RSI, MACD, support/resistance, or volume analysis.
Usage Examples
Scalping: Use the reversal signal to quickly enter short-term trades after a short-term exhaustion move.
Swing Trading: Combine this with trend indicators (e.g., moving averages) to time pullbacks within larger trends.
Confirmation Tool: Use this indicator alongside candlestick patterns or support/resistance zones to validate entry or exit points.
Alert Setup: Enable alerts based on the built-in alertcondition to receive instant notifications for potential trade setups.
Limitations
The 3-bar reversal logic does not guarantee a trend change; it signals potential reversals, which may need confirmation.
Best used in conjunction with broader context such as trend direction, market structure, or other technical indicators.
ReversalThe primary objective of this indicator is to discern candles that exhibit characteristics suggestive of potential market reversals through the application of candlestick analysis. Extensive observation across various assets and timeframes has revealed the existence of a recurrent reversal pattern. This pattern typically manifests as a sequence of one to three candles that abruptly diverge from the prevailing price action or trend, offering a distinctive signal indicating a potential reversal.
By leveraging the insights gained from this observation, the indicator aims to assist traders in identifying these noteworthy candle patterns that hold the potential to indicate significant market shifts.
The indicator operates as follows: initially, it identifies the lowest close (in the case of a bullish reversal) or the highest close (in the case of a bearish reversal) within a specified number of previous candles, as determined by user input (referred to as "Candle Lookback").
Next, the indicator examines whether the closing price surpasses the high of the previously identified lowest (bullish reversal) or highest (bearish reversal) closed candle within a designated number of candles, as specified by the user (referred to as "Confirm Within").