Library/class for calculating Required Margin.

Trabajo finalizado

Plazo de ejecución 29 días
Comentario del Cliente
great developer, has extensive programming knowledge, strongly committed, effective in solving encountered problems in the project.
Comentario del Ejecutor
Positive experience with a great client, developer himself. Calm and attentive to details, appreciative of and willing to accommodate unexpected job complexity.

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(164)
Proyectos
195
27%
Arbitraje
9
22% / 33%
Caducado
5
3%
Ocupado
2
Desarrollador 2
Evaluación
(171)
Proyectos
196
32%
Arbitraje
6
50% / 50%
Caducado
3
2%
Trabajando
3
Desarrollador 3
Evaluación
(18)
Proyectos
26
27%
Arbitraje
0
Caducado
2
8%
Libre
4
Desarrollador 4
Evaluación
(13)
Proyectos
29
28%
Arbitraje
3
0% / 0%
Caducado
1
3%
Trabajando
5
Desarrollador 5
Evaluación
(38)
Proyectos
40
25%
Arbitraje
23
13% / 74%
Caducado
8
20%
Trabaja
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
7
Desarrollador 7
Evaluación
(22)
Proyectos
29
41%
Arbitraje
0
Caducado
3
10%
Trabajando
8
Desarrollador 8
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
100% / 0%
Caducado
0
Trabaja
Solicitudes similares
I am looking to create program that can give me the list of stocks filtered matching below criteria and buy/sell advice reports 4 indicator based triggers MFI 20/80 buy sell sign MACD x4 (signal/MACD crossing instances )Buy/Sell Volume check above/below prev week avg 3/6/12 months Secondary indicator/warning only along with buy or sell sign - Not decider for buy/sell Volume adjusted exponential moving average
Hello Great Developer , I need a expert developer to automate my trading strategy on ninjatrader It’s hard to explain. I once bought an indicator and the company was supposed shut it off but never did. So I’ve discovered strategy using That. I guess I use stochastic and alligator lines too. Can you help? just let me know what you need Thanks
Scope of work : - Choose a specific period for strategy application. - Determine the highest and the lowest price levels (breakout levels) within the chosen period. - At a specific inside level within these two levels, create one buy stop and one sell stop - Implement buy and sell triggers based on price breaking through these levels with defined pips. - Option to use moving average as a filtering condition. - Option
The Moving Average Cross needs debugging for live chart . [Condition 1] Personalized Omega Trailing Stop Loss ( Details of how it works will be provided , If still necessary the expert where it works just fine will be provided . ) Couple of Input parameters that needs to be removed (previous dev just added ) [ He can be contacted if necessary ]. Following are the implementations required by my expert : 1. Auto Lot
Hello Here Everyone, I need an expert to help me create a tradingview indicator that works exactly according to my requirements, Even though i will attach a file there review it and let me know if you could do it and we can talk about the price as well
My trading over the years has become more and more mechanical. I would like to create some type of buy sell indicator based on time factors and reversal bars on 3 min and 6 min charts. I trade off 8 hour opens and fixed 15-45 min signal windows where the market typically shows a trigger. I will give you more details as needed please let me know if this make sense or sound feasible. Project: Time Based Reversals 1)
Hello Great developer i need a Interactive Trading Bot Developer Custom Python Trading Bot Development: Tailored solutions built from the ground up. Complex Strategy Implementation: Bringing sophisticated strategies to life. Accurate and Fast Execution: Ensuring timely trade execution. Risk Management Features: Includes stop-loss, take-profit, trailing stop-loss, and custom rules. Cloud Deployment: Fully automated
Hello Great Developer I have a free indicator from ninzaco that I want duplicated. I have attached a pic of it from ninzaco. I also attached some open source code. Part of it draws a line on the chart. I want to know what conditions/indicators are creating that line. IF you can tell me, then I want that indicator made to my specs with that line in it. can you duplicate the ninzaco BB% indicator? The source code
Olá boa tarde, Gostaria de uma cotação para um EA, que copie ordens de um número mágico e replique essas operações na conta, gerenciando o masaniello, onde precisa ter o parâmetro de porcentagem a ser arriscada em cada ciclo, para que possa gerenciar lotes e também pausar períodos após X perdas consecutivas
The Moving Average Cross needs debugging for live chart . [Condition 1] Personalized Omega Trailing Stop Loss ( Details of how it works will be provided , If still necessary the expert where it works just fine will be provided . ) Couple of Input parameters that needs to be removed (previous dev just added ) [ He can be contacted if necessary ]. Following are the implementations required by my expert : 1. Auto Lot

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
a 3 día(s)