PureBytes Links
Trading Reference Links
|
If you are wanting the OHLC values in the title of the chart, then use
something like this
Title = Name() + " " + Date( )+ ": " + WriteIf(Interval()==86400, "Daily",
WriteIf(Interval()==432000, "Weekly", WriteIf(Interval()==2160000,
"Monthly", ""))) + ", O:" + O + ", H:" + H + ", L:" + L + ", C:" + C + " V:"
+ WriteVal(V,1);
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: mickeyamelinckx [mailto:mickeyA@xxxxxxxxxxx]
Sent: Thursday, 19 February 2004 5:58 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Basic plot chart not so basic after all
Hello, sorry if this question is too basic for the group but I still
having a real hard time converting from MS especially plotting basic
charts (I guess MS made me lasy on this part)
What I'm trying to do is plot a basic OHLC candle chart with 2 MA's
and a BB band. Now I got to this one easy. Thing is I like to have a
plot in the upper right the actual numbers of the OHLC (as in the
default chart instead of just the close.
The code is here below; Plot(Close,"Close",colorGreen,styleCandle);
Plot(MA(Close,2),"MA2",colorLightOrange,styleDots);
Plot(MA(Close,5),"MA5",colorBlue,styleLine);
Plot(BBandTop(Close,15,2),"BB",colorWhite,styleLine);
Plot(BBandBot(Close,15,2),"BB",colorWhite,styleLine);
I tried also PlotOHLC(OPEN,HIGH,LOW,CLOSE, but this seems to be the
same. It seems I can not add multiple plots like PlotOHLC
(OPEN,HIGH,LOW,CLOSE,"O""H" etc. Not like this and not with a comma.
Or do I have to do it with multiple plots like;
Plot(open,"o",
Plot(high,"H",
Plot(low,"L",
Plot(Close,"C",
But then I come with an other dilema. How to apply the correct
coloring and what style to use.
Well here you see what my basic problem is which is not so for me. I
thank you for the help that will be given to me.
Thanks
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
Yahoo! Groups Links
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
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/
|