EMA crossover with VWAP on Heikin Ashi — Tradetron Community
← Community

EMA crossover with VWAP on Heikin Ashi

Uncategorized 1,578 views

Rajesha

Dear Team,

I want to define strategy where EMA cross above VWAP for Bullish and EMA cross below VWAP Bearish. Hiekin Ashi Candles. But when i do backtesting, its not working. Below is the screenshot. Tradetron team please help what is wrong in this. Does Hiekin Ashi candle works for VWAP crossover?

Tradetron Team Tradetron team

Check the instrument first: VWAP needs volume, so it does not work on an index spot like NIFTY 50. Use the futures or a stock.

For a crossover you need series on both sides:

  1. Build Heikin Ashi candles from the futures.
  2. EMA side: EMA(CLOSE(HA candles), n).
  3. VWAP side: VWAP Series on the same instrument and candle type.
  4. Bullish: Position(Cross(EMA series, VWAP series), -1) == Number(1); bearish: swap the series.

VWAP is calculated from real traded prices and volume, not Heikin Ashi values. Docs: Keyword Documentation — Tradetron

:sparkles: Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.