I need 3 MQL5 Indicators Converted to a Class

Trabajo finalizado

Plazo de ejecución 35 días
Comentario del Cliente
Hamed, did a great and thorough job and I would gladly work with him again. Thank You!!!

Tarea técnica

I need the six attached indicators converted to a class so they can be used inside of another program 

- Create a class called CIndicator

- The class should have the means to load 

    - Open
    - High
    - Low
    - Close
    - Spread
    - TickVolume

    For a specified currency pair and date range one time.  For instance in the constructor or a Load function is fine as well

- Create a function in the class for each indicator using the body of the OnCalculate()
- Each function should have the ability to accept array ref to replace the buffers currently being filled by the OnCalculate of the indicators.
- Each function should also have the ability to accept whatever parameters are defined in the Input parameters of the indicators

#define SUCCESS 0

class CIndicator {

public: 

template<typename T>
int X1(T &buffer1[], T &buffer2[]) {

    // Here place the code from the OnCalculate function from the attached indicator
        
    return(SUCCESS)
}

         

The intended use of this class will be something like 

// Buffer Arrays
double b1[], b2[], b3[]

// Class Declaration
CIndicator cIndicator("EURUSD",PERIOD_H1,D'2019.01.01 00:00:00', D'2019.01.02 23:23:59');

// Function Call
cIndicator.X1(b1,b2,b3);


for(int i=0;i < ArraySize(b1); i++) {
    // do stuff
}

     

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(620)
Proyectos
680
57%
Arbitraje
25
16% / 60%
Caducado
228
34%
Libre
2
Desarrollador 2
Evaluación
(258)
Proyectos
396
28%
Arbitraje
69
19% / 49%
Caducado
121
31%
Libre
3
Desarrollador 3
Evaluación
(518)
Proyectos
787
63%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(66)
Proyectos
95
28%
Arbitraje
20
25% / 55%
Caducado
24
25%
Libre
5
Desarrollador 5
Evaluación
(4)
Proyectos
4
0%
Arbitraje
0
Caducado
2
50%
Trabaja
6
Desarrollador 6
Evaluación
(144)
Proyectos
285
42%
Arbitraje
19
63% / 5%
Caducado
29
10%
Libre
Ha publicado: 2 ejemplos
Solicitudes similares
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
Henryy999 30 - 3000 USD
The Ai robot must help me with forex and I don't have money soon can the Ai robot give me some money and I will pay it back if the Ai robot does a good job making me rich
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
A trading expert that relies on specific signals such as price breaking a peak or trough, liquidity withdrawal, and retesting the signal. Lock the expert advisor with a code and create a subscriber base with a separate key for each subscriber

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
de 1 a 2 día(s)