Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Session start and session stopp event/callbacks

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

    Session start and session stopp event/callbacks

    Is there a OnSessionStart or OnSessionEnd which is invoked when a trading session for a particular instrument starts or ends? Or more generally: If I have logic that has to be executed , say 15 minutes before a session starts, where and how would I do that?

    #2
    Hello rafe0304,

    Thank you for your post.

    You would use Bars.Session.GetNextBeginEnd: http://ninjatrader.com/support/helpG...xtbeginend.htm

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by samish18, Today, 10:13 AM
    0 responses
    2 views
    0 likes
    Last Post samish18  
    Started by kenz987, Yesterday, 10:20 AM
    2 responses
    13 views
    0 likes
    Last Post kenz987
    by kenz987
     
    Started by nicthe, 08-23-2023, 07:53 AM
    7 responses
    196 views
    0 likes
    Last Post nicthe
    by nicthe
     
    Started by nicthe, Today, 09:24 AM
    0 responses
    5 views
    0 likes
    Last Post nicthe
    by nicthe
     
    Started by stalt, 12-28-2015, 01:36 PM
    6 responses
    1,536 views
    0 likes
    Last Post giulyko00  
    Working...
    X