Skip to content

Commit

Permalink
Adds Meta Conditions strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 29, 2023
1 parent aeca5ba commit afadff5
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
- MACD
- MFI
- Meta_Bears_Bulls
- Meta_Conditions
- Meta_Double
- Meta_Mirror
- Meta_Multi
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@
[submodule "Meta_Bears_Bulls"]
path = Meta_Bears_Bulls
url = https://github.com/EA31337/Strategy-Meta_Bears_Bulls.git
[submodule "Meta_Conditions"]
path = Meta_Conditions
url = https://github.com/EA31337/Strategy-Meta_Conditions.git
[submodule "Meta_Double"]
path = Meta_Double
url = https://github.com/EA31337/Strategy-Meta_Double.git
Expand Down
1 change: 1 addition & 0 deletions Meta_Conditions
Submodule Meta_Conditions added at 99cc18
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ See: <https://ea31337.github.io/EA31337-strategies>
| Strategy | Check | Compile | Backtest |
| --------:|:-----:|:-------:|:--------:|
| (Meta) Double | [![check][ghim_s_meta_double_check]][ghlm_s_meta_double_check] | [![check][ghim_s_meta_double_compile]][ghlm_s_meta_double_compile] | [![check][ghim_s_meta_double_bt]][ghlm_s_meta_double_bt] |
| (Meta) Conditions | [![check][ghim_s_meta_conditions_check]][ghlm_s_meta_conditions_check] | [![check][ghim_s_meta_conditions_compile]][ghlm_s_meta_conditions_compile] | [![check][ghim_s_meta_conditions_bt]][ghlm_s_meta_conditions_bt] |
| (Meta) Mirror | [![check][ghim_s_meta_mirror_check]][ghlm_s_meta_mirror_check] | [![check][ghim_s_meta_mirror_compile]][ghlm_s_meta_mirror_compile] | [![check][ghim_s_meta_mirror_bt]][ghlm_s_meta_mirror_bt] |
| (Meta) Multi | [![check][ghim_s_meta_multi_check]][ghlm_s_meta_multi_check] | [![check][ghim_s_meta_multi_compile]][ghlm_s_meta_multi_compile] | [![check][ghim_s_meta_multi_bt]][ghlm_s_meta_multi_bt] |
| (Meta) Oscillator | [![check][ghim_s_meta_osc_check]][ghlm_s_meta_osc_check] | [![check][ghim_s_meta_osc_compile]][ghlm_s_meta_osc_compile] | [![check][ghim_s_meta_osc_bt]][ghlm_s_meta_osc_bt] |
Expand Down Expand Up @@ -134,6 +135,7 @@ See: <https://ea31337.github.io/EA31337-strategies>
| Strategy | Check | Compile | Backtest |
| --------:|:-----:|:-------:|:--------:|
| (Meta) Double | [![check][ghid_s_meta_double_check]][ghld_s_meta_double_check] | [![check][ghid_s_meta_double_compile]][ghld_s_meta_double_compile] | [![check][ghid_s_meta_double_bt]][ghld_s_meta_double_bt] |
| (Meta) Conditions | [![check][ghid_s_meta_conditions_check]][ghld_s_meta_conditions_check] | [![check][ghid_s_meta_conditions_compile]][ghld_s_meta_conditions_compile] | [![check][ghid_s_meta_conditions_bt]][ghld_s_meta_conditions_bt] |
| (Meta) Mirror | [![check][ghid_s_meta_mirror_check]][ghld_s_meta_mirror_check] | [![check][ghid_s_meta_mirror_compile]][ghld_s_meta_mirror_compile] | [![check][ghid_s_meta_mirror_bt]][ghld_s_meta_mirror_bt] |
| (Meta) Multi | [![check][ghid_s_meta_multi_check]][ghld_s_meta_multi_check] | [![check][ghid_s_meta_multi_compile]][ghld_s_meta_multi_compile] | [![check][ghid_s_meta_multi_bt]][ghld_s_meta_multi_bt] |
| (Meta) Oscillator | [![check][ghid_s_meta_osc_check]][ghld_s_meta_osc_check] | [![check][ghid_s_meta_osc_compile]][ghld_s_meta_osc_compile] | [![check][ghid_s_meta_osc_bt]][ghld_s_meta_osc_bt] |
Expand Down Expand Up @@ -316,6 +318,20 @@ NO REPRESENTATION IS BEING MADE THAN ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PR
[ghld_s_meta_double_bt]: https://github.com/EA31337/Strategy-Meta_Double/actions?query=workflow:Backtest+branch:dev
[ghid_s_meta_double_bt]: https://github.com/EA31337/Strategy-Meta_Double/workflows/Backtest/badge.svg?branch=dev

[ghlm_s_meta_conditions_check]: https://github.com/EA31337/Strategy-Meta_Conditions/actions?query=workflow:Check+branch:master
[ghim_s_meta_conditions_check]: https://github.com/EA31337/Strategy-Meta_Conditions/workflows/Check/badge.svg?branch=master
[ghlm_s_meta_conditions_compile]: https://github.com/EA31337/Strategy-Meta_Conditions/actions?query=workflow:Compile+branch:master
[ghim_s_meta_conditions_compile]: https://github.com/EA31337/Strategy-Meta_Conditions/workflows/Compile/badge.svg?branch=master
[ghlm_s_meta_conditions_bt]: https://github.com/EA31337/Strategy-Meta_Conditions/actions?query=workflow:Backtest+branch:master
[ghim_s_meta_conditions_bt]: https://github.com/EA31337/Strategy-Meta_Conditions/workflows/Backtest/badge.svg?branch=master

[ghld_s_meta_conditions_check]: https://github.com/EA31337/Strategy-Meta_Conditions/actions?query=workflow:Check+branch:dev
[ghid_s_meta_conditions_check]: https://github.com/EA31337/Strategy-Meta_Conditions/workflows/Check/badge.svg?branch=dev
[ghld_s_meta_conditions_compile]: https://github.com/EA31337/Strategy-Meta_Conditions/actions?query=workflow:Compile+branch:dev
[ghid_s_meta_conditions_compile]: https://github.com/EA31337/Strategy-Meta_Conditions/workflows/Compile/badge.svg?branch=dev
[ghld_s_meta_conditions_bt]: https://github.com/EA31337/Strategy-Meta_Conditions/actions?query=workflow:Backtest+branch:dev
[ghid_s_meta_conditions_bt]: https://github.com/EA31337/Strategy-Meta_Conditions/workflows/Backtest/badge.svg?branch=dev

[ghlm_s_meta_mirror_check]: https://github.com/EA31337/Strategy-Meta_Mirror/actions?query=workflow:Check+branch:master
[ghim_s_meta_mirror_check]: https://github.com/EA31337/Strategy-Meta_Mirror/workflows/Check/badge.svg?branch=master
[ghlm_s_meta_mirror_compile]: https://github.com/EA31337/Strategy-Meta_Mirror/actions?query=workflow:Compile+branch:master
Expand Down
1 change: 1 addition & 0 deletions enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ enum ENUM_STRATEGY {
STRAT_MACD, // MACD
STRAT_META_BEARS_BULLS, // (Meta) Bears & Bulls
STRAT_META_DOUBLE, // (Meta) Double
STRAT_META_CONDITIONS, // (Meta) Conditions
STRAT_META_MIRROR, // (Meta) Mirror
STRAT_META_MULTI, // (Meta) Multi
STRAT_META_REVERSAL, // (Meta) Reversal
Expand Down
1 change: 1 addition & 0 deletions includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
#include "MA_Trend/Stg_MA_Trend.mqh"
#include "MFI/Stg_MFI.mqh"
#include "Meta_Bears_Bulls/Stg_Meta_Bears_Bulls.mqh"
#include "Meta_Conditions/Stg_Meta_Conditions.mqh"
#include "Meta_Double/Stg_Meta_Double.mqh"
#include "Meta_Mirror/Stg_Meta_Mirror.mqh"
#include "Meta_Multi/Stg_Meta_Multi.mqh"
Expand Down

0 comments on commit afadff5

Please sign in to comment.