Skip to content

Commit e9d0484

Browse files
committed
Alteracoes e melhorias
1 parent ce107f7 commit e9d0484

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

Include/Framework/Base.mqh

-40 Bytes
Binary file not shown.

Include/Robots/Benchmark.mqh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//| https://www.mql5.com |
44
//+------------------------------------------------------------------+
55

6-
#property copyright "Copyright 2016, MetaQuotes Software Corp."
6+
#property copyright "Copyright 2017, MetaQuotes Software Corp."
77
#property link "https://www.mql5.com"
88
#property version "1.00"
99

@@ -22,10 +22,6 @@ private:
2222
double _maxima;
2323
double _minima;
2424

25-
bool _waitBuy;
26-
bool _waitSell;
27-
int _qtdCopiedRates;
28-
2925
//Grafico
3026
color _corBuy;
3127
color _corSell;
@@ -69,11 +65,11 @@ public:
6965
AtualizarLastPrice();
7066

7167
if (HasPositionOpen()) {
72-
GerenciarPosition();
68+
ManagePosition();
7369
return;
7470
}
7571

76-
if (!Validar()) {
72+
if (!Validate()) {
7773
return;
7874
}
7975

@@ -85,14 +81,20 @@ public:
8581

8682
};
8783

88-
void Desenhar(double price, color cor)
84+
void Desenhar()
8985
{
9086
if (!_isDesenhar) {
9187
return;
92-
}
88+
}
89+
90+
//Drawn something
91+
9392
}
9493

95-
bool GetBuffers() {
94+
bool GetBuffers() {
95+
96+
//Get Buffers
97+
9698
return true;
9799
}
98100

-4 Bytes
Binary file not shown.

Include/Robots/FirstCandle.mqh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ public:
6969
AtualizarLastPrice();
7070

7171
if (HasPositionOpen()) {
72-
GerenciarPosition();
72+
ManagePosition();
7373
return;
7474
}
7575

76-
if (!Validar()) {
76+
if (!Validate()) {
7777
return;
7878
}
7979

Include/Robots/TheLineOfDivision.mqh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ public:
105105
AtualizarLastPrice();
106106

107107
if (HasPositionOpen()) {
108-
GerenciarPosition();
108+
ManagePosition();
109109
return;
110110
}
111111

112-
if (!Validar()) {
112+
if (!Validate()) {
113113
return;
114114
}
115115

0 commit comments

Comments
 (0)