I am trying to get an integer value from Custom Bar type but have got partial success.
Perhaps I am making very basic mistake don't know.
OK. An integer value is being calculated during bar formation in Custom Bar code.
This value as obvious is different for each bar. I want to access that value from outside in an indicator. Right know I am exposing that value thru Default Value method of bars in indicator, but this is certainly not the right way. Apart from this it only exposes Current Bar's integer Value in Live or replay. I am unable to have that value for each bar on historic chart.
Can any one suggest a way to do this ?
Comment