table parameters

Brief

The parameters of the instance of this or other indicator.

Details

The parameters of this instance of the indicator or strategy is available via instance.parameters.

The parameters for other indicators can be obtained via profile:parameters() method.

Note that in addition to methods, you can get access to the parameters as to properties of the parameters table, i.e. parameters.N equals the parameter:getInteger("N"); for the integer parameter named N or equals the parameter:getString("N"); for the string parameter named N.

Public Methods

getBoolean

Gets a boolean value of the indicator parameter.

getColor

Gets a color value of the indicator parameter.

getCustomParameters

Gets information about the parameters set associated with this parameter.

getDouble

Gets a real number value of the indicator parameter.

getFile

Gets a file name value of the indicator parameter.

getInteger

Gets an integer value of the indicator parameter.

getString

Gets a string value of the indicator parameter.

setBoolean

Sets a boolean value of the indicator parameter.

setColor

Sets a color value of the indicator parameter.

setDouble

Sets a real number value of the indicator parameter.

setInteger

Sets an integer value of the indicator parameter.

setString

Sets a string value of the indicator parameter.

back