diff --git a/Chart.define.h b/Chart.define.h index 45e54a114..e0903d891 100644 --- a/Chart.define.h +++ b/Chart.define.h @@ -75,4 +75,4 @@ #define MODE_MARGINHEDGED 31 #define MODE_MARGINREQUIRED 32 #define MODE_FREEZELEVEL 33 -#endif \ No newline at end of file +#endif diff --git a/Chart.struct.h b/Chart.struct.h index d416ff744..4a8b3a145 100644 --- a/Chart.struct.h +++ b/Chart.struct.h @@ -424,4 +424,4 @@ struct ChartPriceOpen { static double Get(const string _symbol, const ENUM_TIMEFRAMES _tf, const int _shift) { return ChartHistory::iOpen(_symbol, _tf, _shift); } -}; \ No newline at end of file +}; diff --git a/Chart.struct.tf.h b/Chart.struct.tf.h index 9af590d26..c59d3fa11 100644 --- a/Chart.struct.tf.h +++ b/Chart.struct.tf.h @@ -220,4 +220,4 @@ SerializerNodeType ChartTf::Serialize(Serializer& s) { s.PassEnum(this, "tf", tf); s.PassEnum(this, "tfi", tfi); return SerializerNodeObject; -} \ No newline at end of file +} diff --git a/Data.define.h b/Data.define.h index bce8809fc..822fcc323 100644 --- a/Data.define.h +++ b/Data.define.h @@ -40,4 +40,4 @@ #define LONG_VALUE INT_VALUE //--- #define EMPTY -1 -#endif \ No newline at end of file +#endif diff --git a/Order.define.h b/Order.define.h index 4eaff32d6..930fac47e 100644 --- a/Order.define.h +++ b/Order.define.h @@ -38,4 +38,4 @@ #define OP_SELLSTOP ORDER_TYPE_SELL_STOP // Pending order of SELL STOP type #define OP_BALANCE 6 // -- -#endif \ No newline at end of file +#endif diff --git a/SymbolInfo.define.h b/SymbolInfo.define.h index ee5a716fa..92f8acb43 100644 --- a/SymbolInfo.define.h +++ b/SymbolInfo.define.h @@ -31,4 +31,4 @@ // -- #define Point _Point #define Digits _Digits -#endif \ No newline at end of file +#endif diff --git a/tests/ActionTest.mq5 b/tests/ActionTest.mq5 index 817984ebe..e3cdb3cc1 100644 --- a/tests/ActionTest.mq5 +++ b/tests/ActionTest.mq5 @@ -27,6 +27,9 @@ // Defines. #define ACTION_EA_ENABLED +// Forward declaration. +struct DataParamEntry; + // Includes. #include "../Action.mqh" #include "../DictObject.mqh" diff --git a/tests/ConditionTest.mq5 b/tests/ConditionTest.mq5 index bc1305ea7..6fb0ecfb5 100644 --- a/tests/ConditionTest.mq5 +++ b/tests/ConditionTest.mq5 @@ -24,6 +24,9 @@ * Test functionality of Condition class. */ +// Forward declaration. +struct DataParamEntry; + // Includes. #include "../Condition.mqh" #include "../DictObject.mqh" diff --git a/tests/ConvertTest.mq5 b/tests/ConvertTest.mq5 index 4997035f0..f10a1d3d8 100644 --- a/tests/ConvertTest.mq5 +++ b/tests/ConvertTest.mq5 @@ -95,11 +95,11 @@ int OnInit() { assertTrueOrFail(Convert::PointsToValue(10, 0, 5) == 0.00010, "Invalid conversion of points to value"); // Test GetPipDiff(). - assertTrueOrFail(Convert::GetValueDiffInPips(0.00010, 0.00020, True, 4) == 1, "Invalid result of diff value"); - assertTrueOrFail(Convert::GetValueDiffInPips(0.00020, 0.00010, False, 4) == 1, "Invalid result of diff value"); - assertTrueOrFail(Convert::GetValueDiffInPips(0.00020, 0.00010, False, 5) == 1, "Invalid result of diff value"); - assertTrueOrFail(Convert::GetValueDiffInPips(0.00400, 0.00200, False, 4) == 20, "Invalid result of diff value"); - assertTrueOrFail(Convert::GetValueDiffInPips(0.00400, 0.00200, False, 5) == 20, "Invalid result of diff value"); + assertTrueOrFail(Convert::GetValueDiffInPips(0.00010, 0.00020, true, 4) == 1, "Invalid result of diff value"); + assertTrueOrFail(Convert::GetValueDiffInPips(0.00020, 0.00010, false, 4) == 1, "Invalid result of diff value"); + assertTrueOrFail(Convert::GetValueDiffInPips(0.00020, 0.00010, false, 5) == 1, "Invalid result of diff value"); + assertTrueOrFail(Convert::GetValueDiffInPips(0.00400, 0.00200, false, 4) == 20, "Invalid result of diff value"); + assertTrueOrFail(Convert::GetValueDiffInPips(0.00400, 0.00200, false, 5) == 20, "Invalid result of diff value"); // Test ValueWithCurrency(). // Print("Euro sign: " + ShortToString(0x20A0)); diff --git a/tests/EATest.mq5 b/tests/EATest.mq5 index 9029cd130..d6a7316c1 100644 --- a/tests/EATest.mq5 +++ b/tests/EATest.mq5 @@ -24,6 +24,9 @@ * Test functionality of EA class. */ +// Forward declaration. +struct DataParamEntry; + // Includes. #include "../EA.mqh" #include "../Test.mqh" diff --git a/tests/IndicatorsTest.mq5 b/tests/IndicatorsTest.mq5 index 2e62aa185..68990b2bf 100644 --- a/tests/IndicatorsTest.mq5 +++ b/tests/IndicatorsTest.mq5 @@ -27,6 +27,9 @@ // Defines. //#define __debug__ // Enables debug. +// Forward declaration. +struct DataParamEntry; + // Includes. #include "../Dict.mqh" #include "../DictObject.mqh" diff --git a/tests/TradeTest.mq5 b/tests/TradeTest.mq5 index 3e2d2a65f..27d225f69 100644 --- a/tests/TradeTest.mq5 +++ b/tests/TradeTest.mq5 @@ -24,6 +24,9 @@ * Test functionality of Trade class. */ +// Forward declaration. +struct DataParamEntry; + // Includes. #include "../Test.mqh" #include "../Trade.mqh"