Topic: Custom fitness function
Hello,
Is there a way to provide a custom fitness function in FSB Pro (similar to the MT OnTester function)?
Cheers,
Luke
Create and Test Forex Strategies
You are not logged in. Please login or register.
Forex Software → Forex Strategy Builder Professional → Custom fitness function
Hello,
Is there a way to provide a custom fitness function in FSB Pro (similar to the MT OnTester function)?
Cheers,
Luke
Hello Luke,
You can customize the backtest stats output shown at the right side of the screen.
You do it by modifying the AccountStatistics.cs file in the FSB Pro's "User Files/Code" folder.
Please check the file and if you have specific questions of how it works, we will be glad to answer.
Thanks Miroslav.
I can now see my Custom Fitness statistic in the Account Statistics Panel.
How do I add this as a "Search Best" option to the Generator?
How do I add a Min/Max Custom Fitness options to the Acceptance Criteria?
Cheers,
Luke
Another idea..
If I replace the body of, say, the CalculateSystemQualityNumber method in the AccountStatistics.cs file, will this impact the generator and optimizer, or is it only used to display the value in the Account Stats Tab?
Cheers,
Luke
Luke, no, the modification only affects what you see on the right hand side window.
Thanks for that clarification.
Slightly off topic, but does the system use a GA to find the optimal strategies based on the "Search Best" setting?
If so, it would be great to be able to search the solution space with a custom fitness function.
To my knowledge it is much simpler, more like a random generation of strats, which will then be sorted by the "Search Best" setting.
Well, perhaps GA search is on the TODO list somewhere
Forex Software → Forex Strategy Builder Professional → Custom fitness function
Powered by PunBB, supported by Informer Technologies, Inc.