Skip to content

Commit

Permalink
Affected: add WilderSmoothing
Browse files Browse the repository at this point in the history
  • Loading branch information
nenjotsu committed Mar 7, 2022
1 parent 18ca5f4 commit 60e0680
Show file tree
Hide file tree
Showing 14 changed files with 586 additions and 279 deletions.
8 changes: 4 additions & 4 deletions declarations/Utils/LinkedList.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ export declare class LinkedList {
private _length;
private _current;
constructor();
get head(): any;
get tail(): any;
get current(): any;
get length(): any;
readonly head: any;
readonly tail: any;
readonly current: any;
readonly length: any;
push(data: any): void;
pop(): any;
shift(): any;
Expand Down
1 change: 1 addition & 0 deletions declarations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export { sma, SMA } from "./moving_averages/SMA";
export { ema, EMA } from "./moving_averages/EMA";
export { wma, WMA } from "./moving_averages/WMA";
export { wema, WEMA } from "./moving_averages/WEMA";
export { wildersmoothing, WilderSmoothing } from "./moving_averages/WilderSmoothing";
export { macd, MACD } from "./moving_averages/MACD";
export { rsi, RSI } from "./oscillators/RSI";
export { bollingerbands, BollingerBands } from "./volatility/BollingerBands";
Expand Down
2 changes: 1 addition & 1 deletion declarations/momentum/KST.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ export declare class KST extends Indicator {
generator: IterableIterator<KSTOutput | undefined>;
constructor(input: KSTInput);
static calculate: typeof kst;
nextValue(price: number): any;
nextValue(price: number): KSTOutput;
}
export declare function kst(input: KSTInput): KSTOutput[];
2 changes: 1 addition & 1 deletion declarations/momentum/TRIX.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ export declare class TRIX extends Indicator {
generator: IterableIterator<number | undefined>;
constructor(input: TRIXInput);
static calculate: typeof trix;
nextValue(price: number): any;
nextValue(price: number): number;
}
export declare function trix(input: TRIXInput): number[];
2 changes: 1 addition & 1 deletion dist/browser.es6.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/custom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ declare class VWAPInput extends IndicatorInput {
}
declare class VWAP extends Indicator {
result: number[];
generator: IterableIterator<number | undefined>;
generator: IterableIterator<number>;
constructor(input: VWAPInput);
static calculate: typeof vwap;
nextValue(price: CandleData): number | undefined;
nextValue(price: CandleData): number;
}
declare function vwap(input: VWAPInput): number[];
declare class VolumeProfileInput extends IndicatorInput {
Expand Down
2 changes: 1 addition & 1 deletion dist/custom.js

Large diffs are not rendered by default.

Loading

0 comments on commit 60e0680

Please sign in to comment.