how do I control the scale

Questions about MultiCharts and user contributed studies.
User avatar
TJ
Posts: 6523
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

how do I control the scale

Postby TJ » 06 Nov 2007

I wrote a little indicator. The scale shows up with 9 decimal places.

how do I change the scale to 2 decimal places?

I have attached an illustration.
Attachments
000.jpg
000.jpg (22.75 KiB) Viewed 124 times

User avatar
ABC
Posts: 516
Joined: 16 Dec 2006
Has thanked: 110 times
Been thanked: 290 times
Contact:

Postby ABC » 06 Nov 2007

TJ,
you can round your plot value to the decimal places you want to see.

Taken from TS's User Guide:
Round(Num, Prec)

Num is a numeric expression to be used in the calculation and Prec is a numeric expression representing the number of decimal places to keep.

Examples
Round(142.3215, 2) returns a value of 142.32.

Round(9.5687, 3) returns a value of of 9.569.

The result becomes your new plot value.

Best regards,
ABC

User avatar
TJ
Posts: 6523
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 07 Nov 2007

ABC:

This is great. Always learning something from you.
Many thanks!

TJ


Return to “MultiCharts”