MACD ATR Guia de trading

Ultima atualizacao: July 22, 2026

The MACD / ATR é uma ferramenta quantitativa de análise técnica. MACD_ATR Optimized version: - Incremental calculation (updateLastOnly)

O que o indicador mostra?

  • Estrutura de mercado e momento: Visualiza direções de tendência predominantes e zonas de reversão chave.
  • Sinais COMPRA / VENDA: Destaca oportunidades de entrada e saída confirmadas com base em regras quantitativas.
  • Limites dinâmicos: Fornece níveis adaptativos para gerenciar risco e metas de negociação.

Configurações principais

  • Fast Comprimento (fastLen): Controls the calculation period and sensitivity for market detection.
  • Slow Comprimento (slowLen): Controls the calculation period and sensitivity for market detection.
  • Signal Comprimento (signalLen): Controls the calculation period and sensitivity for market detection.
  • ATR Comprimento (atrLen): Controls the calculation period and sensitivity for market detection.
  • Oscillator MA (oscMa): Controls the calculation period and sensitivity for market detection.
  • Signal MA (sigMa): Controls the calculation period and sensitivity for market detection.
  • MACD/ATR Line (dif): Controls the calculation period and sensitivity for market detection.
  • Signal Line (dea): Controls the calculation period and sensitivity for market detection.
  • Histogram Bull Up (macdBullUp): Controls the calculation period and sensitivity for market detection.
  • Histogram Bull Down (macdBullDown): Controls the calculation period and sensitivity for market detection.
  • Histogram Bear Down (macdBearDown): Controls the calculation period and sensitivity for market detection.
  • Histogram Bear Up (macdBearUp): Controls the calculation period and sensitivity for market detection.
  • Histogram (macd): Controls the calculation period and sensitivity for market detection.
  • MACD/ATR (dif): Controls the calculation period and sensitivity for market detection.
  • Signal (dea): Controls the calculation period and sensitivity for market detection.
  • Bull Up (_macdBullUp): Controls the calculation period and sensitivity for market detection.
  • Bull Down (_macdBullDown): Controls the calculation period and sensitivity for market detection.
  • Bear Down (_macdBearDown): Controls the calculation period and sensitivity for market detection.
  • Bear Up (_macdBearUp): Controls the calculation period and sensitivity for market detection.
  • MACD/ATR Line (dif): Controls the calculation period and sensitivity for market detection.
  • Signal Line (dea): Controls the calculation period and sensitivity for market detection.
  • Histogram (macd): Controls the calculation period and sensitivity for market detection.
  • Bull Cross (bullCross): Controls the calculation period and sensitivity for market detection.
  • Bear Cross (bearCross): Controls the calculation period and sensitivity for market detection.

Como usar parâmetros de estratégia (Condition Source)

No módulo Strategy Tester, este indicador pode ser usado tanto como fonte direta de sinal quanto como filtro de estado de mercado.

1. Eventos de sinal

  • bullCross - Bull Cross event signal.
  • bearCross - Bear Cross event signal.

2. Filtros e níveis de negociação

  • fastLen - Fast Comprimento value used for structural qualification or thresholds.
  • slowLen - Slow Comprimento value used for structural qualification or thresholds.
  • signalLen - Signal Comprimento value used for structural qualification or thresholds.
  • atrLen - ATR Comprimento value used for structural qualification or thresholds.
  • oscMa - Oscillator MA value used for structural qualification or thresholds.
  • sigMa - Signal MA value used for structural qualification or thresholds.
  • macd - Histogram value used for structural qualification or thresholds.
  • dif - MACD/ATR value used for structural qualification or thresholds.
  • dea - Signal value used for structural qualification or thresholds.
  • _macdBullUp - Bull Up value used for structural qualification or thresholds.
  • _macdBullDown - Bull Down value used for structural qualification or thresholds.
  • _macdBearDown - Bear Down value used for structural qualification or thresholds.
  • _macdBearUp - Bear Up value used for structural qualification or thresholds.
  • dif - MACD/ATR Line value used for structural qualification or thresholds.
  • dea - Signal Line value used for structural qualification or thresholds.
  • macd - Histogram value used for structural qualification or thresholds.

Exemplo de estratégia: Entrar em Long quando buySignal for true e trendFilter == 1, garantindo alinhamento com a tendência principal.

Continuar pesquisa

Explore toda a academia, a documentacao da plataforma e as paginas principais do site para aprofundar crypto backtesting e pesquisa de estrategias.

Ver todas as guias da academia Ler a documentacao Comparar planos Ver o research engine