SO I have an indicator I have created, and I would like to put these values into a DataSeries, so that I can output this value into a column on the market analyzer. The indie does not have any plots, simply values I would like in a DataSeries.
So I understand DataSeries is no longer in use, and we have to use Series.
Here is the structure of how I am attempting this.
public class PeltBaseClosesV10 : Indicator { private Series<double> rtbPercentAll_ds; //defining type . . . .
else if (State == State.DataLoaded) //Best used to access market data { rtbPercentAll_ds = new Series<double>(this, MaximumBarsLookBack.Infinite); }
protected override void OnBarUpdate() { rtbPercentAll_ds[0] = CurrentBar; //example assignment }
Code down in properties section
[Browsable(false)] [XmlIgnore] public Series<double> RtbPercentAll_ds { get { return Values[0]; } }
Now when I go to add a column to strategy analyzer, I thought I should be able to see the .RtbPercentAll_ds data series as this would hold the value I want to see on my analyzer.
Is the above not the way to expose values to be shown in Market Analyzer?
Thanks!
Comment