Wrong daily closing prices

Forums ProRealTime English forum ProRealTime platform support Wrong daily closing prices

  • This topic has 8 replies, 3 voices, and was last updated 4 years ago by avatarRazz.
Viewing 9 posts - 1 through 9 (of 9 total)
  • #116324

    Hi
    Why does the day’s closing price differ from the closing price in the cursor information? I actually relied on the values to be the same?
    See example photo

    Thank you

    #116344

    I actually relied on the values to be the same?

    Has it changed recently or has the day’s closing price always been different from the closing price in the cursor information?

    #116354

    I think that has always been so, is probably due to the time zone + 1:00, only the cursor information and that of the price lines fit, but there are no formulas for the original price line indicator. Maybe Nicolas knows the?

    #116371

    Are you comparing High, Low and Close on the Charts for the exact same point in time as High, Low and Close on the Indicator?

    • On Mondays the Indicator gives values for High, Low and Close for Friday.
    • On Tue to Fri  the Indicator gives values for High, Low and Close for the day before (so Close for Mon on Tue, Tue on Wed etc etc)
    • Your Chart shows High, Low and Close dated Friday 10 Jan 20 at 07:03

    Just a few thoughts; maybe @Nicolas can give us his wisdom?

    #116388

    Hello Grahal Thank you for your efforts!
    I took a new picture there you can also see the cursor information from the previous day. DHigh / DClose / DLow definitely delivers wrong values related to the time zone. Then I only have the choice of time zone +0: 00 then the values are correct and the chart time display is wrong, or time zone +1: 00 then the values are wrong and the chart time display is correct.

    Only the code of the price lines can help.

     

    #116650

    Hello,

    The functions DOpen, DHigh, DLow and DClose refer to the official open/high/low/close of the market and are based on the timezone of the market independently of the settings you chose for the charts in your platform.

    If you chose the timeframe Daily for your chart, you may use the functions Open, High, Low and Close instead, which are affected by the timezone settings of your platform.

    Best regards,

    Sébastien from ProRealTime.

    1 user thanked author for this post.
    #116719

    Hello Sebast
    I need the correct values for 1 or 5 minute charts, as you can see in the last picture the price lines show the same value as the cursor information daily. So I just need the formula of the price lines correctly.

    #118003

    Hello,

    I apologize for the late update.

    You can try the following code which should give you these values:

    Best regards,

    Sébastien from ProRealTime

    2 users thanked author for this post.
    #118120

    Hello Sebast Thank you for your help
    I changed the indicator a little because day 1 was not displayed correctly see picture on the right, on the left after the change. Now the time-based charts are displayed correctly. Unfortunately there is still a discrepancy in tick charts.

    Nevertheless many thanks

Viewing 9 posts - 1 through 9 (of 9 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login