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

Re: EL Question



PureBytes Links

Trading Reference Links

(set font to courier for correct alignment)
> 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
                ^                                           
                this is a mistake                           

> or > CCIval2 then begin 
> 
> Plot1(CCI ,"CCIhigh"); 
           ^ 
           this is probably a mistake, EL has no optional inputs

> 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.

Try something simpler to begin with, to learn how EL works 
first.

Regards,
Guus Prick.