Navigation:  ActFX > Algorithmic Trading >

Possible Errors

Previous pageReturn to chapter overviewNext page
Show/Hide Hidden Text
hmtoggle_plus1Floating point division by zero

 

clip0730

 

This error means that the script contains division by zero.

 

hmtoggle_plus1Such strategy already exists

 

clip0731

 

This error means that a strategy with such a name is already present in the Strategy List. When a strategy is imported to the WinTrader, the program stores its name, the source file, and the path to it. Such error means that either the name of the source file, or the name of the strategy was repeated, i.e. a strategy with such a name or source file is already present in the Strategy List. In order to avoid such a mistake, change the name of the source file and the name of the strategy when you resave it.

 

hmtoggle_plus1Reference to undefined object

 

clip0732

 

This error means that the program referred to an uninitialized variable. For instance, if you refer to the variable a: TTrade, which does not hold any object at the moment, you will receive this error.

 

hmtoggle_plus1Candle number <number> doesn't exist

 

clip0733

 

This error means that the program cannot find a candle with specified index. For instance, you are using 100 candles of the chart history. If you try to refer to the candle number 201 (which does not exist), you will receive this error.