Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily entry; minute exits

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

    Daily entry; minute exits

    Sorry, newbie here.

    How can I best program entries at day end and stops/profits on the minute level?

    Should the timeframe be minutes and then limit openings to when the day changes? Or is there another better approach?

    Also, how can I make the trade occur at the close of the signal day rather than the open of the next?

    Thanks in advance.

    #2
    Hello,

    Thank you for the post.

    You could certainly use Time as condition on a Minute timeframe, or you could utilize a Multi timeframe script and utilize any other series you want as the primary and minute as the secondary. There is an example of a multi series strategy called SampleMultiTimeframe that comes with the platform.

    The logic that leads up to the entry will be largely up to how you want to define the conditions for that. For a time near the end of the day, you could check the Time object. For example if you have a pre defined time of day that the entries should enter, you could check for that time and wait for it to occur.




    For trading at the close, you would likely need to do this shortly prior to the close to ensure the order is submitted. The first tick of the bar closes the prior bar so a tick from the next session would be needed to close and Open the next bar. You can also utilize Tick series for more granular entries, or a smaller timeframe such as 1 minute to accomplish near close trade times.

    I look forward to being of further assistance.

    Comment


      #3
      Thank you -- that's helpful

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      46 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      31 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      42 views
      0 likes
      Last Post CarlTrading  
      Working...
      X