Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple timeframe data?

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

    Multiple timeframe data?

    Hello,

    Is this possible? I'm a complete newbie, so please bear with me.

    I want to be able to "plugin" a simple strategy, eg. SMA crossover, and have it be analyzed for multiple time frames, and give results according to those time frames to see which time frame it does best in?

    If the multiple time frame analysis is possible, I would really appreciate help with the code that would enable me to get started?!

    Thanks so much!!

    Joseph

    #2
    Hello,

    Yes this is possible but depending on your requirements it might require advanced coding to accomplish.

    Could you please clarify how you intend to use the multiple time frames

    Do you want to have one strategy look at multiple time frames to determine if it should place trades (requires custom coding)

    OR do you want to test one strategy on several different time frames at once? (can be done with the built in features)

    Custom coding route: http://www.ninjatrader.com/support/h...nstruments.htm
    If you would like someone to assist you in creating this please send mail to support [at] ninjatrader[dot] com ATTN Lance and I will direct you to a paid consultant who can assist.


    For the non-coding route you can optimize the time frame a strategy runs on: http://www.ninjatrader.com/support/h...a_strategy.htm
    (specifically you'll want to set optimize data series to true)

    Let me know if I can further assist.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Hello,

      I want to test one strategy on several different time frames at once, eg. "premarket, morning, lunch, afternoon, close, and have it give data for each time frame to determine which time frame it performs best in.

      Would it also be possible for the output to be in a graphical format, eg. bars ??

      Thank you.

      Comment


        #4
        The strategy analyzer period tab does provide some of the requested information however for explicitly defined time filters you would need to integrate these directly into the script

        Videos and documentation on the Strategy Analyzer: http://www.ninjatrader.com/support/h...y_analyzer.htm

        Custom filter: http://www.ninjatrader.com/support/h....html?time.htm

        Let me know how I can further assist.
        LanceNinjaTrader Customer Service

        Comment


          #5
          Multiple timeframe data?

          I am also new here and learning the techniques. Thanks for sharing this thread.

          Comment


            #6
            You're most welcome. Please feel free to post any questions you have on our forum. It sounds like you're looking into multi time frame scripts. This is one of the best places for that once you've become familiar with the general concepts of NinjaScript: http://www.ninjatrader.com/support/h...nstruments.htm
            LanceNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Shansen, 08-30-2019, 10:18 PM
            24 responses
            939 views
            0 likes
            Last Post spwizard  
            Started by Max238, Today, 01:28 AM
            0 responses
            8 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by rocketman7, Today, 01:00 AM
            0 responses
            4 views
            0 likes
            Last Post rocketman7  
            Started by wzgy0920, 04-20-2024, 06:09 PM
            2 responses
            28 views
            0 likes
            Last Post wzgy0920  
            Started by wzgy0920, 02-22-2024, 01:11 AM
            5 responses
            33 views
            0 likes
            Last Post wzgy0920  
            Working...
            X