mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 22:08:05 +00:00
Sonar changes
This commit is contained in:
@@ -33,7 +33,6 @@ public class ZLMA_chart : Indicator
|
|||||||
|
|
||||||
private TBars bars;
|
private TBars bars;
|
||||||
///////
|
///////
|
||||||
private ZL_Series zerolag;
|
|
||||||
private TSeries indicator;
|
private TSeries indicator;
|
||||||
///////
|
///////
|
||||||
|
|
||||||
|
|||||||
@@ -41,8 +41,6 @@ public class JMA_Series : Single_TSeries_Indicator
|
|||||||
this.rvolty = Math.Exp((1 / this.pow1) * Math.Log(len1));
|
this.rvolty = Math.Exp((1 / this.pow1) * Math.Log(len1));
|
||||||
this.len2 = Math.Sqrt(0.5 * (_p - 1)) * len1;
|
this.len2 = Math.Sqrt(0.5 * (_p - 1)) * len1;
|
||||||
this.beta = 0.45 * (_p - 1) / (0.45 * (_p - 1) + 2);
|
this.beta = 0.45 * (_p - 1) / (0.45 * (_p - 1) + 2);
|
||||||
this._l = (int)Math.Round(this._p - 1 * 0.5);
|
|
||||||
|
|
||||||
if (base._data.Count > 0) { base.Add(base._data); }
|
if (base._data.Count > 0) { base.Add(base._data); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user