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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


更多:

免责声明