PureBytes Links
Trading Reference Links
|
code snippet:
Plot( Close, Date() +"\n"+ "O: " + WriteVal( Open, 1.0 ) +"\n"+ "H: "
+WriteVal(High, 1.0 ) +"\n"+ "L: " + WriteVal( Low, 1.0 ) +"\n"+ "C:
",IIf(BuyMain, colorDarkGreen, IIf(ShortMain, colorRed, IIf(BuyNew,
colorBrightGreen, IIf(ShortNew, colorDarkRed, colorYellow)))),
styleBar);
I think it's easy to see what I am trying to do here:
1) There are 2 different types of buys and 2 different types of
sells. These are defined and work.
2) But when I try and plot this on a chart, I get only the DarkGreen
and Red colors for the BuyMain and SellMain variables. I get no
errors when applying this, but apparently the BuyMain and ShortMain
settings don't allow the BuyNew and ShortNew to take hold.
Is there a way to do what I am trying to do?
Yuki ^_^
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/ySSFAA/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/
|