OPEN-SOURCE SCRIPT
Dynamic Chandelier Exit Trader [KedArc Quant])

Dynamic Chandelier Exit Trader (DCET)
The Dynamic Chandelier Exit Trader (DCET) builds upon the classical Chandelier Exit indicator by combining volatility-based stop placement with risk-reward exit logic. It is designed to provide clear buy/sell flip signals, making it adaptable across multiple trading environments.
Market Suitability
The DCET is most effective under the following market conditions:
1. Trending Markets (Upward or Downward)
- Strong performance when price is in a clear directional trend.
- Buy signals align with uptrends, sell signals align with downtrends.
- Works well on stocks, forex pairs, and crypto during trending phases.
2. Breakout Environments:
- Captures moves when price breaks out of consolidations.
- ATR-based stop dynamically adjusts to volatility expansion.
- Effective for traders who like catching the first move after breakouts.
3. Sideways / Range-Bound Markets:
- DCET tends to generate more frequent flip signals in sideways conditions.
- May lead to whipsaws, but can still be used with reduced ATR length or by combining with a trend filter (e.g., moving average direction).
4. All Markets (with Adjustments):
- Works universally but requires tuning.
- In highly volatile markets (e.g., crypto), a higher ATR multiplier may reduce false signals.
- In stable, slower-moving markets (e.g., large-cap equities), smaller ATR multipliers improve responsiveness.
The Dynamic Chandelier Exit Trader (DCET) builds upon the classical Chandelier Exit indicator by combining volatility-based stop placement with risk-reward exit logic. It is designed to provide clear buy/sell flip signals, making it adaptable across multiple trading environments.
Market Suitability
The DCET is most effective under the following market conditions:
1. Trending Markets (Upward or Downward)
- Strong performance when price is in a clear directional trend.
- Buy signals align with uptrends, sell signals align with downtrends.
- Works well on stocks, forex pairs, and crypto during trending phases.
2. Breakout Environments:
- Captures moves when price breaks out of consolidations.
- ATR-based stop dynamically adjusts to volatility expansion.
- Effective for traders who like catching the first move after breakouts.
3. Sideways / Range-Bound Markets:
- DCET tends to generate more frequent flip signals in sideways conditions.
- May lead to whipsaws, but can still be used with reduced ATR length or by combining with a trend filter (e.g., moving average direction).
4. All Markets (with Adjustments):
- Works universally but requires tuning.
- In highly volatile markets (e.g., crypto), a higher ATR multiplier may reduce false signals.
- In stable, slower-moving markets (e.g., large-cap equities), smaller ATR multipliers improve responsiveness.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.