Moving Average Signals with Swing-Based Stops and Optional ATR Trailing
Summary
This TradingView strategy combines two configurable moving averages to determine directional bias, then enters long or short trades when its conditions are met. It supports several average types and lets traders enable or disable either direction, reverse positions, and apply a time-session filter. The source also includes alert messages for routing entries and exits to 3Commas bots.
Risk controls include stop levels based on recent swing highs or lows with an ATR-based adjustment, reward-to-risk targets, an optional ATR trailing stop, and a maximum drawdown setting. The code exposes many parameters, but the supplied excerpt omits much of the signal and stop-calculation logic, so the precise entry rules cannot be fully assessed here. No performance results are provided; the configured backtest costs and example alert setup do not establish live execution quality.
Key ideas
- Two configurable moving averages provide the strategy's directional signal framework.
- Stops and targets use swing levels, ATR adjustment, and a reward-to-risk setting.
- Optional controls cover trailing exits, reversals, time filters, and a drawdown limit.
- Alert messages are designed to connect TradingView orders with 3Commas bots.
- The excerpt omits core logic and gives no evidence of trading performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.