Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NQ DAILY BAR issue in STRATEGY ANALYZER

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

    NQ DAILY BAR issue in STRATEGY ANALYZER

    hi guys.

    as you see in the pics, the position of opening, stoploss or take profit have shift (delayed) one bar earlier in the chart. i only encounter this when testing NQ daily strategy. Please Help! thanks!

    #2
    Hello kahei626,

    I'm seeing two different charts. The data on these charts are not the same.
    Different data would cause different results.

    One appears to be august the other appears to be january.

    Also, the Trading hours template is not set to <Use instrument settings> to use the trading hours set for the exchange of the selected instrument. Are you attempting to use custom Trading hours templates?

    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi,

      the above pics are the same strategies but just different time period. I have try <Use instrument settings> In trading hour . But it is still the same

      Comment


        #4
        The issue is you can see the line is not on the bars but in the “empty space”

        Comment


          #5
          Hello kahei626,

          I had misunderstood your inquiry.

          When you mention " the position of opening, stoploss or take profit have shift (delayed) one bar earlier in the chart", you are not talking about the orders showing on bar than you expect, instead you are asking about the orders filling outside of the bar, is this correct?

          Is there a secondary series added to this script?

          Are you using 8.0.21.0?
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Yes , you got me. The take profit/stop loss is appear in the empty space. Yes,I m using the 8.0.21. All my indicators in the strategy is using daily

            Comment


              #7
              Hello kahei626,

              Is there a secondary series added to this script?
              Chelsea B.NinjaTrader Customer Service

              Comment


                #8
                Yes in the script, but not in use by indicators . Do I need a delete it ?

                Comment


                  #9
                  Hello kahei626,

                  The orders may be filling on the secondary series.

                  Are you specifying the barsInProgress in the order methods?
                  Chelsea B.NinjaTrader Customer Service

                  Comment


                    #10
                    I have removed all secondary series. But still the same issue

                    Comment


                      #11
                      Hello kahei626,

                      Without a secondary series, and when using 8.0.21.0, I would not be expecting order fills outside of the bar on a new test.

                      May I test the script on my end?

                      To export a NinjaTrader 8 NinjaScript so this can be shared and imported by the recipient do the following:
                      1. Click Tools -> Export -> NinjaScript...
                      2. Click the 'add' link -> check the box(es) for the script(s) and reference(s) you want to include
                      3. Click the 'Export' button
                      4. Enter a unique name for the file in the value for 'File name:'
                      5. Choose a save location -> click Save
                      6. Click OK to clear the export location message
                      By default your exported file will be in the following location:
                      • (My) Documents/NinjaTrader 8/bin/Custom/ExportNinjaScript/<export_file_name.zip>
                      Below is a link to the help guide on Exporting NinjaScripts.


                      Once exported, please attach the file as an attachment to your reply.
                      Chelsea B.NinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by NullPointStrategies, Yesterday, 05:17 AM
                      0 responses
                      62 views
                      0 likes
                      Last Post NullPointStrategies  
                      Started by argusthome, 03-08-2026, 10:06 AM
                      0 responses
                      134 views
                      0 likes
                      Last Post argusthome  
                      Started by NabilKhattabi, 03-06-2026, 11:18 AM
                      0 responses
                      75 views
                      0 likes
                      Last Post NabilKhattabi  
                      Started by Deep42, 03-06-2026, 12:28 AM
                      0 responses
                      45 views
                      0 likes
                      Last Post Deep42
                      by Deep42
                       
                      Started by TheRealMorford, 03-05-2026, 06:15 PM
                      0 responses
                      50 views
                      0 likes
                      Last Post TheRealMorford  
                      Working...
                      X