INVITE-ONLY SCRIPT

DEMARED with ATR StopLoss & Dynamic Risk (v5)

54
DEMARED with ATR StopLoss & Dynamic Risk

This strategy combines Double Exponential Moving Averages (DEMA) with EMA and Donchian midline filters to capture trend-following signals. A long entry is triggered when both DEMA pairs are aligned bullishly, price is above EMA, and above the Donchian midpoint. Exits occur on opposite signals or when the ATR-based stop loss is hit.

Key features:

  • ATR Stop Loss: dynamic stop based on ATR with user-defined multiplier.
  • Dynamic Risk Management: position size is automatically calculated based on account equity and risk percentage.
  • Visualization: plots stop loss, EMA, Donchian midline, and optional bar coloring.
  • Flexible Display: toggle all indicator visuals on/off with a single input.


The goal is to provide a trend-following system with controlled risk and adaptability across different markets and timeframes.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.