[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Horizontal line?



PureBytes Links

Trading Reference Links

> If I wanted to plot  4 horizontal  lines, how would I write the
> code? This doesn't seem to work 
> 
> Input: Value1(0), Value2(0)),  Value3(0), Value4(0)  ;

ValueX is already a predefined variable in Easy Language.  Pick some 
other name for your inputs.

You have an extra ) after Value2.

> Plot1(Value,"r2");
> Plot2(Value,"r1");
> 
> 
> Plot3(Value,"s1");
> Plot4(Value,"s2");

You plotted "Value" 4 times, instead of your Value1 - Value4 inputs.

Try this:

Inputs:  R2(0), R1(0), S1(0), S2(0);
Plot1(R2, "r2");
Plot2(R1, "r1");
Plot3(S1, "s1");
plot4(S2, "s2");

Gary