EMA Trend Strategy with Configurable Entries, Risk Controls, and Mirroring
Summary
This TradingView script describes an EMA-based strategy with configurable trigger and trend lengths, optional re-entry or setback behavior, and controls for long-only or short-only trading. Its broader configuration supports futures signals and optional mirrored trading through stock or CFD instruments. The exposed settings include limits on position size and pyramiding, along with optional trailing stops, stop configuration, and take-profit settings.
The code also includes instrument-specific contract and symbol mappings, date windows that vary by chart timeframe, and alert-oriented trading configuration. However, the supplied document is truncated before the core signal and order logic, so it does not show exactly how EMA conditions produce entries or exits. It provides no performance results or analysis to establish profitability; the described parameters and backtesting setup are not evidence of robust results.
Key ideas
- The strategy exposes fast EMA trigger and slower EMA trend settings, with selectable lookback behavior.
- It offers options for directional restrictions, re-entry, setback entries, position limits, and pyramiding.
- Risk settings include optional trailing stops and configurable stop and target behavior.
- The script maps several futures and other instruments to symbols for possible mirrored trading.
- The supplied code omits the main trading logic, so exact entry and exit rules cannot be assessed.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.