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

RE: [amibroker] AFL Question



PureBytes Links

Trading Reference Links

Yes you can if you set it up to read out the the datenum(), cum(1),
Barindex(), then these can be referenced. 
X = valuewhen(datenum()=yourvalue ,ROC(...) );
You would need to use the Foreign function to import the value from the
other symbol(ie index)

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia

-----Original Message-----
From: Steve_Almond <steve_almond@xxxxxxxxx>
[mailto:steve_almond@xxxxxxxxx] 
Sent: Tuesday, 25 February 2003 6:00 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] AFL Question

I asked a question in message no. 34650 which may have been badly 
explained.
Let me ask a simpler question:

I get a series of trade dates from a backtest of a simple system 
(say, DJI crosses above/below its 100 day SMA). Can I now take these 
trade dates and use them in a further backtest/exploration, such as:

on 20/03/1999 what were the ten stocks with the highest ROC(c,20) 
from Watchlist no.7?
Can AFL use an actual date in this way, rather than Ref(XX,-5)?

Steve


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/ 



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/