Example: Symbol: ES #F, Renko Box Size: 1 (point), Time Frame: 5 minutes
If the market moves 3 points in 5 minutes (and stays at 3 points when the 5 minutes is up), 3 Renko boxes will be drawn on the chart to sort of catch up with the move.
Within EFS, how many BARSTATE_NEWBAR events will I receive?
1 for the close of the last box or 3 for each box drawn?
This is important, because stochastics (or any other mathematical indicator) will give different results depending on whether 3 prices are passed or 1 price is passed, even if the final price passes is the same.
If 1 BARSTATE_NEWBAR event is raised, as I fear, would close(-1) and close(-2) refer to the previous boxes as seen visually on the chart, or would they refer to the box of the previous BARSTATE_NEWBAR event?
And if it (close(-1)) refers to the box of the previous BARSTATE_NEWBAR event, how can I retreive the closing prices of those 2 boxes?
Derek
If the market moves 3 points in 5 minutes (and stays at 3 points when the 5 minutes is up), 3 Renko boxes will be drawn on the chart to sort of catch up with the move.
Within EFS, how many BARSTATE_NEWBAR events will I receive?
1 for the close of the last box or 3 for each box drawn?
This is important, because stochastics (or any other mathematical indicator) will give different results depending on whether 3 prices are passed or 1 price is passed, even if the final price passes is the same.
If 1 BARSTATE_NEWBAR event is raised, as I fear, would close(-1) and close(-2) refer to the previous boxes as seen visually on the chart, or would they refer to the box of the previous BARSTATE_NEWBAR event?
And if it (close(-1)) refers to the box of the previous BARSTATE_NEWBAR event, how can I retreive the closing prices of those 2 boxes?
Derek
Comment