INVITE-ONLY SCRIPT

DEMARED with ATR StopLoss & Dynamic Risk (v5)

247
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.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.