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 charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      56 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      143 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      160 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      96 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      276 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Working...
      X