From 56118496bd050dbc286de18d88698cc7e7a7c91d Mon Sep 17 00:00:00 2001 From: Dmitriy Date: Sun, 3 Nov 2024 11:11:10 +0100 Subject: [PATCH] Ama release (#64) * first implementation of AMA * unit test added * ama failed test but working prototype * fix test * add description * add re-export --- index.ts | 1 + src/ama.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/index.ts b/index.ts index e591202..4e63fbe 100644 --- a/index.ts +++ b/index.ts @@ -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'; diff --git a/src/ama.ts b/src/ama.ts index 15e6c21..91fa77e 100644 --- a/src/ama.ts +++ b/src/ama.ts @@ -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;