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

Re: Help with Coding Woodie's CCI



PureBytes Links

Trading Reference Links

Well, that is a start.

----- Original Message ----- From: "john Davis" <buglywugly@xxxxxxxxxxx>
To: <peteholt@xxxxxxx>; <festat@xxxxxxxxxxxxx>; <omega-list@xxxxxxxxxx>
Sent: Wednesday, November 22, 2006 8:37 PM
Subject: Re: Help with Coding Woodie's CCI


Inputs: CCILength1(6),CCILength2(14),
histAbove0(green),HistBelow0(red);

Plot1(CCI(CCILength1), "CCI" );
Plot2(CCI(CCILength2), "CCIhist" );
Plot3(0);

if plot2 > 0 and plot2[1] > 0 and plot2[2] > 0 and plot2[3] > 0 and plot2[4] > 0 then
begin
condition1 = true;
condition2 = false;
end;

if plot2 < 0 and plot2[1] < 0 and plot2[2] < 0 and plot2[3] < 0 and plot2[4] < 0 then
begin
condition1 = false;
condition2 = true;
end;