MQL4参考 交易信号 SignalInfoSetInteger

SignalInfoSetInteger

Sets the value of integer type property of signal copy settings.

bool  SignalInfoSetInteger(
   ENUM_SIGNAL_INFO_INTEGER     property_id,     // property identifier
   long                         value            // new value
   );

Parameters

property_id

[in]  Signal copy settings property identifier. The value can be one of the values of the ENUM_SIGNAL_INFO_INTEGER enumeration.

value

[in]  The value of signal copy settings property.

Returned value

Returns true if property has been changed, otherwise returns false. To read more about the error call GetLastError().