Skip to content

Commit

Permalink
Adds Meta Margin strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 30, 2023
1 parent afadff5 commit bbe31b0
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 @@ -65,6 +65,7 @@ jobs:
- Meta_Bears_Bulls
- Meta_Conditions
- Meta_Double
- Meta_Margin
- Meta_Mirror
- Meta_Multi
- Meta_Oscillator
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
[submodule "Meta_Double"]
path = Meta_Double
url = https://github.com/EA31337/Strategy-Meta_Double.git
[submodule "Meta_Margin"]
path = Meta_Margin
url = https://github.com/EA31337/Strategy-Meta_Margin.git
[submodule "Meta_Mirror"]
path = Meta_Mirror
url = https://github.com/EA31337/Strategy-Meta_Mirror.git
Expand Down
1 change: 1 addition & 0 deletions Meta_Margin
Submodule Meta_Margin added at 3092a6
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ See: <https://ea31337.github.io/EA31337-strategies>
| --------:|:-----:|:-------:|:--------:|
| (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) Margin | [![check][ghim_s_meta_margin_check]][ghlm_s_meta_margin_check] | [![check][ghim_s_meta_margin_compile]][ghlm_s_meta_margin_compile] | [![check][ghim_s_meta_margin_bt]][ghlm_s_meta_margin_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 @@ -136,6 +137,7 @@ See: <https://ea31337.github.io/EA31337-strategies>
| --------:|:-----:|:-------:|:--------:|
| (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) Margin | [![check][ghid_s_meta_margin_check]][ghld_s_meta_margin_check] | [![check][ghid_s_meta_margin_compile]][ghld_s_meta_margin_compile] | [![check][ghid_s_meta_margin_bt]][ghld_s_meta_margin_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 @@ -332,6 +334,20 @@ NO REPRESENTATION IS BEING MADE THAN ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PR
[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_margin_check]: https://github.com/EA31337/Strategy-Meta_Margin/actions?query=workflow:Check+branch:master
[ghim_s_meta_margin_check]: https://github.com/EA31337/Strategy-Meta_Margin/workflows/Check/badge.svg?branch=master
[ghlm_s_meta_margin_compile]: https://github.com/EA31337/Strategy-Meta_Margin/actions?query=workflow:Compile+branch:master
[ghim_s_meta_margin_compile]: https://github.com/EA31337/Strategy-Meta_Margin/workflows/Compile/badge.svg?branch=master
[ghlm_s_meta_margin_bt]: https://github.com/EA31337/Strategy-Meta_Margin/actions?query=workflow:Backtest+branch:master
[ghim_s_meta_margin_bt]: https://github.com/EA31337/Strategy-Meta_Margin/workflows/Backtest/badge.svg?branch=master

[ghld_s_meta_margin_check]: https://github.com/EA31337/Strategy-Meta_Margin/actions?query=workflow:Check+branch:dev
[ghid_s_meta_margin_check]: https://github.com/EA31337/Strategy-Meta_Margin/workflows/Check/badge.svg?branch=dev
[ghld_s_meta_margin_compile]: https://github.com/EA31337/Strategy-Meta_Margin/actions?query=workflow:Compile+branch:dev
[ghid_s_meta_margin_compile]: https://github.com/EA31337/Strategy-Meta_Margin/workflows/Compile/badge.svg?branch=dev
[ghld_s_meta_margin_bt]: https://github.com/EA31337/Strategy-Meta_Margin/actions?query=workflow:Backtest+branch:dev
[ghid_s_meta_margin_bt]: https://github.com/EA31337/Strategy-Meta_Margin/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 @@ -62,6 +62,7 @@ enum ENUM_STRATEGY {
STRAT_META_BEARS_BULLS, // (Meta) Bears & Bulls
STRAT_META_DOUBLE, // (Meta) Double
STRAT_META_CONDITIONS, // (Meta) Conditions
STRAT_META_MARGIN, // (Meta) Margin
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 @@ -58,6 +58,7 @@
#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_Margin/Stg_Meta_Margin.mqh"
#include "Meta_Mirror/Stg_Meta_Mirror.mqh"
#include "Meta_Multi/Stg_Meta_Multi.mqh"
#include "Meta_Reversal/Stg_Meta_Reversal.mqh"
Expand Down

0 comments on commit bbe31b0

Please sign in to comment.