Finish up the class file to store the indicator values

MQL5 Experts Intégration

Tâche terminée

Temps d'exécution 8 jours
Commentaires du client
Great work!
Commentaires de l'employé
5 star!

Spécifications

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).

Répondu

1
Développeur 1
Évaluation
(28)
Projets
36
17%
Arbitrage
5
20% / 40%
En retard
17
47%
Gratuit
Publié : 5 codes
Commandes similaires
Trade copier 100+ USD
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
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
Hello I'm looking for professional to create a robot to me that will enter us30 or nasdaq around 16H29-minute55-Second New York session opening Monday to Friday and put stop loss 3800 points away from entry hedging strategy
hello every one i have a sample strategy i need a expert for automatical trade on vps pls let me know if every one can summer of expert : mixed 2 EMA and hicenashi + money managment i will need test befor pay
Looking for an experienced developer to build an AI-driven trading system for MetaTrader 5. The bot should be able to: Analyze market structure (accumulation, manipulation, distribution) and 45-min pullback zones (25%, 50%, 70%) for trade decisions Integrate with Bookmap via API for real-time order flow, liquidity, and footprint data
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
Hello, I am seeking assistance in setting up a trade copier or bridge to facilitate the copying of trades from MetaTrader 5 to the Tradovate platform. I am looking for someone who can help automate my trading process, allowing trades generated by my Expert Advisor in MT5 to be copied to different accounts on Tradovate using their API.Something like in the attached image
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert

Informations sur le projet

Budget
33 - 66 USD
Délais
de 2 à 5 jour(s)