• 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 JellyRoll, Today, 06:57 PM
    1 response
    17 views
    0 likes
    Last Post bltdavid  
    Started by Dan_D_Trader, Today, 06:22 PM
    1 response
    3 views
    0 likes
    Last Post Emma1
    by Emma1
     
    Started by gemini42, Today, 01:53 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by asmmbillah, Today, 04:42 PM
    4 responses
    27 views
    0 likes
    Last Post asmmbillah  
    Started by JAtrades, Today, 02:44 PM
    3 responses
    18 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Working...
    X