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

continuation trades are not working #5

Open
stfl opened this issue Oct 1, 2020 · 0 comments
Open

continuation trades are not working #5

stfl opened this issue Oct 1, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@stfl
Copy link
Owner

stfl commented Oct 1, 2020

Problem

The logic to detect continuation trades does not work.

  • Entering a trade from WaitContinue[Long|Short| states are implemented..
  • Changing to the EXPERT_STATE WaitContinue[Long|Short] is not implemented.

Solution

Implement a separate state machine for continuation trades that only considers the continuation indicator. For example the two MACD lines shall not cross above 0 to give a continuation signal.
Does it have to cross twice below 0?

depends on #6

@stfl stfl added the bug Something isn't working label Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant