Welcome to NexusFi: the best trading community on the planet, with over 200,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- discounts are available after registering.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
A fitness function that maximizes the Net Profit and Winners while minimizing Intraday Drawdown. It calculates the Net Profit * NumWinTrades / AbsValue (Maximum Intraday Drawdown).
A fitness function that measures Expectancy x Opportunity. Based on a calculation by Van K. Tharp.
Expectancy = (AW x PW + AL x PL) / |AL|
(expected profit per dollar risked)
AW = average winning trade (excluding largest win)
PW = probability of winning : PW = (Winning trades-1) / NST
AL = average losing trade (negative, excluding scratch losses)
|AL| = absolute value of AL
PL = probability of losing (PL = {non-scratch losses} / NST)
*In other words, NST = non-scratch trades during the period under test (a scratch trade loses commission + slippage or less) minus 1
StudyDays = calendar days of history being tested
Pessimistic Return on Capital (PROC)
A fitness function that represents a very conservative value for Return on Capital (ROC). It calculates the AvgWin*(NumWinTrades) - SquareRoot(NumWinTrades))+AvgLoss*(NumLossTrades + SquareRoot
(NumLossTrades))) / Capital.
NumWinTrades = number of winning trades, NumLossTrades = number of losing trades, AvgWin = GrossProf/NumWinTrades, and AvgLoss = GrossLoss/NumLossTrades.
Perfect Profit Correlation (PPC)
Calculates the correlation of the actual equity curve vs. a "perfect" curve as if the strategy was able to buy every bottom and sell every top. The genetic optimizer will target an equity curve, that closely matches
a "perfect" equity curve.
Return of Maximum Drawdown
Calculates the ratio between the net profit and maximum drawdown. This provides the best selection of the set of input parameters that maximizes net profit,
but at the same time minimizes the maximum drawdown. This is similar to the TradeStation index above.
It depends on the strategy, the markets traded, the resolution and your trading objectives. It is not a one size fits all. You can run each one and see how the performance plays out. Each fitness function will usually prove a different set of optimum settings and results.
I've never found an "optimum" fitness function in all the research I have done. Most people search for the perfect fitness function just like they focus on the perfect indicator, perfect strategy, etc.
Looking for the best with anything in trading is almost never the best going forward.
It does depend on the strategy in a general sense.
There are only 2 fitness functions worth utilizing in TradeStation in this order for breakout/momentum trading:
1. Trade Station Index
2. Net Profit
For other strategies you will need contributions from someone who has done the hard yards to figure what works for them like kevindog.
That's my 2 eurocents.
L