SetFixedMinMaxValues
Syntax
SetFixedMinMaxValues(aMin: number, aMax: number): voidParameters
Return Value
Description
Example
// Set fixed scale for RSI (0-100)
this.api.SetFixedMinMaxValues(0, 100)
// Set fixed scale for Stochastic (0-100)
this.api.SetFixedMinMaxValues(0, 100)
// Set custom range for an oscillator (-50 to 50)
this.api.SetFixedMinMaxValues(-50, 50)Last updated