Heiken-Ashi-Accurate BarsType (NT8)

This is a corrected version of the Heiken Ashi BarsType that comes with NinjaTrader that aims to address the following issues:

  • Values do not match rounded indicator (actual candle Open High and Low are not tracked and used in the BarsType)
  • Realtime Close is incorrect (reloading historical data results in different results)
  • The first bar formation when BaseBarsPeriod is greater than 1 applies Heiken Ashi calculation when the first bar should be the original bar.

CryptoCurrency volume conversion has also been added.

This amended BarsType is available on User App Share as opposed to production releases to avoid having the changes to the BarsType causing unexpected results on existing scripts that use the legacy HeikenAshi BarsType logic.

Created By NinjaTrader_Jim
NinjaTrader Version 8
File Size 9.0 KB
Create Date 02/01/2022
# of Downloads 2026

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.