Incorrect value function 'close'
Forums › ProRealTime English forum › ProOrder support › Incorrect value function 'close'
- This topic has 11 replies, 3 voices, and was last updated 6 years ago by davide.
-
-
03/05/2018 at 4:37 PM #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
03/05/2018 at 4:38 PM #6446203/05/2018 at 5:21 PM #6446503/05/2018 at 5:33 PM #64470Hi, 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.
03/05/2018 at 5:46 PM #6447203/06/2018 at 3:07 PM #6458603/06/2018 at 3:22 PM #64591I 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.
03/06/2018 at 3:37 PM #6459303/07/2018 at 9:58 AM #6465503/07/2018 at 10:09 AM #64656I 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.
03/07/2018 at 6:25 PM #6468903/08/2018 at 8:54 AM #64722I 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. -
AuthorPosts