Access to number of decimal places in a price?

Questions about MultiCharts and user contributed studies.
jek
Posts: 181
Joined: 24 Dec 2006
Has thanked: 1 time
Been thanked: 2 times

Access to number of decimal places in a price?

Postby jek » 16 Jan 2008

Is there any way to find out programmatically how many decimal places a given symbol uses for the price? e.g. YM uses 0 and ES uses 2.

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Postby Marina Pashkova » 17 Jan 2008

Hi jek,

If I understand your question correctly, the following should work:

Apply a Custom Line 1 indicator to the chart, and in the input type in the following:

Log(PriceScale)/Log(10)

Regards.


Return to “MultiCharts”