Trabajo finalizado
Plazo de ejecución 1 hora
Comentario del Ejecutor
Awesome Client (a coder who needed some guidance).
Comentario del Cliente
Extremly informative and easy to work with.
Tarea técnica
The developer will create a usable function that uses the attached MUTEX code to stop an EA from opening orders on multiple charts at the same time.
I will then add the developers created function into my EA's code.
//+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ class Mutex { #ifndef MUTEX_TIMEOUT_MSEC #define MUTEX_TIMEOUT_MSEC 60000 // Trade context busy maximum delay #endif public: void Mutex() : mName("GV_Mutex"), mLocked(false) {Lock();} void Mutex(const string& aName) : mName(aName), mLocked(false) {Lock();} void ~Mutex() {Release();} void Lock(void) { if(mLocked) return; uint startWaitingTime = 0; if(!GlobalVariableTemp(mName)) { int err = GetLastError(); if(err != ERR_GLOBAL_VARIABLES_PROCESSING) { PrintFormat("Mutex: GVSet Failed: %i", err); } return; } while(true) { if(!IsTradeContextBusy()&& GlobalVariableSetOnCondition(mName, 1, 0)) { if(startWaitingTime != 0) { RefreshRates(); } mLocked = true; return; } if(IsStopped()) { Print("Mutex: The expert was terminated by the user!"); return; } if(startWaitingTime == 0) { startWaitingTime = GetTickCount(); // Remember start time. } else { uint delay = GetTickCount() - startWaitingTime; if(delay > MUTEX_TIMEOUT_MSEC) // Abort. { PrintFormat("Wait time (%i sec) exceeded!", MUTEX_TIMEOUT_MSEC / 1000); return; } Sleep(1000); } }// while } // Lock void Release(void) { if(mLocked) { if(!GlobalVariableSet(mName, 0)) { PrintFormat("Mutex: GlobalVariableSet(UNLOCK): Error #", _LastError); } mLocked=false; } } bool IsLocked(void) const {return mLocked;} private: string mName; bool mLocked; }; // Mutex
Han respondido
1
Evaluación
Proyectos
17
29%
Arbitraje
6
17%
/
67%
Caducado
4
24%
Libre
Solicitudes similares
Apexstrategytrading bot
30+ USD
the final ea must faithfully implement the logic from the provided phython file run cleanly on mt5 and deliver solid backtest result.its shoild be very easy to set up use with clear input parameter proper risk management and no complicated installation steps
Forex Hunter MT5
30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
MT5 Opening Range Breakout EA Development
30 - 50 USD
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx
30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Aziz Toure
50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation
350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
اريد ربوتات يستخدم Mgl5
30+ USD
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
Phixfx
30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement 1. Project Overview & Objective I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. The primary goals of this project are: Debug existing logic
I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. 1. Core Strategy Rules (Full-Body Engulfing) Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
Información sobre el proyecto
Presupuesto
30+ USD
Plazo límite de ejecución
de 1 a 10 día(s)