Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

candle stick start time and end time

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

    candle stick start time and end time

    if I use a 10 minutes interval , and a candle stick is "11:00 am". Is the start time of the candle stick 11:00:00 am , and the end time is 11:10:00 am ?

    #2
    Hi coffeedan,

    Thank you for your post.

    The time shown for a bar is the close time so if you look at a chart and see an 11:00 bar it will represent the time from 10:50 to 11:00.
    Ryan O.NinjaTrader Customer Service

    Comment


      #3
      Thanks for your reply.

      If I need calculated the Open , High, Low , Close of a 10 minutes interval, but my incoming data from onBarUpdate() are 1 minutes ( BarPeriod is 1 minute) , how do I simulate 10 minutes OHLC and indicators base on 1 mintues OHLC and indicators ?

      Suppose I have an List of consecutive 10 Open, High , Low , Close and RSI . Each are obtained at 1 minute apart in the onBarUpdate() .

      Comment


        #4
        coffeedan,

        In NinjaTrader 6.5 you can not calculate indicators based on a different interval than the chart.

        However, with NinjaTrader 7 it is possible to calculate based on a 1 minute value if you use that as your input series. The main thing is that you would have to download and install NinjaTrader 7 if you haven't already done so to get that type of differing time-frame for your indicators versus the chart interval.

        To download NinjaTrader 7 please refer to the following link.
        Ryan O.NinjaTrader Customer Service

        Comment


          #5
          how to do that in version 7 ?

          how to do that in version 7 ?

          Do I use the IDataSeries ? I am very new to this.

          Comment


            #6
            coffeedan,

            You would add a second Data Series to the chart for the second interval, and then in the Indicators menu you would modify the input series of your indicators to be the chart's second data series.
            Ryan O.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by TraderIqbal, 10-20-2023, 10:12 AM
            2 responses
            117 views
            0 likes
            Last Post Funnywo
            by Funnywo
             
            Started by Creamers, 04-27-2024, 05:32 AM
            12 responses
            72 views
            0 likes
            Last Post Creamers  
            Started by fredericlebre, Today, 01:19 AM
            0 responses
            4 views
            0 likes
            Last Post fredericlebre  
            Started by TraderJA, Today, 12:06 AM
            0 responses
            7 views
            0 likes
            Last Post TraderJA  
            Started by SnailHorn, Yesterday, 10:49 PM
            0 responses
            9 views
            0 likes
            Last Post SnailHorn  
            Working...
            X