Library/class for calculating Required Margin.

Tâche terminée

Temps d'exécution 29 jours
Commentaires du client
great developer, has extensive programming knowledge, strongly committed, effective in solving encountered problems in the project.
Commentaires de l'employé
Positive experience with a great client, developer himself. Calm and attentive to details, appreciative of and willing to accommodate unexpected job complexity.

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(159)
Projets
189
26%
Arbitrage
8
25% / 38%
En retard
5
3%
Chargé
2
Développeur 2
Évaluation
(167)
Projets
188
32%
Arbitrage
6
50% / 50%
En retard
2
1%
Travail
3
Développeur 3
Évaluation
(18)
Projets
26
27%
Arbitrage
0
En retard
2
8%
Gratuit
4
Développeur 4
Évaluation
(11)
Projets
26
27%
Arbitrage
3
0% / 0%
En retard
1
4%
Chargé
5
Développeur 5
Évaluation
(38)
Projets
40
25%
Arbitrage
23
13% / 74%
En retard
8
20%
Travail
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(20)
Projets
26
38%
Arbitrage
0
En retard
2
8%
Travail
8
Développeur 8
Évaluation
(1)
Projets
2
0%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
Commandes similaires
hello there I need a copy trade for mt4 can ANYONE help me with and let discuss on how to go about it kindly send me message to signify and let discuss mind you i need this urgently let connect to discuss and conclude
I would like the better volume indicator 1.6 in a scanner format. Scanning multiple timeframe and pairs of which can be picked. Would like it to provide all standard notifications and also if pressed to go to the a template timeframe and pair. *To be placed in a table format as the one added. To be able to add which time frame you want to see. *To advise me of the following Climax High - turn the text green High
i have a JavaScript of a code which is a indicator of trading view, i want to convert into python script and make a mql5 automated trading bot which can take automatic trade and also exit when the signals come by the indicator
I need to build EA MT4 that able to connect as copy trading between demo account to real account with partial of positions not all Example: If the demo account open position so the real account will be opened same position with ability to place different volume size based on real account equity and demo equity, and ability to choose which position should be copied, position one, two, three, four, five, six, seven
Need a Range Breakout a by Cross no pending orders. Breakout should plotted on the chart as box or lines If any coders interested, I can provide further details as PDF
I would like an existing, older MT4 EA I had developed converted into an MT5 EA and debugged where necessary. The EA is attached and should be fairly self-explanatory. It is a breakout order entry EA with customisable parameters
I require an MT4 Expert Advisor (EA) that automatically places hedge orders when a buy or sell order is placed by me or another EA. The hedge orders will consist of a stop order (either Buy Stop or Sell Stop), with the same lot size as the original order, deployed at a predefined price distance. The EA must ensure that only one hedge order is placed for each trade. The system should monitor trades based on specific
For Chart Panel : Needs a Black Back ground at present its transparent . ✔️ Trading Panel (To be reset weekly = 1-6) 1. EA Status : (on/off) 2. Total Trades Taken : 3. Number of Profitable Trades Today : 4. Number of Loosing Trades Today : 5. Number of Profitable Trades This Week : 6. Number of Loosing Trades This Week : (To be Reset every Month = 7-9) 7. Number of Profitable Trades This Month : 8. Number of Loosing
my request is to convert a trading view indicator to mt4. I have a supertrend indicator for trading view or pine script. and all I want is to convert it for to mt4 or mql4
I have more detailed audio/ video attached Close All and restart = tru ___________________________________________ RULES EA MQL5 EA requirements below. MQ5 source code The EA must work in strategy tester with out any errors. The EA must be efficient, must execute trades quickly and not slow down if placed on many charts. require MQ5 source code when code is completed

Informations sur le projet

Budget
30+ USD
Pour le développeur
27 USD
Délais
à 3 jour(s)