Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programming multiple trading times

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

    Programming multiple trading times

    Again, I am very new to the ninjascript platform so please bare with me as I have been searching the forum high and low with no luck. How do I program a strategy to begin each trading day at let's say 9:45 and then stopping during another time period like say 12:00 to 1:00pm then continuing on till the close. For that matter what type of code would you recommend for avoiding a flat period. Thank you for your help.

    #2
    leyland,

    You want to use a time filter. Please see this reference sample: http://www.ninjatrader-support2.com/...ead.php?t=3226
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh. In regards to dealing with flat/sideways periods. what type of approach should can I take in regards to indicators or scripting? Thanks again.

      Comment


        #4
        Unfortunately I would not know. It is up to you and your trade ideas for how you would handle sideways price movements.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by techgetgame, Yesterday, 11:42 PM
        0 responses
        8 views
        0 likes
        Last Post techgetgame  
        Started by sephichapdson, Yesterday, 11:36 PM
        0 responses
        2 views
        0 likes
        Last Post sephichapdson  
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,613 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Yesterday, 05:56 PM
        0 responses
        10 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        20 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Working...
        X