mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-21 20:18:05 +00:00
Refactor documentation to remove "Zero-Allocation Design" sections across various trend indicators and implement a PowerShell script for automated cleanup
- Updated mathematical foundations and performance profiles where necessary to maintain clarity and coherence.
This commit is contained in:
@@ -22,10 +22,6 @@ The core mechanic is the **Money Flow Multiplier (MFM)**, also known as the Clos
|
||||
|
||||
This multiplier is then applied to the volume to determine the "Money Flow Volume" for the period.
|
||||
|
||||
### Zero-Allocation Design
|
||||
|
||||
Our implementation is a stateful accumulator. It maintains a single `double` state variable representing the cumulative sum.
|
||||
|
||||
## Mathematical Foundation
|
||||
|
||||
### 1. Money Flow Multiplier (MFM)
|
||||
@@ -59,7 +55,7 @@ ADL is extremely lightweight.
|
||||
|
||||
## Validation
|
||||
|
||||
We validate against **TA-Lib**, **Skender.Stock.Indicators**, and **Tulip Indicators**.
|
||||
Validation is performed against **TA-Lib**, **Skender.Stock.Indicators**, and **Tulip Indicators**.
|
||||
|
||||
- **Accuracy**: Matches external libraries to 9 decimal places.
|
||||
- **Edge Cases**: Handles `High == Low` (division by zero protection) by setting MFM to 0.
|
||||
|
||||
Reference in New Issue
Block a user