My understanding multi time frame on 6.5 indicators was not supported however shall be supported on NT 7.
My NT version is the latest, just downloaded 7.0.0.12 this morning prior to creating the screenshots.
Please note I have very little exposure to 6.5 and did a little bit of a research on multi time frame on the forum.
First step I have used the out of box NT DM indicator and created a AAADM indicator just copying over the code. The first screenshot proves that the 2 indicator at beginning are the same.
Second step I have added only one line in the "Initialize()" method and the indicators are different as you can see on the 2nd screen shot.
The only difference is the inserted 2nd time frame in the code:
Add(PeriodType.Minute, 15);
The method below from AAADM the indicator:
protected override void Initialize()
{
Add(new Plot(new Pen(Color.DarkGreen, 3), "ADX"));
Add(new Plot(Color.Blue, "+DI"));
Add(new Plot(Color.Red, "-DI"));
Add(new Line(Color.DarkViolet, 25, "Lower"));
Add(new Line(Color.YellowGreen, 75, "Upper"));
dmPlus = new DataSeries(this);
dmMinus = new DataSeries(this);
sumDmPlus = new DataSeries(this);
sumDmMinus = new DataSeries(this);
sumTr = new DataSeries(this);
tr = new DataSeries(this);
Add(PeriodType.Minute, 15);
}
I've attached 2 screenshot.
Thanks,
atata
Comment