• 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

How to specify time frames for each indicator?

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

    How to specify time frames for each indicator?

    Hi,

    Can I choose multiple time frames for several different types of indicators?
    How does one select to which time frame an indicator is to be applied against?

    Thanks

    #2
    Hello TradeYa,

    Thank you for your post.

    Under the Indicator menu set the Input Series to the desired instrument/bar type on the chart. Please refer to the information at the following link for working with indicators: http://www.ninjatrader.com/support/h...indicators.htm
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello TradeYa,

      Thank you for your post.

      Under the Indicator menu set the Input Series to the desired instrument/bar type on the chart. Please refer to the information at the following link for working with indicators: http://www.ninjatrader.com/support/h...indicators.htm
      Hi Patrick,

      Thanks for the link. I read through it and realized that your link was for creating a chart in general - I should have mentioned that I'm looking to create a strategy.

      My goal is to create a condition where I say RSI(30) had to have been below a value of 30, within the last 6 bars, on a 20 minute chart. How can I do this within the strategy wizard?

      I tried defining custom time periods within the "user defined inputs" page - however the "period" field in the strategy wizard for RSI customization, doesn't refer back to the "user defined inputs" page.

      Thanks

      Comment


        #4
        Hello TradeYa,

        You would not be able to add multiple timeframes using the Strategy Wizard. You will need to unlock the code in order to handle this so it can be custom programmed.

        The period setting you are using is for the Indicators look back period, and not the Timeframe.

        Let me know if I can be of further assistance.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Thanks Cal,

          How do I custom program individual timeframes for different indicators, after unlocking the code?
          How would I write the code? I viewed the code for my strategy, however I didn't see an existing code line for the default timeframe (which I assume is daily).

          Are there any examples of the timeframes being adjusted after unlocking the code?

          Comment


            #6
            Hello TradeYa,

            I have attached a link below that will go over how to use Multiple Time frames and Instruments with NinjaScript -
            http://www.ninjatrader.com/support/h...nstruments.htm

            Additionally, here is a reference sample using Multiple Time frames -
            http://www.ninjatrader.com/support/f...ead.php?t=5787

            Let me know if I can be of further assistance.
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by casabella, Today, 11:51 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_PaulH  
            Started by Johnny, Today, 11:42 AM
            0 responses
            8 views
            0 likes
            Last Post Johnny
            by Johnny
             
            Started by habibalex, Today, 09:03 AM
            2 responses
            11 views
            0 likes
            Last Post sledge
            by sledge
             
            Started by ptpatrader, Today, 11:38 AM
            2 responses
            17 views
            0 likes
            Last Post ptpatrader  
            Started by emuns, Today, 11:20 AM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_Jim  
            Working...
            X