Name
|
Type
|
Possible Values
|
Description
|
OMX_IterationNum
|
NumericSimple
|
Any integer
|
The Optimax iteration number
|
PrintInfo
|
NumericSimple
|
0,1,2
|
When 1, this function prints detailed information about the internal computations to the TradeStation Output Print Log window. This information is useful for tuning the weighting parameters and for determining the optimum size of the input arrays. When 2, the same information is printed to file \GPF.txt (in the root directory,) instead. When 0, no information is printed.
|
SendVarsToOMX
|
TrueFalseSimple
|
True/False
|
When True, this function sends information about internal computations to the Optimax Performance Detail Report. This information is useful for tuning the weighting parameters.
|
RejectNegNetProfit
|
TrueFalseSimple
|
True/False
|
When True, equity curves which end with a negative Net Profit will always have a negative fitness value. When False, only the potential for generating positive equity across the entire curve determines the sign of the return value, not the final value of the equity.
|
PeriodType
|
NumericSimple
|
1, 2, 3
|
The length of period to use for internal consistency measurements. 1=daily, 2=weekly, 3=monthly
|
InvestmentCapital
|
NumericSimple
|
any positive value
|
The amount of capital available to invest, in dollars. Used for computing the ACI and MCI component values.
|
ATP_Tgt
|
NumericSimple
|
any positive value
|
The average number of trades per period that you would like to target during optimization.
|
ATP_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the ATP component relative to all other components.
|
ATP_Rng
|
NumericSimple
|
0 to any number
|
The acceptable size of the range on either side of the ATP_Tgt.
|
ATP_Bal
|
NumericSimple
|
1.0 to 0.0
|
The balance between SSDev and Proximity importance.
|
ATP_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
ATP_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
ATP_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
PPT_Tgt
|
NumericSimple
|
any positive value
|
The average percent profitable trades per period that you would like to target during optimization.
|
PPT_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the PPT component relative to all other components.
|
PPT_Rng
|
NumericSimple
|
0 to any number
|
The acceptable size of the range on either side of the PPT_Tgt.
|
PPT_Bal
|
NumericSimple
|
1.0 to 0.0
|
The balance between SSDev and Proximity importance.
|
PPT_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
PPT_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
PPT_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
ABT_Tgt
|
NumericSimple
|
any positive value
|
The average bars per trade per period that you would like to target during optimization.
|
ABT_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the ABT component relative to all other components.
|
ABT_Rng
|
NumericSimple
|
0 to any number
|
The acceptable size of the range on either side of the ABT_Tgt.
|
ABT_Bal
|
NumericSimple
|
1.0 to 0.0
|
The balance between SSDev and Proximity importance.
|
ABT_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
ABT_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
ABT_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
BTR_Tgt
|
NumericSimple
|
any positive value
|
The average per period of winning bars per trade to losing bars per trade that you would like to target during optimization.
|
BTR_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the BTR component relative to all other components.
|
BTR_Rng
|
NumericSimple
|
0 to any number
|
The acceptable size of the range on either side of the BTR_Tgt.
|
BTR_Bal
|
NumericSimple
|
1.0 to 0.0
|
The balance between SSDev and Proximity importance.
|
BTR_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
BTR_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
BTR_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
ACI_Tgt
|
NumericSimple
|
any positive value
|
The average percentage of capital invested per period that you would like to target during optimization.
|
ACI_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the ACI component relative to all other components.
|
ACI_Rng
|
NumericSimple
|
0 to any number
|
The acceptable size of the range on either side of the ACI_Tgt.
|
ACI_Bal
|
NumericSimple
|
1.0 to 0.0
|
The balance between SSDev and Proximity importance.
|
ACI_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
ACI_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
ACI_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
MCI_Tgt
|
NumericSimple
|
any positive value
|
The maximum percentage of capital invested on average per period that you would like to target during optimization.
|
MCI_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the MCI component relative to all other components.
|
MCI_Rng
|
NumericSimple
|
0 to any number
|
The acceptable size of the range on either side of the MCI_Tgt.
|
MCI_Bal
|
NumericSimple
|
1.0 to 0.0
|
The balance between SSDev and Proximity importance.
|
MCI_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
MCI_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
MCI_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
AWL_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the Average Win/Loss ratio (AWL component factor) relative to all other components.
|
AWL_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
AWL_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
AWL_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
PRF_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the profit factor (PRF component value) relative to all other components.
|
PRF_TLT
|
NumericSimple
|
1,2
|
The Time-line scaling type. 1=Linear, 2=Exponential
|
PRF_TLW
|
NumericSimple
|
+/-n.n
|
The Time-line scaling weighting factor.
|
PRF_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
NMR_Wgt
|
NumericSimple
|
0 to any number usually 0 to 1.0
|
The weighting factor (importance) of the net profit to intraday drawdown ratio (NMR component value) relative to all other components.
|
NMR_Pos
|
TrueFalseSimple
|
True/False
|
Use positive values only, meaning convert negative values to 0, so that they do not subtract from the fitness of other components.
|
bDoComputation
|
TrueFalseSimple
|
True/False
|
When true, compute the return (fitness) value. Usually passed a variable that is true on the final bar of analysis - usually LastBarOnChart
|
PeriodReturn
|
NumericArrayRef
|
Output only
|
Equity Return in each period
|
PeriodTrades
|
NumericArrayRef
|
Output only
|
Number of trades in each period
|
PeriodWins
|
NumericArrayRef
|
Output only
|
Number of wins in each period
|
PeriodLosses
|
NumericArrayRef
|
Output only
|
Number of wins in each period
|
PeriodPctPft
|
NumericArrayRef
|
Output only
|
Percent profitable by period
|
PeriodGrossProfit
|
NumericArrayRef
|
Output only
|
Gross profit by period
|
PeriodGrossLoss
|
NumericArrayRef
|
Output only
|
Gross loss by period
|
PeriodProfitFactor
|
NumericArrayRef
|
Output only
|
Profit Factor by period
|
PeriodEvenBars
|
NumericArrayRef
|
Output only
|
Total bars in even trades by period
|
PeriodWinBars
|
NumericArrayRef
|
Output only
|
Total bars in winning trades by period
|
PeriodLosBars
|
NumericArrayRef
|
Output only
|
Total bars in losing trades by period
|
PeriodTotalTrades
|
NumericArrayRef
|
Output only
|
Total number of trades by period
|
PeriodABT
|
NumericArrayRef
|
Output only
|
Period average bars per trade
|
PeriodAWL
|
NumericArrayRef
|
Output only
|
Period average win/loss ratio
|
PeriodBTR
|
NumericArrayRef
|
Output only
|
Avg Bars Win/Avg Bars Loss ratio per period
|
PeriodACI
|
NumericArrayRef
|
Output only
|
Avg % of capital invested per period
|
PeriodMCI
|
NumericArrayRef
|
Output only
|
Max % of capital invested per period
|