Skip to content
All library documents

Multi-Timeframe EMA Signals with Adaptive Renko Bricks

Article Strategy library · Author: AndreyKhlebnikov

Summary

This strategy combines exponential moving averages from four configurable timeframes, ranging from short intraday intervals to a four-hour interval. It offers simple averaging, weighted averaging, or a consensus option based on the direction of the EMAs. The resulting composite value drives a Renko-like sequence: brick size can be based on a multiple of four-hour ATR or set to a fixed amount, and price movement must cross brick thresholds to update direction.

The script also exposes controls for position sizing, pyramiding, commissions, limit-order offsets, stop loss, take profit, and optional trailing stops. The supplied excerpt ends during the Renko update logic, so later entry and exit rules and the full behavior cannot be assessed. No backtest period, market, or performance evidence is included. The many configurable choices require careful validation; the code’s presence alone does not show that the signal is profitable or that simulated fills reflect live execution.

Key ideas

  • The strategy combines EMA values from four configurable timeframes into one composite signal.
  • Signal aggregation can use simple averaging, timeframe weights, or a directional consensus rule.
  • Renko-like levels advance in brick increments, with brick size based on ATR or a fixed input.
  • Risk and execution settings include stops, targets, optional trailing stops, limit offsets, and pyramiding.
  • The excerpt is incomplete and includes no performance results, so full trading behavior and efficacy remain unverified.

Tags

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