Esempio n. 1
0
 public Splinter.Leo Leo(ISeries <double> input, NinjaTrader.NinjaScript.Indicators.Splinter.TrueRangeMethod rangeMethod, int rangePeriod)
 {
     if (cacheLeo != null)
     {
         for (int idx = 0; idx < cacheLeo.Length; idx++)
         {
             if (cacheLeo[idx] != null && cacheLeo[idx].RangeMethod == rangeMethod && cacheLeo[idx].RangePeriod == rangePeriod && cacheLeo[idx].EqualsInput(input))
             {
                 return(cacheLeo[idx]);
             }
         }
     }
     return(CacheIndicator <Splinter.Leo>(new Splinter.Leo()
     {
         RangeMethod = rangeMethod, RangePeriod = rangePeriod
     }, input, ref cacheLeo));
 }
Esempio n. 2
0
 public Splinter.Raphael Raphael(ISeries <double> input, NinjaTrader.NinjaScript.Indicators.Splinter.TrueRangeMethod rangeMethod, int trueRangePeriod)
 {
     if (cacheRaphael != null)
     {
         for (int idx = 0; idx < cacheRaphael.Length; idx++)
         {
             if (cacheRaphael[idx] != null && cacheRaphael[idx].RangeMethod == rangeMethod && cacheRaphael[idx].TrueRangePeriod == trueRangePeriod && cacheRaphael[idx].EqualsInput(input))
             {
                 return(cacheRaphael[idx]);
             }
         }
     }
     return(CacheIndicator <Splinter.Raphael>(new Splinter.Raphael()
     {
         RangeMethod = rangeMethod, TrueRangePeriod = trueRangePeriod
     }, input, ref cacheRaphael));
 }
Esempio n. 3
0
 public Indicators.Splinter.Leo Leo(ISeries <double> input, NinjaTrader.NinjaScript.Indicators.Splinter.TrueRangeMethod rangeMethod, int rangePeriod)
 {
     return(indicator.Leo(input, rangeMethod, rangePeriod));
 }
Esempio n. 4
0
 public Splinter.Leo Leo(NinjaTrader.NinjaScript.Indicators.Splinter.TrueRangeMethod rangeMethod, int rangePeriod)
 {
     return(Leo(Input, rangeMethod, rangePeriod));
 }
Esempio n. 5
0
 public Indicators.Splinter.Raphael Raphael(ISeries <double> input, NinjaTrader.NinjaScript.Indicators.Splinter.TrueRangeMethod rangeMethod, int trueRangePeriod)
 {
     return(indicator.Raphael(input, rangeMethod, trueRangePeriod));
 }
Esempio n. 6
0
 public Splinter.Raphael Raphael(NinjaTrader.NinjaScript.Indicators.Splinter.TrueRangeMethod rangeMethod, int trueRangePeriod)
 {
     return(Raphael(Input, rangeMethod, trueRangePeriod));
 }
Esempio n. 7
0
 public Indicators.Splinter.GreenRanger GreenRanger(NinjaTrader.NinjaScript.Indicators.Splinter.TrueRangeMethod rangeMethod, int rangePeriod)
 {
     return(indicator.GreenRanger(Input, rangeMethod, rangePeriod));
 }