Decimal places in custo indicators

Created at 04 Aug 2013, 15:00
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
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