Library/class for calculating Required Margin.

Lavoro terminato

Tempo di esecuzione 29 giorni
Feedback del dipendente
Positive experience with a great client, developer himself. Calm and attentive to details, appreciative of and willing to accommodate unexpected job complexity.
Feedback del cliente
great developer, has extensive programming knowledge, strongly committed, effective in solving encountered problems in the project.

Specifiche

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.

Con risposta

1
Sviluppatore 1
Valutazioni
(296)
Progetti
368
30%
Arbitraggio
37
27% / 65%
In ritardo
10
3%
In elaborazione
Pubblicati: 10 codici
2
Sviluppatore 2
Valutazioni
(195)
Progetti
242
34%
Arbitraggio
11
45% / 45%
In ritardo
8
3%
Gratuito
Pubblicati: 1 articolo, 8 codici
3
Sviluppatore 3
Valutazioni
(19)
Progetti
27
26%
Arbitraggio
2
0% / 100%
In ritardo
2
7%
Gratuito
4
Sviluppatore 4
Valutazioni
(16)
Progetti
35
23%
Arbitraggio
4
0% / 50%
In ritardo
2
6%
In elaborazione
5
Sviluppatore 5
Valutazioni
(45)
Progetti
46
24%
Arbitraggio
34
9% / 85%
In ritardo
10
22%
Gratuito
6
Sviluppatore 6
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 9 codici
7
Sviluppatore 7
Valutazioni
(32)
Progetti
42
43%
Arbitraggio
2
100% / 0%
In ritardo
4
10%
Gratuito
8
Sviluppatore 8
Valutazioni
(1)
Progetti
2
0%
Arbitraggio
2
50% / 50%
In ritardo
0
Gratuito
Ordini simili
I am looking for the original developer from Egypt who sent me the MJ v3.01 Gold EA (mj.ex5) on December 2, 2026, with a 10-day demo trial. You were Developer #28 in my previous Freelance job and offered the EA for $200. Unfortunately, I lost access to our previous conversation and would like to reconnect with you. I am still interested in your EA and would like to complete the testing, discuss the settings, and
EA 30+ USD
Build an MT5 Expert Advisor using MQL5. I want an automated trading bot for Exness MT5. Markets: XAUUSD (Gold) BTCUSD (Bitcoin), subject to the broker's actual symbol name. Trading strategy: H1 timeframe for trend direction. M15 timeframe for trade entries. EMA 20 and EMA 50 for trend identification. Only buy when the confirmed trend is bullish. Only sell when the confirmed trend is bearish. Use candle-close
Gulu 30+ USD
create money on forex ensuring nothing but profit basically also crypto an d ensure you use every means possible to ensure in turn a profit is made that what i want i want perfection
If you already have a working gold order-flow EA that matches the logic described here, I'm open to buying or licensing it instead of a custom build. Please provide: A demo version that I can run in the MT5 Strategy Tester (for example, a time-limited or demo-account-only build) A clear explanation of the trading logic: what triggers an entry, how the stop loss and take profit are set, and which order-flow or
1. Overview: Build a lightweight MT5 alert utility (no trade execution, no heavy UI needed) designed to run 24/5 on a VPS. It monitors a customizable list of broker symbols on M1 and M5 and sends an MT5 Mobile Push Notification ( SendNotification ) telling me which pair to check when a strong Bollinger Band flare occurs. Symbol Input: Comma-separated list of exact broker symbols including # suffixes (e.g
I'm looking to purchase an already-developed, profitable trading bot specifically for Deriv. I'm not interested in building a new one from scratch. The bot must have a test version that I can try out, as well as verifiable historical live trading results demonstrating its profitability. I'm only interested in proven bots with a track record of real-market performance
I am looking to purchase an existing, fully developed and operational XAUUSD scalping Expert Advisor (EA) for MetaTrader 5. IMPORTANT: I am NOT looking for new development, custom programming, or an experimental strategy. I am only interested in an existing, ready-made and proven trading system. Requirements: Fully automated XAUUSD scalping EA for MT5. Short-duration trades with an active trading frequency. Hard Stop
The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
I want experience developer , developing on new ea , but my hand in ex5 file only .I need modify my ea file iwant to fixing on daily profit maximum percentage and maximum loss production
Looking to Purchase a Proven and Profitable XAUUSD Scalping EA for MT4 I am looking to purchase an existing, fully automated Gold (XAUUSD) scalping EA specifically designed for MetaTrader 4 (MT4) , with proven and verifiable real-money trading performance. Mandatory Requirements: Exclusively designed for XAUUSD (Gold). Fully automated trading on MetaTrader 4. Genuine scalping strategy with relatively short trade

Informazioni sul progetto

Budget
30+ USD
Scadenze
a 3 giorno(i)