I need 3 MQL5 Indicators Converted to a Class

Trabalho concluído

Tempo de execução 35 dias
Comentário do cliente
Hamed, did a great and thorough job and I would gladly work with him again. Thank You!!!

Termos de Referência

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
}

     

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(620)
Projetos
680
57%
Arbitragem
25
16% / 60%
Expirado
228
34%
Livre
2
Desenvolvedor 2
Classificação
(258)
Projetos
396
28%
Arbitragem
69
19% / 49%
Expirado
121
31%
Livre
3
Desenvolvedor 3
Classificação
(518)
Projetos
787
63%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(66)
Projetos
95
28%
Arbitragem
20
25% / 55%
Expirado
24
25%
Livre
5
Desenvolvedor 5
Classificação
(4)
Projetos
4
0%
Arbitragem
0
Expirado
2
50%
Trabalhando
6
Desenvolvedor 6
Classificação
(144)
Projetos
285
42%
Arbitragem
19
63% / 5%
Expirado
29
10%
Livre
Publicou: 2 códigos
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
30+ USD
Prazo
de 1 para 2 dias