Skip to content

Commit 5611849

Browse files
authored
Ama release (#64)
* first implementation of AMA * unit test added * ama failed test but working prototype * fix test * add description * add re-export
1 parent d047b2a commit 5611849

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ export { CircularBuffer } from './src/providers/circular-buffer';
3838
export { Sampler } from './src/providers/sampler';
3939
export { VolumeProfile } from './src/volume-profile'; /** BETA UNSTABLE */
4040
export { ChaikinOscillator } from './src/chaikin';
41+
export { AMA } from './src/ama';
4142
// export { OrderBlock } from './src/order-block';

src/ama.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import { CircularBuffer } from './providers/circular-buffer';
22

3+
/**
4+
* Adaptive Moving Average (AMA) is a powerful tool that can significantly improve your trading strategy.
5+
* In this ultimate guide, I’ll walk you through everything you need to know about AMA – from its
6+
* basics to implementing it in your own trading approach.
7+
* Get ready to take your trading game to the next level!
8+
*/
39
export class AMA {
410
private circular: CircularBuffer;
511
private sumNoise = 0;

0 commit comments

Comments
 (0)