Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 04:59:32 +0000



Post From: Possible issue in WriteBarAndStudyDataToFile

[2019-03-06 07:52:57]
User942837 - Posts: 108
Hi,

this is still not working as expected.

today is 6th March... I am expecting to have yesterday's closing price (ie 5th March) before next session opens, yet the last entry is still
2019/3/4, 15:30:00.0, 2815.50, 2818.00, 2767.50, 2791.50, 1549109, 711262, 2798.13, 2792.33, 2792.75, 783768, 765341, 0.927071750164032

If I change WriteBarAndStudyDataToFileParams.IncludeLastBar = 0; to 1, I get multiple lines for the 5th of March which is not correct as I am only expecting 1 line for 5th of march after session has closed.

2019/3/5, 15:30:00.0, 2794.75, 2796.75, 2783.25, 2791.50, 961546, 438498, 2791.56, 2790.50, 2790.00, 479677, 481869, 0.927071750164032
2019/3/5, 15:30:00.0, 2794.75, 2796.75, 2783.25, 2791.50, 961546, 438498, 2791.56, 2790.50, 2790.00, 479677, 481869, 0.927071750164032
2019/3/5, 15:30:00.0, 2794.75, 2796.75, 2783.25, 2791.50, 961546, 438498, 2791.56, 2790.50, 2790.00, 479677, 481869, 0.927071750164032
2019/3/5, 15:30:00.0, 2794.75, 2796.75, 2783.25, 2791.50, 961546, 438498, 2791.56, 2790.50, 2790.00, 479677, 481869, 0.927071750164032
2019/3/5, 15:30:00.0, 2794.75, 2796.75, 2783.25, 2791.50, 961546, 438498, 2791.56, 2790.50, 2790.00, 479677, 481869, 0.927071750164032

Kindly fix.

Thank you
Date Time Of Last Edit: 2019-03-06 07:54:12