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

RE: [amibroker] Couple of questions



PureBytes Links

Trading Reference Links

You could try SP500 = iif( name()==”SP500”,1.0);
Just remember to be careful with capitals etc as I think they need to
match exactly, otherwise include an OR for lowercase and uppercase.

And look up PlotSymbol in the help section in AFL section

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia
-----Original Message-----
From: John Rowlinson [mailto:john@xxxxxxxxxxxxxxx] 
Sent: Wednesday, 12 March 2003 8:05 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Couple of questions

Hi,
 
I want to set variables in my scripts depending upon the ticker.
 
SP500 = iif(ticker=="SP500", 1, 0).
 
Does anyone know how I achieve this?
 
Also how can I plot symbols on the main chart much like you'd do in
Metastock?
 
Thanks
 
 
 
John


Yahoo! Groups Sponsor
ADVERTISEMENT




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 the Yahoo! Terms of Service. 


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/