ATR MACD Strategy (C#)
ATR MACD Strategy ATR MACD uses volatility from the Average True Range to adjust position size while trading MACD crossovers. Larger ATR readings result in smaller trade size, keeping risk consistent ...
Install-Package StockSharp.Strategies.0139_ATR_MACD -Version 5.0.2
ATR MACD Strategy
ATR MACD uses volatility from the Average True Range to adjust position size while trading MACD crossovers. Larger ATR readings result in smaller trade size, keeping risk consistent across market regimes.
Testing indicates an average annual return of about 154%. It performs best in the stocks market.
Entries occur when MACD crosses its signal line, with exits triggered by the opposite crossover or a volatility-based stop.
This combination seeks to capture momentum while accounting for changing volatility.
Details
- Entry Criteria: indicator signal
- Long/Short: Both
- Exit Criteria: stop-loss or opposite signal
- Stops: Yes, percent based
- Default Values:
CandleType= 15 minuteStopLoss= 2%
- Filters:
- Category: Trend following
- Direction: Both
- Indicators: ATR, MACD
- Stops: Yes
- Complexity: Intermediate
- Timeframe: Intraday
- Seasonality: No
- Neural networks: No
- Divergence: No
- Risk level: Medium