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

Re: [amibroker] a challenging formula.



PureBytes Links

Trading Reference Links

Hey John,

I have sorta the same problem (see my question from today).

You might follow the answers to my question from Dimitris and Stephane and
maybe deduct your solution from there???!!

I know exactly whadya mean!! ;-) This has caused me a headache for days
as well!!!!


Markus
----- Original Message -----
From: "nirvana1x" <nirvanaiam@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Saturday, June 29, 2002 1:58 AM
Subject: [amibroker] a challenging formula.


> hi members.
> this has been troubling me.
> how do i solve this example below.
>
> first condition. H==HHV(H,5); first instance only.
>
> now the next condition is either the low or high crossing the first
> instance the first cond was true, whichever crosses first.
>
> if the low crosses first, the new value is that low,
> if the high crosses first the new value is that high.
>
> in this example assume the low crossed first,this low will now be
> the new value, and a high or low crossing this line will then become
> the new value. E.T.C.
>
> so the first rule is basically the start for the rest of the
> formula.
>
> basically once the 2nd cond is true, forget first cond after this
> point and the value of the first cond is now the same value as the
> 2nd cond E.T.C.
>
> I am trying to do this in AFL.
>
> would this need a loop?
>
>
> cheers: john.
>
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>