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 mmenigma, Yesterday, 03:25 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by kujista, Today, 05:44 AM
    0 responses
    7 views
    0 likes
    Last Post kujista
    by kujista
     
    Started by ZenCortexCLICK, Today, 04:58 AM
    0 responses
    9 views
    0 likes
    Last Post ZenCortexCLICK  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    172 responses
    2,281 views
    0 likes
    Last Post sidlercom80  
    Started by Irukandji, Yesterday, 02:53 AM
    2 responses
    18 views
    0 likes
    Last Post Irukandji  
    Working...
    X