• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get Time of session Begin session End

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

    Get Time of session Begin session End

    How to calculate the time of the beginning and end of the session inside the day?

    private DateTime sessionBegin;
    private DateTime sessionEnd;

    in the format
    DateTime sessionEnd = ????;
    DateTime sessionBegin = ????;

    #2
    Hi, thanks for your question.

    We have the SessionIterator available to use to get this kind of info. Please see the documentation with examples below:

    https://ninjatrader.com/support/help...oniterator.htm

    Please let me know if I can assist any further.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by wodasp, Today, 12:57 AM
    0 responses
    1 view
    0 likes
    Last Post wodasp
    by wodasp
     
    Started by clairemaclan, Today, 12:48 AM
    0 responses
    1 view
    0 likes
    Last Post clairemaclan  
    Started by Tomass, Yesterday, 11:52 PM
    0 responses
    7 views
    0 likes
    Last Post Tomass
    by Tomass
     
    Started by J_o_s, Yesterday, 11:31 PM
    0 responses
    7 views
    0 likes
    Last Post J_o_s
    by J_o_s
     
    Started by kirkvan, Yesterday, 09:03 PM
    0 responses
    8 views
    0 likes
    Last Post kirkvan
    by kirkvan
     
    Working...
    X