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.

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

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.