You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let the return types guide your thinking. An Indicator is the closest 1:1 mapping with what you'd typically think of for a technical indicator, and it typically produces some numerical result. A Rule uses Indicators to determine whether or not some condition is satisfied. It can be ambiguous at times, but for your example DownTrendRule is more appropriate.
I am a little bit confused between purposes of Rule and Indicator.
How to decide which interface I should implement.
For example DownTrendIndicator as Indicator or DownTrendRule and isStatisfiedAt(index)?
The text was updated successfully, but these errors were encountered: