protectedoverridevoid OnBarUpdate()
{
Print((Low[0]*(1-2*((((High[0]-Low[0])/((High[0]+Low[0])/2))*1000)*0.001))));
//Print((Low[1]*(1-2*((((High[1]-Low[1])/((High[1]+Low[1])/2))*1000)*0.001))));
LowerBand.Set(High[0]);
HigherBand.Set(Close[0]);
}
In this way it works, but if I quit the slass from
//Print((Low[1]*(1-2*((((High[1]-Low[1])/((High[1]+Low[1])/2))*1000)*0.001))));
then don't draw anything. Can You help me?. Thanks.
Comment