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.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.