feat: add Anchored RSI to the momentum oscillators family (#144)
Cumulative Relative Strength Index whose averaging begins at a runtime-chosen anchor bar (set_anchor), the momentum counterpart to Anchored VWAP. Scalar f64 input, 0..=100 output; wired through core, Python, Node and WASM bindings, fuzz, benches, tests and docs. Indicator count 289 -> 290.
This commit is contained in:
Vendored
+10
@@ -1224,6 +1224,16 @@ export declare class WilliamsAD {
|
||||
isReady(): boolean
|
||||
warmupPeriod(): number
|
||||
}
|
||||
export type AnchoredRsiNode = AnchoredRSI
|
||||
export declare class AnchoredRSI {
|
||||
constructor()
|
||||
setAnchor(): void
|
||||
update(value: number): number | null
|
||||
batch(prices: Array<number>): Array<number>
|
||||
reset(): void
|
||||
isReady(): boolean
|
||||
warmupPeriod(): number
|
||||
}
|
||||
export type AnchoredVwapNode = AnchoredVWAP
|
||||
export declare class AnchoredVWAP {
|
||||
constructor()
|
||||
|
||||
Reference in New Issue
Block a user