OPEN-SOURCE SCRIPT
SFP 1:2RR

This strategy is a top-down liquidity model that combines higher timeframe swing structure with lower timeframe imbalance entries.
Overview
The model identifies confirmed swing highs and swing lows on the 1H timeframe.
It waits for a liquidity sweep (SFP-style mitigation) of those swings, followed by displacement away from the level.
Execution is performed on the 5-minute timeframe using Fair Value Gap (FVG) retracement entries.
The strategy enforces a fixed 1:2 Risk:Reward structure.
Logic Flow
Step 1 – 1H Swing Identification
Confirmed 3-candle pivot highs and lows are marked.
These represent external liquidity pools.
Step 2 – 1H Mitigation (SFP Condition)
Bearish: Price wicks above a prior 1H swing high and closes back below it.
Bullish: Price wicks below a prior 1H swing low and closes back above it.
This indicates liquidity has been taken.
Step 3 – Displacement Confirmation
After mitigation, a strong directional impulse must form.
This reduces false sweeps in consolidation.
Step 4 – 5M Fair Value Gap Formation
An FVG must form in the direction of displacement.
This defines the retracement entry zone.
Step 5 – Entry
Trade is triggered when price retraces into the 5M FVG.
Stop loss is placed beyond the 1H sweep wick.
Take profit is fixed at 2x risk (1:2 RR).
Risk Management
Fixed 1:2 Risk:Reward.
One trade per mitigation event (optional).
No pyramiding.
Entries are executed on the next bar to avoid same-candle execution artifacts.
Strategy Characteristics
Moderate win rate (typically 35–50% depending on market regime).
Performs best in trending or directional environments.
Avoids mid-range chop by requiring displacement after mitigation.
Designed for structured continuation rather than pure scalping.
Intended Use
Best applied to:
Major FX pairs
Indices
Gold
High-liquidity instruments
Recommended execution timeframe: 5-minute
Higher timeframe bias: 1-hour
Overview
The model identifies confirmed swing highs and swing lows on the 1H timeframe.
It waits for a liquidity sweep (SFP-style mitigation) of those swings, followed by displacement away from the level.
Execution is performed on the 5-minute timeframe using Fair Value Gap (FVG) retracement entries.
The strategy enforces a fixed 1:2 Risk:Reward structure.
Logic Flow
Step 1 – 1H Swing Identification
Confirmed 3-candle pivot highs and lows are marked.
These represent external liquidity pools.
Step 2 – 1H Mitigation (SFP Condition)
Bearish: Price wicks above a prior 1H swing high and closes back below it.
Bullish: Price wicks below a prior 1H swing low and closes back above it.
This indicates liquidity has been taken.
Step 3 – Displacement Confirmation
After mitigation, a strong directional impulse must form.
This reduces false sweeps in consolidation.
Step 4 – 5M Fair Value Gap Formation
An FVG must form in the direction of displacement.
This defines the retracement entry zone.
Step 5 – Entry
Trade is triggered when price retraces into the 5M FVG.
Stop loss is placed beyond the 1H sweep wick.
Take profit is fixed at 2x risk (1:2 RR).
Risk Management
Fixed 1:2 Risk:Reward.
One trade per mitigation event (optional).
No pyramiding.
Entries are executed on the next bar to avoid same-candle execution artifacts.
Strategy Characteristics
Moderate win rate (typically 35–50% depending on market regime).
Performs best in trending or directional environments.
Avoids mid-range chop by requiring displacement after mitigation.
Designed for structured continuation rather than pure scalping.
Intended Use
Best applied to:
Major FX pairs
Indices
Gold
High-liquidity instruments
Recommended execution timeframe: 5-minute
Higher timeframe bias: 1-hour
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.