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

Re: EL help for a moron...



PureBytes Links

Trading Reference Links

At 3:08 PM -0400 6/25/01, Sethw2@xxxxxxx wrote:

>Here is the section of code that is not working:
>
>and close of data2 > Vidya(close of data2,9,12,1)
>Then Buy on Close;

It is hard to tell because how this works would depend upon the rest
of the statement that you do not show.

But in general, it is safer to equate functions to variables then use
the variables in the Buy statement:

  Price2 = close of data2;
  IVidya = Vidya(close of data2,9,12,1);

  ... and Price2 > IVidya
      Then Buy on Close;


Bob Fulks