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

Re: [amibroker] rounding



PureBytes Links

Trading Reference Links

OptionTed

Another way is to switch off the values completely and use Plottext 
function to place your own labels wherever you want them:

Preferences
Charting
Uncheck : show value labels

Then use Plottext to place the values you want: e.g.

See attached Plottext.jpg

ChrisB

OptionTed wrote:
> 
> 
> ChrisB , Thank you for your idea.
>  
> It worked by adding "*styleLeftAxisScale* *"* in the ParamStyle*.*
> Not entirely sure if this is the actual solution or  a quirk of the 
> software.
> The problem is (was) on the *right hand side*, this is saying 
> *LeftAxisScale*.
>  
>  
>  
> 
>     ----- Original Message -----
>     *From:* ChrisB <mailto:kris45mar@xxxxxxxxxxxx>
>     *To:* amibroker@xxxxxxxxx ps.com <mailto:amibroker@xxxxxxxxxxxxxxx>
>     *Sent:* Monday, October 29, 2007 12:10 PM
>     *Subject:* Re: [amibroker] rounding
> 
>     Not sure if this is what you want:
> 
>     Right click chart
>     Parameters
>     Axes and grid
>     Grid
>     Show middle lines >> No.
> 
>     ??
> 
>     ChrisB
> 
>     OptionTed wrote:
>      >
>      >
>      >
>      > Bill, Thank you for your reply.
>      >
>      > What I would like to remove as you can see on this .gif file is the
>      > Y-axis scaling (ones provided by default).
>      >
>      >
>      >
>      > ----- Original Message -----
>      > *From:* wavemechanic <mailto:fimdot@xxxxx. com
>     <mailto:fimdot%40gmail.com>>
>      > *To:* amibroker@xxxxxxxxx ps.com <mailto:amibroker@xxxxxxxxx
>     ps.com <mailto:amibroker%40yahoogroups.com>>
>      > *Sent:* Monday, October 29, 2007 1:35 AM
>      > *Subject:* Re: [amibroker] rounding
>      >
>      > * http://www.amibroke r.com/guide/ h_indbuilder. html
>      > <http://www.amibroke r.com/guide/ h_indbuilder. html
>     <http://www.amibroker.com/guide/h_indbuilder.html>> *
>      >
>      > ----- Original Message -----
>      > *From:* OptionTed <mailto:optionted@xxxxxxxxx t.com
>     <mailto:optionted%40btinternet.com>>
>      > *To:* amibroker@xxxxxxxxx ps.com <mailto:amibroker@xxxxxxxxx
>     ps.com <mailto:amibroker%40yahoogroups.com>>
>      > *Sent:* Sunday, October 28, 2007 8:23 PM
>      > *Subject:* Re: [amibroker] rounding
>      >
>      > Thanks for that.
>      >
>      > Is it also possible not to display y-axis gridline values?
>      > As I wish to display my own S/R lines?
>      >
>      > Thanks
>      >
>      >
>      >
>      >
>      > ----- Original Message -----
>      > *From:* J. Biran <mailto:jbiran@xxxxxxx. net
>     <mailto:jbiran%40pacbell.net>>
>      > *To:* amibroker@xxxxxxxxx ps.com
>      > <mailto:amibroker@xxxxxxxxx ps.com
>     <mailto:amibroker%40yahoogroups.com>>
>      > *Sent:* Sunday, October 28, 2007 6:03 PM
>      > *Subject:* RE: [amibroker] rounding
>      >
>      >
>      > buyprice = Prec(C,2);
>      >
>      > Joseph Biran
>      > ____________ _________ _________ _________ _____
>      >
>      > -----Original Message-----
>      > From: amibroker@xxxxxxxxx ps.com
>      > <mailto:amibroker@xxxxxxxxx ps.com
>     <mailto:amibroker%40yahoogroups.com>>
>      > [mailto:amibroker@ yahoogrou ps.com
>      > <mailto:amibroker@xxxxxxxxx ps.com
>     <mailto:amibroker%40yahoogroups.com>>] On Behalf
>      > Of Graham
>      > Sent: Sunday, October 28, 2007 2:35 AM
>      > To: amibroker@xxxxxxxxx ps.com
>      > <mailto:amibroker@xxxxxxxxx ps.com
>     <mailto:amibroker%40yahoogroups.com>>
>      > Subject: Re: [amibroker] rounding
>      >
>      > You can use something like this to 2 decimal places
>      > round(C*100) /100
>      >
>      > --
>      > Cheers
>      > Graham Kav
>      > AFL Writing Service
>      > http://www.aflwriti ng.com <http://www.aflwriti ng.com
>     <http://www.aflwriting.com>>
>      >
>      > On 28/10/2007, holygrail168 <holygrail168@ yahoo.com. au
>      > <mailto:holygrail16 8%40yahoo. com.au>> wrote:
>      > > Hi,
>      > >
>      > > my buyprice functions are calculating values which go
>      > something like
>      > >
>      > > 7.395678
>      > >
>      > > since these are in dollars, I want it to round to 3
>      > significant figures
>      > > so i get a value like 7.40
>      > >
>      > > however, the AFL language only has round, ceil, floor
>      > which only
>      > > performs rounding to the nearest integer.
>      > >
>      > > so how do u guys do it then? it seems like a pretty basic
>      > function and
>      > > i'm sure amibroker should have it but i've trawled thru
>      > the formula
>      > > reference and can't find anything,
>      > >
>      > > thanks
>      >
>      > No virus found in this incoming message.
>      > Checked by AVG Free Edition.
>      > Version: 7.5.503 / Virus Database: 269.15.12/1095 - Release
>      > Date: 26/10/2007 19:54
>      >
>      > No virus found in this incoming message.
>      > Checked by AVG Free Edition.
>      > Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release
>      > Date: 10/28/2007 1:58 PM
>      >
>      > No virus found in this incoming message.
>      > Checked by AVG Free Edition.
>      > Version: 7.5.503 / Virus Database: 269.15.12/1095 - Release Date:
>      > 26/10/2007 19:54
>      >
>      >
>      > ------------ --------- --------- --------- --------- --------- -
>      >
> 
>     No virus found in this incoming message.
>     Checked by AVG Free Edition.
>     Version: 7.5.503 / Virus Database: 269.15.12/1097 - Release Date:
>     28/10/2007 13:58
> 
> 


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
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/
 

JPEG image