From 67e743830802e21e9126990bb0d7898869d89811 Mon Sep 17 00:00:00 2001 From: kenorb Date: Sun, 1 Oct 2023 19:14:50 +0100 Subject: [PATCH] Adds Meta Limit and Meta Profit strategies --- .github/workflows/compile.yml | 1 + .gitmodules | 6 ++++++ Meta_Limit | 1 + Meta_Profit | 1 + README.md | 16 ++++++++++++++++ enum.h | 1 + includes.h | 1 + 7 files changed, 27 insertions(+) create mode 160000 Meta_Limit create mode 160000 Meta_Profit diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 39b1700..756cb83 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -67,6 +67,7 @@ jobs: - Meta_Delegate - Meta_Double - Meta_Equity + - Meta_Limit - Meta_Margin - Meta_Mirror - Meta_Multi diff --git a/.gitmodules b/.gitmodules index 56203dd..d52d44f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -118,6 +118,9 @@ [submodule "Meta_Equity"] path = Meta_Equity url = https://github.com/EA31337/Strategy-Meta_Equity.git +[submodule "Meta_Limit"] + path = Meta_Limit + url = https://github.com/EA31337/Strategy-Meta_Limit.git [submodule "Meta_Margin"] path = Meta_Margin url = https://github.com/EA31337/Strategy-Meta_Margin.git @@ -130,6 +133,9 @@ [submodule "Meta_Oscillator"] path = Meta_Oscillator url = https://github.com/EA31337/Strategy-Meta_Oscillator.git +[submodule "Meta_Profit"] + path = Meta_Profit + url = https://github.com/EA31337/Strategy-Meta_Profit.git [submodule "Meta_Reversal"] path = Meta_Reversal url = https://github.com/EA31337/Strategy-Meta_Reversal.git diff --git a/Meta_Limit b/Meta_Limit new file mode 160000 index 0000000..75ff8fd --- /dev/null +++ b/Meta_Limit @@ -0,0 +1 @@ +Subproject commit 75ff8fd23aa3ef955423d05533c2d39283a82afc diff --git a/Meta_Profit b/Meta_Profit new file mode 160000 index 0000000..e58c8be --- /dev/null +++ b/Meta_Profit @@ -0,0 +1 @@ +Subproject commit e58c8bed02c84d75d716d734ee1f6672ef1e4e17 diff --git a/README.md b/README.md index 9cb01fc..33ad7c2 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ See: | (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) Equity | [![check][ghim_s_meta_equity_check]][ghlm_s_meta_equity_check] | [![check][ghim_s_meta_equity_compile]][ghlm_s_meta_equity_compile] | [![check][ghim_s_meta_equity_bt]][ghlm_s_meta_equity_bt] | +| (Meta) Limit | [![check][ghim_s_meta_limit_check]][ghlm_s_meta_limit_check] | [![check][ghim_s_meta_limit_compile]][ghlm_s_meta_limit_compile] | [![check][ghim_s_meta_limit_bt]][ghlm_s_meta_limit_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] | @@ -141,6 +142,7 @@ See: | (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) Equity | [![check][ghid_s_meta_equity_check]][ghld_s_meta_equity_check] | [![check][ghid_s_meta_equity_compile]][ghld_s_meta_equity_compile] | [![check][ghid_s_meta_equity_bt]][ghld_s_meta_equity_bt] | +| (Meta) Limit | [![check][ghid_s_meta_limit_check]][ghld_s_meta_limit_check] | [![check][ghid_s_meta_limit_compile]][ghld_s_meta_limit_compile] | [![check][ghid_s_meta_limit_bt]][ghld_s_meta_limit_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] | @@ -354,6 +356,20 @@ NO REPRESENTATION IS BEING MADE THAN ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PR [ghld_s_meta_equity_bt]: https://github.com/EA31337/Strategy-Meta_Equity/actions?query=workflow:Backtest+branch:dev [ghid_s_meta_equity_bt]: https://github.com/EA31337/Strategy-Meta_Equity/workflows/Backtest/badge.svg?branch=dev +[ghlm_s_meta_limit_check]: https://github.com/EA31337/Strategy-Meta_Limit/actions?query=workflow:Check+branch:master +[ghim_s_meta_limit_check]: https://github.com/EA31337/Strategy-Meta_Limit/workflows/Check/badge.svg?branch=master +[ghlm_s_meta_limit_compile]: https://github.com/EA31337/Strategy-Meta_Limit/actions?query=workflow:Compile+branch:master +[ghim_s_meta_limit_compile]: https://github.com/EA31337/Strategy-Meta_Limit/workflows/Compile/badge.svg?branch=master +[ghlm_s_meta_limit_bt]: https://github.com/EA31337/Strategy-Meta_Limit/actions?query=workflow:Backtest+branch:master +[ghim_s_meta_limit_bt]: https://github.com/EA31337/Strategy-Meta_Limit/workflows/Backtest/badge.svg?branch=master + +[ghld_s_meta_limit_check]: https://github.com/EA31337/Strategy-Meta_Limit/actions?query=workflow:Check+branch:dev +[ghid_s_meta_limit_check]: https://github.com/EA31337/Strategy-Meta_Limit/workflows/Check/badge.svg?branch=dev +[ghld_s_meta_limit_compile]: https://github.com/EA31337/Strategy-Meta_Limit/actions?query=workflow:Compile+branch:dev +[ghid_s_meta_limit_compile]: https://github.com/EA31337/Strategy-Meta_Limit/workflows/Compile/badge.svg?branch=dev +[ghld_s_meta_limit_bt]: https://github.com/EA31337/Strategy-Meta_Limit/actions?query=workflow:Backtest+branch:dev +[ghid_s_meta_limit_bt]: https://github.com/EA31337/Strategy-Meta_Limit/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 diff --git a/enum.h b/enum.h index 4c50b28..33fbbde 100644 --- a/enum.h +++ b/enum.h @@ -63,6 +63,7 @@ enum ENUM_STRATEGY { STRAT_META_DOUBLE, // (Meta) Double STRAT_META_CONDITIONS, // (Meta) Conditions STRAT_META_EQUITY, // (Meta) Equity + STRAT_META_LIMIT, // (Meta) Limit STRAT_META_MARGIN, // (Meta) Margin STRAT_META_MIRROR, // (Meta) Mirror STRAT_META_MULTI, // (Meta) Multi diff --git a/includes.h b/includes.h index 7bd0eb0..18ada65 100644 --- a/includes.h +++ b/includes.h @@ -59,6 +59,7 @@ #include "Meta_Conditions/Stg_Meta_Conditions.mqh" #include "Meta_Double/Stg_Meta_Double.mqh" #include "Meta_Equity/Stg_Meta_Equity.mqh" +#include "Meta_Limit/Stg_Meta_Limit.mqh" #include "Meta_Margin/Stg_Meta_Margin.mqh" #include "Meta_Mirror/Stg_Meta_Mirror.mqh" #include "Meta_Multi/Stg_Meta_Multi.mqh"