-
-
Notifications
You must be signed in to change notification settings - Fork 148
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Measures the strength of a trend by analyzing deviations from a major moving average.
Implementation Logic
Track the deviations of the closing price from a major SMA. Maintain a rolling slice (representing the minor period) to conditionally store these deviations. The slice must push new deviations and pop the oldest, recalculating the sum of positive deviations and the sum of negative deviations on the fly before generating the percentage ratio.
Suggested Package
trend
Labels
- enhancement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request