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 : Technical Analysis - Beginners -- Ignore unavailable to you. Want to Upgrade?


To: Galirayo who wrote (8197)3/29/1998 10:33:00 PM
From: TechTrader42  Read Replies (1) | Respond to of 12039
 
I've added "Daystoload=300" to the Chaikin Volatility scan. This ensures that you get values equal to those in WOW. Here's the scan:

output = "chaikinvol.lst";
input = "stocks.lst";

daystoload=300;

float ema1, ema2, ema3, ema4, hlaverage, hlavgprev, chaikinvol;

ema1:=EMovAvg(0,10,hi);
ema2:=EMovAvg(0,10,lo);
hlaverage:=ema1-ema2;

ema3:=EMovAvg(-10,10,hi);
ema4:=EMovAvg(-10,10,lo);
hlavgprev:=ema3-ema4;

if hlavgprev=0 then
hlavgprev:=.00001;
else
hlavgprev:=hlavgprev;
endif;

chaikinvol:=((hlaverage-hlavgprev)/hlavgprev)*100;

println symbol, ",", chaikinvol;