Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Heiken Ahshi + Tick Backtest

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

    Heiken Ahshi + Tick Backtest

    New to NinjaTrader so looking for some help. I have a strategy where I would like to buy on an EMA crossover and price condition, with a limit order entry on the next candle that is based on the close price of the prior candle (the one that meets the condition). Using market orders with the calculation based on the close returns very promising results. However, I would like to test using a limit order but the returns and number of trades are much smaller. Am I overlooking something? Does the have something to do with trying to use the Heiken Ashi tick chart and the close being different than the actual candle close? I’m using Strategy Builder for what it’s worth. Thanks so much in advance!!

    #2
    Heikin-Ashi changes where the close is. If your algorithm is "orders with the calculation based on the close," then you will have different results between regular candle sticks and Heikin-Ashi.

    Comment


      #3
      How can I backtest Heiken Ashi using the real data instead of the visual Heiken Ashi close? I basically want to use the moving averages from the Heiken Ashi as a signal but obviously need to backtest with real close data. Thank you!

      Comment


        #4
        Hello awimm413,

        You may want to print the values of the conditions to see why the orders are not being submitted.
        Below is a link to a forum post that demonstrates using prints to understand behavior and includes a video in the Strategy Builder.


        The Heiken Ashi bar type included with NinjaTrader rounds values to the nearest tick so that orders are not placed to an invalid price that does not conform to a tick size.

        You can import the indicator Heiken Ashi and this would not be rounded.
        NinjaTrader 8 natively provides Heiken Ashi as a bar type for most common bar types (minute, tick, volume, second, day, week, month, year). This Heiken Ashi indicator is provided for the Range, Renko and any custom bar types that may be added. The indicator performs in the same manner as the NinjaTrader 7 version. 4-27-18 […]



        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.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        71 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        143 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        76 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        47 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        51 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X