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

highest close formula



PureBytes Links

Trading Reference Links


Thanks Tomasz ,
heres the full afl for those who may find it 
useful...I haven't had time to work out an application for the highestday 
yet..
any ideas from the group would be useful 
:-))
 
 
 
/*  File:  highest closeBy David 
Holzgrefe with help form Tomasz againDate : 01.03.2001*/
 
/*Note set Range to all quotations to see stocks highest ever 
priceOR set range n last days to   n=0 to find stocks that have 
set a new hi today*/
highestday = close == highest( close ); /*Please note that 
this one will give "1" (or true) for EVERY NEW high. For single signal 
use:*/ highestalltime = close == lastvalue( highest( close ) 
);
 
buy = highestalltime;/*buy = highestday;**/sell = 
0;