Skip to content
All library documents

Heikin Ashi Percentile Signals with Moving Average Exits and Stops

Article Strategy library · Author: ChaoZhang

Summary

This strategy calculates smoothed Heikin Ashi-style prices, rolling percentile levels, and short exponential moving averages. Its long setup occurs when the smoothed close crosses above the upper percentile and is above a moving average; an exit follows when it crosses back below that average. The source also defines a corresponding short setup using another moving average, alongside a stop loss and trailing stop for the long position. The published example uses BTC-USDT futures over a brief period, but includes no performance results.

The document argues that smoothing may make trends easier to read and that percentile levels can help frame entries, while warning that smoothing adds lag and percentile crossings can be false signals. Stop placement also affects losses and trade duration. There is a discrepancy between the prose and source: the code calculates percentile levels at 28 and 78 rather than the stated 25 and 75, and its short logic is not fully explained in the narrative. The listed minimum holding period is not used in the shown rules, so implementation details should be verified before evaluation.

Key ideas

  • The long entry combines an upper percentile crossover with a moving average filter.
  • A cross below the moving average exits the long, while the source also includes short-side conditions.
  • Stop loss and trailing stop settings are intended to manage downside and protect open gains.
  • Smoothed prices can lag, and percentile crossings can produce false signals.
  • The source formulas and narrative differ on percentile levels, and the stated holding-period input is not used.

Tags

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