Decimal places in custo indicators

Created at 04 Aug 2013, 15:00
IR

iRobot

Joined 17.02.2013

Decimal places in custo indicators
04 Aug 2013, 15:00


Hi,

 

how to make 5 (or any other) decimal places on custom indicator. Currently I see that on all indicators there is only 2 decimal places.

 

Thanks


@iRobot
Replies

Kate
04 Aug 2013, 18:54

That's it:

    [Indicator(TimeZone = TimeZones.UTC, ScalePrecision = 5)]
    public class MyIndicator : Indicator
    {

    }




@Kate

iRobot
04 Aug 2013, 19:10

Cool. Thank you.


@iRobot