|
germany
Posts: 19 since Sep 2009
Thanks Given: 16
Thanks Received: 4
|
Hi,
I wanted to “convert” one of my MT4 Indicator to but I can’t seem to find my problem here.
protected override void OnBarUpdate()
{
Dkurz.Set(High[0]);
Dlang.Set(Low[0]);
double[] kurz= new double[Periode];
kurz[1]=Close[1];
}
I could filter my problem to this line.
“kurz[1]=Close[1];”
If I write “kurz[1]=Close[0];” it works but I want to use history data for my indicator. As soon I write Close[1] my indicator does not show.
Can someone give me a hint why my Indicator does not allow history data?
This should be a noob question an hope someone can enlight me :-)
|