Trading History Balance

MQL4 Integration

Auftrag beendet

Ausführungszeit 3 Tage
Bewertung des Entwicklers
Excellent Client , will work with again
Bewertung des Kunden
Legend! Very helpful and professional, willing to go an extra mile to make customer understand his work. Thank you.

Spezifikation

Please help I have a complex problem for my size but not for your size Im sure :). Please note that Im not a programmer and my logic is not good but please if interested I'm willing to explain further.


I need to access trading history balance for 2 Classes of magic numbers and be filtered using:

  • recent time (hours) // Input variable;
  • limit history (number of trades in history)  //Input variable

Class 1

T History balance (Last 72 hours  //make it an Input variable, and Last 20 trades  //make it an Input variable, ) for magic numbers  1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12 including open and closed positions to reflect current balance (sum of profit/losses for those magic numbers made in the last 20 trades)

Class 2

T History balance (Last 72 hours  //make it an Input variable, and Last 20 trades  //make it an Input variable, ) for magic numbers  101, 102, 103, 104,105, 106, 107, 108, 109, 110, 111, and 112 including open and closed positions to reflect current balance (sum of profit/losses for those magic numbers made in the last 20 trades)

Then Code

//Global declaration

bool _Compare_1;

bool _Compare_2;


int start() {

  
   //Local declaration
  _Compare_1 = (Class_1 > Class_2);        // To trigger _Conditional_Arithmetic
  _Compare_2 = (Class_1 Class_2)
{
   if(Condition) Value1 +=Value2;
   return(Value1);
}


double _Conditional_Arithmetic_2(bool Condition, double Value1, double Value2)     // To be triggered by _Compare_2 = (Class_1 < Class_2
{
   if(Condition) Value1 +=Value2;
   return(Value1);
}


//Then I will merge this code with my EA. Does it make sense?

Bewerbungen

1
Entwickler 1
Bewertung
(590)
Projekte
789
71%
Schlichtung
9
33% / 33%
Frist nicht eingehalten
22
3%
Frei
Veröffentlicht: 8 Beispiele
2
Entwickler 2
Bewertung
(97)
Projekte
121
25%
Schlichtung
5
20% / 60%
Frist nicht eingehalten
17
14%
Frei
3
Entwickler 3
Bewertung
(453)
Projekte
566
26%
Schlichtung
24
42% / 38%
Frist nicht eingehalten
85
15%
Frei
Veröffentlicht: 6 Beispiele
4
Entwickler 4
Bewertung
(258)
Projekte
396
28%
Schlichtung
69
19% / 49%
Frist nicht eingehalten
121
31%
Arbeitet
5
Entwickler 5
Bewertung
(574)
Projekte
945
47%
Schlichtung
309
58% / 27%
Frist nicht eingehalten
125
13%
Frei
6
Entwickler 6
Bewertung
(130)
Projekte
210
40%
Schlichtung
90
20% / 43%
Frist nicht eingehalten
85
40%
Frei
7
Entwickler 7
Bewertung
(64)
Projekte
144
46%
Schlichtung
20
40% / 20%
Frist nicht eingehalten
32
22%
Frei
8
Entwickler 8
Bewertung
(80)
Projekte
117
67%
Schlichtung
16
25% / 13%
Frist nicht eingehalten
12
10%
Frei
Veröffentlicht: 2 Beispiele

Projektdetails

Budget
30+ USD
Ausführungsfristen
von 1 bis 3 Tag(e)