Finish up the class file to store the indicator values

MQL5 Experts Integração

Trabalho concluído

Tempo de execução 8 dias
Comentário do cliente
Great work!
Comentário do desenvolvedor
5 star!

Termos de Referência

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

Respondido

1
Desenvolvedor 1
Classificação
(28)
Projetos
36
17%
Arbitragem
5
20% / 40%
Expirado
17
47%
Livre
Publicou: 5 códigos
Pedidos semelhantes
Signal Logic - Swing points detected correctly (Fractals or N-bar) - BOS triggers only on bar close beyond swing level (+ optional min break distance) - FVG zones detected correctly (3-candle gap) and stored with clear boundaries - FVG invalidation works as configured (full fill / partial fill / timeout) Entry & Execution - Entry only after BOS (if enabled) and on return to active FVG zone - Bar-close confirmation
Hi all, i would like to seek your help to develop an MT4 indicator and EA. A. Dual Range Detection Indicator Logic Summary The core function of this Indicator is to lock specific consolidation ranges (Range A and Range B) in the market. 1. Detection Mechanism Detect Criteria (pause = true): A Range is formed and detected when the following two conditions are met simultaneously: Size Requirement: The current bar's
Hi, I’m searching for a developer who already has a high‑performance Gold EA that can beat the results shown in my screenshot. If you have such an EA, please reply with: - A brief description of how it works (grid, scalping, SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next
Requirements Specification for the development of the Expert Advisor, in the latest version of MetaTrader 5 including the source code. 1. The idea of the trading system is as follows: market entries are performed when a new renko box is created in the current trend direction using an indicator from Trading view. Indicator Name: Renko Candles Overlay Published By: LonesomeTheBlue Code Available In: Pine Script which
Hello I would like to modify the exit method of the trade for current expert advisor which include martingale trading. basically adjusting the position size and closing the trade. additional details will be provided in the next step
I have 3 pine script of trading view and want to convert it into mql5 code. basically it has 2 script and in that one script I use 2 different ways. so here is 3 stratagy that can work in one code mql5 and I can use in mt5
I need a MetaTrader 5 Expert Advisor with full MQ5 source code. Platform: - MT5 only - Full MQ5 source code mandatory - Must work with Exness broker (symbol suffix like XAUUSDm) Strategy: - Trend-based trading only - NO grid - NO martingale - NO averaging - Fixed Stop Loss & Take Profit - Max 1–2 trades at a time Risk Management: - Daily profit target (stop trading after hit) - Daily loss limit - Maximum drawdown
Multi-Asset AI Trading Bot Details Proposals I want a single, cohesive AI bot that can log in to MetaTrader, Coinbase, Robinhood, and TradingView, scan live market data, and execute trades automatically in stocks, forex, and crypto. The core logic must support day-trading, swing-trading, and scalping modes that I can toggle on a schedule or by simple configuration. The workflow I picture is: • Real-time data
I need someone that is able to develop for me a MT5 EA that perform VERY WELL on XAUUSD. Every strategy is accepted. By applying, please send me screenshot of results since 2018
Hello developers, I'm looking for existing, proven EAs (MQL5) that work flawlessly on MT5. Requirements: Demo version available for testing Backtest results + screenshots Verified trade history from 2018-2025 Budget is negotiable If you've got an EA that fits, hit me up

Informações sobre o projeto

Orçamento
33 - 66 USD
Prazo
de 2 para 5 dias