OPEN-SOURCE SCRIPT
Squeeze Momentum Strategy [PickMyTrade]

Squeeze Momentum Strategy [PickMyTrade]
Overview
This strategy is a complete trading system built upon John Carter's renowned "TTM Squeeze" momentum indicator, as featured in his book "Mastering the Trade". The PickMyTrade team has transformed this popular indicator into a fully automated strategy with an additional trend filter for improved accuracy.
What Makes This Different?
While the original TTM Squeeze indicator helps identify volatility contractions and momentum direction, our strategy adds a critical enhancement:
50-Period MA Trend Filter – We only take trades in the direction of the dominant trend:
Long trades: Only when momentum crosses above zero AND price is above the 50 MA
Short trades: Only when momentum crosses below zero AND price is below the 50 MA
This simple addition helps filter out counter-trend signals and improves the win rate significantly.
How It Works
The Squeeze Detection
Black crosses = Squeeze is ON (Bollinger Bands compressed inside Keltner Channel) – Market is coiling, preparing for a breakout
Gray crosses = Squeeze is OFF – Volatility is normal
Blue crosses = No Squeeze condition
Momentum Histogram
Green/Lime bars = Bullish momentum (above zero)
Red/Maroon bars = Bearish momentum (below zero)
Color intensity shows momentum strength increasing/decreasing
Entry Signals
Long Entry (Green Triangle): Momentum crosses above zero + Price > 50 MA
Short Entry (Red Triangle): Momentum crosses below zero + Price < 50 MA
Key Features
Automatic position management (closes opposite positions before new entries)
Visual entry markers on chart
Histogram color-coding for quick momentum assessment
Trend filter to avoid choppy, counter-trend trades
Prop firm friendly (conservative approach)
Works on all timeframes
Recommended Settings
Timeframes: 15M, 1H, 4H, Daily (higher timeframes produce more reliable signals)
Markets: Works best on trending markets (Forex, Crypto, Stocks, Indices)
Risk Management: Default 10% of equity per trade – adjust based on your risk tolerance
Input Parameters
BB Length (20): Bollinger Bands calculation period
BB MultFactor (2.0): Bollinger Bands standard deviation multiplier
KC Length (20): Keltner Channel calculation period
KC MultFactor (1.5): Keltner Channel ATR multiplier
Use TrueRange: Use True Range for KC calculation (recommended: ON)
MA Filter Length (50): Trend filter moving average period
Usage Tips
Wait for the squeeze release (first gray cross after black crosses) for the most explosive moves
Combine with higher timeframe confirmation for better trade quality
Consider exit strategies: Exit when histogram changes color OR use fixed stop-loss/take-profit
Best on trending markets: Avoid ranging/choppy conditions
Credits
Original TTM Squeeze concept: John Carter ("Mastering the Trade")
Strategy enhancement & development: PickMyTrade Team
About PickMyTrade
Strategy Automation:
If you like automation, you can use pickmytrade.io for automating your stock, crypto, futures, and options trading
Supported brokers: Rithmic, TradeStation, TradeLocker, Interactive Brokers, ProjectX
For Tradovate broker automation, visit pickmytrade.trade
Transform your TradingView strategies into fully automated trading systems with real-time execution.
Disclaimer
This strategy is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and test thoroughly on a demo account before live trading.
Developed by PickMyTrade Team
Overview
This strategy is a complete trading system built upon John Carter's renowned "TTM Squeeze" momentum indicator, as featured in his book "Mastering the Trade". The PickMyTrade team has transformed this popular indicator into a fully automated strategy with an additional trend filter for improved accuracy.
What Makes This Different?
While the original TTM Squeeze indicator helps identify volatility contractions and momentum direction, our strategy adds a critical enhancement:
50-Period MA Trend Filter – We only take trades in the direction of the dominant trend:
Long trades: Only when momentum crosses above zero AND price is above the 50 MA
Short trades: Only when momentum crosses below zero AND price is below the 50 MA
This simple addition helps filter out counter-trend signals and improves the win rate significantly.
How It Works
The Squeeze Detection
Black crosses = Squeeze is ON (Bollinger Bands compressed inside Keltner Channel) – Market is coiling, preparing for a breakout
Gray crosses = Squeeze is OFF – Volatility is normal
Blue crosses = No Squeeze condition
Momentum Histogram
Green/Lime bars = Bullish momentum (above zero)
Red/Maroon bars = Bearish momentum (below zero)
Color intensity shows momentum strength increasing/decreasing
Entry Signals
Long Entry (Green Triangle): Momentum crosses above zero + Price > 50 MA
Short Entry (Red Triangle): Momentum crosses below zero + Price < 50 MA
Key Features
Automatic position management (closes opposite positions before new entries)
Visual entry markers on chart
Histogram color-coding for quick momentum assessment
Trend filter to avoid choppy, counter-trend trades
Prop firm friendly (conservative approach)
Works on all timeframes
Recommended Settings
Timeframes: 15M, 1H, 4H, Daily (higher timeframes produce more reliable signals)
Markets: Works best on trending markets (Forex, Crypto, Stocks, Indices)
Risk Management: Default 10% of equity per trade – adjust based on your risk tolerance
Input Parameters
BB Length (20): Bollinger Bands calculation period
BB MultFactor (2.0): Bollinger Bands standard deviation multiplier
KC Length (20): Keltner Channel calculation period
KC MultFactor (1.5): Keltner Channel ATR multiplier
Use TrueRange: Use True Range for KC calculation (recommended: ON)
MA Filter Length (50): Trend filter moving average period
Usage Tips
Wait for the squeeze release (first gray cross after black crosses) for the most explosive moves
Combine with higher timeframe confirmation for better trade quality
Consider exit strategies: Exit when histogram changes color OR use fixed stop-loss/take-profit
Best on trending markets: Avoid ranging/choppy conditions
Credits
Original TTM Squeeze concept: John Carter ("Mastering the Trade")
Strategy enhancement & development: PickMyTrade Team
About PickMyTrade
Strategy Automation:
If you like automation, you can use pickmytrade.io for automating your stock, crypto, futures, and options trading
Supported brokers: Rithmic, TradeStation, TradeLocker, Interactive Brokers, ProjectX
For Tradovate broker automation, visit pickmytrade.trade
Transform your TradingView strategies into fully automated trading systems with real-time execution.
Disclaimer
This strategy is for educational purposes. Past performance does not guarantee future results. Always practice proper risk management and test thoroughly on a demo account before live trading.
Developed by PickMyTrade Team
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.