Skip to content
All library documents

EMA, RSI, and MACD Signals with Pip-Based Stops

Article Strategy library · Author: ChaoZhang

Summary

This strategy combines three EMAs, RSI, and the MACD histogram to generate long and short signals from price data. It calculates the indicators using an average of the high, low, and close prices, then requires an EMA crossover, price alignment with a slower EMA, an RSI threshold, candle direction, and a MACD histogram with matching direction. An opposite signal closes an existing position before a new one can be opened.

The script sets take-profit and stop-loss levels a specified number of minimum price increments from the closing price at entry. The document gives default indicator and exit parameters and backtest settings for BTC/USDT futures, but reports no performance results. It warns that crossover signals may trade frequently in sideways markets, and that fixed-distance exits may not suit changing volatility. The description calls the exits dynamic, but the implementation uses fixed distances in ticks for each trade; it does not show trailing or volatility-adjusted stops.

Key ideas

  • Long and short entries require aligned EMA crossover, price, RSI, candle, and MACD conditions.
  • The indicators use a high-low-close average as their input series.
  • Opposite signals close an open position before a new entry is considered.
  • Take-profit and stop-loss levels are set using fixed multiples of the instrument's minimum tick size.
  • The document supplies BTC/USDT futures backtest settings but no performance results.

Tags

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