Hi JForex team,
JFOREX 2.25.7 on API 2.7.10 on a LIVE account.I faced with a difference between online Range Bars (RB) chart and drawn by the history.
The difference actually in "Close - Open" pairs of consecutive bars where values are being changed after the platform restarts. It is probably caused by gaps that are not identical and increased after restart.
The only way to keep the bars up to date is to restart the platform as the API doesn't have a method to repaint bars "On Fly".
The same issue appears in the Tester mode, however there is a way to actualize bars - do switching between Ask and Bid presentation of a chart and all the bars will correctly repaint
But the above solution doesn't take place on live.
Here are results of my small investigation:
Bars "close-open" data before restart:Bar #1 O: 1.53477 C: -
Bar #2 O: 1.53397 C: 1.53476
Bar #3 O: 1.53330 C: 1.53393
Bar #4 O: 1.53315 C: 1.53329
Bar #5 O: 1.53283 C: 1.53314
Bars after restart:Bar #1 O:
1.53507 C: -
Bar #2 O:
1.53427 C: 1.53476
Bar #3 O:
1.53335 C: 1.53393
Bar #4 O: 1.53315 C: 1.53329
Bar #5 O: 1.53283 C: 1.53314
As you can see there were gaps before restart but they are swollen and the bars configuration have been changed.
Another problem - indicators that are drawn based on the bars, the data presented by them has been changed as well.
I'm not sure if this a bug, but if it's a normal flow,
could you please advice if there is a workaround to keep the data in actual state without the platform restart.
Thank you in advance,
Dmitry