Skip to content

Commit

Permalink
Merge pull request #97 from EA31337/v2.000-dev
Browse files Browse the repository at this point in the history
V2: Adds new strategies and fixes
  • Loading branch information
kenorb authored Oct 28, 2023
2 parents 664617b + 79269b9 commit 9609938
Show file tree
Hide file tree
Showing 36 changed files with 464 additions and 127 deletions.
1 change: 1 addition & 0 deletions .github/Test.mq5
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
// Local includes.
#include "../enum.h"
#include "../includes.h"
#include "../manager.h"

// Adds Demo strategy.
#include "../Demo/Stg_Demo.mqh"
Expand Down
80 changes: 79 additions & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,85 @@ on:
- 'docs/**'

jobs:
Compile:
Compile-MQL4:
defaults:
run:
shell: powershell
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/checkout@v3
with:
path: Include/EA31337-classes
ref: v3.000.1
repository: EA31337/EA31337-classes
- uses: actions/checkout@v3
with:
path: Include/EA31337-strategies
ref: v2.000-dev
repository: EA31337/EA31337-strategies
submodules: recursive
- name: Deletes Arrows as it fails to compile
run: Remove-Item -LiteralPath "Arrows" -Force -Recurse -Verbose
- name: Deletes SVE_Bollinger_Bands as it fails to compile
run: Remove-Item -LiteralPath "SVE_Bollinger_Bands" -Force -Recurse
- name: Deletes TMAT_SVEBB as it fails to compile
run: Remove-Item -LiteralPath "TMAT_SVEBB" -Force -Recurse -Verbose
- name: Compile for MQL4
uses: fx31337/mql-compile-action@master
with:
include: .
mt-version: 5.0.0.2361
path: "*/Stg_*.mq4"
verbose: true
- name: List compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'
- run: Get-Location
Compile-MQL5:
defaults:
run:
shell: powershell
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/checkout@v3
with:
path: Include/EA31337-classes
ref: v3.000.1
repository: EA31337/EA31337-classes
- uses: actions/checkout@v3
with:
path: Include/EA31337-strategies
ref: v2.000-dev
repository: EA31337/EA31337-strategies
submodules: recursive
- name: Deletes Arrows as it fails to compile
run: Remove-Item -LiteralPath "Arrows" -Force -Recurse -Verbose
- name: Deletes SAWA as it fails to compile
run: Remove-Item -LiteralPath "SAWA" -Force -Recurse -Verbose
- name: Deletes SVE_Bollinger_Bands as it fails to compile
run: Remove-Item -LiteralPath "SVE_Bollinger_Bands" -Force -Recurse
- name: Deletes TMAT_SVEBB as it fails to compile
run: Remove-Item -LiteralPath "TMAT_SVEBB" -Force -Recurse -Verbose
- name: Deletes TMA_True as it fails to compile
run: Remove-Item -LiteralPath "TMA_True" -Force -Recurse -Verbose
- name: Deletes ElliottWave as it fails to compile
run: Remove-Item -LiteralPath "ElliottWave" -Force -Recurse -Verbose
- name: Compile for MQL5
uses: fx31337/mql-compile-action@master
with:
include: .
mt-version: 5.0.0.2515
path: "*/Stg_*.mq5"
verbose: true
- name: List compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'
- run: Get-Location
Compile-Test:
defaults:
run:
shell: powershell
Expand Down
30 changes: 21 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@
[submodule "MA"]
path = MA
url = https://github.com/EA31337/Strategy-MA.git
[submodule "MA_Breakout"]
path = MA_Breakout
url = https://github.com/EA31337/Strategy-MA_Breakout.git
[submodule "MA_Cross_Pivot"]
path = MA_Cross_Pivot
url = https://github.com/EA31337/Strategy-MA_Cross_Pivot.git
Expand All @@ -94,18 +97,15 @@
[submodule "MA_Cross_Sup_Res"]
path = MA_Cross_Sup_Res
url = https://github.com/EA31337/Strategy-MA_Cross_Sup_Res.git
[submodule "MA_Cross_Timeframe"]
path = MA_Cross_Timeframe
url = https://github.com/EA31337/Strategy-MA_Cross_Timeframe.git
[submodule "MA_Trend"]
path = MA_Trend
url = https://github.com/EA31337/Strategy-MA_Trend.git
[submodule "MACD"]
path = MACD
url = https://github.com/EA31337/Strategy-MACD.git
[submodule "Meta_Mirror"]
path = Meta_Mirror
url = https://github.com/EA31337/Strategy-Meta_Mirror.git
[submodule "Meta_Multi"]
path = Meta_Multi
url = https://github.com/EA31337/Strategy-Meta_Multi.git
[submodule "Meta_Reversal"]
path = Meta_Reversal
url = https://github.com/EA31337/Strategy-Meta_Reversal.git
[submodule "Momentum"]
path = Momentum
url = https://github.com/EA31337/Strategy-Momentum.git
Expand All @@ -127,18 +127,30 @@
[submodule "Oscillator_Cross_Shift"]
path = Oscillator_Cross_Shift
url = https://github.com/EA31337/Strategy-Oscillator_Cross_Shift.git
[submodule "Oscillator_Cross_Timeframe"]
path = Oscillator_Cross_Timeframe
url = https://github.com/EA31337/Strategy-Oscillator_Cross_Timeframe.git
[submodule "Oscillator_Cross_Zero"]
path = Oscillator_Cross_Zero
url = https://github.com/EA31337/Strategy-Oscillator_Cross_Zero.git
[submodule "Oscillator_Divergence"]
path = Oscillator_Divergence
url = https://github.com/EA31337/Strategy-Oscillator_Divergence.git
[submodule "Oscillator_Martingale"]
path = Oscillator_Martingale
url = https://github.com/EA31337/Strategy-Oscillator_Martingale.git
[submodule "Oscillator_Multi"]
path = Oscillator_Multi
url = https://github.com/EA31337/Strategy-Oscillator_Multi.git
[submodule "Oscillator_Overlay"]
path = Oscillator_Overlay
url = https://github.com/EA31337/Strategy-Oscillator_Overlay.git
[submodule "Oscillator_Range"]
path = Oscillator_Range
url = https://github.com/EA31337/Strategy-Oscillator_Range.git
[submodule "Oscillator_Trend"]
path = Oscillator_Trend
url = https://github.com/EA31337/Strategy-Oscillator_Trend.git
[submodule "Pattern"]
path = Pattern
url = https://github.com/EA31337/Strategy-Pattern.git
Expand Down
2 changes: 1 addition & 1 deletion .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
MD013:
line_length: 280
line_length: 300
MD024:
siblings_only: true
2 changes: 1 addition & 1 deletion ATR_MA_Trend
2 changes: 1 addition & 1 deletion ElliottWave
1 change: 1 addition & 0 deletions MA_Breakout
Submodule MA_Breakout added at 238b9b
2 changes: 1 addition & 1 deletion MA_Cross_Pivot
2 changes: 1 addition & 1 deletion MA_Cross_Shift
2 changes: 1 addition & 1 deletion MA_Cross_Sup_Res
1 change: 1 addition & 0 deletions MA_Cross_Timeframe
Submodule MA_Cross_Timeframe added at 2bb6b1
1 change: 1 addition & 0 deletions MA_Trend
Submodule MA_Trend added at b52cb7
1 change: 0 additions & 1 deletion Meta_Mirror
Submodule Meta_Mirror deleted from b9b26c
1 change: 0 additions & 1 deletion Meta_Multi
Submodule Meta_Multi deleted from bbef60
1 change: 0 additions & 1 deletion Meta_Reversal
Submodule Meta_Reversal deleted from db2695
2 changes: 1 addition & 1 deletion Oscillator_Cross
2 changes: 1 addition & 1 deletion Oscillator_Cross_Shift
1 change: 1 addition & 0 deletions Oscillator_Cross_Timeframe
2 changes: 1 addition & 1 deletion Oscillator_Cross_Zero
2 changes: 1 addition & 1 deletion Oscillator_Divergence
1 change: 1 addition & 0 deletions Oscillator_Martingale
Submodule Oscillator_Martingale added at 6c59d2
2 changes: 1 addition & 1 deletion Oscillator_Multi
1 change: 1 addition & 0 deletions Oscillator_Overlay
Submodule Oscillator_Overlay added at 7b6835
2 changes: 1 addition & 1 deletion Oscillator_Range
1 change: 1 addition & 0 deletions Oscillator_Trend
Submodule Oscillator_Trend added at e3961c
Loading

0 comments on commit 9609938

Please sign in to comment.