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 Mestor, 03-10-2023, 01:50 AM
    16 responses
    388 views
    0 likes
    Last Post z.franck  
    Started by rtwave, 04-12-2024, 09:30 AM
    4 responses
    31 views
    0 likes
    Last Post rtwave
    by rtwave
     
    Started by yertle, Yesterday, 08:38 AM
    7 responses
    29 views
    0 likes
    Last Post yertle
    by yertle
     
    Started by bmartz, 03-12-2024, 06:12 AM
    2 responses
    22 views
    0 likes
    Last Post bmartz
    by bmartz
     
    Started by funk10101, Today, 12:02 AM
    0 responses
    7 views
    0 likes
    Last Post funk10101  
    Working...
    X