mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 13:38:05 +00:00
Atr, FlowIndicator and fixes
This commit is contained in:
@@ -90,6 +90,7 @@ public class Ema : AbstractBase
|
||||
_k = alpha;
|
||||
_useSma = false;
|
||||
_sma = new(1);
|
||||
Name = "Ema";
|
||||
_period = 1;
|
||||
WarmupPeriod = (int)Math.Ceiling(Math.Log(0.05) / Math.Log(1 - _k)); //95th percentile
|
||||
Init();
|
||||
|
||||
Reference in New Issue
Block a user