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

EL Problem with HighW/LowW/CloseW functions



PureBytes Links

Trading Reference Links

I have what appears to be an "anomaly" in EasyLanguage.

Below is an indicator that plots four plots on daily bars.

  >Plot1 is a complex expression of the value I was looking for.
  >Plot2 is the same value split into 2 expressions.
  >Plot3 is the same value split into 5 expressions.
  >Plot4 is the same value split into 11 simplest possible expressions.

Plot3 and Plot4 are the same and presumable correct. Plot1 and Plot2 are
very different and presumable in error.

Any idea what is causing this?

(The HighW/LowW/CloseW functions on my system are all dated
"Last Update 10/10/96" and I am using TradeStation 4.0)

Thanks.

Bob Fulks

--------------


Value1 = MRO(HighW(1) > HighW(2) and LowW(1) < LowW(2) and
   CloseW(1) > HighW(2),15,1);
Plot1(Value1, "Plot1");


Condition1 = HighW(1) > HighW(2) and LowW(1) < LowW(2) and
   CloseW(1) > HighW(2);
Value2 = MRO(Condition1,15,1);
Plot2(Value2, "Plot2");


Condition2 = HighW(1) > HighW(2);
Condition3 = LowW(1)  < LowW(2);
Condition4 = CloseW(1) > HighW(2);
Condition5 = Condition2 and Condition3 and Condition4;
Value3 = MRO(Condition5,15,1);
Plot3(Value3, "Plot3");


Value4 = HighW(1);
Value5 = HighW(2);
Condition6 = Value4 > Value5;
Value6 = LowW(1);
Value7 = LowW(2);
Condition7 = Value6 < Value7;
Value8 = CloseW(1);
Value9 = HighW(2);
Condition8 = Value8 > Value9;
Condition9 = Condition6 and Condition7 and Condition8;
Value10 = MRO(Condition9,15,1);
Plot4(Value10, "Plot4");