how do I control the scale

Questions about MultiCharts and user contributed studies.
User avatar
TJ
Posts: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 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
(22.75 KiB) Downloaded 329 times

User avatar
ABC
Posts: 718
Joined: 16 Dec 2006
Location: www.abctradinggroup.com
Has thanked: 125 times
Been thanked: 408 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: 7739
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1032 times
Been thanked: 2221 times

Postby TJ » 07 Nov 2007

ABC:

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

TJ


Return to “MultiCharts”