I've a prototype of class which aims to store the values of the indicators. I believe it's nearly finished, but it needs some expert eye to finish it up, improve and test it.
Here are the job goals:
- store the values depending on the type (doubles, integers or bools, you can use MqlParam struct, overloaded methods or function templates),
- for each value, store the bar datetime and key of the value (e.g. MODE_MAIN, MODE_SIGNAL),
- when new key is specified along with the value, add this key as new automatically,
- each value is added on the top of the array (Array as Series), so accessing 0th element should always return the latest,
- when value has been added for the same bar time again for given timeframe, ignore it (unless force option is specified, so it'll update the existing one),
- here is the proposed sample usage of that class given dummy values of MA and MACD indicators, so after finish demonstrate that the class is working on the existing simple code,
- print the values when calling ToString(),
- adjust and provide code demonstrating sample usage of that class for the testing purposes (as per link above, you can use the existing one).
Coding rules:
- provide warning/error free code,
- use the existing class, don't create a new one,
- don't use external libraries or classes other than existing,
- avoid adding not related things,
- use indentation of 2 spaces, no trailing spaces,
- clean up any unused objects to avoid any memory leak reports,
- existing code is compatible with MQL5 and MQL4, so it should stay this way.
Please don't apply if you don't have time this week, or if you're not familiar with MQL5 class coding.
Class file: Indicator.mqh (however you need to download the whole zip file to include the other classes).
Commandes similaires
I am looking for an experienced MQL5 developer to build a very fast AI-assisted scalping Expert Advisor, with special focus on XAUUSD (Gold). Core Strategy Designed mainly for XAUUSD, but should also work on all forex pairs and metals Opens multiple trades in the same direction Closes trades immediately once they are in profit (very small, fast profits) Optimized for high-speed scalping No martingale and no risky
hello guys i have a job for you,which is a mt5 account trading history ,and some screen shot of the trading history i want to reverse this enginerring and make a robot like it,or may be u could find the exact robot and let me tell u how is the trading at early of new york time he open sell and buy at the same time,when price goes up may be 20 30 pips he look for some signal in an indicator or in an expert advisor to
hello great developer I’m hiring a developer to build a local-only trade copier that sends trades from MT4 and MT5 to NinjaTrader 8 (NT8) in real-time. This copier must be reliable, fast, and fully executable without cloud dependence. I require a short test/demo period before full delivery to ensure quality and performance. here is the full project specs in the file check it please
//+------------------------------------------------------------------+ //| Simple MA Crossover EA with Risk Management (MT5) | //+------------------------------------------------------------------+ #property strict // === INPUTS === input double RiskPercent = 1.0; // Risk per trade (%) input int FastMAPeriod = 20; input int SlowMAPeriod = 50; input int StopLossPips = 50; input int TakeProfitPips= 100;
i need trailing stop breake even and stop loss by two way profit or by time FIRST YOU CAN SEND DEMO VERSION TO CHECK IT AND AT THE END GET ME ORIGINAL FILE ........ SEE THE ATTACHEMENT
Name: One Shot Gold Platform: MetaTrader 5 (MQL5) Main Symbol: XAUUSD (Gold) – but adaptable to other pairs Strategy: Place Buy Stop / Sell Stop pending orders at or near the top/bottom detected within the last 50 candles (updated default), combined with smart news filter and virtual stops. 1. Detection & Pending Order Placement Logic Automatically detect Swing High (top) and Swing Low (bottom) within the last 50
I am Searching for a Profitable EA Trading Bot. Backtest before is required. We need EA as well as Source Code. Should work on Forex, Gold or BTC. We want to backtest the EA before. Happy for your offers
hello great developer This is what I need: I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size
Hello I want to copy the trades from a cTrader Strategy Provider (Copy Trading system) to a MT5 Account. At the moment cTrader allow me only the copy the trades from the strategy provider if i allocate funds to a subaccount which cTrader opens for me automatically without account number and without password if i follow the trades from strategy provider. It copies the trades from strategy provider account to my
I will send the source code privately Note that the tradingview indicator is profitable so should be the conversion to mql5 ea... ONE WORD EA SHOULD BE PROFITABLE when fully converted.. I created the source code of the indicator and fully analyzed the data.... I NEED A WELL COOKING CODER TO FULLY WORK WITH URGENT let's work towards the future