Find Optimal Money Management % for each strategy in protfolio Forex, Kelly criterion

Specifiche

1. Find optimal %MM for a trade in each strategy, but with one common account and common single balance
2. Find optimal extern int mmStopLossPips = 150;
3. Do it in excel or similar for future use

There are 4 MQL strategies, 4 currency pairs
they are sharing 1 Metatrader4 account with one balance of 5 000 USD

each strategy has money management like this


//+------------------------------------------------------------------+
// Money Management variables
//+------------------------------------------------------------------+
extern string smm = "----------- Money Management - Risk Fixed % Of Account -----------";
extern double mmRiskPercent = 2.0;
extern int mmDecimals = 2;
extern int mmStopLossPips = 150;
extern double mmLotsIfNoMM = 1.0;
extern double mmMaxLots = 100.0;



each strategy has complete statistics and full report on performance

STRATEGIES IN PORTFOLIO
# Name Symbol Timeframe Net Profit ($) Net Profit (pips) # of Trades Sharpe Ratio Profit Factor
S2 Strategy 10.91.526 Strategy 10.91.526 unknown $ 14583 1458.3 pips 171 0.08 1.55
S3 Strategy 26.91.538 Strategy 26.91.538 unknown $ 24366.9 24366.9 pips 168 0.08 1.72
S4 Strategy 5.44.150 Strategy 5.44.150 unknown $ 1641.6 1641.6 pips 98 0.27 2.11
S5 Strategy 7.72.203 Strategy 7.72.203 unknown $ 9136.91 913.7 pips 120 0.18 1.37a


and reports


Strategy Tester Report
Strategy 26.91.538 fixed gbpusd h1 ic
ICMarketsSC-Demo01 (Build 1280)

Symbol GBPUSD (Great Britain Pound vs US Dollar)
Period 1 Hour (H1) 2018.01.02 00:00 - 2020.08.14 23:00 (2018.01.01 - 2020.08.17)
Model Every tick (the most precise method based on all available least timeframes)
Parameters CustomComment="Strategy 26.91.538"; MagicNumber=11111; KCBarCloseserPeriod=20; LinRegBarClosesPrd=40; BBBarClosesPeriod=10; PriceEntryMult=0.3; BarsValid=31; MoveSL2BECoef=4.7; ProfitTarget=150; StopLoss=40; TrailingStop=70; SMAPeriod=30; ATRPeriod=20; smm="----------- Money Management - Fixed size -----------"; mmLots=0.1; seod="----------- Exit At End Of Day -----------"; ExitAtEndOfDay=false; EODExitTime="23:04"; seof="----------- Exit On Friday -----------"; ExitOnFriday=true; FridayExitTime="20:00"; sltr="----------- Limit Time Range -----------"; LimitTimeRange=false; SignalTimeRangeFrom="08:00"; SignalTimeRangeTo="16:00"; ExitAtEndOfRange=false; smtpd="----------- Max Trades Per Day -----------"; MaxTradesPerDay=0; smmslpt="----------- Min/Max SL/PT -----------"; MinimumSL=0; MinimumPT=0; MaximumSL=0; MaximumPT=0; slts="----------- Use Tick size from SQ (for CFDs) -----------"; UseSQTickSize=false; MainChartTickSizeSQ=-1; sqDisplayInfoPanel=true; ModifyInsteadOfReplacing=true; OpenBarDelay=0;
Bars in test 17282 Ticks modelled 49950399 Modelling quality 90.00%
Mismatched charts errors 0
Initial deposit 10000.00 Spread Current (2)
Total net profit 2642.14 Gross profit 5819.22 Gross loss -3177.08
Profit factor 1.83 Expected payoff 16.11
Absolute drawdown 130.72 Maximal drawdown 420.55 (3.64%) Relative drawdown 3.64% (420.55)
Total trades 164 Short positions (won %) 81 (38.27%) Long positions (won %) 83 (51.81%)
Profit trades (% of total) 74 (45.12%) Loss trades (% of total) 90 (54.88%)
Largest profit trade 149.30 loss trade -42.04
Average profit trade 78.64 loss trade -35.30
Maximum consecutive wins (profit in money) 6 (472.08) consecutive losses (loss in money) 7 (-284.90)
Maximal consecutive profit (count of wins) 472.08 (6) consecutive loss (count of losses) -284.90 (7)
Average consecutive wins 2 consecutive losses 2
Graph
# Time Type Order Size Price S / L T / P Profit Balance
1 2018.01.02 11:00 sell stop 1 0.10 1.34991 0.00000 0.00000
2 2018.01.02 11:00 modify 1 0.10 1.34991 1.35391 1.33491
3 2018.01.02 18:00 modify 1 0.10 1.35195 0.00000 0.00000
4 2018.01.02 18:00 modify 1 0.10 1.35195 1.35595 1.33695
5 2018.01.02 19:00 modify 1 0.10 1.35212 0.00000 0.00000
6 2018.01.02 19:00 modify 1 0.10 1.35212 1.35612 1.33712
7 2018.01.03 14:00 buy stop 2 0.10 1.35802 0.00000 0.00000
8 2018.01.03 14:00 modify 2 0.10 1.35802 1.35402 1.37302
9 2018.01.03 17:00 modify 2 0.10 1.35843 0.00000 0.00000
10 2018.01.03 17:00 modify 2 0.10 1.35843 1.35443 1.37343
11 2018.01.03 17:01 sell 1 0.10 1.35212 1.35612 1.33712
12 2018.01.05 00:00 delete 2 0.10 1.35843 1.35443 1.37343

.....etc

Con risposta

1
Sviluppatore 1
Valutazioni
(58)
Progetti
76
33%
Arbitraggio
9
78% / 11%
In ritardo
7
9%
Gratuito
Pubblicati: 2 codici
Ordini simili
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
Dear Developer, I am looking to develop both a MetaTrader 5 Indicator and a MetaTrader 5 Expert Advisor (EA) based on the swing depth logic shown in the Pine Script code attached below. The indicator and EA must be built as separate files but must follow the exact same signal logic so both display and execute identically. Please carefully review the requirements below and confirm your understanding before starting
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
All other Necessary filters already coded , Mostly it is referring to another expert copy pasting . Live Chart Optimization . Optimization from Signal Trigger Point . Apply to stay ahead . While applying please explain the correct trailing stop loss for value gap entries
I would like to create a robot with the smart money concepts, that integrates order block,FVG,supply & demand ,read the market structure,liquidity and also trade with the session and also after a liquidity sweep a market structure is needed to verify the reversal and a retracement to the order block and sometimes fair value Gap
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
I am looking for a professional MQL5 developer to build a structured MT5 Expert Advisor. This is NOT a martingale or high-risk grid bot. Platform: • MT5 only (MQL5 source code required) Symbols: • XAUUSD • GBPUSD • GBPJPY Timeframe: • M5 Risk Management: • Adjustable risk per trade (default 0.5% equity) • Daily drawdown protection (max 3%, auto-lock trading for the day) • Maximum 2 open trades • Minimum 120 seconds
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks
Requirements: - Convert my written trading rules into TradingView Pine strategy - Then convert into MT5 EA - Entry must be next candle open after signal candle close - Stop loss on signal candle high/low - Position sizing: fixed % risk per trade - Portfolio risk cap across symbols - One trade per symbol at a time - Must understand backtesting differences (spread, slippage, fill logic) Important: I want to be able to

Informazioni sul progetto

Budget
30 - 50 USD
Scadenze
da 1 a 5 giorno(i)