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

[amibroker] Re: Plot function format



PureBytes Links

Trading Reference Links

Bill,

Another way to do it if you still want the labels ...

If you are plotting X then insead try plotting round(X * 100) / 100

Fred

--- In amibroker@xxxxxxxxxxxxxxx, "wavemechanic" <wd78@xxxx> wrote:
> DT:
> 
> Thanks.  That did it.
> 
> Bill
>   ----- Original Message ----- 
>   From: DIMITRIS TSOKAKIS 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Friday, March 28, 2003 5:24 PM
>   Subject: [amibroker] Re: Plot function format
> 
> 
>   Instead of
>   Plot(y,"",1,1) you may use the
>   Plot(prec(y,2),"",1,1)
>   and have 2 decimals precision.
>   DT
>   --- In amibroker@xxxxxxxxxxxxxxx, "Graham" <gkavanagh@xxxx> wrote:
>   > If you need to set decimal places then try using the Title 
function 
>   for the
>   > indicator windows heading
>   > 
>   >  
>   > 
>   > Cheers,
>   > Graham
>   > 
>   >  <http://groups.msn.com/ASXShareTrading>
>   > http://groups.msn.com/ASXShareTrading
>   > 
>   >  <http://groups.msn.com/FMSAustralia> 
>   http://groups.msn.com/FMSAustralia
>   > 
>   > -----Original Message-----
>   > From: wavemechanic [mailto:wd78@x...] 
>   > Sent: Saturday, 29 March 2003 5:36 AM
>   > To: AmiBroker, yahoogroups
>   > Subject: [amibroker] Plot function format
>   > 
>   >  
>   > 
>   > Does anyone know how to format the decimal places of the value 
>   labels
>   > produced with the Plot function?  The price data labels contain 
2 
>   decimal
>   > places, but Plot(A,"",3) produces a value label with 4 decimal 
>   places.  As
>   > far as I can tell there is no formatting value label control 
>   available for
>   > Plot, except of course styleNoLabel.  However, I have used the 
Plot 
>   function
>   > in other instances with exactly the same syntax and displayed 2 
>   decimal
>   > places.  Is a puzzlement.  Anyone know how to control the 
decimal 
>   places in
>   > a Plot function value label
>   > 
>   >  
>   > 
>   > Bill
>   > 
>   > 
>   > 
>   > 
>   > 
>   > 
>   > Yahoo! Groups Sponsor
>   > 
>   > 
>   > 
>   > ADVERTISEMENT
>   >  
>   > 
>   
<http://rd.yahoo.com/M=243066.2784921.4151384.1927555/D=egroupweb/S=17
>   056321
>   > 98:HM/A=1377502/R=0/*http:/www.verisign.com/cgi-bin/go.cgi?
>   a=b31550113206004
>   > 000> 
>   > 
>   > 
>   >  
>   > <http://us.adserver.yahoo.com/l?
>   M=243066.2784921.4151384.1927555/D=egroupmai
>   > l/S=:HM/A=1377502/rand=242480469> 
>   > 
>   > 
>   > Send BUG REPORTS to bugs@xxxx
>   > Send SUGGESTIONS to suggest@xxxx
>   > -----------------------------------------
>   > 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 the Yahoo! Terms of 
Service
>   > <http://docs.yahoo.com/info/terms/> .
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/46VHAA/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/