Because you can not change the open in the bar generation code, you are forced to work around the issue in the bar painting code in the ChartStyle, which works for renko, but then the values that show up in the data window do not match the actual values that the bars show. This is also true if you are trying to use the open values in a strategy/indicator. Effectively, you are forcing work arounds into all kinds of code, instead of just keeping it in the bar generation code where it belongs.
I can understand not wanting to change the routine, due to legacy issues, but there should be a way to change the open of a bar even if it had to be done via a new routine/property (i.e. bar.SetOpen() or bar.Open) to make it explicit since normally you would not need to change the open. Is there a way to do this? If not, please change/add this functionality.

Comment