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
MT5 Manager API 30+ USD
make an api for mt5 and a trade copier eith the api thst uses local computer no cloud trader api ea mt5 that saves all trade data nd logs time and entry and exit tp sl logs delted pending order api that uses market execution not pending orfer
Hello, we have an existing EA, and are building a new one. We want our EA to connect via API to an AI provider like Chat GPT, Claude, or perplexity. Can you connect a meta trader EA to an AI agent? if you can then i would like to speak. The system is quite simple, for example the EA would ask perplexity where the support is on EURUSD then place a trade, thank you, Rob
Hi, Im looking to purchase or build an EA that can open many trades or big lot size to churn out IB commission, it doesnt have to be super profitable but will need to have the number of trades on going in order to earn IB commission. Source code is required upon purchase. If you have any EA or strategy that are gearing towards this, let me know and i would be glad to purchase it. Please share the demo trial for me to
I currently have unfinished work. It’s a project to connect MetaTrader with the BingX platform. At the moment, I have implemented a service that retrieves a custom symbol in BingX, and it works well. However, some specifications still need to be adjusted regarding how the data is received. Otherwise, prices and other values are accurate. The only issue is that for the strategy tester, it is always necessary to
Modify an existing EA 30 - 50 USD
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
BTC 5 Minutes scalping 50 - 100 USD
import { useState, useEffect, useRef } from "react"; const INIT_LOT = 0.01; const TP_MOVE = 200; const SL_MOVE = 120; const START_BALANCE = 1000; const MAX_LOT = 5.12; const TICK_MS = 1200; function ema(arr, n) { if (arr.length < n) return null; const k = 2 / (n + 1); let e = arr.slice(0, n).reduce((s, v) => s + v, 0) / n; for (let i = n; i < arr.length; i++) e = arr[i] * k + e * (1 - k); return e; } function
🚀 ADAPTIVE GRID HEDGE EA (FULL VERSION) 🧠 📌 GENERAL CONCEPT This Expert Advisor (EA) uses a strategy combining: Grid trading (order grid) Hedge (protection with opposite positions) Lot scaling (progressive) Loss compensation with profits Continuous operation (non-stop) Focus on: Small recurring profits High trade volume (rebate/IB) The system does not depend on direction, but rather on market oscillation . Main
I have a indicator working good but have some bug for arrow placement . budget is fixed 30 used . only experience developer apply. i want to arrow get put on just above the candle high and candle low
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this

Informations sur le projet

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