How to plot text in Data Window?  [SOLVED]

Questions about MultiCharts .NET and user contributed studies.
novaleaf
Posts: 49
Joined: 17 Apr 2014
Has thanked: 9 times
Been thanked: 4 times

How to plot text in Data Window?

Postby novaleaf » 30 Apr 2015

Hi, trying to figure out how to output text in the data window.

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());
}

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: How to plot text in Data Window?  [SOLVED]

Postby Henry MultiСharts » 05 May 2015

Hello novaleaf,

String plots cannot be viewed in the data window. Please use the Expert Commentary instead.


Return to “MultiCharts .NET”