Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Opening Gaps?

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

    #16
    Originally posted by NinjaTrader_Bertrand View Post
    Could you please post the full export of what you attempt to use so we could give it a run here later today? Do you see any log tab errors as you attempt to run it or does it just not deliver the trades you seek?

    Thanks,

    NO Log errors.

    Here is the script as it stands,
    Attached Files

    Comment


      #17
      Hello,

      THanks for the note.

      Works for me on my side.

      Who is your data feed provider? I'm concerned you dont have daily data or enough daily data/ minute data so that strategy does not run since it can't load the data it needed to run.

      I look forward to assisting you further.
      BrettNinjaTrader Product Management

      Comment


        #18
        I have it attached to IB. 1 min charts load fine in the analyser.

        NO trades appear.

        For an example. look at APKT. on April 12th and 18th there were significang gap downs. when I run the analyzer no entries appear on these 2 days( or any day in April for that matter).

        Comment


          #19
          Hello stalt,

          I ran it on my end and it is placing a trade on 4/12 for example. In your strategy analyzer, can you please verify Exit on Close is set to 'true' ? If it's set to false, you will need to program exit logic for your positions or else it will be stuck with one open position from the first trade onward.
          DexterNinjaTrader Customer Service

          Comment


            #20
            Agh...A couple of things. Being I am looking at minute charts, I tried to set the dates to April 1 - 24th. THis returned zero result. when i reset the dattes to march 1 to april 24th , I got results. Perhaps there were not enough look back bares using just April....Minimum 20 bars required. I thought this refered to the minute chart, but I guess this defaulted to daily bars in this instance. second the trades though trigered at the open are being plotted at the close....THis was confusing, I would have thought that the entry would be protted on the chart at the time of entry, but again, this using a daily reference, it is placing hte buy once the candle completes.....Thanks for your help.

            Is there any way to get the entries to appear when they occur on the 1 minute chart?

            Comment


              #21
              Hello stalt,

              Thanks for your reply.

              Yes, the 20 bar minimum would apply to the day bars as well, so you can lower that or increase number of days ran on.

              Regarding your order entry, since EnterLong() is in the if (BarsInProgress == 2) check, it is being placed on the Day bar data. If you would like to enter it on the minute bar data, you will need to put your EnterLong() in a BarsInProgress == 1 check.
              Last edited by NinjaTrader_Dexter; 04-25-2011, 01:16 PM.
              DexterNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              666 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              377 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              110 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              575 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              580 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X