Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Specifying times to not execute strategy

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

    Specifying times to not execute strategy

    HI,

    I'm in PST, I have certain times within US Equities RTH where I don't want my strategy to execute, for example don't execute until 6:40am PST (9:40am Market Time), don't execute between 11a-11:30am PST. I'm having trouble getting this to work when I run backtesting on it.

    Is the way I'm specifying time in the picture below correct? i.e. I choose Time series with the default values for the left value, with Time value in my PST for the second?

    thanks
    Attached Files

    #2
    Hi trader24211341, thanks for posting. We have an example on creating a time filter in the builder here:


    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hi trader24211341, thanks for posting. We have an example on creating a time filter in the builder here:


      Kind regards,
      -ChrisL
      I'm having the same issue and I tried this Chris and it's still backtesting trades outside of my required hours. I tried "If all" and "If any" as well as in a group and outside of a group and nothing seems to work.

      Comment


        #4
        Hi THDSCO, thanks for posting. Can you share screen shots of the strategy builder configuration?
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ageeholdings, 05-01-2024, 05:22 AM
        5 responses
        30 views
        0 likes
        Last Post ageeholdings  
        Started by reynoldsn, Today, 02:34 PM
        0 responses
        6 views
        0 likes
        Last Post reynoldsn  
        Started by nightstalker, Today, 02:05 PM
        0 responses
        10 views
        0 likes
        Last Post nightstalker  
        Started by llanqui, Yesterday, 09:59 AM
        8 responses
        29 views
        0 likes
        Last Post llanqui
        by llanqui
         
        Started by quicksandatl, Today, 01:39 PM
        1 response
        6 views
        0 likes
        Last Post quicksandatl  
        Working...
        X