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

Offset for AFL functions



PureBytes Links

Trading Reference Links

Hi Tomasz,

Thanks for your reply on the question on indexes. Is there any way to 
add an offset to afl functions. I would like to find out , let us 
ssay , Moving average 10 days ago. How can I do this? In quotes plus 
it is 
close(-10) < EMovAvg(-10,20,cl) ; /* 20 DMA 10 days ago */

How can I do this in afl?

As a related point, I also would like to find out relative strength , 
a few days ago . How can I do that too? As an example , please look 
at the folowing code

RS=relstrength("SP-500");
rs_spx30=EMA(RS,30);


A second question relates to watch lists. Can I import symbols into 
watch lists; as atext or csv file? If I want to have S&P 500 as a 
watch list; can I import these symbols?

thanks 

mohan