Incorrect value function 'close'

Forums ProRealTime English forum ProOrder support Incorrect value function 'close'

Viewing 12 posts - 1 through 12 (of 12 total)
  • #64461

    Hello,

    i’ve noted a strange behaviour with the function ‘close’ in proorder. The version of prorealtime that i use is the free version with the values of the end of the day. In the image i’ve attached i have drawed with the function ‘graph’, the values of the high, low, open and close of the bar. All values, as anyone can view, are correct except the ‘close’. Why? (so sorry for my poor english).

    Thanks

    #64462

    the image

    #64465

    Topic moved in English ProOrder forum.

    Please share your code in order to replicate the problem.

    #64470

    Hi, thanks for the reply.

    My code is pretty simple. As you can view in the image i simply wrote “graph close, graph open, graph high, graph low” at the end of my code, just for debug and what you see is that the value ‘close’ is not equal to the value close of the bar.

    #64472

    just for clarity, this is an example and in the image there is my problem.

    #64586

    Sorry but there’s anyone who can put my simple code in his proorder and verify the difference between the ‘graph close’ and the close on the bar?
    thanks in advance

    #64591

    I just tested your code and it reflects your pic, the two values don’t match!

    I can’t figure out why, though.

    You’d better ask PRT.

    1 user thanked author for this post.
    #64593

    Thank you 🙂

    So you confirm that the use of function ‘close’ in the code may can lead to incorrect results? 🙁

    #64655

    Sorry Roberto, what does it mean “You’d better ask PRT”?

    Don’t you think that all that you create with the proorder module, it is likely to be wrong if you use the ‘close’ function? At this point I do not know what to do anymore 🙁

    #64656

    I don’t know why CLOSE returns those incorrect values. That’s why I suggest to address a note to PRT customer service, I can’t be of any help.

    Maybe the inner computatgions are done correctly and just the output is wrong, but I am still speculating!

     

    1 user thanked author for this post.
    #64689

    What instrument and timeframe please? Because I can’t replicate, results match for me with your code example (picture attached).

    #64722

    I use the free version at the moment so with the values at day’s end. The timeframe is the daily and i have tested with the italian shares. The ‘close’ only return incorrect values, not the ‘open’, ‘high’ or ‘low’.
    I’ve just tested the same code with one DAX’s share (adidas) and the values are instead correct.

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

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