Reqired afl for % change in stock

#1
Hi all.
i want an afl which calculate close percentage change in stock (like +-3%.+-4% and so on) and i should be able to scan how many stocks moved +-n number of % in last 10,20 260etcdays.
Thanks in advance
 

asnavale

Well-Known Member
#2
Hi all.
i want an afl which calculate close percentage change in stock (like +-3%.+-4% and so on) and i should be able to scan how many stocks moved +-n number of % in last 10,20 260etcdays.
Thanks in advance
Hi Reenu,

You can use the ROC function. Percent Change in Close = ROC(Close, N) where N is number of days over whivh you want the change. N=1 gives change with respect to yesterday's close.

Regards

-Anant
 

pkgmtnl

Well-Known Member
#3
Hi Reenu,

You can use the ROC function. Percent Change in Close = ROC(Close, N) where N is number of days over whivh you want the change. N=1 gives change with respect to yesterday's close.

Regards

-Anant
thnx ,
but when if we choose parameter N=1, does it mean % Change in
a. Volume(close) or
b. Price(Price)
at close?
 
#6
anybody have an AFL for 30 min strategy.ie.to Calculate day's high and low at 10.30. if above high go long and below low go short.First target will be 50% high-low difference and second target will be 100% of the high - low difference. And stoploss if long day's low,if short day's high.
any afl experts help me.I tried manually in many stocks with high volume trading stocks it is working.
siva2005
 

Similar threads