public ReversalGenesis(int n) : base(n) { T3 = new AdaptiveSmoothing(n); T32 = new AdaptiveSmoothing(5 * n); CCI = new CCI(n); WILLR = new WilliamsR(n); Gann = new GannHiLo(n); KST = new KST(); CH = new Chaikin(); BB = new BollingerBands(n); UO = new UltimateOscillator(n, 2 * n, 3 * n); }
public Genesis(int n) : base(n) { T3 = new AdaptiveSmoothing(n); T32 = new AdaptiveSmoothing(5 * n); CCI = new CCI(n); WILLR = new WilliamsR(n); Gann = new GannHiLo(n); KST = new KST(); CH = new Chaikin(); BB = new BollingerBands(); QChannel = new QSPolyChannel(); FI = new ForceIndex(30); PFE = new PFE(150); RWI = new RWI(30); AC = new AC(10); }
public static Quaternion[] Smooth(this Quaternion[] qs, int iterations, bool loop = true) { return(Chaikin.Smooth(qs, (q, k) => Quaternion.Slerp(Quaternion.identity, q, k), (q1, q2) => q1 * q2, iterations, loop)); }
public static Vector3[] Smooth(this Vector3[] vectors, int iterations, bool loop = true) { return(Chaikin.Smooth(vectors, (p, k) => p * k, (p1, p2) => p1 + p2, iterations, loop)); }