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

Re: [amibroker] % movement of indicator



PureBytes Links

Trading Reference Links


looks like i may have found it ?
right under my nose 
If there is a better way pls let me 
know..
 
adx4=1.1* ma( adx(14), 5 );
 
buy = adx(14) > adx4;sell = 0;
 
David
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
David 
Holzgrefe 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Wednesday, April 25, 2001 6:59 
PM
Subject: [amibroker] % movement of 
indicator

Hi TJ and others
Is the a way to measure the % movement in a 
direction by an indicator ?
 
eg the adx has moved up 10 % over the past xn 
days
 
I guess using something like adx(14) > 
ref(adx(14)-3);
would tell the adx today is higher that the adx 
of 4 days ago
but if it spiked in the middle it would still 
give the same signal
 
maybe I need to sum the adx over 4 days then / 4 
to get the average then check if today is greater than average ?
 
I thought I saw it in a formula some where but 
can't find it now ..!
 
Hmm what I want is to tell if a indicator has 
trended up for a few days ?
I'm sure the answer is right under my nose 
:))
 
Thanks David
 
 
 Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.