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

Re: [amibroker] Re: How to set number of decimal digits displayed in Chart Title ?



PureBytes Links

Trading Reference Links

OK, thanks again. Much appreciated to yourself & Wavemechanic. I see where this is going. I was hoping that I could just "flick a switch" & all indicators would display 4 decimals. But looks like I will have to rewrite all the indicators, including the built-ins to display correctly.
cheers
----- Original Message -----
From: Wilson
Sent: Tuesday, June 07, 2005 10:32 PM
Subject: [trading] Re: [amibroker] Re: How to set number of decimal digits displayed in Chart Title ?

 

myMACD = MACD() ;

Plot

(myMACD, "" , colorBlue, styleLine);

_N(Title = EncodeColor( colorDarkRed ) + Name()

+

EncodeColor( colorBlack ) + " - "

+

EncodeColor( colorGrey50 ) + Interval(2 ) + " "

+

EncodeColor( colorDarkGrey ) + Date ( ) + " :"

+

EncodeColor( colorDarkBlue ) + " MACD "

+ EncodeColor( colorBlack ) + " = "

+

EncodeColor( colorBlue ) + WriteVal ( myMACD, 1.3 ) ) ;  // 1.3 for 3 decimal,

 

Wilson



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