mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 13:58:04 +00:00
Refactor documentation for various filters and indicators to enhance clarity and consistency
- Updated Bessel, Bilateral, Blma, Butter, Conv, Ema, Kama, LSMA, MAMA, MGDI, SSF, USF, ATR, ADL, and ADOSC documentation to use bullet points for key concepts and features. - Added a new Qodana configuration file for code analysis. - Removed coverage configuration from Quantower.Tests.csproj to streamline testing setup.
This commit is contained in:
@@ -12,8 +12,8 @@ Published by John McGinley in the *Market Technicians Association Journal* (1991
|
||||
|
||||
The MGDI formula is unique. It looks like an EMA, but the smoothing constant is dynamic and depends on the ratio of Price to the previous MGDI value.
|
||||
|
||||
- **Price > MGDI**: The market is speeding up (or recovering). The denominator grows, slowing the adjustment to prevent overshoot.
|
||||
- **Price < MGDI**: The market is falling. The formula adapts to hug the price without breaking.
|
||||
* **Price > MGDI**: The market is speeding up (or recovering). The denominator grows, slowing the adjustment to prevent overshoot.
|
||||
* **Price < MGDI**: The market is falling. The formula adapts to hug the price without breaking.
|
||||
|
||||
## Mathematical Foundation
|
||||
|
||||
@@ -21,9 +21,9 @@ $$ \text{MGDI}_t = \text{MGDI}_{t-1} + \frac{P_t - \text{MGDI}_{t-1}}{k \times N
|
||||
|
||||
Where:
|
||||
|
||||
- $N$ is the period (roughly analogous to an EMA period).
|
||||
- $k$ is a constant (usually 0.6).
|
||||
- The term $(P_t / \text{MGDI}_{t-1})^4$ is the accelerator/decelerator.
|
||||
* $N$ is the period (roughly analogous to an EMA period).
|
||||
* $k$ is a constant (usually 0.6).
|
||||
* The term $(P_t / \text{MGDI}_{t-1})^4$ is the accelerator/decelerator.
|
||||
|
||||
## Performance Profile
|
||||
|
||||
@@ -51,6 +51,7 @@ Validated against Skender and Ooples.
|
||||
| **TA-Lib** | N/A | Not implemented |
|
||||
|
||||
| **Tulip** | N/A | Not implemented. |
|
||||
|
||||
### Common Pitfalls
|
||||
|
||||
1. **Not an EMA**: Do not treat it like an EMA. It does not have a fixed alpha.
|
||||
|
||||
Reference in New Issue
Block a user