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 alifarahani, Today, 09:40 AM
            3 responses
            15 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by RookieTrader, Today, 09:37 AM
            4 responses
            17 views
            0 likes
            Last Post RookieTrader  
            Started by PaulMohn, Today, 12:36 PM
            0 responses
            4 views
            0 likes
            Last Post PaulMohn  
            Started by love2code2trade, 04-17-2024, 01:45 PM
            4 responses
            39 views
            0 likes
            Last Post love2code2trade  
            Started by junkone, Today, 11:37 AM
            3 responses
            23 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X