Page 1 of 1

Strange behaviour of BarHigh/BarLow in MC 1.9

Posted: Feb 24 2006
by Chris
The Plot Type Bar High and Bar Low seems to have a bug in the new Multicharts Betas, it's working like a charme in MC 1.8 though.

I have used a very simple code to test it:

Code: Select all

Value0 = XAverage(Close, 100);
Value1 = WAverage(Value0, 100);

If Value1 > Value1[1] and Value1[1] < Value1[2] then begin
Plot1(High);
Plot2(Low);
end;

If Value1 < Value1[1] and Value1[1] > Value1[2] then begin
Plot3(High);
Plot4(Low);
end;
Please fix this.

Thank you,

Chris

Posted: Feb 28 2006
by Chris
TSSupport,

in the new Beta 1.90.423.1164 the bug still remains. Can you confirm it?

Thanks,

Chris

Posted: Feb 28 2006
by Chris
The problem seems to be linked to the number of Plots.

When I use:

Code: Select all

Value0 = XAverage(Close, 100);
Value1 = WAverage(Value0, 100);

If Value1 > Value1[1] and Value1[1] < Value1[2] then begin
Plot1(High);
Plot2(Low);
end;

If Value1 < Value1[1] and Value1[1] > Value1[2] then begin
Plot1(High);
Plot2(Low);
end;
There is no error (shown in the attached screenshot).

But following code shows the same behaviour like the code posted earlier:

Code: Select all

Value0 = XAverage(Close, 100);
Value1 = WAverage(Value0, 100);

If Value1 > Value1[1] and Value1[1] < Value1[2] then begin
Plot3(High);
Plot4(Low);
end;

If Value1 < Value1[1] and Value1[1] > Value1[2] then begin
Plot5(High);
Plot6(Low);
end;