Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add on array indicators on RSI #11

Open
kenorb opened this issue Mar 30, 2021 · 0 comments
Open

Add on array indicators on RSI #11

kenorb opened this issue Mar 30, 2021 · 0 comments
Assignees

Comments

@kenorb
Copy link
Member

kenorb commented Mar 30, 2021

In strategy Init(), add/initialize the following extra indicators:

  • iBandsOnArray@RSI
  • iCCIOnArray@RSI
  • iEnvelopesOnArray@RSI
  • iMomentumOnArray@RSI
  • iMAOnArray@RSI
  • iRSIOnArray@RSI
  • iStdDevOnArray@RSI

Create structs with the default hardcoded param values, e.g.

struct RSI_Indi_Bands_Params_Defaults : BandsParams {
  RSI_Indi_Bands_Params_Defaults()
      : BandsParams(2, 0.35, 3, (ENUM_APPLIED_PRICE)2, 0) {}
} rsi_indi_bands_defaults;

Copy param values from the corresponding strategy on M30, e.g. https://github.com/EA31337/Strategy-Bands/blob/master/config/EURUSD_M30.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants