仕事が完了した
実行時間5 日
![](https://c.mql5.com/i/avatar/avatar_na2.png)
依頼者からのフィードバック
Impossible project, my mistake due to limitations of mql5 ontester function. Despite this Saad put many hours into this project. A* would always recommend.
![](https://c.mql5.com/i/avatar/avatar_na2.png)
開発者からのフィードバック
Great collaborating with you once more!
指定
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; }
応答済み
1
評価
プロジェクト
176
24%
仲裁
7
29%
/
43%
期限切れ
4
2%
多忙
2
評価
プロジェクト
117
38%
仲裁
9
89%
/
0%
期限切れ
0
仕事中
3
評価
プロジェクト
193
48%
仲裁
2
50%
/
50%
期限切れ
1
1%
暇
4
評価
プロジェクト
6
0%
仲裁
5
0%
/
80%
期限切れ
2
33%
暇
5
評価
プロジェクト
420
38%
仲裁
86
44%
/
19%
期限切れ
70
17%
多忙
6
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
類似した注文
Parabolic sar multy reverse grid
30 - 31 USD
i need an ea triggered as soon as parabolic sar indicator changes its signal to buy or sell and open same size orders with an option to add additional 0.01 or a diferent value to the initial lot on every next order no matter if it is buy or sell i need it to open orders in a (value) pips or price distance. using only a tp no stop loss. and close all orders on tp in money also i need a trailing stop in case price
Related to trade manager
30 - 100 USD
The goal is that if SL changes, TP1 and only TP1 changes by the same distance as SL. If there's also TP2, TP3 or TP4, then those levels aren't modified
I am looking for MQL5 coding expert to create a trading bot of my strategy. I am an HFT and looking to automate my gold trading strategy. The strategy is very simple and uses only one indicator that is RSI and also look for chart patterns. I want to keep it generic by not doing any hardcoding of position size, lot size, etc. and code should be easy to understand and manipulate in future
Good programme Skill needed, ability to built high frequency trading (hft) expert advisor that works on MT4 and MT5 no Grid, no Matin. just Short term trade that last 1sec - 5mins for profit take, that can be used to trade on demo and live accounts RAW ECN icmarket, Blackbullmarket, Fusion market, FPMarkets and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send
EA's logic and trade
100 - 1200 USD
Good day, I hope this message finds you well. I would like to request the development of an Expert Advisor (EA) for MetaTrader, based on two specific indicators: the Trend Path indicator and the Diamond Reversal indicator. Below are the details for the EA's logic and trade execution criteria: Sell Trade Criteria: Indicators and Signals: Trend Path Indicator : Shows a red trend. Diamond Reversal Indicator : Provides a
I WANT TO CREATE A BOT THAT TAKE TRADE FROM ARROW INDICATOR ON THE CHART TO PLACE TRADE LIKE ICUSTOM BOT
300 - 500 USD
Pls the bot take trade from any arrow indicator on the chart with buffer value buy or sell to place trade . The bot have 5 indicator filter to filter trade like rsi , sma , awesome oscillator, parabolic sar and ichimoku before the bot place trade. pls for detail about the bot and filter pls check the screenshot file
Can anyone build a MT4 or MT5 EA based off an indicator from Trading View. If so, please check Simple EMA Trend Filter (GTA Trend Filter EMA) Alternatively, if you can Automate this indicator via any connector like Pine Connector, that will work too. Please let me know. Thank you Sam
Good day I would like a new EA that removes other EA's when a certain drawdown is reached (e.g., 20%) The new EA must also create a perfect hedge after removing the other EA's. E.g., If there are xauusd sell trades with lot sum 10 and a drawdown of 20%, the new EA must stop and remove the other EA's then open lot sum 10 buy trades of the same pair. Or if lot sum 0.12 sell trades and lot sum 0.02 buy trades are open
our exciting software developer isnt responding to the bugs he made in the mt5 ea now we need somebody for the long run that can fix the bugs and also add additional fuction in the future feel free to contact me
I want a simple EA that is based on 2 envelopes(indicator). * The EA should open trades only when price is at the envelopes. * The EA should allow me to select my sl and my tp in points. * The EA should allow me to choose between buying and selling only(For each chart it's on) * The EA should also allow me to choose a manual lot size. Source code is required for further optimazition
プロジェクト情報
予算
40+ USD
開発者用
36
USD
締め切り
最高 10 日