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 chartchart, 05-19-2021, 04:14 PM
    3 responses
    577 views
    1 like
    Last Post NinjaTrader_Gaby  
    Started by bsbisme, Yesterday, 02:08 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by prdecast, Today, 06:07 AM
    0 responses
    3 views
    0 likes
    Last Post prdecast  
    Started by i019945nj, 12-14-2023, 06:41 AM
    3 responses
    60 views
    0 likes
    Last Post i019945nj  
    Started by TraderBCL, Today, 04:38 AM
    2 responses
    18 views
    0 likes
    Last Post TraderBCL  
    Working...
    X