Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Times to run Strategy

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

    Times to run Strategy

    How do I set a condition in the Wizard that tells the strategy the hours to trade. I want to be able to see the Historical Performance based just on certain hours of the day versus the standard Session Template choices. Thanks.

    #2
    Hello jtfancher,

    It's possible to use the condition builder to define time filters, so that the strategy doesn't enter unless the bar time stamp falls in the range specified. The following link can help you define this:


    See the section: How to create time comparisons

    More control is possible with custom coding. This reference sample can help with custom coding a time filter:


    For historical performance based on hours of the day, you can use the Periods tab after running the strategy in the strategy analyzer.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Intra Bar Order generation with multiple symbols on a chart

      I am brand new to Ninja....



      Can the Ninja trade management system handle intra-bar order generation with 2 Data Streams (2 symbols on the chart)

      Specifically, if Data2 changes by N points within X seconds while Data1 remains unchanged, then generate an order immediately for Data1

      Thanks so much,
      Mike Druley
      866-228-2181

      Comment


        #4
        Hi Mike,

        Thanks for the post and welcome to the NinjaTrader forums! Yes, NinjaTrader supports multiple instruments in an automated strategy. There is a sample available in all NT installations. Click Tools > Edit NinjaScript > Strategy > SampleMultiInstrument

        Strategies are created using NinjaScript, built with C#, so there is a lot of flexibility in the type of conditions you check for, and you also have the built in .net Date/Time structure.

        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Script Writing

          Are there Ninja Script coders that I could contract with to write script for me??
          Thanks

          Comment


            #6
            Yes, there are partners of NinjaTrader who offer custom coding as a fee-based service. Please see the link below for our NinjaScript consultants:
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            108 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            55 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            37 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            38 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            75 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X