• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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:
    http://www.ninjatrader.com/support/h...on_builder.htm

    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:
    http://www.ninjatrader.com/support/f...ead.php?t=3226

    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.

        http://www.ninjatrader.com/support/h...nstruments.htm
        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:
            http://www.ninjatrader.com/partners#...pt-Consultants
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Alejandra, Today, 11:32 AM
            0 responses
            1 view
            0 likes
            Last Post Alejandra  
            Started by patpat, Today, 11:02 AM
            0 responses
            0 views
            0 likes
            Last Post patpat
            by patpat
             
            Started by MrSomebody, Yesterday, 10:34 PM
            1 response
            13 views
            0 likes
            Last Post NinjaTrader_ShawnB  
            Started by third monkey, Today, 06:33 AM
            1 response
            2 views
            0 likes
            Last Post NinjaTrader_ShawnB  
            Started by mquinteroj, Yesterday, 07:21 PM
            1 response
            10 views
            0 likes
            Last Post bltdavid  
            Working...
            X