OPEN-SOURCE SCRIPT
London Breakout Optimized PF

Best Practices:
Only take trades in trend and above/below VWAP
Avoid trading in low-volume or sideways markets
Use it for intraday 5-min charts (15-min for trend confirmation)
Track trades in a Trading Journal → improves discipline
Entry Rules:
Long (Buy):
Price above EMA21 & VWAP → bullish trend
EMA slope positive → strong trend confirmation
Pullback to entry zone OR breakout above resistance
Volume above 1.3× average → avoids weak moves
Short (Sell):
Price below EMA21 & VWAP → bearish trend
EMA slope negative → strong downtrend
Pullback to entry zone OR breakout below support
Volume above 1.3× average
Exit Rules:
Stop-Loss: ATR-based, dynamic (tight for fewer losses)
Take Profit: Risk × 3 (3:1 R:R)
Automatically handled by the strategy (strategy.exit)
Only take trades in trend and above/below VWAP
Avoid trading in low-volume or sideways markets
Use it for intraday 5-min charts (15-min for trend confirmation)
Track trades in a Trading Journal → improves discipline
Entry Rules:
Long (Buy):
Price above EMA21 & VWAP → bullish trend
EMA slope positive → strong trend confirmation
Pullback to entry zone OR breakout above resistance
Volume above 1.3× average → avoids weak moves
Short (Sell):
Price below EMA21 & VWAP → bearish trend
EMA slope negative → strong downtrend
Pullback to entry zone OR breakout below support
Volume above 1.3× average
Exit Rules:
Stop-Loss: ATR-based, dynamic (tight for fewer losses)
Take Profit: Risk × 3 (3:1 R:R)
Automatically handled by the strategy (strategy.exit)
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.