OPEN-SOURCE SCRIPT

ST+SQZMOM v.3

アップデート済
ST+SQZMOM v.3 Indicator
inspired by Supertrend and SQZMOM of LazyBear

Purpose: This script is designed to help traders identify market trends and potential trading opportunities using two key indicators: Supertrend and Squeeze Momentum Indicator (SQZMOM).

---

Key Features:

1. Supertrend Indicator:
- Trend Detection: Shows whether the market is in an uptrend or downtrend.
- Dynamic Levels: Uses Average True Range (ATR) to set support and resistance levels.

2. Squeeze Momentum Indicator (SQZMOM):
- Volatility Measurement: Identifies periods of low volatility (squeeze) and potential breakout points.
- Bollinger Bands & Keltner Channels: Combines these two tools to assess market conditions.

3. Custom Alerts:
- Trend Change Alerts: Notifies you when the trend changes.
- Squeeze Alerts: Alerts you when the market is entering or exiting a squeeze.

4. Customizable Settings:
- Adjust parameters like ATR length, Bollinger Bands length, and moving average periods to fit your trading style.

---

How It Works:

1. Calculate Trend:
- The script calculates the Supertrend to determine if the market is trending up or down.

2. Identify Squeeze:
- It checks if the market is in a squeeze (low volatility) or has released from a squeeze (high volatility).

3. Set Targets and Stop Loss:
- Based on the trend and squeeze conditions, it calculates entry points, target levels, and stop loss levels for trades.

4. Visual Indicators:
- Plots the Supertrend line, Bollinger Bands, Keltner Channels, and shapes to indicate market conditions (e.g., squeeze on/off, trend changes).

5. Trigger Alerts:
- Sends alerts when specific conditions are met, such as a squeeze release or trend change.

---

Conclusion

The ST+SQZMOM v.3 Indicator is a powerful tool for traders looking to analyze market trends and volatility. By combining the Supertrend and Squeeze Momentum indicators, it provides a comprehensive view of market conditions, helping you make informed trading decisions.
リリースノート
update wrong logic, on alert safe mode target 2 and 3
リリースノート
change line 112 and line 113
Bollinger Bands (BB)Keltner Channels (KC)Trend Analysis

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項