File tree Expand file tree Collapse file tree 6 files changed +10
-61
lines changed Expand file tree Collapse file tree 6 files changed +10
-61
lines changed Original file line number Diff line number Diff line change 55
66#property copyright " Copyright 2017, Erlon F. Souza"
77#property link " https://github.com/erlonfs"
8- #property version " 1.00"
98
109#include < Trade\Trade.mqh>
1110#include < Trade\PositionInfo.mqh>
@@ -15,76 +14,28 @@ class Benchmark : public Base
1514{
1615 private :
1716
18- //Estrategia
1917 MqlRates _rates [];
2018 ENUM_TIMEFRAMES _period ;
21- double _maxima ;
22- double _minima ;
19+
2320
24- //UI
25- color _corBuy ;
26- color _corSell ;
27- color _cor ;
28- bool _isDesenhar ;
29- bool _isEnviarParaTras ;
30- bool _isPreencher ;
31-
32- void Draw ()
33- {
34- if (!_isDesenhar ) {
35- return ;
36- }
37-
38- //Drawn something
39-
40- }
41-
42- bool GetBuffers () {
43-
44- //Get Buffers
45-
46- return true ;
21+ bool GetBuffers ()
22+ {
23+ //TODO
24+ return 0 ;
4725 }
4826
4927 public :
50-
51- void SetColor (color cor ) {
52- _cor = cor ;
53- }
54-
55- void SetIsDesenhar (bool isDesenhar ) {
56- _isDesenhar = isDesenhar ;
57- }
58-
59- void SetIsEnviarParaTras (bool isEnviarParaTras ) {
60- _isEnviarParaTras = isEnviarParaTras ;
61- }
62-
63- void SetIsPreencher (bool isPreencher ) {
64- _isPreencher = isPreencher ;
65- }
66-
67- void SetColorBuy (color cor ) {
68- _corBuy = cor ;
69- };
70-
71- void SetColorSell (color cor ) {
72- _corSell = cor ;
73- };
74-
75- void Load () {
76-
28+
29+ void Load ()
30+ {
31+ //TODO
7732 };
7833
7934 void Execute () {
8035
8136 if (!Base ::ExecuteBase ()) return ;
8237
83- if (GetBuffers ()) {
84- ShowInfo ();
85-
86- }
87-
38+ //TODO
8839 };
8940};
9041
Original file line number Diff line number Diff line change 55
66#property copyright " Copyright 2016, Erlon F. Souza"
77#property link " https://github.com/erlonfs"
8- #property version " 1.01"
98
109#include < Trade\Trade.mqh>
1110#include < Trade\PositionInfo.mqh>
Original file line number Diff line number Diff line change 55
66#property copyright " Copyright 2016, Erlon F. Souza"
77#property link " https://github.com/erlonfs"
8- #property version " 1.00"
98
109#include < Trade\Trade.mqh>
1110#include < Trade\PositionInfo.mqh>
You can’t perform that action at this time.
0 commit comments