OPEN-SOURCE SCRIPT
Aktualisiert Monday Liquidity Sweep - WolfWeb

⚡ 1. Liquidity Sweep Parameters (Wick-Extreme Logic)
These settings determine when the strategy detects a liquidity sweep through Monday’s high/low.
liqPct — Liquidity Sweep % of Wick Extreme
Default: 0.0002 (0.02%)
Minimum size the wick must extend above Monday’s high or below Monday’s low
Prevents tiny wiggles from counting as sweeps
Example:
If the sweep high (after Monday) is 1.20000
→ Wick must extend at least 1.20000 × 0.0002 = 0.00024 (2.4 pips)
maxWickPct — Max Wick % Allowed
Default: 0.0025 (0.25%)
If the wick is too big, it’s considered inefficient/noisy and skipped
Avoids entering after huge spikes that aren’t real liquidity grabs
slPct — SL Offset % of Wick Extreme
Default: 0.0002 (0.02%)
Stop loss is placed beyond the sweep wick by this percentage
Prevents immediate stop-outs from tiny spread/noise beyond the sweep point
Short example:
SL = wickHighExtreme + (wickHighExtreme × slPct)
Long example:
SL = wickLowExtreme – (wickLowExtreme × slPct)
⚡ 2. Risk Management Settings
riskUsd — Fixed Dollar Risk per Trade
Default: $100
Strategy automatically adjusts position size so that
max loss = $100
Regardless of SL distance, your dollar risk stays constant
rr — Reward/Risk Ratio (used for one TP scenario)
Default: 3.5
Minimum R multiple the strategy tries to achieve
If Monday range TP is smaller, strategy takes the larger TP
tpRangePct — TP % of Monday Range
Default: 130%
Final TP = max( 3.5R , 130% of Monday range )
Why?
Because sometimes Monday range is wide, and 3R is not enough contextually.
Examples:
Monday range = 50 pips → TP = 65 pips (because 130% > 3.5R? depends on risk)
Monday range = 10 pips → TP = whichever is larger (usually 3.5R)
This makes the strategy adapt to volatility differences week by week.
⚡ 3. Break-Even System (Two Conditions)
You have two independent BE triggers. If either hits, SL moves to a safe level.
BE Trigger Condition 1:
beRRTrigger — Break-Even Trigger in R Multiples
Default: 1.5
When the trade reaches +1.5R profit, we activate break-even logic.
BE Trigger Condition 2:
beBars — Break-Even After N Candles
Default: 24 bars
If trade doesn’t hit 1.5R but stays open long enough (24 candles),
SL moves to a break-even location.
This prevents trades from floating too long and reversing violently.
beLockFraction — Lock-In Fraction After BE
Default: 0.1
Meaning:
Once BE is triggered, SL moves to lock in 10% of the initial risk as profit.
Example:
Initial risk (entry→SL) = 20 pips
Lock fraction 0.1 → lock in 2 pips profit after BE activation.
This avoids pure breakeven (0 profit), which often gets wicked out.
⚡ 4. Monday + Time Logic
hourShift — Monday Start Shift
Default: 7 hours
Used to shift Monday start earlier/later depending on broker
Many forex brokers start the week late (Sunday evening).
This fixes the Monday box to real market structure.
Monday Box & Range
Strategy tracks Monday High & Low
Draws a box ONLY for Monday
Sweeps must occur after Monday
Entries must be back into the Monday range on next candle
⚡ 5. Session & Close Logic
nyOpenHour — New York Session Start Hour
Default: 14 (2 PM exchange time)
Friday Auto-Close
Any open trade is closed on Friday at:
NY Open + 2 hours
So with NY at 14 → auto-close at 16 (4 PM).
This protects from weekend gaps.
⚡ 6. Entry Mode
entryMode — “Tuesday Only” or “One Trade Per Week”
Tuesday Only → Strategy only enters on Tuesday
One Trade Per Week → Can enter any day after Monday, but only once per week
These settings determine when the strategy detects a liquidity sweep through Monday’s high/low.
liqPct — Liquidity Sweep % of Wick Extreme
Default: 0.0002 (0.02%)
Minimum size the wick must extend above Monday’s high or below Monday’s low
Prevents tiny wiggles from counting as sweeps
Example:
If the sweep high (after Monday) is 1.20000
→ Wick must extend at least 1.20000 × 0.0002 = 0.00024 (2.4 pips)
maxWickPct — Max Wick % Allowed
Default: 0.0025 (0.25%)
If the wick is too big, it’s considered inefficient/noisy and skipped
Avoids entering after huge spikes that aren’t real liquidity grabs
slPct — SL Offset % of Wick Extreme
Default: 0.0002 (0.02%)
Stop loss is placed beyond the sweep wick by this percentage
Prevents immediate stop-outs from tiny spread/noise beyond the sweep point
Short example:
SL = wickHighExtreme + (wickHighExtreme × slPct)
Long example:
SL = wickLowExtreme – (wickLowExtreme × slPct)
⚡ 2. Risk Management Settings
riskUsd — Fixed Dollar Risk per Trade
Default: $100
Strategy automatically adjusts position size so that
max loss = $100
Regardless of SL distance, your dollar risk stays constant
rr — Reward/Risk Ratio (used for one TP scenario)
Default: 3.5
Minimum R multiple the strategy tries to achieve
If Monday range TP is smaller, strategy takes the larger TP
tpRangePct — TP % of Monday Range
Default: 130%
Final TP = max( 3.5R , 130% of Monday range )
Why?
Because sometimes Monday range is wide, and 3R is not enough contextually.
Examples:
Monday range = 50 pips → TP = 65 pips (because 130% > 3.5R? depends on risk)
Monday range = 10 pips → TP = whichever is larger (usually 3.5R)
This makes the strategy adapt to volatility differences week by week.
⚡ 3. Break-Even System (Two Conditions)
You have two independent BE triggers. If either hits, SL moves to a safe level.
BE Trigger Condition 1:
beRRTrigger — Break-Even Trigger in R Multiples
Default: 1.5
When the trade reaches +1.5R profit, we activate break-even logic.
BE Trigger Condition 2:
beBars — Break-Even After N Candles
Default: 24 bars
If trade doesn’t hit 1.5R but stays open long enough (24 candles),
SL moves to a break-even location.
This prevents trades from floating too long and reversing violently.
beLockFraction — Lock-In Fraction After BE
Default: 0.1
Meaning:
Once BE is triggered, SL moves to lock in 10% of the initial risk as profit.
Example:
Initial risk (entry→SL) = 20 pips
Lock fraction 0.1 → lock in 2 pips profit after BE activation.
This avoids pure breakeven (0 profit), which often gets wicked out.
⚡ 4. Monday + Time Logic
hourShift — Monday Start Shift
Default: 7 hours
Used to shift Monday start earlier/later depending on broker
Many forex brokers start the week late (Sunday evening).
This fixes the Monday box to real market structure.
Monday Box & Range
Strategy tracks Monday High & Low
Draws a box ONLY for Monday
Sweeps must occur after Monday
Entries must be back into the Monday range on next candle
⚡ 5. Session & Close Logic
nyOpenHour — New York Session Start Hour
Default: 14 (2 PM exchange time)
Friday Auto-Close
Any open trade is closed on Friday at:
NY Open + 2 hours
So with NY at 14 → auto-close at 16 (4 PM).
This protects from weekend gaps.
⚡ 6. Entry Mode
entryMode — “Tuesday Only” or “One Trade Per Week”
Tuesday Only → Strategy only enters on Tuesday
One Trade Per Week → Can enter any day after Monday, but only once per week
Versionshinweise
⚡ 1. Liquidity Sweep Parameters (Wick-Extreme Logic)These settings determine when the strategy detects a liquidity sweep through Monday’s high/low.
liqPct — Liquidity Sweep % of Wick Extreme
Default: 0.0002 (0.02%)
Minimum size the wick must extend above Monday’s high or below Monday’s low
Prevents tiny wiggles from counting as sweeps
Example:
If the sweep high (after Monday) is 1.20000
→ Wick must extend at least 1.20000 × 0.0002 = 0.00024 (2.4 pips)
maxWickPct — Max Wick % Allowed
Default: 0.0025 (0.25%)
If the wick is too big, it’s considered inefficient/noisy and skipped
Avoids entering after huge spikes that aren’t real liquidity grabs
slPct — SL Offset % of Wick Extreme
Default: 0.0002 (0.02%)
Stop loss is placed beyond the sweep wick by this percentage
Prevents immediate stop-outs from tiny spread/noise beyond the sweep point
Short example:
SL = wickHighExtreme + (wickHighExtreme × slPct)
Long example:
SL = wickLowExtreme – (wickLowExtreme × slPct)
⚡ 2. Risk Management Settings
riskUsd — Fixed Dollar Risk per Trade
Default: $100
Strategy automatically adjusts position size so that
max loss = $100
Regardless of SL distance, your dollar risk stays constant
rr — Reward/Risk Ratio (used for one TP scenario)
Default: 3.5
Minimum R multiple the strategy tries to achieve
If Monday range TP is smaller, strategy takes the larger TP
tpRangePct — TP % of Monday Range
Default: 130%
Final TP = max( 3.5R , 130% of Monday range )
Why?
Because sometimes Monday range is wide, and 3R is not enough contextually.
Examples:
Monday range = 50 pips → TP = 65 pips (because 130% > 3.5R? depends on risk)
Monday range = 10 pips → TP = whichever is larger (usually 3.5R)
This makes the strategy adapt to volatility differences week by week.
⚡ 3. Break-Even System (Two Conditions)
You have two independent BE triggers. If either hits, SL moves to a safe level.
BE Trigger Condition 1:
beRRTrigger — Break-Even Trigger in R Multiples
Default: 3
When the trade reaches +3R profit, we activate break-even logic.
BE Trigger Condition 2:
beBars — Break-Even After N Candles
Default: 24 bars
If trade doesn’t hit 3R but stays open long enough (24 candles),
SL moves to a break-even location.
This prevents trades from floating too long and reversing violently.
beLockFraction — Lock-In Fraction After BE
Default: 2
Meaning:
Once BE is triggered, SL moves to lock in 200% of the initial risk as profit.
Example:
Initial risk (entry→SL) = 20 pips
Lock fraction 0.1 → lock in 2 pips profit after BE activation.
This avoids pure breakeven (0 profit), which often gets wicked out.
⚡ 4. Monday + Time Logic
hourShift — Monday Start Shift
Default: 7 hours
Used to shift Monday start earlier/later depending on broker
Many forex brokers start the week late (Sunday evening).
This fixes the Monday box to real market structure.
Monday Box & Range
Strategy tracks Monday High & Low
Draws a box ONLY for Monday
Sweeps must occur after Monday
Entries must be back into the Monday range on next candle
⚡ 5. Session & Close Logic
nyOpenHour — New York Session Start Hour
Default: 14 (2 PM exchange time)
Friday Auto-Close
Any open trade is closed on Friday at:
NY Open + 2 hours
So with NY at 14 → auto-close at 16 (4 PM).
This protects from weekend gaps.
⚡ 6. Entry Mode
entryMode — “Tuesday Only” or “One Trade Per Week”
Tuesday Only → Strategy only enters on Tuesday
One Trade Per Week → Can enter any day after Monday, but only once per week
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.