Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Conversation

richardliang
Copy link
Contributor

No description provided.

)
public
{
longTermMAOracle = _longTermMAOracle;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't these both be the same oracle, just different days passed in?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that's true if we are using the same time frame i.e. 12 day EMA and 26 day EMA

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keeping it flexible in case someone wants to do an hourly MA crossing a daily MA, or a 20 SMA crossing a 26 EMA etc

@richardliang richardliang merged commit 0dd35ab into master Jul 2, 2020
@richardliang richardliang deleted the richard/ma-ma-trigger branch July 2, 2020 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants