AllowedTradingPositions Property

Top  Previous  Next



value = object.AllowedTradingPositions







A variant type variable in the user program.

0 = both LONG and SHORT positions are allowed

1 = only LONG positions are allowed

2 = only SHORT positions are allowed


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


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


After model is loaded using OpenModel method, the AllowedTradingPositions property indicates which trading positions were allowed to enter when ChaosHunter was optimizing the model. The property reflects which Trading Positions radio button was selected on the ChasoHunter’s Optimization tab.


The property is read only.