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

RE: [amibroker] Adding change from previous bar to title



PureBytes Links

Trading Reference Links

How about WriteVal(C –(ref(c,-1) )

 

Donald F Lindberg


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of blakerandy
Sent: Wednesday, October 10, 2007 4:51 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Adding change from previous bar to title

 

I use the standard basic chart with the following code that displays
the title in the graph:

N(Title = EncodeColor(colorWhite) + StrFormat(" {{NAME}} -
{{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol "
+WriteVal( V,1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C,
1 )) ));
Plot( C, "Close", barcolor, styleNoTitle | bars | styleThick
|GetPriceStyle() );

The above shows the % difference from the previous bar in the chart
title display.

My question is how do I show the actual change from the previous bar
instead of the % ?

Thanks, Randy

__._,_.___

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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___