IndicatorDigits
Syntax
IndicatorDigits(digits: number): voidParameters
Return Value
Description
Example
// Set indicator to display 2 decimal places
this.api.IndicatorDigits(2)
// For a price-based indicator on EURUSD (which typically has 5 decimal places)
this.api.IndicatorDigits(5)
// For an RSI indicator (values between 0-100)
this.api.IndicatorDigits(1)Last updated