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

Re: McClellan Summation Index .ela?



PureBytes Links

Trading Reference Links

Here's one that I think came from an old issue of S&C. Data1 = Adv Issues
and Data2 = Decl issues. The code is listed below and the ela is attached.
Hope it helps.

Vars: SummIdx(0), McClellan(0), FiveTrend(0), TenTrend(0);

If CurrentBar = 1 then begin

    TenTrend = Close of Data1 - Close of Data2;

    FiveTrend = Close of Data1 - Close of Data2;

End;

If CurrentBar > 1 Then Begin

     TenTrend = TenTrend[1] + 0.1 * ((Close of Data1 - Close of Data2) -
TenTrend[1]);

     FiveTrend = FiveTrend[1] + 0.05 * ((Close of Data1 - Close of Data2) -
FiveTrend[1]);

     McClellan = TenTrend - FiveTrend;

     SummIdx = 1000 - 9 * (TenTrend) + 19 * (FiveTrend);

End;

Plot1(McClellan, "McClellan");
Plot2(SummIdx,"SummIdx");

=====================================================================

-----Original Message-----
From: JOHN CLEMENS <jbclem@xxxxxxxxxxxxxx>
To: Omega List address <omega-list@xxxxxxxxxx>
Date: Saturday, November 25, 2000 9:55 PM
Subject: McClellan Summation Index .ela?


>I'd like to ask again if anyone has the .ela for the McClellan Summation
>Index.  I've got the McClellan Oscillator .ela and it works, but I haven't
>been able to get the cummulative ("cum") formula working for the Summation
>Index.
>
>Thanks,  John
>
>

Attachment: Description: "Mcclelan.ela"