Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible to enter/exit during the day with a daily strategy?

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

    Possible to enter/exit during the day with a daily strategy?

    I would like to program an strategy that uses daily data. The catch is I'd like to be able to exit during the day if a certain condition is met. Is this possible with a daily time based strategy? I was thinking I could make my strategy work for daily, and I could add a 10 minute data series to make it a multi-time strategy.

    The problem is if say at noon (10 minute data) I want to exit.. will the exit happen on the next 10 minute bar or the next daily bar? I actually tried this and it seemed that the exit would be on the next daily bar.

    So I tried making a 10 minute strategy adding 1 day data as a second data series. This is a bit more flexible so I'm probably going to go with this, but it's a bit more complicated as well.

    Which is the recommended approach?

    Thanks

    #2
    Hi Cunparis,

    Thanks for your post.

    This is a good approach if you run the daily as your primary chart and the 10 min as the secondary.

    Please also review this link here - http://www.ninjatrader-support.com/v...ead.php?t=6652

    Have a great weekend!

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Hi Cunparis,

      Thanks for your post.

      This is a good approach if you run the daily as your primary chart and the 10 min as the secondary.

      Please also review this link here - http://www.ninjatrader-support.com/v...ead.php?t=6652

      Have a great weekend!
      Thanks for that link, that is very helpful. Particularly:

      Code:
      EnterLong(1, 1, "Long: 1min");
      This method with these parameters is not documented in the helpful! I didn't know it existed.

      This explains why my entry on 10 minute bar didn't happen until the day after. I think this gives me enough info to let me implement my strategy.

      Thank you very much, you've made my weekend great!

      PS: You may want to update the EnterLong help page to show this extra parameter. I know it's on the advanced orders update page but if one didn't see the advanced orders help page one wouldn't know it was even possible.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      576 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 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
      553 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X