SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA- Scans and System Tests -- Ignore unavailable to you. Want to Upgrade?


To: woodstr who wrote (988)7/8/2001 11:20:34 AM
From: TechTrader42  Respond to of 989
 
// Float turnover, by Brooke
output = "floatturn.lst";
// input = "portfoli.lst";
// exchange = nyse, amex, nasdaq;
daystoload = 2200;
daysrequired =1;
integer i, numdays;
float cumvol, turnovers, avgfre;

cumvol:=0;
numdays:=((DaysLoaded-1)*-1);
for i = numdays to 0 step 1 do
cumvol:=cumvol+vol(i);

next i;

turnovers:=0;
if sharesfloat !=0 then
turnovers:=cumvol/(sharesfloat*1000000);
endif;

avgfre:=0;
if turnovers !=0 then
avgfre:=(-numdays)/turnovers;
endif;

if turnovers>20 then
println symbol,", ", turnovers:4:0, " ",
"turnovers since ", date(numdays),", ",
"average ", avgfre:4:0," ", "days between turnovers.", " ",
"Float(mil.): ", sharesfloat:8:3,", ",
"Cum. Vol: ", cumvol/100000:-10:3; //vol divided by 100.000
endif;