OPEN-SOURCE SCRIPT

DRACO TOMAS EMA Trend Follower

381
🐉 DRACO TOMAS EMA Trend Follower

Description:
The DRACO TOMAS EMA Trend Follower is a simple yet powerful trend-following strategy designed to capture directional moves based on exponential moving average (EMA) crossovers. It automatically detects trend changes and manages positions dynamically.

Core Logic:

The strategy uses two EMAs — a Fast EMA (default 12) and a Slow EMA (default 21) — to identify the market trend.

When the Fast EMA crosses above the Slow EMA, the strategy opens a long position, signaling bullish momentum.

When the Fast EMA crosses below the Slow EMA, the strategy opens a short position, signaling bearish momentum.

The color of the EMAs changes dynamically: green for uptrends, red for downtrends.

Exit rules:

Longs are closed when the EMAs turn red (trend reversal to bearish).

Shorts are closed when the EMAs turn green (trend reversal to bullish).

Position Sizing:
The system uses 10% of equity per trade by default, allowing flexible risk management and compounding.

Purpose:
Designed for traders who want a clean and efficient EMA crossover system to follow trends automatically on any timeframe or asset.

Best Used For:

Swing trading and trend confirmation

Identifying major directional shifts

Testing EMA-based momentum systems

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.