GuiSetValue
- set numeric value of on-chart control

GUI functions
(AmiBroker 6.30)


SYNTAX GuiSetValue( id, value )
RETURNS NUMBER
FUNCTION Sets the value of GUI control (for example slider position). For non-slider control value will be converted to text and assigned as GuiSetText( id, NumToStr( value ) ). For slider controls the value should be within min-max range set by GuiSetRange.

Parameters:

  • id - control ID
Returns True (1) on success, False (0) on failure (when control does not exist)
EXAMPLE
SEE ALSO GuiSlider() function , GuiSetRange() function , GuiGetValue() function

References:

The GuiSetValue function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.