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

Re: [RT] 5,35 Osc and amak of the osc



PureBytes Links

Trading Reference Links

Hi B.:

At 11:02 PM 1/18/01 -0500, B.Tharp wrote:
>Input: Price(Close),Length1(5),Length2(35);
>plot1(Average(Price,Length1)-Average(Price,Length2),"5-35");
===================
Thanks for the code.  It's been very useful, though not in an Eliot Wave
way for me.  (I don't use EW myself.)

I find the oscillator quite useful as turning points.

In return, here's a derivative indicator based on your oscilator - an amak
of the above.

Indicator name: "diff-ma-avg":

+ + + + + + + + + + 


Input: len1(5),len2(35);
Plot1(average(c,len1)-average(c,len2),"Plot1");
Plot2(amak(average(c,len1)-average(c,len2),10),"Plot2");
Plot3(0,"Plot3");
IF CheckAlert Then Begin
  IF Plot1 Crosses Above Plot2 or Plot1 Crosses Below Plot2
  or Plot1 Crosses Above Plot3 or Plot1 Crosses Below Plot3
  or Plot2 Crosses Above Plot3 or Plot2 Crosses Below Plot3
  Then Alert = TRUE;
End;


+ + + + + + + + + +

The ela code and an daily chart of BCHE are attached.



Hope someone may find it useful.


Regards,

Wong

To unsubscribe from this group, send an email to:
realtraders-unsubscribe@xxxxxxxxxxx



Diff.ela
sample.gif

Attachment: Description: ""

Attachment: Description: ""