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 inanazsocial, Today, 01:15 AM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Jason  
            Started by rocketman7, Today, 02:12 AM
            0 responses
            10 views
            0 likes
            Last Post rocketman7  
            Started by dustydbayer, Today, 01:59 AM
            0 responses
            1 view
            0 likes
            Last Post dustydbayer  
            Started by trilliantrader, 04-18-2024, 08:16 AM
            5 responses
            23 views
            0 likes
            Last Post trilliantrader  
            Started by Davidtowleii, Today, 12:15 AM
            0 responses
            3 views
            0 likes
            Last Post Davidtowleii  
            Working...
            X