Library/class for calculating Required Margin.

Trabalho concluído

Tempo de execução 29 dias
Comentário do cliente
great developer, has extensive programming knowledge, strongly committed, effective in solving encountered problems in the project.
Comentário do desenvolvedor
Positive experience with a great client, developer himself. Calm and attentive to details, appreciative of and willing to accommodate unexpected job complexity.

Termos de Referência

I need to write a library to calculate Required Margin in MT4 and MT5 according to the following requirements:

Create a ReqMargin class and add a public function in it

double ReqMarginCalc(string symbol, double lot)

which calculates and returns the required margin for the given symbol and lot.
The function must work for both MT4 and MT5.
It is best to have one common mqh file with the class and divide the code inside with directives:

#ifdef __MQL5__
// MQL5 code
#else
// MQL4 code
#endif

The function must correctly calculate Required Margin for all types of instruments available in metatrader, not only currency pairs but indices, commodities, cryptos, etc.

All source code must be provided.

Respondido

1
Desenvolvedor 1
Classificação
(264)
Projetos
330
29%
Arbitragem
36
25% / 64%
Expirado
10
3%
Trabalhando
2
Desenvolvedor 2
Classificação
(195)
Projetos
242
34%
Arbitragem
11
45% / 45%
Expirado
8
3%
Livre
Publicou: 1 artigo, 8 códigos
3
Desenvolvedor 3
Classificação
(19)
Projetos
27
26%
Arbitragem
2
0% / 100%
Expirado
2
7%
Livre
4
Desenvolvedor 4
Classificação
(16)
Projetos
35
23%
Arbitragem
4
0% / 50%
Expirado
2
6%
Trabalhando
5
Desenvolvedor 5
Classificação
(45)
Projetos
46
24%
Arbitragem
34
9% / 85%
Expirado
10
22%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 9 códigos
7
Desenvolvedor 7
Classificação
(32)
Projetos
42
43%
Arbitragem
2
100% / 0%
Expirado
4
10%
Livre
8
Desenvolvedor 8
Classificação
(1)
Projetos
2
0%
Arbitragem
2
50% / 50%
Expirado
0
Livre
Pedidos semelhantes
TumiiFX 30 - 20000 USD
1. Use two EMAs: 20 and 50. If EMA 20 is above EMA 50 → uptrend (look for buys) If EMA 20 is below EMA 50 → downtrend (look for sells) 2. Wait for a pullback into the area between the two EMAs. - For buys: price must touch or move between EMA 20 and EMA 50 during the last few candles. - For stils: same idea, but in a downtrend. 3. Entry signal: Buy: a bullish engulfing candle in an uptrend after the pullback
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
Only Technical Issues . Familiarization to Different Symbols . [Again Technical Assistance Only] . Deleting extra lines of code , Not Required Folders (Clean Code) . No Need for Logic Alteration (Strictly)
MultiPair_PriceAction 30 - 200 USD
OANDA market watch clock and symbols (.sim) Multipair able so i can choose at least 6 of those more volatile forex pairs. Price Action setups instead of relay on lag indicators. But rsi for confirmation. Spread protection, position management, magic number editor, hours trading. Volatility protection Trailing Stop, Stop losses, take profit. Percentage and ATR scale instead of dollars or lot sizes. Funds management
Looking for an MT5 Expert Advisor developer with: Minimum 1 year of verified activity on the MetaTrader Market Positive, real user reviews Ability to build EAs without Bollinger Bands Fully configurable parameters (risk, filters, SL/TP, trading hours) Free test version available before any payment Clear communication and ongoing support If you meet these requirements, please send your MQL5 profile or portfolio
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
I have an existing MT5 Expert Advisor for XAUUSD M5. This is NOT a new robot from zero. I need modification and professional review of an existing MQL5 EA. Main goals: 1. Buy entries: Buy trades are currently too rare. The Buy ADX filter was very strict at 45. I am testing 40 now. I need you to review the Buy entry filters and improve Buy entry quality without making entries random or weak. 2. Sell entries: Sell
I am looking for an experienced MQL5 developer to build a professional MetaTrader 5 (MT5) Expert Advisor (EA) for swing trading. Trading Pairs EUR/USD USD/JPY Timeframes Daily (D1) for trend identification. H4 for trade entries. Strategy The EA should: Detect Daily market structure (HH, HL, LH, LL) using confirmed swing highs and lows (not relying solely on ZigZag). Use DMI/ADX for trend confirmation. Open trades

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 3 dias