PureBytes Links
Trading Reference Links
|
Have a look at the built-in "Relative Performance" chart in Basic Charts
for another (automated) way to do this, however, your solution is good.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of donpickdonpick
Sent: Thursday, October 06, 2005 11:45
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Plotforeign - trying to color each graph
I am using Amibroker v4.70 on Windows 2000 server with EOD data.
I have drawn a bunch of candlestick charts using Plotforeign.
I want to compare a bunch of similar charts.
I'd like to color each one uniquely somehow or identify each one.
It's kind of hard to explain without seeing the charts I have drawn.
I have pasted the code below. Is it permissable to put a file in the
Files area?
Perhaps some of you might do this some better way? Thanks for your
help.
The code:
PlotForeign( "TSO","Tesoro", ParamColor("Color", colorBlack ),
styleNoTitle | ParamStyle("Style") | GetPriceStyle() |
styleOwnScale);
PlotForeign( "SUN","SUN", ParamColor("Color", colorBlack ),
styleNoTitle | ParamStyle("Style") | GetPriceStyle() |
styleOwnScale);
PlotForeign( "MRO","MRO", ParamColor("Color", colorBlack ),
styleNoTitle | ParamStyle("Style") | GetPriceStyle() |
styleOwnScale);
PlotForeign( "VLO","Valero", ParamColor("Color", colorBlack ),
styleNoTitle | ParamStyle("Style") | GetPriceStyle() |
styleOwnScale);
PlotForeign( "!SPX","S&P 500", ParamColor("Color", colorBlack ),
styleNoTitle | ParamStyle("Style") | GetPriceStyle() |
styleOwnScale);
_SECTION_END();
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|