In need of code text for the OnTester() function to create custom max criteria in MT5's Strategy Tester for genetic optimizations

Job finished

Execution time 28 minutes
Feedback from employee
James is a good customer, easy to deal and explained all details. Thank you!
Feedback from customer
Alexandre did a great job on the code text I needed! Very fast too!

Specification

I am looking for someone to write code text for the OnTester() function that I can paste into my Expert Advisor code. Prior versions of MT5 Strategy Tester had the option "Balance + max Profit Factor" that could be used for genetic optimizations. This criteria is no longer available so I would like someone to write the code for it that I can paste into my projects to be used with genetic optimization criteria "custom max". This custom max criteria needs to optimize EAs during genetic optimizations based on the criteria of maximum account balance and maximum profit factor (Balance x Profit Factor). I only need the text of this code, I will add it myself to my EAs.

Responded

1
Developer 1
Rating
(38)
Projects
61
30%
Arbitration
5
20% / 40%
Overdue
0
Free
Similar orders
Intraday Trade Ninja EA — Complete Logic Structure This document maps the full architecture, execution logic, signal flow, trade management, and safety structure of the Intraday Trade Ninja MT4 Expert Advisor. 1. Core Indicators · ©Price Border (TMA bands) · MA-X Arrows · MA-Y Arrows · LeManSignal · EMA 49 & 89 - Per Candle Color Switching 2. EA Entry Architecture ·
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
Bring in your expertise for specific symbol Prepare expert for Live chart Creating .set for specific symbol Live Chart Optimization , symbol specific Everything is coded already therefore needs Implementations

Project information

Budget
30 - 40 USD