The text shows up on the current bar's status line (top of indicator window) but shows as "N/A" in the Data Window. I would like to see the text for each bar when I hover the mouse over it.
Here is the code I'm using:
Code: Select all
private IPlotObjectStr text1;
protected override void Create() {
this.text1 = AddPlot(new StringPlotAttributes("text1", Color.White));
}
protected override void CalcBar(){
this.text1.Set("h" +" ii " + Bars.Close[0].ToString());
}