Add unit tests for various moving average indicators

- Implement tests for HMA (Hull Moving Average) indicator to verify default settings, history depth calculations, and value computations during updates.
- Create tests for KAMA (Kaufman Adaptive Moving Average) indicator, ensuring correct defaults, history depth, and value calculations.
- Add tests for SMA (Simple Moving Average) indicator, checking default values, history depth, and value computations.
- Develop tests for T3 (Tillson T3 Moving Average) indicator, validating defaults, history depth, and value calculations.
- Implement tests for TEMA (Triple Exponential Moving Average) indicator, ensuring correct defaults and value computations.
- Create tests for TRIMA (Triangular Moving Average) indicator, verifying defaults, history depth, and value calculations.
- Add tests for WMA (Weighted Moving Average) indicator, checking default values, history depth, and value computations.
This commit is contained in:
Miha Kralj
2025-12-08 11:00:58 -08:00
parent 488de7ea1e
commit ed5e5c8209
72 changed files with 2834 additions and 92 deletions
+2 -2
View File
@@ -122,7 +122,7 @@ TBar bar = csv.Next(isNew: true);
Copy DLL files to Quantower installation:
```
<Quantower_root>\Settings\Scripts\Indicators\QuanTAlib\Averages\Averages.dll
<Quantower_root>\Settings\Scripts\Indicators\QuanTAlib\Trends\Trends.dll
```
Where `<Quantower_root>` is the directory containing `Start.lnk`.
@@ -138,7 +138,7 @@ QuanTAlib/
│ │ ├── tbar/ # TBar struct
│ │ ├── tbarseries/ # TBarSeries class
│ │ └── simd/ # SIMD extensions
│ ├── averages/
│ ├── trends/
│ │ └── ema/ # EMA indicator + tests + docs
│ └── feeds/
│ ├── csv/ # CSV file feed