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

Re: EL Code



PureBytes Links

Trading Reference Links

<x-flowed>
>From: editorial@xxxxxxxxxxxxx
>To: DLP3004@xxxxxxx
>CC: Omega List <omega-list@xxxxxxxxxx>
>Subject: Re: EL Code
>Date: Sat, 5 Aug 2000 07:06:21 -0400 (EDT)

>Create an input called "PrctAbov" and set it to .20.

>Then use the following formula for your PaintBar:

>H > H[1] * (1 + PrctAbov/100)

As usual, more elegant than my solution, but the math (I'm just waking up, 
so don't bust my stones)?

Try:

If H > H[1] + H[1]*.002 {or make .002 an input as OM suggested} then...

Not tested, but you get the idea.


Bill Wynne

Bill@xxxxxxxxxxxxxxx

see more below:

>  ---- you wrote:
> > Could anyone help with a paintbar study in S.C.?  It seems it should be
> > simple, but I cant get the following to come out right:   if  today's 
>high is
> >  0.2 percent higher than yesterday's high

remember .2% is .002

> > High + .20 > High[1]   verifies, but there are some bars painted that 
>dont
> > meet the criteria.


and you want .2% (.002) of H[1] added to H[1]

> > Thanks,
> >
> > Dickey
</x-flowed>