Skip to content
All library documents

MACD and Parabolic SAR Entries with ATR Stops

Article Strategy library · Author: ChaoZhang

Summary

The strategy takes long positions when MACD crosses above its signal line while price is above Parabolic SAR; it takes short positions when MACD crosses below its signal line while price is below SAR. Initial stop levels are set at a multiple of ATR from the current close. The document’s overview also discusses RSI and stochastic overbought or oversold readings, Bollinger Bands, and a risk-reward-based take profit, but the supplied source code does not use those indicators to trigger trades or implement a take-profit exit. It calculates and plots an SMA, yet the SMA does not filter entries.

The overview describes combining indicators and stop management as ways to reduce reliance on a single signal, while acknowledging lag, false signals, and sensitivity to stop placement. The source and the descriptive explanation therefore differ materially in what the strategy actually trades. A BTC-USDT futures backtest interval is specified, but no results are reported, so the document does not demonstrate performance or the claimed reliability.

Key ideas

  • The supplied code enters long or short when MACD crosses its signal line and price is on the matching side of Parabolic SAR.
  • Initial stop levels are based on ATR multiplied by a configurable factor.
  • The overview describes RSI and stochastic signals, Bollinger Bands, and a risk-reward take profit that the supplied code does not implement.
  • The code calculates an SMA but does not use it to filter entries.
  • The configured BTC-USDT futures backtest has no performance results in the document.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.