Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

CurrentDayOHL().CurrentOpen[0] is not correct

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

    CurrentDayOHL().CurrentOpen[0] is not correct

    Hi,

    When trading FESX, sometimes, the value of CurrentDayOHL().CurrentOpen[0] is not correct. Why is it not correct? My broker is IB,

    #2
    Hello ladvan,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    What are you comparing the CurrentDayOHL()CurrentOpen[0] to? What chart type and interval is the indicator or strategy that is using the CurrentDayOHL()CurrentOpen[0] applied to?

    This is likely the difference between the Session Template used on the chart and what is defined as the session open for the item you are comparing the chart to. What Session Template is applied to the chart? You can check this by right clicking in the chart and select Data Series.

    Comment


      #3
      I compare the value of CurrentDayOHL()CurrentOpen[0] with the official opening.

      The interval is minute.

      Comment


        #4
        Hello ladvan,

        Thank you for your response.

        What Session Template is applied to the chart? You can check this by right clicking in the chart and select Data Series.

        I look forward to your response.

        Comment


          #5
          Today it happened again, the official opening is 3173 and the value of CurrentDayOHL().CurrentOpen[0] 3174

          Comment


            #6
            Hello ladvan,

            Thank you for your response.

            So I may investigate this matter further please advise what Session Template is applied to the FESX chart. You can find this by right clicking in the FESX chart > select Data Series > and then checking the Session Template parameter.

            As you stated you are comparing the official open to the chart, it could be that the Session Template's open is at a different time.

            In addition, who do you connect to for data in NinjaTrader? This will be displayed on the NinjaTrader Control Center in the bottom left hand corner when connected.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            57 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            36 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            20 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            9 views
            0 likes
            Last Post cre8able  
            Working...
            X