Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Heikin Ashi - Accurate Download - Close

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Heikin Ashi - Accurate Download - Close

    I have downloaded the Heikin Ashi Accurate from the ecosystem but I notice something is off about the OHLC as displayed on the chart versus entry. I tried reading up on this but my questions were not answered in any of the threads I've seen so far.

    I have made a generic entry script that simply enters short based on a simple price action. No stop market order or limit order, just enter at the open of the next bar. Now, I am aware that open is rendered on the chart as the middle of the last bar but that is not issue. My issue is that the entry should be at the actual open which would be the close of the last bar I believe. However, it is nowhere close.

    I have attached a photo that shows an entry (bottom arrow in the photo) that should enter upon close of the last bar (top arrow in the photo) and as you can see, it enters way further down. How is this possible? This is not random. It does very often. Many timne the entry is close to the close of the previous bar, but far too many times it is not. Heikin Ashi (and only on NT) is the only bar that varies this much from the rendered bar on an entry.

    Please help me understand.
    Last edited by smcllr; 04-13-2024, 03:42 PM.

    #2
    Hello smcllr,

    Thanks for your post.

    The Open of a bar may not always be the same price as the Close of the previous bar.

    To understand how your script is behaving, you should add debugging prints to the script that prints out the Open price of the Current bar and the Close price of the previous bar to see how they are evaluating. Also, add prints that print out the price you are submitting the order to for comparison.

    See this NinjaTrader Support article detailing Debugging using Print() and TraceOrders: https://support.ninjatrader.com/s/ar...nd-TraceOrders

    Further, note that Heiken Ashi bars may appear to plot the Open, High, Low, and Close of price within a specified time period, similar to Candlestick bars. However, these bars use unique formulas to calculate OHLC values based on mathematical averages. This information could be found on the help guide page below.

    Bar Types: https://ninjatrader.com/support/help...HeikenAshiBars
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    566 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    330 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    547 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    548 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X