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

Re: ELA needed



PureBytes Links

Trading Reference Links

{ Omega List posted 8/2/00 by FPI }
{ Chaikin Money Flow }
Inputs:  length(21);
{ UpVolColor(green), DownVolColor(Red),
low10color(white), uptencolor(white), topcolor(blue),
I had to bracket out these inputs as TS4 says input names too long.}
Variable: AccDist(0),  MF(0), totalsum(0) ;

If high - low <> 0 and volume <> 0 then
AccDist = ((close-low) - (high - close)) / (high - low) * volume;

Totalsum = summation(volume, length);

If Totalsum <>0 then
  MF = summation(AccDist, Length) / totalsum ;

{With this line included "If MF > 0 Then" Plot1 does not plot anything when
MF is 0 or below,
If the line is omitted the indicator plots into negative territory}
    If MF > 0 Then

Plot1 (Mf, "money Flow");

Plot2 (0, "0 line");



-----Original Message-----
From: Paul <muzzy@xxxxxxxx>
To: omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Date: Friday, February 16, 2001 7:12 PM
Subject: re: ELA needed


>Hi all,
>
>I was wondering if someone could email me the code
>for the Chaikin Money Flow indicator. I just want to
>have a look at what was in Feb's tasc article.
>
>Thanks
>Paul
>
>

Attachment: Description: "ChMnyFlo.ela"