• 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

Start Stop times between days same trade session?

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

    Start Stop times between days same trade session?

    Hello,

    If I want to trade Futures between 10 PM to 3 AM, and sometimes between 4AM to 6AM - how to make generic function?

    ToTime won't help here when start/stop times spans across days (it will work find if Start and Stop within same day but not across days)...

    I need to check if Time[0] is between start and end times to allow trading...

    Thanks

    #2
    Hello music_p13,
    Thanks for your post.

    You can use a time filter to limit your trading hours by implementing the concepts in this help guide sample:
    https://ninjatrader.com/support/help...to_limit_t.htm

    Let me know if you have any questions.
    Josh G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Maxwell123, Today, 12:34 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_ChrisSch  
    Started by memonic, Today, 02:21 AM
    0 responses
    2 views
    0 likes
    Last Post memonic
    by memonic
     
    Started by Guru73, Yesterday, 02:47 AM
    5 responses
    33 views
    0 likes
    Last Post Guru73
    by Guru73
     
    Started by Guru73, Today, 01:35 AM
    0 responses
    2 views
    0 likes
    Last Post Guru73
    by Guru73
     
    Started by i2w8am9ii2, Yesterday, 04:41 PM
    1 response
    11 views
    0 likes
    Last Post Lancer
    by Lancer
     
    Working...
    X