Skip to content

Commit

Permalink
Ama release (#64)
Browse files Browse the repository at this point in the history
* first implementation of AMA

* unit test added

* ama failed test but working prototype

* fix test

* add description

* add re-export
  • Loading branch information
BusinessDuck authored Nov 3, 2024
1 parent d047b2a commit 5611849
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ export { CircularBuffer } from './src/providers/circular-buffer';
export { Sampler } from './src/providers/sampler';
export { VolumeProfile } from './src/volume-profile'; /** BETA UNSTABLE */
export { ChaikinOscillator } from './src/chaikin';
export { AMA } from './src/ama';
// export { OrderBlock } from './src/order-block';
6 changes: 6 additions & 0 deletions src/ama.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import { CircularBuffer } from './providers/circular-buffer';

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

0 comments on commit 5611849

Please sign in to comment.