OPEN-SOURCE SCRIPT

ST+SQZMOM v.3

Atualizado
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.
Notas de Lançamento
update wrong logic, on alert safe mode target 2 and 3
Notas de Lançamento
change line 112 and line 113
Bollinger Bands (BB)Keltner Channels (KC)Trend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal