From db6f994d75dd714475fc8f2ff1e3221065d291ba Mon Sep 17 00:00:00 2001 From: Miha Kralj Date: Sun, 14 Dec 2025 20:37:30 -0800 Subject: [PATCH] feat: Implement ADX Indicator with tests, documentation, and integration --- lib/_index.md | 4 ++-- lib/momentum/_index.md | 2 +- lib/{trends => momentum}/adx/Adx.Quantower.Tests.cs | 0 lib/{trends => momentum}/adx/Adx.Quantower.cs | 0 lib/{trends => momentum}/adx/Adx.Tests.cs | 0 lib/{trends => momentum}/adx/Adx.Validation.Tests.cs | 0 lib/{trends => momentum}/adx/Adx.cs | 0 lib/{trends => momentum}/adx/Adx.md | 0 lib/trends/_index.md | 1 - 9 files changed, 3 insertions(+), 4 deletions(-) rename lib/{trends => momentum}/adx/Adx.Quantower.Tests.cs (100%) rename lib/{trends => momentum}/adx/Adx.Quantower.cs (100%) rename lib/{trends => momentum}/adx/Adx.Tests.cs (100%) rename lib/{trends => momentum}/adx/Adx.Validation.Tests.cs (100%) rename lib/{trends => momentum}/adx/Adx.cs (100%) rename lib/{trends => momentum}/adx/Adx.md (100%) diff --git a/lib/_index.md b/lib/_index.md index 9fa98f9c..3f24e181 100644 --- a/lib/_index.md +++ b/lib/_index.md @@ -9,7 +9,7 @@ | ADL | Accumulation/Distribution Line | Volume | | ADOSC | Chaikin A/D Oscillator | Volume | | ADR | Average Daily Range | Volatility | -| ADX | Average Directional Movement Index | Momentum | +| [ADX](momentum/adx/Adx.md) | Average Directional Index | Momentum | | ADXR | Average Directional Movement Rating | Momentum | | AFIRMA | Autoregressive FIR MA | Forecasts | | ALLIGATOR | Williams Alligator | Trends | @@ -235,7 +235,7 @@ | STOCH | Stochastic Oscillator | Momentum | | STOCHF | Stochastic Fast | Momentum | | STOCHRSI | Stochastic RSI | Momentum | -| SUPER | SuperTrend | Trends | +| [SUPER](trends/super/Super.md) | SuperTrend | Trends | | SWINGS | Swing High/Low Detection | Reversals | | [T3](trends/t3/T3.md) | Tillson T3 MA | Trends | | TANH | Hyperbolic Tangent | Numerics | diff --git a/lib/momentum/_index.md b/lib/momentum/_index.md index 8fc66efc..b819922c 100644 --- a/lib/momentum/_index.md +++ b/lib/momentum/_index.md @@ -5,7 +5,7 @@ Momentum indicators measure the speed or strength of price movements. This inclu | Indicator | Full Name | Description | | :--- | :--- | :--- | | AC | Acceleration Oscillator | | -| ADX | Average Directional Movement Index | | +| [ADX](adx/Adx.md) | Average Directional Index | Measures the strength of a trend, regardless of its direction. | | ADXR | Average Directional Movement Rating | | | AO | Awesome Oscillator | | | APO | Absolute Price Oscillator | | diff --git a/lib/trends/adx/Adx.Quantower.Tests.cs b/lib/momentum/adx/Adx.Quantower.Tests.cs similarity index 100% rename from lib/trends/adx/Adx.Quantower.Tests.cs rename to lib/momentum/adx/Adx.Quantower.Tests.cs diff --git a/lib/trends/adx/Adx.Quantower.cs b/lib/momentum/adx/Adx.Quantower.cs similarity index 100% rename from lib/trends/adx/Adx.Quantower.cs rename to lib/momentum/adx/Adx.Quantower.cs diff --git a/lib/trends/adx/Adx.Tests.cs b/lib/momentum/adx/Adx.Tests.cs similarity index 100% rename from lib/trends/adx/Adx.Tests.cs rename to lib/momentum/adx/Adx.Tests.cs diff --git a/lib/trends/adx/Adx.Validation.Tests.cs b/lib/momentum/adx/Adx.Validation.Tests.cs similarity index 100% rename from lib/trends/adx/Adx.Validation.Tests.cs rename to lib/momentum/adx/Adx.Validation.Tests.cs diff --git a/lib/trends/adx/Adx.cs b/lib/momentum/adx/Adx.cs similarity index 100% rename from lib/trends/adx/Adx.cs rename to lib/momentum/adx/Adx.cs diff --git a/lib/trends/adx/Adx.md b/lib/momentum/adx/Adx.md similarity index 100% rename from lib/trends/adx/Adx.md rename to lib/momentum/adx/Adx.md diff --git a/lib/trends/_index.md b/lib/trends/_index.md index 4c88e2fc..fb31d3f8 100644 --- a/lib/trends/_index.md +++ b/lib/trends/_index.md @@ -4,7 +4,6 @@ Trend indicators help identify the direction and strength of a market trend. Mov | Indicator | Full Name | Description | | :--- | :--- | :--- | -| [ADX](adx/Adx.md) | Average Directional Index | Measures the strength of a trend, regardless of its direction. | | ALLIGATOR | Williams Alligator | | | [ALMA](alma/Alma.md) | Arnaud Legoux MA | Uses Gaussian distribution weights to balance smoothness and responsiveness. | | AMAT | Archer Moving Averages Trends | |