protected override void Initialize()
{
Add(PeriodType.Tick, 1000);
}
Then two identical data access statements known to work on independent charts:
double vB = (Highs[0][0]+Lows[0][0]+Opens[0][0]+(4*Closes[0][0]))/7;
yB.Set(vB); // sets value to DataSeries for 10 Minute data
double vBBase = EMA(yB,3)[0];
double vC = (Highs[1][0]+Lows[1][0]+Opens[1][0]+(4*Closes[1][0]))/7;
yC.Set(vC); // sets value to DataSeries for 1000 Tick data
double vCBase = EMA(yC,3)[0];
The first example above duplicates the value for the 10 Minute independent chart as expected.
The second example above does NOT duplicate the 1000 Tick independent chart, and is yet a third value unlike the 10 Minute or the 1000 Tick. Suggestions how to access the 1000 Tick data? Thanks.
Comment