Library/class for calculating Required Margin.

仕事が完了した

実行時間29 日
依頼者からのフィードバック
great developer, has extensive programming knowledge, strongly committed, effective in solving encountered problems in the project.
開発者からのフィードバック
Positive experience with a great client, developer himself. Calm and attentive to details, appreciative of and willing to accommodate unexpected job complexity.

指定

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.

応答済み

1
開発者 1
評価
(291)
プロジェクト
363
30%
仲裁
37
27% / 65%
期限切れ
10
3%
多忙
パブリッシュした人: 10 codes
2
開発者 2
評価
(195)
プロジェクト
242
34%
仲裁
11
45% / 45%
期限切れ
8
3%
暇
パブリッシュした人: 1 article, 8 codes
3
開発者 3
評価
(19)
プロジェクト
27
26%
仲裁
2
0% / 100%
期限切れ
2
7%
暇
4
開発者 4
評価
(16)
プロジェクト
35
23%
仲裁
4
0% / 50%
期限切れ
2
6%
仕事中
5
開発者 5
評価
(45)
プロジェクト
46
24%
仲裁
34
9% / 85%
期限切れ
10
22%
暇
6
開発者 6
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
パブリッシュした人: 9 codes
7
開発者 7
評価
(32)
プロジェクト
42
43%
仲裁
2
100% / 0%
期限切れ
4
10%
暇
8
開発者 8
評価
(1)
プロジェクト
2
0%
仲裁
2
50% / 50%
期限切れ
0
暇
類似した注文
I am looking for an experienced MQL5 developer to perform a comprehensive technical audit, debugging, repair, and testing of my existing MT5 Expert Advisor. Project: EA_Trend_Advanced V296 RC25 Fix14 Market: XAUUSD (Gold), M5 Budget: $300 USD This is an existing complex EA with multiple MQ5/MQH modules. I do NOT want a new trading robot or a completely redesigned strategy. 1. Main Problems Investigate why the EA
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth
Hello MQL5 Developers, I am looking for a professional, ready-made indicator for MetaTrader 5 (MT5), specifically designed or optimized for Gold (XAUUSD). Required Features: Clear BUY/SELL signals with entry prices, Stop Loss (SL), and multiple Take Profit (TP) targets drawn directly on the chart. Strong areas of interest, including support and resistance, liquidity zones, supply and demand zones, and potential
Expert advisor 150+ USD
Hiring: Forex Strategist & MQL5 Developer for Long-Term EA Development I am looking for an experienced Forex Strategist and MT5 (MQL5) Developer to work with me on an ongoing project to develop, test, improve, and optimize a profitable Forex Expert Advisor (EA). My Message to the Developer My budget is $150 . However, this is not intended to be a one-time payment for a finished product. I want an ongoing working
فيما يخص المتداولين من سلطان التداول وحتى المبتدى والضائع في أكبر سوق عالمي في التداول ااوكد لكم ان الاستشاره البسيطه من من يملك الاستراتيجيه المثلى في التداول والخبره الطويله في مجال التداول قد تغير مستقبلك
Hello developers,I am looking for an experienced MQL5 developer to create an EA based on Moving Average retest strategy with advanced recovery system.The concept is simple: Entry is based on MA close and retest. Initial trade has small TP and no SL.If price goes against the initial position, the EA should manage it using:Opposite hedge tradePending limit grid systemBasket take profitMartingale lot multiplier after
Hi Traders, I am an MQL5 Developer with a strong background in building custom MetaTrader 5 Expert Advisors (EAs). I have developed an efficient, high-precision entry & exit logic that focuses on clean execution and smart risk management. Whether you want to consult on strategy design, integrate this logic into your trading setup, or turn your own system into a fully automated EA, I am here to help! I am currently
Professional MQL5 developer available for custom Expert Advisor (EA) and Indicator development on MetaTrader 5. What I can build: Custom EA based on your strategy rules (SMC, FVG, Price Action, Indicators) Risk & Money Management modules (Auto Lot, Daily Loss Limit, Trailing Stop) Real-time Alerts (Telegram, Email, Mobile Push Notification) Code Optimization & Bug Fixing for existing MQL5 programs Workflow: Please
Thujkkds 30 - 200 USD
Me and I will be there thank you for your help and sub and sub and sub in the morning to get the season and the screen is on the way home now and I will motho
I’m looking for an experienced MQL5 developer to create a high-frequency trading bot similar to those used for passing prop firm challenges , customised to my requirements. The EA should support ultra-fast entries and exits, hundreds of trades within short sessions, and advanced pending-order strategies. I have reference videos showing the exact trading style I want. Budget: $100–$200 (negotiable). Only experienced

プロジェクト情報

予算
30+ USD
締め切り
最高 3 日