static public property instance.parameters

Brief

The parameters of the strategy or signal instance.

Declaration
Lua
instance.parameters

Details

The property returns the instance of the parameters table representing parameter values specified for the instance of the strategy or signal.

Example [hide]

   function Init()
       ...
       strategy.parameters:addInteger("PARAM1", "First Parameter", "", 100);
       ...
   end
 
   function Prepare()
       ...
       local param1 = instance.parameters.PARAM1;
       ...
   end

back