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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。