Undeclared identifier

hmtoggle_plus1ActFX language does not support *.dll libraries

Example:

const import_2 = 'user32.dll';

 

The script uses custom function declared in the binary *.dll library.

converter_err10

Solution:

Use open-source external library;
Import required function (procedures) into main script;
In converted ActFX script replace all external functions (procedures) with the standard analogs;
In converted ActFX script remove all external functions (procedures).

 

hmtoggle_plus1ActFX language does not support declaration of *.dll library’s function (procedure)

Example:

const import_3 = 'wininet.dll';

int InternetOpenA (string sAgent, int lAccessType, string sProxyName = "", string sProxyBypass = "", int lFlags = 0);

 

The script uses the binary *.dll library and declared its function (procedure).

converter_err11

Solution:

Use open-source external library;
Import required functions (procedures) into main script;
In converted ActFX script replace all external functions (procedures) with the standard analogs;
In converted ActFX script remove all external functions (procedures).

 

hmtoggle_plus1Standard constants (global variables) values are not supported as a predefined parameter in custom functions (procedures)

Example:

function OrderSelectEx (index : Variant; select : Variant; pool : Variant = MODE_TRADES) : Boolean;

 

The value MODE_TRADES is a standard MQL constant, which cannot be used as a predefined parameter in custom function.

converter_err12

Solution:

Replace the constant value with the corresponding number:

function OrderSelectEx (index : Variant; select : Variant; pool : Variant = 3) : Boolean;

Show/Hide Hidden Text