Examples of How to use ChaosHunter with TradeStation®
TradeStation Example1 is designed to show how you can export a couple of TS's indicators in a text file, build an example in CH using only neural functions, and then insert the resulting formula in TS as an indicator.
TradeStation Example2 builds a model based only on open, high, low, close, and volume from TradeStation data, and then inserts the resulting formula in TS as an indicator.
ChaosHunter Neural Network and Math Functions Coded in EasyLanguage®
We have developed neural network functions in TradeStation's EasyLanguage that are equivalent to the neural nets in ChaosHunter. Once the functions have been imported into TradeStation, you can use any ChaosHunter formula that contains neural nets in TradeStation. Click here for details on obtaining the neural network functions.
We have also coded the equivalent math functions found in ChaosHunter in EasyLanguage. They will be better to use than the TradeStation equivalents in some cases because they handle cases where the input parameters are out of bounds. For example, in ChaosHunter, the division operator / returns a 0 result if the denominator is zero instead of issuing an error. To assure your formula produces the correct answers in TradeStation, you should use our divide function instead of the / operation if there is any possibility the denominator can be zero. Click here for details on obtaining the math functions.
Decimal Display Settings
ChaosHunter offers two options for displaying decimal precision for formula constants, predicted values, and trading thresholds. The Standard setting computes up to 7 decimal places while the High setting computes up to 16 decimal places. You can access the Display Settings option from the File menu in ChaosHunter. In order to obtain the same results in both ChaosHunter and TradeStation, it is necessary to set Display Settings to high. Click here for more information.
If you built a model with time flags in ChaosHunter that only trades during certain hours, implementing that model In TradeStation® requires that you include rules in the trading system that only evaluate the ChaosHunter formula when the time flag is set to a 1 or any other non-zero value.
Click here if your ChaosHunter formula uses the ChaosVar for special considerations when applying the model to new data.
ChaosHunter Formula Converter for TradeStation
We have created a formula converter that translates a formula stored in a ChaosHunter (CH) model file into a snippet of TradeStation EasyLanguage (TS EL) code. The necessity of the converter stems from the fact that in most cases CH formulas are not directly transferable into TS EL and require certain translations after the formula is pasted into the TS EL editor. The converter is programmed to properly translate all ChaosHunter formula's operators (including conditional and Boolean operators), technical indicators, input and output scaling, chaos input, as well as trading signals. To obtain the converter, go to www.ward.net, New and Updated Examples
TradeStation® and EasyLanguage® are registered trademarks of TradeStation Securities.