Commission Property

Top  Previous  Next

Syntax:

 

value = object.Commission

 

or

 

object.Commission = value

 

 

Part

Description

value

A variant type variable in the user program which receives or sets commissions used by formula in a trading strategy to compute system equity.

object

The name of an object (or an object expression) that evaluates to an object of ChaosHunter_Runtime.DLL class.

 

The property is valid only if loaded model represents a trading strategy.

 

After model is loaded using OpenModel method, the Commission property returns a value used by ChaosHunter during model optimization. The property is read/write so you can set a different commissions before calling the Predict method. The commissions value does not affect how trading signals are generated. However, it does influence the final system equity value.