Exemplo n.º 1
0
        public IList <double> Execute(ISecurity source)
        {
            var dip = ADXHelper.CalcDIP(source, Context, Period);
            var dim = ADXHelper.CalcDIM(source, Context, Period);

            return(ADXHelper.CalcADX(dip, dim, Period));
        }
Exemplo n.º 2
0
        public IList <double> Execute(ISecurity source)
        {
            var dip     = ADXHelper.CalcDIP(source, Period, Context);
            var dim     = ADXHelper.CalcDIM(source, Period, Context);
            var results = ADXHelper.CalcADX(dip, dim, Period, Context);

            Context?.ReleaseArray((Array)dip);
            Context?.ReleaseArray((Array)dim);
            return(results);
        }
Exemplo n.º 3
0
 public IList <double> Execute(ISecurity source)
 {
     return(ADXHelper.CalcDIP(source, Context, Period));
 }