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

Re: EL help



PureBytes Links

Trading Reference Links

this should work:

Inputs: Length(8),RLev(99);

Value1=iff(PerCentR(10)>RLev,1,0);
Value2=Summation(Value1,Length);
Plot1(Value2,"OB");

-----Original Message-----
From: Ian Cunningham <CunCom@xxxxxxxxxxxxxx>
To: INTERNET:omega-list@xxxxxxxxxx <omega-list@xxxxxxxxxx>
Date: October 8, 1998 11:52 AM
Subject: EL help


>
>Would someone show me how to do the following in EL?
>
>I want to record the number of times an oscillator is true
>and plot  as an indicator.
>
>For example:
>
>Condition1 = PercentR(10) > 99;
>If Date <> Date[1] etc, etc.
>
>Plot1(The # of times Condition1 = true,"OB");
>
>It is my understanding I need to use a While loop as the
>number of loops are undetermined. Due to being EL impaired
>when I try this I get the exit-from-the-loop part wrong and
>lock up the computer!
>
>TIA, Ian.
>
>
>
>