Skip to content
All library documents

Heiken Ashi Momentum Thresholds for Monthly Long Trades

Article Strategy library · Author: ChaoZhang

Summary

The article describes a long-only method that compares price with a momentum threshold derived from Heiken Ashi prices across monthly and daily horizons. It calculates returns over selected historical intervals, averages them to smooth some variation, and uses the resulting values to estimate a threshold. In the prose, a close above the threshold prompts a monthly long entry, while a close below it prompts an exit. The article suggests adding shorter timeframes, fundamental information, or additional momentum checks as possible refinements.

A BTC_USDT futures backtest configuration is provided for daily bars from January 2023 to January 2024, but no performance statistics are reported. The source code also complicates the stated method: its active entry and exit conditions use a monthly close and a separate scoring price, while several calculated daily and monthly thresholds are unused. The script requests higher-timeframe data with lookahead enabled, which can introduce future information into historical signals. The approach therefore needs careful implementation review and out-of-sample testing; monthly and daily inputs may also react slowly to sharp market changes.

Key ideas

  • The described method estimates a price threshold by averaging Heiken Ashi momentum over daily and monthly horizons.
  • The prose proposes entering long above the threshold and closing below it, with monthly entry timing.
  • The script's active conditions differ from parts of the explanation, and several calculated thresholds are unused.
  • The higher-timeframe data requests use lookahead, creating a risk of future-data leakage in historical signals.
  • The published BTC_USDT test period has no accompanying performance results, and slower timeframes can lag sudden changes.

Tags

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