OPEN-SOURCE SCRIPT

Squeeze Momentum Strategy [esonusharma]

The strategy is based on John Carter's TTM squeeze indicator with some modifications.

Strategy is only for Long trades and not for Short trades.

It combines Bollinger Bands and Keltner Channels to identify periods of low volatility (squeezes) and capitalise on breakout opportunities.

Key Features:

Squeeze Detection: Identifies low-volatility periods using the relationship between Bollinger Bands and Keltner Channels:

Squeeze ON: When Bollinger Bands are inside Keltner Channels.

Squeeze OFF: When Bollinger Bands expand beyond Keltner Channels, signalling potential breakouts.

Momentum Analysis: Uses a custom momentum histogram based on the midline of the Donchian Channel and SMA to assess the strength and direction of price movements.

Green Histogram: Upward momentum.

Red Histogram: Downward momentum.

Backtesting: Start and end dates for precise historical analysis.

Squeeze Background: Highlighted background when a squeeze is active.

Trade Automation: Long trades are initiated after a squeeze ends with upward momentum.

Exits are governed by EMA conditions and profit targets.
Moving Averagessqueezesqueeze-momentumstrategyTrend AnalysisVolatility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明