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)
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.