PureBytes Links
Trading Reference Links
|
Try this
Plot( Close, Date() +"\n"+ "O: " + WriteVal( Open, x ) +"\n"+ "H: "
+WriteVal(High, x ) +"\n"+ "L: " + WriteVal( Low, x )
+"\n"+ "C: ",IIf(Buy, colorDarkGreen, IIf(Sell, colorRed,
colorBlack)),IIf((Name()=="PCT")+(Name()=="DNS"), styleLine, styleBar));
Cheers,
Graham
http://groups.msn.com/asxsharetrading
http://groups.msn.com/fmsaustralia
-----Original Message-----
From: Yuki Taga [mailto:yukitaga@xxxxxxxxxxxxx]
Sent: Friday, 5 December 2003 7:19 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] need code help here
I would like to modify the following code to add one more symbol "DNS" to
the symbols that will generate line charts rather than bar charts. I finally
got "PCT" to work right, but I seem to not be able to add the other symbol.
Plot( Close, Date() +"\n"+ "O: " + WriteVal( Open, x ) +"\n"+ "H: "
+WriteVal(High, x ) +"\n"+ "L: " + WriteVal( Low, x )
+"\n"+ "C: ",IIf(Buy, colorDarkGreen, IIf(Sell, colorRed,
colorBlack)),IIf(Name()=="PCT", styleLine, styleBar));
Yuki
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/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
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/
|