Trabajo finalizado
Plazo de ejecución 5 días
Comentario del Cliente
Impossible project, my mistake due to limitations of mql5 ontester function. Despite this Saad put many hours into this project. A* would always recommend.
Comentario del Ejecutor
Great collaborating with you once more!
Tarea técnica
Hello
I want my custom max forumla used in MT5 modified to check the result, if there is a return value of the same number return zero / void the result to avoid getting mutliple results of the same value similar settings.
- The problem is i get tons of results of the same value when doing many generic testing runs on MT5 (this is expected and normal)
- I am looking for a solution when each test / run is complete it checks that the end results value is unique and if so it allows it to pass
- If the value is a duplicate, it voids the result to 0 (currently I export to excel and remove duplicate rows that have the same result value to manually filter this out)
- The aim is to only have unique results in the optimisation profile when its complete, allowing for a much faster testing scheme.
- Note that there are tons of zero values and to avoid dividing by zero errors.
input string OnTester = "------------ Custom Max ------------"; // ------------ Custom Max ------------ input int MinTrades = 20; // Minimum required trades input double MaxEquityDrawdown = 5.0; // Maximum allowed drawdown input string OnTesterEnd = "------------ Custom Max End ------------"; // ------------ Custom Max End ------------ double OnTester(void) { // Get the required statistics int totalTrades = TesterStatistics(STAT_TRADES); int profitTrades = TesterStatistics(STAT_PROFIT_TRADES); int lossTrades = TesterStatistics(STAT_LOSS_TRADES); double totalProfit = TesterStatistics(STAT_PROFIT); double profitFactor = TesterStatistics(STAT_PROFIT_FACTOR); double equityDrawdownPercent = TesterStatistics(STAT_EQUITY_DDREL_PERCENT); // Calculate the target drawdown as 50% of the MaxEquityDrawdown double TargetEquityDrawdown = MaxEquityDrawdown * 0.5; // Check the conditions for voiding the results if (totalTrades < MinTrades || equityDrawdownPercent > MaxEquityDrawdown || lossTrades == 0) { return 0; // Void the result if not meeting trade or drawdown criteria, or no losing trades } // Calculate the trade win ratio double tradeWinRatio = (double)profitTrades / (double)lossTrades; // Adjusted drawdown impact calculation double drawdownImpact = 1 - fabs(equityDrawdownPercent - TargetEquityDrawdown) / TargetEquityDrawdown; drawdownImpact = MathMax(0, drawdownImpact); // Ensure drawdown impact is not negative // Apply the new formula with adjusted drawdown impact double finalCriterion = (totalProfit / equityDrawdownPercent) * (profitFactor / tradeWinRatio) * drawdownImpact; return finalCriterion; }
Han respondido
1
Evaluación
Proyectos
316
29%
Arbitraje
34
26%
/
65%
Caducado
10
3%
Libre
2
Evaluación
Proyectos
194
58%
Arbitraje
10
80%
/
0%
Caducado
0
Trabaja
Ha publicado: 1 ejemplo
3
Evaluación
Proyectos
200
48%
Arbitraje
3
33%
/
33%
Caducado
2
1%
Libre
4
Evaluación
Proyectos
6
0%
Arbitraje
5
0%
/
80%
Caducado
2
33%
Libre
5
Evaluación
Proyectos
475
40%
Arbitraje
105
40%
/
24%
Caducado
80
17%
Ocupado
Ha publicado: 2 ejemplos
6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Looking for a Proven Non-Repainting Gold Indicator (XAUUSD) – High Accuracy & Ready-Made Solutions Only 📌 Project Description: I am looking for a high-quality, non-repainting indicator specifically for XAUUSD (Gold) that is already developed and tested. ⚠️ Important: I am NOT looking for a new indicator to be built from scratch. I want an existing, proven system that you have already created and are confident in. 🎯
The Advisor should stop trading if the spread exceeds a selected value. Source code is unavailable. Decompilation may be necessary or any other suggested working solution may be acceptable. Testing should be thorough with proven demonstrable results
Convert Time Range Breakout Indicator to Strategy (Pine Script) I have an existing Time Range Breakout indicator on TradingView. I need a developer to convert it into a fully functional strategy with proper trade execution logic. Strategy Logic: Time Range: Define a specific time range (e.g., 03:00 – 04:30) During this time, the indicator marks the High and Low range Entry Conditions Buy when price touches the range
Hello, I’m looking for an experienced MQL4 developer to build a custom MT4 Expert Advisor based on a Koncorde-style indicator strategy. Here are the main requirements: 🔹 General Overview The EA must be a master EA , running on a single chart and managing multiple currency pairs simultaneously No need to attach EA to each chart Must support a configurable list of symbols 🔹 Indicator Requirement Develop a custom
Looking for special EMA cross EA
30+ USD
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party
Hi guys I’m looking for a coder who’s experienced in one script. The candidate must be familiar with fractals and self similarity. If you can’t code self similarity, please don’t bother contacting me ( respectfully). I just don’t want us to waste each others time. My budget is 100$. If that’s too low for you please, don’t contact me. Only contact me if you can code self similarity and can accept 100$. I will provide
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage
Core Requirements: Platform: MetaTrader 5 (MT5). Symbol: XAUUSD (Gold). Timeframes: M1 and M5 (user selectable). Trading Style: Scalping with controlled risk (not aggressive or high-risk strategies) -> adjustable, even better. Execution: Fast execution, optimized for gold market conditions. Frequence = adjustable, but there should be 10-20 trades per day. Strategy Logic: Use a reliable and conservative strategy
MT4 TMA Reference
30+ USD
Eu preciso disso. A linha central do TMA (17,5,1.5) será a principal referência. Outra linha de média móvel (AVG) de 3 períodos decrescentes 2. As ordens serão as seguintes: abaixo, somente compra de TMA; acima, somente venda de TMA. O sinal de entrada será o seguinte: se o preço estiver acima da Média Móvel Tarifária (TMA), será apenas para venda; quando o preço se mantiver abaixo da Média Móvel Tarifária (AVG)
Non-repainting Indicator for scalping Gold / Xauusd
30 - 200 USD
I am looking for non-repainting indicator to run in all sessions for scalping gold , happy to discuss if you have developed such indicators which can show profit and stop loss levels
Información sobre el proyecto
Presupuesto
40+ USD
Plazo límite de ejecución
a 10 día(s)