Skip to content

Commit

Permalink
Adds MA_Cross_Pivot strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Sep 5, 2023
1 parent 7490390 commit 9713d13
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 @@ -54,6 +54,7 @@ jobs:
- Ichimoku
- Indicator
- MA
- MA_Cross_Pivot
- MA_Cross_Shift
- MACD
- MFI
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@
[submodule "MA"]
path = MA
url = https://github.com/EA31337/Strategy-MA
[submodule "MA_Cross_Pivot"]
path = MA_Cross_Pivot
url = https://github.com/EA31337/Strategy-MA_Cross_Pivot.git
[submodule "MA_Cross_Shift"]
path = MA_Cross_Shift
url = https://github.com/EA31337/Strategy-MA_Cross_Shift.git
Expand Down
1 change: 1 addition & 0 deletions MA_Cross_Pivot
Submodule MA_Cross_Pivot added at 8fc79d
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ See: <https://ea31337.github.io/EA31337-strategies>
| Ichimoku | [![check][ghim_s_ichi_check]][ghlm_s_ichi_check] | [![check][ghim_s_ichi_compile]][ghlm_s_ichi_compile] | [![check][ghim_s_ichi_bt]][ghlm_s_ichi_bt] |
| Indicator | [![check][ghim_s_indi_check]][ghlm_s_indi_check] | [![check][ghim_s_indi_compile]][ghlm_s_indi_compile] | [![check][ghim_s_indi_bt]][ghlm_s_indi_bt] |
| MA | [![check][ghim_s_ma_check]][ghlm_s_ma_check] | [![check][ghim_s_ma_compile]][ghlm_s_ma_compile] | [![check][ghim_s_ma_bt]][ghlm_s_ma_bt] |
| MA Cross Pivot | [![check][ghim_s_ma_cross_pivot_check]][ghlm_s_ma_cross_pivot_check] | [![check][ghim_s_ma_cross_pivot_compile]][ghlm_s_ma_cross_pivot_compile] | [![check][ghim_s_ma_cross_pivot_bt]][ghlm_s_ma_cross_pivot_bt] |
| MA Cross Shift | [![check][ghim_s_ma_cross_shift_check]][ghlm_s_ma_cross_shift_check] | [![check][ghim_s_ma_cross_shift_compile]][ghlm_s_ma_cross_shift_compile] | [![check][ghim_s_ma_cross_shift_bt]][ghlm_s_ma_cross_shift_bt] |
| MACD | [![check][ghim_s_macd_check]][ghlm_s_macd_check] | [![check][ghim_s_macd_compile]][ghlm_s_macd_compile] | [![check][ghim_s_macd_bt]][ghlm_s_macd_bt] |
| MFI | [![check][ghim_s_mfi_check]][ghlm_s_mfi_check] | [![check][ghim_s_mfi_compile]][ghlm_s_mfi_compile] | [![check][ghim_s_mfi_bt]][ghlm_s_mfi_bt] |
Expand Down Expand Up @@ -148,6 +149,7 @@ See: <https://ea31337.github.io/EA31337-strategies>
| Ichimoku | [![check][ghid_s_ichi_check]][ghld_s_ichi_check] | [![check][ghid_s_ichi_compile]][ghld_s_ichi_compile] | [![check][ghid_s_ichi_bt]][ghld_s_ichi_bt] |
| Indicator | [![check][ghid_s_indi_check]][ghld_s_indi_check] | [![check][ghid_s_indi_compile]][ghld_s_indi_compile] | [![check][ghid_s_indi_bt]][ghld_s_indi_bt] |
| MA | [![check][ghid_s_ma_check]][ghld_s_ma_check] | [![check][ghid_s_ma_compile]][ghld_s_ma_compile] | [![check][ghid_s_ma_bt]][ghld_s_ma_bt] |
| MA Cross Pivot | [![check][ghid_s_ma_cross_pivot_check]][ghld_s_ma_cross_pivot_check] | [![check][ghid_s_ma_cross_pivot_compile]][ghld_s_ma_cross_pivot_compile] | [![check][ghid_s_ma_cross_pivot_bt]][ghld_s_ma_cross_pivot_bt] |
| MA Cross Shift | [![check][ghid_s_ma_cross_shift_check]][ghld_s_ma_cross_shift_check] | [![check][ghid_s_ma_cross_shift_compile]][ghld_s_ma_cross_shift_compile] | [![check][ghid_s_ma_cross_shift_bt]][ghld_s_ma_cross_shift_bt] |
| MACD | [![check][ghid_s_macd_check]][ghld_s_macd_check] | [![check][ghid_s_macd_compile]][ghld_s_macd_compile] | [![check][ghid_s_macd_bt]][ghld_s_macd_bt] |
| MFI | [![check][ghid_s_mfi_check]][ghld_s_mfi_check] | [![check][ghid_s_mfi_compile]][ghld_s_mfi_compile] | [![check][ghid_s_mfi_bt]][ghld_s_mfi_bt] |
Expand Down Expand Up @@ -704,6 +706,20 @@ NO REPRESENTATION IS BEING MADE THAN ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PR
[ghld_s_ma_bt]: https://github.com/EA31337/Strategy-MA/actions?query=workflow:Backtest+branch:dev
[ghid_s_ma_bt]: https://github.com/EA31337/Strategy-MA/workflows/Backtest/badge.svg?branch=dev

[ghlm_s_ma_cross_pivot_check]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/actions?query=workflow:Check+branch:master
[ghim_s_ma_cross_pivot_check]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/workflows/Check/badge.svg?branch=master
[ghlm_s_ma_cross_pivot_compile]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/actions?query=workflow:Compile+branch:master
[ghim_s_ma_cross_pivot_compile]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/workflows/Compile/badge.svg?branch=master
[ghlm_s_ma_cross_pivot_bt]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/actions?query=workflow:Backtest+branch:master
[ghim_s_ma_cross_pivot_bt]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/workflows/Backtest/badge.svg?branch=master

[ghld_s_ma_cross_pivot_check]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/actions?query=workflow:Check+branch:dev
[ghid_s_ma_cross_pivot_check]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/workflows/Check/badge.svg?branch=dev
[ghld_s_ma_cross_pivot_compile]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/actions?query=workflow:Compile+branch:dev
[ghid_s_ma_cross_pivot_compile]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/workflows/Compile/badge.svg?branch=dev
[ghld_s_ma_cross_pivot_bt]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/actions?query=workflow:Backtest+branch:dev
[ghid_s_ma_cross_pivot_bt]: https://github.com/EA31337/Strategy-MA_Cross_Pivot/workflows/Backtest/badge.svg?branch=dev

[ghlm_s_ma_cross_shift_check]: https://github.com/EA31337/Strategy-MA_Cross_Shift/actions?query=workflow:Check+branch:master
[ghim_s_ma_cross_shift_check]: https://github.com/EA31337/Strategy-MA_Cross_Shift/workflows/Check/badge.svg?branch=master
[ghlm_s_ma_cross_shift_compile]: https://github.com/EA31337/Strategy-MA_Cross_Shift/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 @@ -52,6 +52,7 @@ enum ENUM_STRATEGY {
STRAT_ICHIMOKU, // Ichimoku
STRAT_INDICATOR, // Indicator
STRAT_MA, // MA
STRAT_MA_CROSS_PIVOT, // MA Cross Pivot
STRAT_MA_CROSS_SHIFT, // MA Cross Shift
STRAT_MACD, // MACD
STRAT_META_MIRROR, // (Meta) Mirror
Expand Down
1 change: 1 addition & 0 deletions strategies.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
#include "Ichimoku/Stg_Ichimoku.mqh"
#include "Indicator/Stg_Indicator.mqh"
#include "MA/Stg_MA.mqh"
#include "MA_Cross_Pivot/Stg_MA_Cross_Pivot.mqh"
#include "MA_Cross_Shift/Stg_MA_Cross_Shift.mqh"
#include "MACD/Stg_MACD.mqh"
#include "MFI/Stg_MFI.mqh"
Expand Down

0 comments on commit 9713d13

Please sign in to comment.