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 rjbtrade1, 11-30-2023, 04:38 PM
    2 responses
    75 views
    0 likes
    Last Post DavidHP
    by DavidHP
     
    Started by Stanfillirenfro, Today, 07:23 AM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by FitSpressoHonest, Today, 09:14 AM
    0 responses
    1 view
    0 likes
    Last Post FitSpressoHonest  
    Started by Davide999, 05-18-2023, 03:55 AM
    4 responses
    557 views
    1 like
    Last Post kcwasher  
    Started by rexsole, Today, 08:39 AM
    2 responses
    8 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X