STANDARDIZED MACD HEIKIN ASHI TRANSFORMED Trading Guide

Last updated: July 22, 2026

The Standardized MACD Heikin-Ashi Transformed is a quantitative technical analysis tool. Standardized MACD Heikin-Ashi Transformed Ported from Pine Script by EliCobra. Original license notice: CC BY-NC-SA 4.0

What does the indicator show?

  • Market Structure & Momentum: Visualizes prevailing trend directions and key reversal zones.
  • BUY / SELL Signals: Highlights confirmed entry and exit opportunities based on quantitative rules.
  • Dynamic Boundaries: Provides adaptive levels for managing trade risk and reward expectations.

Key Settings

  • Source (source): Controls the calculation period and sensitivity for market detection.
  • Fast Length (fastLength): Controls the calculation period and sensitivity for market detection.
  • Slow Length (slowLength): Controls the calculation period and sensitivity for market detection.
  • Signal (showSignal): Controls the calculation period and sensitivity for market detection.
  • Signal Source (signalSource): Controls the calculation period and sensitivity for market detection.
  • Signal Length (signalLength): Controls the calculation period and sensitivity for market detection.
  • Display Mode (displayMode): Controls the calculation period and sensitivity for market detection.
  • Reversion Markers (showReversions): Controls the calculation period and sensitivity for market detection.
  • Reversion Threshold (reversionThreshold): Controls the calculation period and sensitivity for market detection.
  • Bar Coloring State (barColoring): Controls the calculation period and sensitivity for market detection.
  • Hollow Candles (hollowCandles): Controls the calculation period and sensitivity for market detection.
  • Bullish Candle / OS Marker (up): Controls the calculation period and sensitivity for market detection.
  • Bearish Candle / OB Marker (down): Controls the calculation period and sensitivity for market detection.
  • Histogram Positive (histUp): Controls the calculation period and sensitivity for market detection.
  • Histogram Negative (histDown): Controls the calculation period and sensitivity for market detection.
  • Signal Line (signal): Controls the calculation period and sensitivity for market detection.
  • Mid Line (midLine): Controls the calculation period and sensitivity for market detection.
  • Oversold Fill (zoneUp): Controls the calculation period and sensitivity for market detection.
  • Overbought Fill (zoneDown): Controls the calculation period and sensitivity for market detection.
  • Oversold Arrow (osMarker): Controls the calculation period and sensitivity for market detection.
  • Overbought Arrow (obMarker): Controls the calculation period and sensitivity for market detection.
  • Neutral Bar Coloring State (neutral): Controls the calculation period and sensitivity for market detection.
  • open (macdOpen): Controls the calculation period and sensitivity for market detection.
  • high (macdHigh): Controls the calculation period and sensitivity for market detection.
  • low (macdLow): Controls the calculation period and sensitivity for market detection.
  • close (macdClose): Controls the calculation period and sensitivity for market detection.
  • hl2 (hl2): Controls the calculation period and sensitivity for market detection.
  • hlc3 (hlc3): Controls the calculation period and sensitivity for market detection.
  • ohlc4 (ohlc4): Controls the calculation period and sensitivity for market detection.
  • hlcc4 (hlcc4): Controls the calculation period and sensitivity for market detection.
  • Signal (signal): Controls the calculation period and sensitivity for market detection.
  • Histogram (hist): Controls the calculation period and sensitivity for market detection.
  • OB Signal (obSignal): Controls the calculation period and sensitivity for market detection.
  • OS Signal (osSignal): Controls the calculation period and sensitivity for market detection.
  • Bullish Trend (bullishTrend): Controls the calculation period and sensitivity for market detection.
  • Bearish Trend (bearishTrend): Controls the calculation period and sensitivity for market detection.
  • Heikin-Ashi Uptrend (haUptrend): Controls the calculation period and sensitivity for market detection.
  • Heikin-Ashi Downtrend (haDowntrend): Controls the calculation period and sensitivity for market detection.
  • MACD Bullish Cross (macdBullCross): Controls the calculation period and sensitivity for market detection.
  • MACD Bearish Cross (macdBearCross): Controls the calculation period and sensitivity for market detection.
  • Bar Coloring State (barColorState): Controls the calculation period and sensitivity for market detection.
  • MACD HA Open (macdOpen): Controls the calculation period and sensitivity for market detection.
  • MACD HA High (macdHigh): Controls the calculation period and sensitivity for market detection.
  • MACD HA Low (macdLow): Controls the calculation period and sensitivity for market detection.
  • MACD HA Close (macdClose): Controls the calculation period and sensitivity for market detection.
  • MACD HA HL2 (hl2): Controls the calculation period and sensitivity for market detection.
  • MACD HA HLC3 (hlc3): Controls the calculation period and sensitivity for market detection.
  • MACD HA OHLC4 (ohlc4): Controls the calculation period and sensitivity for market detection.
  • MACD HA HLCC4 (hlcc4): Controls the calculation period and sensitivity for market detection.
  • Signal (signal): Controls the calculation period and sensitivity for market detection.
  • Histogram (hist): Controls the calculation period and sensitivity for market detection.
  • Bar Coloring State (-1/0/1) (barColorState): Controls the calculation period and sensitivity for market detection.
  • Overbought Signal (obSignal): Controls the calculation period and sensitivity for market detection.
  • Oversold Signal (osSignal): Controls the calculation period and sensitivity for market detection.
  • Midline Crossover (bullishTrend): Controls the calculation period and sensitivity for market detection.
  • Midline Crossunder (bearishTrend): Controls the calculation period and sensitivity for market detection.
  • Positive Heikin-Ashi (haUptrend): Controls the calculation period and sensitivity for market detection.
  • Negative Heikin-Ashi (haDowntrend): Controls the calculation period and sensitivity for market detection.
  • MACD Bull Cross (macdBullCross): Controls the calculation period and sensitivity for market detection.
  • MACD Bear Cross (macdBearCross): Controls the calculation period and sensitivity for market detection.

How to use Strategy Parameters (Condition Source)

Within the Strategy Tester module, this indicator can be used both as a direct signal source and as a market-state filter.

1. Signal Events

  • obSignal - Overbought Signal event signal.
  • osSignal - Oversold Signal event signal.
  • bullishTrend - Midline Crossover event signal.
  • bearishTrend - Midline Crossunder event signal.
  • haUptrend - Positive Heikin-Ashi event signal.
  • haDowntrend - Negative Heikin-Ashi event signal.
  • macdBullCross - MACD Bull Cross event signal.
  • macdBearCross - MACD Bear Cross event signal.

2. Filters and Trade Levels

  • source - Source value used for structural qualification or thresholds.
  • fastLength - Fast Length value used for structural qualification or thresholds.
  • slowLength - Slow Length value used for structural qualification or thresholds.
  • showSignal - Signal value used for structural qualification or thresholds.
  • signalSource - Signal Source value used for structural qualification or thresholds.
  • signalLength - Signal Length value used for structural qualification or thresholds.
  • displayMode - Display Mode value used for structural qualification or thresholds.
  • showReversions - Reversion Markers value used for structural qualification or thresholds.
  • reversionThreshold - Reversion Threshold value used for structural qualification or thresholds.
  • barColoring - Bar Coloring State value used for structural qualification or thresholds.
  • hollowCandles - Hollow Candles value used for structural qualification or thresholds.
  • macdOpen - open value used for structural qualification or thresholds.
  • macdHigh - high value used for structural qualification or thresholds.
  • macdLow - low value used for structural qualification or thresholds.
  • macdClose - close value used for structural qualification or thresholds.
  • hl2 - hl2 value used for structural qualification or thresholds.
  • hlc3 - hlc3 value used for structural qualification or thresholds.
  • ohlc4 - ohlc4 value used for structural qualification or thresholds.
  • hlcc4 - hlcc4 value used for structural qualification or thresholds.
  • signal - Signal value used for structural qualification or thresholds.
  • hist - Histogram value used for structural qualification or thresholds.
  • obSignal - OB Signal value used for structural qualification or thresholds.
  • osSignal - OS Signal value used for structural qualification or thresholds.
  • bullishTrend - Bullish Trend value used for structural qualification or thresholds.
  • bearishTrend - Bearish Trend value used for structural qualification or thresholds.
  • haUptrend - Heikin-Ashi Uptrend value used for structural qualification or thresholds.
  • haDowntrend - Heikin-Ashi Downtrend value used for structural qualification or thresholds.
  • macdBullCross - MACD Bullish Cross value used for structural qualification or thresholds.
  • macdBearCross - MACD Bearish Cross value used for structural qualification or thresholds.
  • barColorState - Bar Coloring State value used for structural qualification or thresholds.
  • macdOpen - MACD HA Open value used for structural qualification or thresholds.
  • macdHigh - MACD HA High value used for structural qualification or thresholds.
  • macdLow - MACD HA Low value used for structural qualification or thresholds.
  • macdClose - MACD HA Close value used for structural qualification or thresholds.
  • hl2 - MACD HA HL2 value used for structural qualification or thresholds.
  • hlc3 - MACD HA HLC3 value used for structural qualification or thresholds.
  • ohlc4 - MACD HA OHLC4 value used for structural qualification or thresholds.
  • hlcc4 - MACD HA HLCC4 value used for structural qualification or thresholds.
  • signal - Signal value used for structural qualification or thresholds.
  • hist - Histogram value used for structural qualification or thresholds.
  • barColorState - Bar Coloring State (-1/0/1) value used for structural qualification or thresholds.

Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.

Continue Research

Explore the full academy, the product documentation, and the main platform pages for deeper crypto backtesting and strategy research.

Browse all academy guides Read the documentation Compare platform plans See the research engine