├── 3D ├── Shaders │ ├── chart3d_ps.hlsl │ ├── chart3d_vs.hlsl │ ├── cube_ps.hlsl │ └── cube_vs.hlsl ├── Material.h └── Vertex.h ├── docs ├── _config.yml └── api │ ├── index.rst │ ├── Doxyfile │ └── Doxyfile.in ├── .github ├── FUNDING.yml └── workflows │ ├── check.yml │ ├── lint.yml │ ├── compile.yml │ └── sync-fork.yml ├── .clang-format ├── .markdownlint.yaml ├── .yamllint ├── .gitignore ├── tests ├── 3D │ └── Shaders │ │ ├── pixel.hlsl │ │ └── vertex.hlsl ├── EATest.mq4 ├── StatsTest.mq4 ├── ConvertTest.mq4 ├── IndicatorsTest.mq4 ├── LogTest.mq4 ├── MD5Test.mq4 ├── WebTest.mq4 ├── ChartTest.mq4 ├── DictTest.mq4 ├── MailTest.mq4 ├── MathTest.mq4 ├── OrderTest.mq4 ├── TimerTest.mq4 ├── TradeTest.mq4 ├── BufferTest.mq4 ├── CompileTest.mq4 ├── ConfigTest.mq4 ├── DrawIndicatorTest.mq4 ├── MarketTest.mq4 ├── MatrixTest.mq4 ├── OrdersTest.mq4 ├── RefsTest.mq4 ├── TickerTest.mq4 ├── ValueStorageTest.mq4 ├── DatabaseTest.mq4 ├── DateTimeTest.mq4 ├── ProfilerTest.mq4 ├── StrategyTest.mq4 ├── TerminalTest.mq4 ├── BufferFXTTest.mq4 ├── IndicatorTest.mq4 ├── OrderQueryTest.mq4 ├── SerializerTest.mq4 ├── SummaryReportTest.mq4 ├── SymbolInfoTest.mq4 ├── BufferStructTest.mq4 ├── StrategyTest-RSI.mq4 ├── IndicatorBaseTest.mq4 ├── IndicatorDataTest.mq4 ├── CompileIndicatorsTest.mq4 ├── OrdersTest.mq5 ├── RedisTest.mq4 ├── IndicatorBaseTest.mq5 └── IndicatorDataTest.mq5 ├── .pre-commit-config.yaml ├── .gitattributes ├── Task └── tests │ ├── Task.test.mq4 │ ├── Taskable.test.mq4 │ ├── TaskAction.test.mq4 │ ├── TaskGetter.test.mq4 │ ├── TaskManager.test.mq4 │ ├── TaskObject.test.mq4 │ ├── TaskSetter.test.mq4 │ ├── Taskable.car.test.mq4 │ ├── TaskCondition.test.mq4 │ ├── Task.test.cpp │ ├── TaskSetter.test.cpp │ ├── Taskable.test.cpp │ ├── TaskAction.test.cpp │ ├── TaskGetter.test.cpp │ ├── TaskObject.test.cpp │ ├── TaskManager.test.cpp │ ├── TaskActionBase.test.cpp │ └── TaskCondition.test.cpp ├── Indicators ├── tests │ ├── Indi_AC.test.mq4 │ ├── Indi_AD.test.mq4 │ ├── Indi_AO.test.mq4 │ ├── Indi_MA.test.mq4 │ ├── Indi_RS.test.mq4 │ ├── Indi_ADX.test.mq4 │ ├── Indi_AMA.test.mq4 │ ├── Indi_ASI.test.mq4 │ ├── Indi_ATR.test.mq4 │ ├── Indi_CCI.test.mq4 │ ├── Indi_CHO.test.mq4 │ ├── Indi_CHV.test.mq4 │ ├── Indi_MFI.test.mq4 │ ├── Indi_OBV.test.mq4 │ ├── Indi_RSI.test.mq4 │ ├── Indi_RVI.test.mq4 │ ├── Indi_SAR.test.mq4 │ ├── Indi_WPR.test.mq4 │ ├── Indi_ADXW.test.mq4 │ ├── Indi_BWMFI.test.mq4 │ ├── Indi_BWZT.test.mq4 │ ├── Indi_Bands.test.mq4 │ ├── Indi_DEMA.test.mq4 │ ├── Indi_Demo.test.mq4 │ ├── Indi_Force.test.mq4 │ ├── Indi_Gator.test.mq4 │ ├── Indi_MACD.test.mq4 │ ├── Indi_OHLC.test.mq4 │ ├── Indi_OsMA.test.mq4 │ ├── Indi_Pivot.test.mq4 │ ├── Indi_Price.test.mq4 │ ├── Indi_TEMA.test.mq4 │ ├── Indi_TRIX.test.mq4 │ ├── Indi_VIDYA.test.mq4 │ ├── Indi_VROC.test.mq4 │ ├── Indi_Drawer.test.mq4 │ ├── Indi_Pattern.test.mq4 │ ├── Indi_StdDev.test.mq4 │ ├── Indi_Volumes.test.mq4 │ ├── Indi_ZigZag.test.mq4 │ ├── Indi_DeMarker.test.mq4 │ ├── Indi_Fractals.test.mq4 │ ├── Indi_Ichimoku.test.mq4 │ ├── Indi_Momentum.test.mq4 │ ├── Indi_Alligator.test.mq4 │ ├── Indi_BearsPower.test.mq4 │ ├── Indi_BullsPower.test.mq4 │ ├── Indi_ColorBars.test.mq4 │ ├── Indi_ColorLine.test.mq4 │ ├── Indi_Envelopes.test.mq4 │ ├── Indi_HeikenAshi.test.mq4 │ ├── Indi_Killzones.test.mq4 │ ├── Indi_MassIndex.test.mq4 │ ├── Indi_Stochastic.test.mq4 │ ├── Indi_WilliamsAD.test.mq4 │ ├── Indi_AppliedPrice.test.mq4 │ ├── Indi_PriceChannel.test.mq4 │ ├── Indi_PriceFeeder.test.mq4 │ ├── Indi_RateOfChange.test.mq4 │ ├── Indi_ZigZagColor.test.mq4 │ ├── Indi_DetrendedPrice.test.mq4 │ ├── Indi_ColorCandlesDaily.test.mq4 │ ├── Indi_FractalAdaptiveMA.test.mq4 │ ├── Indi_PriceVolumeTrend.test.mq4 │ ├── Indi_UltimateOscillator.test.mq4 │ └── Indi_CustomMovingAverage.test.mq4 ├── Tick │ └── tests │ │ └── Indi_TickMt.test.mq4 ├── OHLC │ └── indicators.h ├── Special │ ├── tests │ │ └── Indi_Custom.test.mq4 │ └── indicators.h ├── Price │ └── indicators.h └── Bitwise │ └── indicators.h ├── Account ├── tests │ ├── Account.test.mq4 │ ├── AccountMt.test.mq4 │ └── AccountForex.test.mq4 ├── Account.define.h └── Account.extern.h ├── Exchange └── tests │ └── Exchange.test.mq4 ├── Buffer └── tests │ ├── BufferTick.test.mq4 │ └── BufferCandle.test.mq4 ├── Storage ├── tests │ └── Collection.test.mq4 └── README.md ├── Tick └── tests │ └── TickManager.test.mq4 ├── Trade └── tests │ ├── TradeSignalTest.mq4 │ ├── TradeSignalManagerTest.mq4 │ └── TradeSignal.test.cpp ├── Indicator └── tests │ ├── IndicatorTf.test.mq4 │ ├── IndicatorTick.test.mq4 │ ├── IndicatorCandle.test.mq4 │ └── IndicatorCandle.test.mq5 ├── Object.extern.h ├── Common.define.h ├── Terminal.extern.h ├── Terminal.struct.h ├── File.define.h └── Pattern.mqh /3D/Shaders/chart3d_ps.hlsl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /3D/Shaders/chart3d_vs.hlsl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- 1 | --- 2 | theme: jekyll-theme-hacker 3 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | --- 2 | issuehunt: EA31337/EA31337-classes 3 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | Language: Cpp 3 | BasedOnStyle: Google 4 | ColumnLimit: 120 5 | -------------------------------------------------------------------------------- /.markdownlint.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | # MD013 line-length - Line length 3 | MD013: 4 | line_length: 120 5 | # MD033 no-inline-html - Inline HTML 6 | MD033: 7 | allowed_elements: [details] 8 | -------------------------------------------------------------------------------- /.yamllint: -------------------------------------------------------------------------------- 1 | --- 2 | extends: default 3 | 4 | rules: 5 | line-length: 6 | max: 120 7 | level: warning 8 | truthy: 9 | ignore: | 10 | ?appveyor.yml 11 | .github/workflows/*.yml 12 | -------------------------------------------------------------------------------- /docs/api/index.rst: -------------------------------------------------------------------------------- 1 | Docs 2 | ==== 3 | 4 | .. toctree:: 5 | :maxdepth: 2 6 | 7 | Indices and tables 8 | ================== 9 | * :ref:`genindex` 10 | * :ref:`modindex` 11 | * :ref:`search` 12 | 13 | Classes 14 | ======= 15 | .. autoclass:: AccountEntry 16 | :members: 17 | :undoc-members: 18 | -------------------------------------------------------------------------------- /.github/workflows/check.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Check 3 | 4 | # yamllint disable rule:truthy 5 | on: 6 | pull_request: 7 | push: 8 | 9 | jobs: 10 | Pre-commit: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v2 14 | - uses: actions/setup-python@v1 15 | - uses: pre-commit/action@v2.0.0 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignores configuration files that may contain sensitive information. 2 | build.properties 3 | logs/ 4 | 5 | # Doxygen's and Sphinx's output. 6 | docs/api/build 7 | 8 | # Ignores compiled binary files. 9 | *.ex? 10 | 11 | # Ignores log files. 12 | *.log 13 | 14 | # Ignores Finder metadata files on Mac 15 | .DS_Store 16 | 17 | docs/build 18 | -------------------------------------------------------------------------------- /docs/api/Doxyfile: -------------------------------------------------------------------------------- 1 | # Doxyfile 1.9.1 2 | ALPHABETICAL_INDEX = YES 3 | EXCLUDE = ../../tests/ 4 | FILE_PATTERNS = *.h *.mq? 5 | GENERATE_HTML = YES 6 | GENERATE_XML = YES 7 | INPUT = "../../" 8 | OUTPUT_DIRECTORY = "build" 9 | PROJECT_NAME = EA31337 Framework 10 | RECURSIVE = YES 11 | -------------------------------------------------------------------------------- /docs/api/Doxyfile.in: -------------------------------------------------------------------------------- 1 | # Doxyfile 1.9.1 2 | ALPHABETICAL_INDEX = YES 3 | EXCLUDE = ../../tests/ 4 | FILE_PATTERNS = *.h *.mq? 5 | GENERATE_HTML = YES 6 | GENERATE_XML = YES 7 | INPUT = "@DOXYGEN_INPUT_DIR@" 8 | OUTPUT_DIRECTORY = "@DOXYGEN_OUTPUT_DIR@" 9 | PROJECT_NAME = EA31337 Framework 10 | RECURSIVE = YES 11 | -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- 1 | # yamllint disable rule:line-length 2 | --- 3 | name: Lint 4 | 5 | # yamllint disable rule:truthy 6 | on: 7 | - pull_request 8 | - push 9 | 10 | jobs: 11 | YAML: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v1 15 | - name: YAML check (yamllint) 16 | uses: ibiqlik/action-yamllint@master 17 | with: 18 | strict: true 19 | -------------------------------------------------------------------------------- /3D/Material.h: -------------------------------------------------------------------------------- 1 | #include "Math.h" 2 | 3 | /** 4 | * Generic vertex to be used by meshes. 5 | */ 6 | class Material { 7 | public: 8 | DXColor Color; 9 | 10 | Material(unsigned int _color = 0xFFFFFFFF) { Color = DXColor(_color); } 11 | 12 | Material(const Material& _r) { Color = _r.Color; } 13 | 14 | Material* SetColor(unsigned int _color) { 15 | Color = DXColor(_color); 16 | return &this; 17 | } 18 | }; 19 | -------------------------------------------------------------------------------- /tests/3D/Shaders/pixel.hlsl: -------------------------------------------------------------------------------- 1 | struct INPUT { 2 | float4 position : SV_POSITION; 3 | float4 normal : TEXCOORD0; 4 | float3 lightdir : TEXCOORD1; 5 | float4 color : COLOR; 6 | }; 7 | 8 | float4 main(INPUT input) : SV_TARGET { 9 | float4 ambient = {0.0, 0.2, 0.4, 1.0}; 10 | return ambient + input.color * saturate(dot(input.lightdir, input.normal)); 11 | } 12 | //+------------------------------------------------------------------+ 13 | -------------------------------------------------------------------------------- /.github/workflows/compile.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Compile 3 | 4 | # yamllint disable-line rule:truthy 5 | on: 6 | pull_request: 7 | paths-ignore: 8 | - '**.md' 9 | push: 10 | paths-ignore: 11 | - '**.md' 12 | 13 | jobs: 14 | 15 | Compile: 16 | runs-on: windows-latest 17 | steps: 18 | - uses: actions/checkout@v2 19 | - name: Compile 20 | uses: fx31337/mql-compile-action@master 21 | with: 22 | init-platform: true 23 | verbose: true 24 | - name: Print compiled files 25 | run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname' 26 | shell: powershell 27 | -------------------------------------------------------------------------------- /3D/Shaders/cube_ps.hlsl: -------------------------------------------------------------------------------- 1 | struct INPUT { 2 | float4 position : SV_POSITION; 3 | float4 normal : TEXCOORD0; 4 | float3 lightdir : TEXCOORD1; 5 | float4 color : COLOR; 6 | }; 7 | 8 | float4 main(INPUT input) : SV_TARGET { 9 | float4 ambient = {0.0, 0.1, 0.3, 1.0}; 10 | input.color.a = 1.0f; 11 | float ambient_contribution = 0.1f; 12 | float diffuse_contribution = 0.6f; 13 | float lighting_contribution = 1.0f - diffuse_contribution - ambient_contribution; 14 | 15 | return ambient_contribution * ambient + diffuse_contribution * input.color + 16 | lighting_contribution * input.color * saturate(dot(input.lightdir, input.normal)); 17 | } 18 | -------------------------------------------------------------------------------- /3D/Vertex.h: -------------------------------------------------------------------------------- 1 | #include "../Refs.mqh" 2 | 3 | /** 4 | * Generic vertex to be used by meshes. 5 | */ 6 | struct Vertex { 7 | DXVector3 Position; 8 | DXVector3 Normal; 9 | DXColor Color; 10 | 11 | Vertex() { 12 | Color.r = 1.0f; 13 | Color.g = 1.0f; 14 | Color.b = 1.0f; 15 | Color.a = 1.0f; 16 | } 17 | 18 | static const ShaderVertexLayout Layout[3]; 19 | }; 20 | 21 | const ShaderVertexLayout Vertex::Layout[3] = { 22 | {"POSITION", 0, GFX_VAR_TYPE_FLOAT, 3, false, sizeof(Vertex), 0}, 23 | {"NORMAL", 0, GFX_VAR_TYPE_FLOAT, 3, false, sizeof(Vertex), sizeof(float) * 3}, 24 | {"COLOR", 0, GFX_VAR_TYPE_FLOAT, 4, false, sizeof(Vertex), sizeof(float) * 6}}; 25 | -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | repos: 3 | 4 | - repo: https://github.com/pre-commit/pre-commit-hooks 5 | rev: v4.0.1 6 | hooks: 7 | - id: check-added-large-files 8 | - id: check-byte-order-marker 9 | - id: check-case-conflict 10 | - id: check-executables-have-shebangs 11 | - id: check-merge-conflict 12 | - id: check-yaml 13 | - id: end-of-file-fixer 14 | - id: trailing-whitespace 15 | 16 | - repo: https://github.com/igorshubovych/markdownlint-cli.git 17 | rev: v0.29.0 18 | hooks: 19 | - id: markdownlint 20 | 21 | - repo: https://github.com/adrienverge/yamllint.git 22 | rev: v1.26.3 23 | hooks: 24 | - id: yamllint 25 | args: ["-c", ".yamllint", "-s"] 26 | -------------------------------------------------------------------------------- /3D/Shaders/cube_vs.hlsl: -------------------------------------------------------------------------------- 1 | cbuffer MVP : register(b0) { 2 | matrix world; 3 | matrix view; 4 | matrix projection; 5 | float3 lightdir; 6 | float4 mat_color; 7 | }; 8 | 9 | struct INPUT { 10 | float4 position : POSITION; 11 | float3 normal : NORMAL; 12 | float4 color : COLOR; 13 | }; 14 | 15 | struct OUTPUT { 16 | float4 position : SV_POSITION; 17 | float3 normal : TEXCOORD0; 18 | float3 lightdir : TEXCOORD1; 19 | float4 color : COLOR; 20 | }; 21 | 22 | OUTPUT main(INPUT input) { 23 | OUTPUT output; 24 | 25 | matrix mvp = mul(mul(view, world), projection); 26 | output.position = mul(input.position, mvp); 27 | 28 | output.normal = normalize(mul(input.normal, world)); 29 | output.lightdir = lightdir; 30 | output.color = input.color * mat_color; 31 | 32 | return output; 33 | } 34 | -------------------------------------------------------------------------------- /tests/3D/Shaders/vertex.hlsl: -------------------------------------------------------------------------------- 1 | cbuffer MVP : register(b0) 2 | { 3 | matrix world; 4 | matrix view; 5 | matrix projection; 6 | float3 lightdir; 7 | }; 8 | 9 | struct INPUT 10 | { 11 | float4 position : POSITION; 12 | float3 normal : NORMAL; 13 | float4 color : COLOR; 14 | }; 15 | 16 | struct OUTPUT 17 | { 18 | float4 position : SV_POSITION; 19 | float3 normal : TEXCOORD0; 20 | float3 lightdir : TEXCOORD1; 21 | float4 color : COLOR; 22 | }; 23 | 24 | OUTPUT main(INPUT input) 25 | { 26 | OUTPUT output; 27 | 28 | input.position.w = 1.0f; 29 | 30 | matrix mvp = mul(mul(projection, view), world); 31 | 32 | output.position = mul(mvp, input.position); 33 | 34 | output.normal = normalize(mul(world, input.normal)); 35 | output.lightdir = lightdir; 36 | output.color = input.color; 37 | 38 | return output; 39 | } 40 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # git normalization file 2 | # @see http://www.kernel.org/pub/software/scm/git/docs/gitattributes.html 3 | 4 | # Shorthand for text files. 5 | # - Treat them as text. 6 | # - Ensure no CRLF line-endings, neither on checkout nor on checkin. 7 | # - Detect whitespace errors. 8 | # - Exposed by default in `git diff --color` on the CLI. 9 | # - Validate with `git diff --check`. 10 | # - Deny applying with `git apply --whitespace=error-all`. 11 | # - Fix automatically with `git apply --whitespace=fix`. 12 | [attr]MQLcode text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 13 | 14 | # Shorthand for binary files. 15 | # - Do not treat them as text. 16 | # - Include binary diff in patches instead of "binary files differ." 17 | [attr]binary -text diff 18 | 19 | # Define file attributes. 20 | *.ex? binary 21 | *.h MQLcode diff=c 22 | *.mq? MQLcode diff=c 23 | -------------------------------------------------------------------------------- /tests/EATest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of EA class. 25 | */ 26 | 27 | // Includes. 28 | #include "EATest.mq5" 29 | -------------------------------------------------------------------------------- /tests/StatsTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Stats class. 25 | */ 26 | 27 | // Includes 28 | #include "StatsTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/ConvertTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Convert class. 25 | */ 26 | 27 | // Includes. 28 | #include "ConvertTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/IndicatorsTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indicator class. 25 | */ 26 | 27 | #include "IndicatorsTest.mq5" 28 | -------------------------------------------------------------------------------- /tests/LogTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Log class. 25 | */ 26 | 27 | // Includes. 28 | #include "LogTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/MD5Test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of MD5 class. 25 | */ 26 | 27 | // Includes. 28 | #include "MD5Test.mq5" 29 | -------------------------------------------------------------------------------- /tests/WebTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Web class. 25 | */ 26 | 27 | // Includes. 28 | #include "WebTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/ChartTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Chart class. 25 | */ 26 | 27 | // Includes. 28 | #include "ChartTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/DictTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Dict class. 25 | */ 26 | 27 | // Includes. 28 | #include "DictTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/MailTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Mail class. 25 | */ 26 | 27 | // Includes. 28 | #include "MailTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/MathTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Math class. 25 | */ 26 | 27 | // Includes. 28 | #include "MathTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/OrderTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Order class. 25 | */ 26 | 27 | // Includes. 28 | #include "OrderTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/TimerTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Timer class. 25 | */ 26 | 27 | // Includes. 28 | #include "TimerTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/TradeTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Trade class. 25 | */ 26 | 27 | // Includes. 28 | #include "TradeTest.mq5" 29 | -------------------------------------------------------------------------------- /Task/tests/Task.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Task class. 25 | */ 26 | 27 | // Includes. 28 | #include "Task.test.mq5" 29 | -------------------------------------------------------------------------------- /tests/BufferTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Buffer class. 25 | */ 26 | 27 | // Includes. 28 | #include "BufferTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/CompileTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test compilation of all class files. 25 | */ 26 | 27 | // Includes. 28 | #include "CompileTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/ConfigTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Config class. 25 | */ 26 | 27 | // Includes. 28 | #include "ConfigTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/DrawIndicatorTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of DrawIndicator class. 25 | */ 26 | 27 | #include "DrawIndicatorTest.mq5" 28 | -------------------------------------------------------------------------------- /tests/MarketTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Market class. 25 | */ 26 | 27 | // Includes. 28 | #include "MarketTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/MatrixTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Matrix class. 25 | */ 26 | 27 | // Includes. 28 | #include "MatrixTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/OrdersTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Test functionality of Orders class. 26 | */ 27 | 28 | // Includes. 29 | #include "OrdersTest.mq5" 30 | -------------------------------------------------------------------------------- /tests/RefsTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Ref/WeakRef classes. 25 | */ 26 | 27 | // Includes. 28 | #include "RefsTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/TickerTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Ticker class. 25 | */ 26 | 27 | // Includes. 28 | #include "TickerTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/ValueStorageTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of ValueStorage class. 25 | */ 26 | 27 | #include "ValueStorageTest.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_AC.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_AC indicator class. 25 | */ 26 | 27 | #include "Indi_AC.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_AD.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_AD indicator class. 25 | */ 26 | 27 | #include "Indi_AD.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_AO.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_AO indicator class. 25 | */ 26 | 27 | #include "Indi_AO.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_MA.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_MA indicator class. 25 | */ 26 | 27 | #include "Indi_MA.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_RS.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_RS indicator class. 25 | */ 26 | 27 | #include "Indi_RS.test.mq5" 28 | -------------------------------------------------------------------------------- /tests/DatabaseTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Database class. 25 | */ 26 | 27 | // Includes. 28 | #include "DatabaseTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/DateTimeTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of DateTime class. 25 | */ 26 | 27 | // Includes. 28 | #include "DateTimeTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/ProfilerTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Profiler class. 25 | */ 26 | 27 | // Includes. 28 | #include "ProfilerTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/StrategyTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Strategy class. 25 | */ 26 | 27 | // Includes. 28 | #include "StrategyTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/TerminalTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Terminal class. 25 | */ 26 | 27 | // Includes. 28 | #include "TerminalTest.mq5" 29 | -------------------------------------------------------------------------------- /Account/tests/Account.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Account class. 25 | */ 26 | 27 | // Includes. 28 | #include "Account.test.mq5" 29 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ADX.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ADX indicator class. 25 | */ 26 | 27 | #include "Indi_ADX.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_AMA.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_AMA indicator class. 25 | */ 26 | 27 | #include "Indi_AMA.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ASI.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ASI indicator class. 25 | */ 26 | 27 | #include "Indi_ASI.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ATR.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ATR indicator class. 25 | */ 26 | 27 | #include "Indi_ATR.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_CCI.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_CCI indicator class. 25 | */ 26 | 27 | #include "Indi_CCI.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_CHO.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_CHO indicator class. 25 | */ 26 | 27 | #include "Indi_CHO.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_CHV.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_CHV indicator class. 25 | */ 26 | 27 | #include "Indi_CHV.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_MFI.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_MFI indicator class. 25 | */ 26 | 27 | #include "Indi_MFI.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_OBV.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_OBV indicator class. 25 | */ 26 | 27 | #include "Indi_OBV.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_RSI.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_RSI indicator class. 25 | */ 26 | 27 | #include "Indi_RSI.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_RVI.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_RVI indicator class. 25 | */ 26 | 27 | #include "Indi_RVI.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_SAR.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_SAR indicator class. 25 | */ 26 | 27 | #include "Indi_SAR.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_WPR.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_WPR indicator class. 25 | */ 26 | 27 | #include "Indi_WPR.test.mq5" 28 | -------------------------------------------------------------------------------- /Task/tests/Taskable.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Taskable class. 25 | */ 26 | 27 | // Includes. 28 | #include "Taskable.test.mq5" 29 | -------------------------------------------------------------------------------- /tests/BufferFXTTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of BufferFXT class. 25 | */ 26 | 27 | // Includes. 28 | #include "BufferFXTTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/IndicatorTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indicator class. 25 | */ 26 | 27 | // Includes. 28 | #include "IndicatorTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/OrderQueryTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of OrderQuery class. 25 | */ 26 | 27 | // Includes. 28 | #include "OrderQueryTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/SerializerTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Serializer class. 25 | */ 26 | 27 | // Includes. 28 | #include "SerializerTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/SummaryReportTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of SummaryReport class. 25 | */ 26 | 27 | // Includes 28 | #include "SummaryReportTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/SymbolInfoTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of SymbolInfo class. 25 | */ 26 | 27 | // Includes. 28 | #include "SymbolInfoTest.mq5" 29 | -------------------------------------------------------------------------------- /Exchange/tests/Exchange.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Exchange class. 25 | */ 26 | 27 | // Includes. 28 | #include "Exchange.test.mq5" 29 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ADXW.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ADXW indicator class. 25 | */ 26 | 27 | #include "Indi_ADXW.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_BWMFI.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_BWMFI indicator class. 25 | */ 26 | 27 | #include "Indi_BWMFI.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_BWZT.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_BWZT indicator class. 25 | */ 26 | 27 | #include "Indi_BWZT.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Bands.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Bands indicator class. 25 | */ 26 | 27 | #include "Indi_Bands.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_DEMA.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_DEMA indicator class. 25 | */ 26 | 27 | #include "Indi_DEMA.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Demo.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Demo indicator class. 25 | */ 26 | 27 | #include "Indi_Demo.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Force.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Force indicator class. 25 | */ 26 | 27 | #include "Indi_Force.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Gator.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Gator indicator class. 25 | */ 26 | 27 | #include "Indi_Gator.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_MACD.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_MACD indicator class. 25 | */ 26 | 27 | #include "Indi_MACD.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_OHLC.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_OHLC indicator class. 25 | */ 26 | 27 | #include "Indi_OHLC.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_OsMA.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_OsMA indicator class. 25 | */ 26 | 27 | #include "Indi_OsMA.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Pivot.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Pivot indicator class. 25 | */ 26 | 27 | #include "Indi_Pivot.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Price.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Price indicator class. 25 | */ 26 | 27 | #include "Indi_Price.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_TEMA.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_TEMA indicator class. 25 | */ 26 | 27 | #include "Indi_TEMA.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_TRIX.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_TRIX indicator class. 25 | */ 26 | 27 | #include "Indi_TRIX.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_VIDYA.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_VIDYA indicator class. 25 | */ 26 | 27 | #include "Indi_VIDYA.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_VROC.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_VROC indicator class. 25 | */ 26 | 27 | #include "Indi_VROC.test.mq5" 28 | -------------------------------------------------------------------------------- /tests/BufferStructTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of BufferStruct class. 25 | */ 26 | 27 | // Includes. 28 | #include "BufferStructTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/StrategyTest-RSI.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Strategy class. 25 | */ 26 | 27 | // Includes. 28 | #include "StrategyTest-RSI.mq5" 29 | -------------------------------------------------------------------------------- /Account/tests/AccountMt.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of AccountMt class. 25 | */ 26 | 27 | // Includes. 28 | #include "AccountMt.test.mq5" 29 | -------------------------------------------------------------------------------- /Buffer/tests/BufferTick.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of BufferTick class. 25 | */ 26 | 27 | // Includes. 28 | #include "BufferTick.test.mq5" 29 | -------------------------------------------------------------------------------- /Indicators/Tick/tests/Indi_TickMt.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Tick indicator class. 25 | */ 26 | 27 | #include "Indi_TickMt.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Drawer.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Drawer indicator class. 25 | */ 26 | 27 | #include "Indi_Drawer.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Pattern.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Pattern indicator class. 25 | */ 26 | 27 | #include "Indi_Pattern.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_StdDev.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_StdDev indicator class. 25 | */ 26 | 27 | #include "Indi_StdDev.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Volumes.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Volumes indicator class. 25 | */ 26 | 27 | #include "Indi_Volumes.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ZigZag.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ZigZag indicator class. 25 | */ 26 | 27 | #include "Indi_ZigZag.test.mq5" 28 | -------------------------------------------------------------------------------- /Storage/tests/Collection.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Collection class. 25 | */ 26 | 27 | // Includes. 28 | #include "Collection.test.mq5" 29 | -------------------------------------------------------------------------------- /Task/tests/TaskAction.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TaskAction class. 25 | */ 26 | 27 | // Includes. 28 | #include "TaskAction.test.mq5" 29 | -------------------------------------------------------------------------------- /Task/tests/TaskGetter.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TaskGetter class. 25 | */ 26 | 27 | // Includes. 28 | #include "TaskGetter.test.mq5" 29 | -------------------------------------------------------------------------------- /Task/tests/TaskManager.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TaskManager class. 25 | */ 26 | 27 | // Includes. 28 | #include "TaskManager.test.mq5" 29 | -------------------------------------------------------------------------------- /Task/tests/TaskObject.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TaskObject class. 25 | */ 26 | 27 | // Includes. 28 | #include "TaskObject.test.mq5" 29 | -------------------------------------------------------------------------------- /Task/tests/TaskSetter.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TaskSetter class. 25 | */ 26 | 27 | // Includes. 28 | #include "TaskSetter.test.mq5" 29 | -------------------------------------------------------------------------------- /Task/tests/Taskable.car.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Taskable class. 25 | */ 26 | 27 | // Includes. 28 | #include "Taskable.car.test.mq5" 29 | -------------------------------------------------------------------------------- /Tick/tests/TickManager.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TickManager class. 25 | */ 26 | 27 | // Includes. 28 | #include "TickManager.test.mq5" 29 | -------------------------------------------------------------------------------- /Trade/tests/TradeSignalTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TradeSignal class. 25 | */ 26 | 27 | // Includes. 28 | #include "TradeSignalTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/IndicatorBaseTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorBase class. 25 | */ 26 | 27 | // Includes. 28 | #include "IndicatorBaseTest.mq5" 29 | -------------------------------------------------------------------------------- /tests/IndicatorDataTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorData class. 25 | */ 26 | 27 | // Includes. 28 | #include "IndicatorDataTest.mq5" 29 | -------------------------------------------------------------------------------- /Account/tests/AccountForex.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of AccountForex class. 25 | */ 26 | 27 | // Includes. 28 | #include "AccountForex.test.mq5" 29 | -------------------------------------------------------------------------------- /Buffer/tests/BufferCandle.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of BufferCandle class. 25 | */ 26 | 27 | // Includes. 28 | #include "BufferCandle.test.mq5" 29 | -------------------------------------------------------------------------------- /Indicator/tests/IndicatorTf.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorTf class. 25 | */ 26 | 27 | // Includes. 28 | #include "IndicatorTf.test.mq5" 29 | -------------------------------------------------------------------------------- /Indicators/OHLC/indicators.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Include file to include all OHLC indicators. 26 | */ 27 | 28 | // OHLC indicators. 29 | #include "Indi_OHLC.mqh" 30 | -------------------------------------------------------------------------------- /Indicators/Special/tests/Indi_Custom.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Custom indicator class. 25 | */ 26 | 27 | #include "Indi_Custom.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_DeMarker.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_DeMarker indicator class. 25 | */ 26 | 27 | #include "Indi_DeMarker.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Fractals.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Fractals indicator class. 25 | */ 26 | 27 | #include "Indi_Fractals.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Ichimoku.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Ichimoku indicator class. 25 | */ 26 | 27 | #include "Indi_Ichimoku.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Momentum.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Momentum indicator class. 25 | */ 26 | 27 | #include "Indi_Momentum.test.mq5" 28 | -------------------------------------------------------------------------------- /Task/tests/TaskCondition.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TaskCondition class. 25 | */ 26 | 27 | // Includes. 28 | #include "TaskCondition.test.mq5" 29 | -------------------------------------------------------------------------------- /tests/CompileIndicatorsTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test compilation of Indicators/ files. 25 | */ 26 | 27 | // Includes. 28 | #include "CompileIndicatorsTest.mq5" 29 | -------------------------------------------------------------------------------- /Indicator/tests/IndicatorTick.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorTick class. 25 | */ 26 | 27 | // Includes. 28 | #include "IndicatorTick.test.mq5" 29 | -------------------------------------------------------------------------------- /Indicators/Price/indicators.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Include file to include all price indicators. 26 | */ 27 | 28 | // Price indicators. 29 | #include "Indi_Price.mqh" 30 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Alligator.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Alligator indicator class. 25 | */ 26 | 27 | #include "Indi_Alligator.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_BearsPower.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_BearsPower indicator class. 25 | */ 26 | 27 | #include "Indi_BearsPower.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_BullsPower.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_BullsPower indicator class. 25 | */ 26 | 27 | #include "Indi_BullsPower.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ColorBars.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ColorBars indicator class. 25 | */ 26 | 27 | #include "Indi_ColorBars.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ColorLine.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ColorLine indicator class. 25 | */ 26 | 27 | #include "Indi_ColorLine.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Envelopes.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Envelopes indicator class. 25 | */ 26 | 27 | #include "Indi_Envelopes.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_HeikenAshi.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_HeikenAshi indicator class. 25 | */ 26 | 27 | #include "Indi_HeikenAshi.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Killzones.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Killzones indicator class. 25 | */ 26 | 27 | #include "Indi_Killzones.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_MassIndex.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_MassIndex indicator class. 25 | */ 26 | 27 | #include "Indi_MassIndex.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_Stochastic.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_Stochastic indicator class. 25 | */ 26 | 27 | #include "Indi_Stochastic.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_WilliamsAD.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_WilliamsAD indicator class. 25 | */ 26 | 27 | #include "Indi_WilliamsAD.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_AppliedPrice.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_AppliedPrice indicator class. 25 | */ 26 | 27 | #include "Indi_AppliedPrice.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_PriceChannel.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_PriceChannel indicator class. 25 | */ 26 | 27 | #include "Indi_PriceChannel.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_PriceFeeder.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_PriceFeeder indicator class. 25 | */ 26 | 27 | #include "Indi_PriceFeeder.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_RateOfChange.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_RateOfChange indicator class. 25 | */ 26 | 27 | #include "Indi_RateOfChange.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ZigZagColor.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ZigZagColor indicator class. 25 | */ 26 | 27 | #include "Indi_ZigZagColor.test.mq5" 28 | -------------------------------------------------------------------------------- /Object.extern.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Includes external declarations related to objects. 26 | */ 27 | #ifndef __MQL__ 28 | extern void *GetPointer(void *anyobject); 29 | #endif 30 | -------------------------------------------------------------------------------- /Common.define.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Defines common defines. 26 | */ 27 | #ifndef __MQL__ 28 | // Data types. 29 | #include 30 | typedef std::string string; 31 | #endif 32 | -------------------------------------------------------------------------------- /Indicator/tests/IndicatorCandle.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorCandle class. 25 | */ 26 | 27 | // Includes. 28 | #include "IndicatorCandle.test.mq5" 29 | -------------------------------------------------------------------------------- /Trade/tests/TradeSignalManagerTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of TradeSignalManager class. 25 | */ 26 | 27 | // Includes. 28 | #include "TradeSignalManagerTest.mq5" 29 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_DetrendedPrice.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_DetrendedPrice indicator class. 25 | */ 26 | 27 | #include "Indi_DetrendedPrice.test.mq5" 28 | -------------------------------------------------------------------------------- /Account/Account.define.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | // Defines. 24 | #define ACC_OP_BALANCE 6 // Undocumented balance history statement entry. 25 | #define ACC_OP_CREDIT 7 // Undocumented credit history statement entry. 26 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_ColorCandlesDaily.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_ColorCandlesDaily indicator class. 25 | */ 26 | 27 | #include "Indi_ColorCandlesDaily.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_FractalAdaptiveMA.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_FractalAdaptiveMA indicator class. 25 | */ 26 | 27 | #include "Indi_FractalAdaptiveMA.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_PriceVolumeTrend.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_PriceVolumeTrend indicator class. 25 | */ 26 | 27 | #include "Indi_PriceVolumeTrend.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_UltimateOscillator.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_UltimateOscillator indicator class. 25 | */ 26 | 27 | #include "Indi_UltimateOscillator.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/tests/Indi_CustomMovingAverage.test.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Indi_CustomMovingAverage indicator class. 25 | */ 26 | 27 | #include "Indi_CustomMovingAverage.test.mq5" 28 | -------------------------------------------------------------------------------- /Indicators/Special/indicators.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Include file to include all special indicators. 26 | */ 27 | 28 | // Special indicators. 29 | #include "Indi_Custom.mqh" 30 | #include "Indi_Math.mqh" 31 | -------------------------------------------------------------------------------- /Terminal.extern.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | // Define external global functions. 24 | #ifndef __MQL__ 25 | extern int GetLastError(); 26 | extern string TerminalInfoString(int property_id); 27 | extern void ResetLastError(); 28 | #endif 29 | -------------------------------------------------------------------------------- /Indicators/Bitwise/indicators.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Include file to include all bitwise indicators. 26 | */ 27 | 28 | // Bitwise indicators. 29 | #include "Indi_Candle.mqh" 30 | #include "Indi_Pattern.mqh" 31 | -------------------------------------------------------------------------------- /Terminal.struct.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | /** 24 | * @file 25 | * Includes Terminal's structs. 26 | */ 27 | 28 | #ifndef __MQL__ 29 | // Allows the preprocessor to include a header file when it is needed. 30 | #pragma once 31 | #endif 32 | -------------------------------------------------------------------------------- /Account/Account.extern.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | // Includes. 24 | #include "../String.extern.h" 25 | #include "Account.enum.h" 26 | 27 | // Define external global functions. 28 | #ifndef __MQL__ 29 | extern string AccountInfoString(ENUM_ACCOUNT_INFO_STRING property_id); 30 | #endif 31 | -------------------------------------------------------------------------------- /tests/OrdersTest.mq5: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | 24 | /** 25 | * @file 26 | * Test functionality of Orders class. 27 | */ 28 | 29 | // Includes. 30 | #include "../Orders.mqh" 31 | 32 | /** 33 | * Implements OnInit(). 34 | */ 35 | int OnInit() { 36 | return (INIT_SUCCEEDED); 37 | } 38 | -------------------------------------------------------------------------------- /tests/RedisTest.mq4: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of Redis class. 25 | */ 26 | 27 | // Includes. 28 | #ifdef __MQL5__ 29 | #include "RedisTest.mq5" 30 | #else 31 | // Sockets are not supported on MQL4, so Redis wouldn't work for now. 32 | int OnInit() { return (INIT_SUCCEEDED); } 33 | #endif 34 | -------------------------------------------------------------------------------- /.github/workflows/sync-fork.yml: -------------------------------------------------------------------------------- 1 | --- 2 | name: Sync Fork 3 | 4 | # yamllint disable rule:truthy 5 | on: 6 | push: 7 | branches: 8 | - master 9 | schedule: 10 | - cron: "1 1 */7 * *" 11 | 12 | jobs: 13 | Repo-Sync: 14 | if: github.repository != 'EA31337/EA31337-classes' 15 | runs-on: ubuntu-latest 16 | steps: 17 | - uses: actions/checkout@v2 18 | with: 19 | fetch-depth: 0 20 | persist-credentials: false 21 | - uses: actions/checkout@v2 22 | with: 23 | fetch-depth: 0 24 | path: upstream 25 | persist-credentials: false 26 | repository: EA31337/EA31337-classes 27 | - name: Configures Git 28 | run: | 29 | git config --local core.autocrlf false 30 | git config --local user.email "${git_email}" 31 | git config --local user.name "${{ github.actor }}" 32 | env: 33 | git_email: "${{ github.actor }}@users.noreply.github.com" 34 | - name: Pulls files from upstream 35 | run: | 36 | git pull upstream --autostash --rebase -Xours 37 | - name: Prints differences 38 | run: NO_PAGER=1 git --no-pager diff HEAD^ 39 | - name: Push changes 40 | uses: ad-m/github-push-action@master 41 | with: 42 | branch: ${{ github.ref }} 43 | github_token: ${{ secrets.GITHUB_TOKEN }} 44 | -------------------------------------------------------------------------------- /File.define.h: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | // Defines. 24 | #ifndef __MQL__ 25 | // File constants to read the whole value of char, short or int type. 26 | #define CHAR_VALUE 1 27 | #define INT_VALUE 4 28 | #define SHORT_VALUE 2 29 | // Used for checking file handles (see FileOpen() and FileFindFirst()). 30 | #define INVALID_HANDLE -1 31 | #endif 32 | -------------------------------------------------------------------------------- /tests/IndicatorBaseTest.mq5: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorBase class. 25 | */ 26 | 27 | // Includes. 28 | #include "../IndicatorBase.h" 29 | #include "../Test.mqh" 30 | 31 | /** 32 | * Implements OnInit(). 33 | */ 34 | int OnInit() { 35 | // @todo 36 | return (INIT_SUCCEEDED); 37 | } 38 | -------------------------------------------------------------------------------- /tests/IndicatorDataTest.mq5: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorData class. 25 | */ 26 | 27 | // Includes. 28 | #include "../IndicatorData.mqh" 29 | #include "../Test.mqh" 30 | 31 | /** 32 | * Implements OnInit(). 33 | */ 34 | int OnInit() { 35 | // @todo 36 | return (INIT_SUCCEEDED); 37 | } 38 | -------------------------------------------------------------------------------- /Pattern.mqh: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Provides functionality for detecting candle patterns. 25 | */ 26 | 27 | // Includes. 28 | #include "Pattern.struct.h" 29 | 30 | class Pattern { 31 | private: 32 | // Chart *chart; 33 | // BufferStruct pattern; 34 | 35 | // Pattern(Chart *_chart) : chart(_chart) {} 36 | }; 37 | -------------------------------------------------------------------------------- /Task/tests/Task.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of Task class. 25 | */ 26 | 27 | // Includes. 28 | #include "../Task.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | -------------------------------------------------------------------------------- /Indicator/tests/IndicatorCandle.test.mq5: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test functionality of IndicatorCandle class. 25 | */ 26 | 27 | // Includes. 28 | #include "../../Test.mqh" 29 | #include "../IndicatorCandle.h" 30 | 31 | /** 32 | * Implements OnInit(). 33 | */ 34 | int OnInit() { 35 | // @todo 36 | return (INIT_SUCCEEDED); 37 | } 38 | -------------------------------------------------------------------------------- /Storage/README.md: -------------------------------------------------------------------------------- 1 | # Storage classes 2 | 3 | ## `Collection` class 4 | 5 | This class is for storing various type of objects. Here is the example usage: 6 | 7 | // Define custom classes of Object type. 8 | class Stack : Object { 9 | public: 10 | virtual string GetName() = NULL; 11 | }; 12 | class Foo : Stack { 13 | public: 14 | string GetName() { return "Foo"; }; 15 | double Weight() { return 0; }; 16 | }; 17 | class Bar : Stack { 18 | public: 19 | string GetName() { return "Bar"; }; 20 | double Weight() { return 1; }; 21 | }; 22 | class Baz : Stack { 23 | public: 24 | string GetName() { return "Baz"; }; 25 | double Weight() { return 2; }; 26 | }; 27 | 28 | int OnInit() { 29 | // Define and add items. 30 | Collection *stack = new Collection(); 31 | stack.Add(new Foo); 32 | stack.Add(new Bar); 33 | stack.Add(new Baz); 34 | // Print the lowest and the highest items. 35 | Print("Lowest: ", ((Stack *)stack.GetLowest()).GetName()); 36 | Print("Highest: ", ((Stack *)stack.GetHighest()).GetName()); 37 | // Print all the items. 38 | for (uint i = 0; i < stack.GetSize(); i++) { 39 | Print(i, ": ", ((Stack *)stack.GetByIndex(i)).GetName()); 40 | } 41 | // Clean up. 42 | Object::Delete(stack); 43 | return (INIT_SUCCEEDED); 44 | } 45 | -------------------------------------------------------------------------------- /Task/tests/TaskSetter.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TaskSetter class. 25 | */ 26 | 27 | // Includes. 28 | #include "../../Common.define.h" 29 | #include "../../Common.extern.h" 30 | #include "../../Std.h" 31 | #include "../../String.extern.h" 32 | #include "../TaskSetter.h" 33 | 34 | int main(int argc, char **argv) {} 35 | -------------------------------------------------------------------------------- /Task/tests/Taskable.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of Taskable class. 25 | */ 26 | 27 | // Includes. 28 | #include "../Taskable.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | -------------------------------------------------------------------------------- /Task/tests/TaskAction.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TaskAction class. 25 | */ 26 | 27 | // Includes. 28 | #include "../TaskAction.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | -------------------------------------------------------------------------------- /Task/tests/TaskGetter.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TaskGetter class. 25 | */ 26 | 27 | // Includes. 28 | #include "../TaskGetter.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | -------------------------------------------------------------------------------- /Task/tests/TaskObject.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TaskObject class. 25 | */ 26 | 27 | // Includes. 28 | #include "../TaskObject.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | -------------------------------------------------------------------------------- /Trade/tests/TradeSignal.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TradeSignal class. 25 | */ 26 | 27 | // Includes. 28 | #include "../../Common.define.h" 29 | #include "../../Common.extern.h" 30 | #include "../../Std.h" 31 | #include "../../String.extern.h" 32 | #include "../TradeSignal.h" 33 | 34 | int main(int argc, char **argv) {} 35 | -------------------------------------------------------------------------------- /Task/tests/TaskManager.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TaskManager class. 25 | */ 26 | 27 | // Includes. 28 | #include "../TaskManager.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | -------------------------------------------------------------------------------- /Task/tests/TaskActionBase.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TaskActionBase class. 25 | */ 26 | 27 | // Includes. 28 | #include "../TaskActionBase.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | -------------------------------------------------------------------------------- /Task/tests/TaskCondition.test.cpp: -------------------------------------------------------------------------------- 1 | //+------------------------------------------------------------------+ 2 | //| EA31337 framework | 3 | //| Copyright 2016-2023, EA31337 Ltd | 4 | //| https://github.com/EA31337 | 5 | //+------------------------------------------------------------------+ 6 | 7 | /* 8 | * This file is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU General Public License as published by 10 | * the Free Software Foundation, either version 3 of the License, or 11 | * (at your option) any later version. 12 | 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU General Public License for more details. 17 | 18 | * You should have received a copy of the GNU General Public License 19 | * along with this program. If not, see . 20 | */ 21 | 22 | /** 23 | * @file 24 | * Test C++ compilation of TaskCondition class. 25 | */ 26 | 27 | // Includes. 28 | #include "../TaskCondition.h" 29 | 30 | #include "../../Common.define.h" 31 | #include "../../Common.extern.h" 32 | #include "../../Std.h" 33 | #include "../../String.extern.h" 34 | 35 | int main(int argc, char **argv) {} 36 | --------------------------------------------------------------------------------