PureBytes Links
Trading Reference Links
|
Hello mohan,
First:
ref(close,-10) < ref(ema(close,20),-10)
Second:
RS=relstrength("SP-500");
rs_spx30=ref(EMA(RS,30),-5); /*5 Days Ago*/
Hope this helps,
Peter Gialames
-----Original Message-----
From: yellayi@xxxx [mailto:yellayi@x...]
Sent: Tuesday, September 25, 2001 8:15 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Offset for AFL functions
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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|