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
Title: Creation of an EA by Breakout Fractal (without Martingale/Grille) Description: I am looking for a developer to create an Expert Advisor based on the highest and lowest (Fractals). Entry: Place Buy Stop and Sell Stop commands on the last formed peaks/hollows. Risk management: Strictly no Martingale or Grille system. Each trade must have a fixed stop loss. Features: Trailing Stop and Breakeven option. Platform
I already have programmed in MT5 EA, but I want to unfilter bad trades using Ai, about details I will tell and discuss with selected programmers, I have some ideas, prototypes, but I am open for your solutions too. I tested some time and it had possitive effects
Apply with a keen sense of responsibility . Copy the code . Both of my expert has sufficient materials . Its a simple winning strategy , therefore please be ahead of time . Code BLUE . Changing The Strategy According to what i think is correct
I would love to see most of my trades going well being in profits! & keep consistent trading without having to blow any accounts be able to identify right trades and have good trading strategy
Black dragon MT5 indicator. EA to take the buy and sell signal with selectable timeframe and lot size. Strategies could be either with or without martingale and with or without hedge. If you already have something similar EA ready to take this signal. Please take the work order for further discussion. Budget negotiable. Thanks. https://www.mql5.com/en/market/product/62749#!tab=overview 
Hello, I am looking for a Filipino MQL5 (MT5) programmer who can develop a simple automated trading EA for my personal live trading account (not for prop firm use). Strategy Details: Pair: XAUUSD (Gold) only Timeframe: 1 Hour (H1) Daily range-based pending order system Fixed Stop Loss: 20.00 price movement Step trailing system (moves every +20.00 profit) Maximum 1 trade per day No martingale No grid Features
Vell 35+ USD
Advanced trading robot built on ICT concepts and structured Price Action methodology. Designed to identify liquidity zones, market structure shifts, and high-probability entries while maintaining disciplined risk management and optimized trade execution for consistent, rule-based performance
I NEED A PROFITABLE EA 50 - 150 USD
This may be a weird request but if anyone has an EA that is actually consistently profitable I want to buy a copy of the source code from you. Ideally trades a lot, I'm sure theres a coder out there who has made a profitable EA, I want to backtest if you have, I have been trying to code a few on my own with no success as I'm not yet good at coding. In the mean time I need something profitable. bonus points if it
Yash Agrawal 30+ USD
// Simple EMA Bot input int FastEMA = 9; input int SlowEMA = 21; void OnTick() { double fast = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,0); double slow = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,0); if(fast > slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_BUY,0.01,Ask,10,0,0); } if(fast < slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_SELL,0.01,Bid,10,0,0); } }
Gold robot Ga1 30 - 200 USD
mport pandas as pd import numpy as np def detecter_tendance(data): # Code pour détecter la tendance pass def identifier_niveaux(data): # Code pour identifier les niveaux de support et de résistance pass def calculer_stop_loss(tendance, support, resistance): # Code pour calculer les stop loss pass def calculer_profils(tendance, support, resistance): # Code pour calculer les profils mport pandas as pd

Informations sur le projet

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