Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Set up trading hours in Strategy Wizard.

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

    Set up trading hours in Strategy Wizard.

    Hi,
    How do I set up trading hours in the Strategy Wizard?

    Under "set 1" in the strategy wizard, I select "add". In the next window I select time on the left hand side. The time value always defaults to the current time. How do I say something like trade only when time is between 9:30 am and 4 pm?

    Thanks.

    #2
    Hi menlo, welcome to the NinjaTrader support forums!

    You could enter two conditions like in the attached screenshot to define your time filter.

    Time series with a Bars ago value of 0 gives you the current time,

    and

    Time value lets you input the time to compare to.

    Both are found in the Time category.
    Attached Files
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,607 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    9 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    19 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    6 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    16 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X