Welcome to NexusFi: the best trading community on the planet, with over 150,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 -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Not sure if it still matters, but happen to be pointed to this thread for your PEC, but in the Loop, it appears this is scanning for a parameter named "SQNMinTrades", when if finds the parameter, it sets minTrades equal to that value and the bails out of the loop with the break statement. So, if there are 100+ parameters, and the 2nd parameter is found to be "SQNMinTrades" it retrieves the value and then exits the For loop, saving 98 or so useless comparisons as there is likely an assumption the parameter is unique int he list.
Would it be possible for you to make a small edit to these please?
I need to discard runs that result in an "Infinity" score, ie 100% percent profitable. What's happening is sometimes the optimizer is finding a magic combination that gives it extremely low trade frequency (ie 50 trades) but 100% winners, and it's overriding the trades I really want (ie 5,000 trades @ 40%).
I'd rather implement a minimum number of trades requirement for this type of fitness function. Not dependent on the number of parameters, that doesn't make sense to me, just a user provided value.
Big Mike
Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,396 since Jun 2009
Thanks Given: 33,172
Thanks Received: 101,536
I am not aware that NT7 has that capability, to pass a user value to the Fitness test. If it does, that would be fine by me as well.