Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Heiken Ashi candles not printing correctly
Collapse
X
-
Heiken Ashi candles not printing correctly
The Heiken Ashi candles are showing closes with the minute candles. The historical bars are correct, but once a chart is opened, and candles print in real time, they are wrong. The Heiki no longer show fake closes. The white hash marks are the real closes. The Heiki are just filling up to those marks in real time.Tags: None
- Likes 1
-
Hello Touch-Ups,
Thank you for the message.
It’s not uncommon for charts, especially Tick-based charts, to appear different between the real-time and historical data. This can be seen after right-clicking and selecting to "Reload all historical data".- When a chart is first loaded, it uses historical data up until the current time.
- From that point onward, real-time data is used to update the chart.
- However, when you reload, the real-time data is replaced by historical data, which can lead to subtle differences due to how the two data types are filtered and sent to the platform.
For a more detailed explanation of why this occurs, you can view our article here:
To help ensure consistency between charts, I recommend syncing your PC’s clock with an official time server. Here’s how:- Shut down NinjaTrader.
- Right-click the clock in the bottom-right corner of your desktop and select “Adjust date and time.”
- For Windows 10, go to 'Date, Time, and Regional Formatting' > 'Additional date, time, and regional settings' > 'Set the time and date' > 'Internet Time' tab. Set the server to time.nist.gov and click “Update.”
- For Windows 11, go to 'Sync Now' under Additional Settings. Enable your PC to set the time and time zone automatically if not already enabled.
- Reopen NinjaTrader and right-click on the chart to "Reload All Historical Data."
Additionally, to align charts as closely as possible, ensure the following settings are the same across all windows:- Instrument and contract
- Chart interval
- Days to load
- Trading hours template
- "Break EOD" is checked
Once these settings are consistent, right-click to reload the historical data. For time-based charts, this should help them line up, and tick-based charts should also be very close.
If you’re comparing charts from different data providers or platforms, slight differences are expected.
Please let us know if we may provide any further assistance.
-
None of that explains why the Heiki bars visual close (fake close most of the time) is printing at the end of the bar's body every single candle. ONLY doing it in real time. Historical bar's visuals are perfect. The fake close is on the wicks, bodies, etc. Makes no sense that it draws so differently in real time. Has nothing to do with time sync. It is some kind of drawing or rendering issue on NT during live. Are you sure you see what I am talking about?
Comment
-
This is a known issue. The built-in Heiken-Ashi close prices do not calculate properly in real-time; they match the standard time candle closes.
Here is a link to the corrected candles: https://forum.ninjatrader.com/forum/...e-barstype-nt8
Comment
-
Hello tgraham777,
Thank you for the update.
Now it is making sense. Thank you for including that update.
As the description for the Bar Type in the User App Share website mentions:- 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.
Here is a short video demonstration of the import process - How to Install a 3rd Party Indicator or App
Here is a basic guideline on how to import NinjaScript add-ons in NinjaTrader:- Download the NinjaScripts to your desktop, and keep them in the compressed .zip file.
- From the Control Center window, click Tools > Import > NinjaScript Add-on...
- Select the downloaded .zip file
- NinjaTrader will then confirm if the import has been successful.
Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc., and ask if you want to replace them, Always select 'No'.- The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
Please let us know if we may provide any further assistance.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
69 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
42 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
24 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
27 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
54 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment