Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 12:01:54 +0000



Post From: Two technical questions on Custom Chart Bars

[2018-08-26 20:57:40]
Andy Sureway - Posts: 93
1. After more digging, it seems that BarHasBeenCutAtStartOfSession is working as expected. But IsNewChartBar is always set to zero.

What I did was the following. I put two "if blocks" for BarHasBeenCutAtStartOfSession and IsNewChartBar. Once either variable is true, the corresponding block will be executed. In VS debug mode, I set breakpoints inside the two blocks. While I applied to this to a chart with 3 days' ES data. The BarHasBeenCutAtStartOfSession if block was hit three times, but none for IsNewChartBar.

Not sure whether it was due to a misunderstanding of mine with IsNewChartBar.


2. Which variable it is? It seems to me that the BarHasBeenCutAtStartOfSession should be good enough now.

There is a variable indicating the first bar of the chart.


3. Perhaps this was due to my misreading of the numbers while debugging in VS.

If there is a problem with this, it is with your data. There definitively could not be a problem with this.


Thanks!