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

EL Question



PureBytes Links

Trading Reference Links

I am trying to contain and indicator say for example the CCI to a narrow
channel to indicate a plot.

Input: CCIval1(100), CCIval2(80);

If currentbar 1 > H and high > highest(high,10)[1] and CCI (10) < CCIval1
or > CCIval2 then begin 

Plot1(CCI ,"CCIhigh"); 
end;
I thought this would give me a channel of 20 of the over bought area
between 100 and 80 on the CCI indicator
but it doesn't work. If you spot my mistake would appreciate it.

Thanks,

Robert C