Exemplo n.º 1
0
 public JiraiyaIndicators.BarIndexCounterIndicator BarIndexCounterLauncher(ISeries <double> input, int barsInterval, int yOffSet, EDrawPosition drawPosition, Brush color)
 {
     if (cacheBarIndexCounterLauncher != null)
     {
         for (int idx = 0; idx < cacheBarIndexCounterLauncher.Length; idx++)
         {
             if (cacheBarIndexCounterLauncher[idx] != null && cacheBarIndexCounterLauncher[idx].BarsInterval == barsInterval && cacheBarIndexCounterLauncher[idx].YOffSet == yOffSet && cacheBarIndexCounterLauncher[idx].DrawPosition == drawPosition && cacheBarIndexCounterLauncher[idx].Color == color && cacheBarIndexCounterLauncher[idx].EqualsInput(input))
             {
                 return(cacheBarIndexCounterLauncher[idx]);
             }
         }
     }
     return(CacheIndicator <JiraiyaIndicators.BarIndexCounterIndicator>(new JiraiyaIndicators.BarIndexCounterIndicator()
     {
         BarsInterval = barsInterval, YOffSet = yOffSet, DrawPosition = drawPosition, Color = color
     }, input, ref cacheBarIndexCounterLauncher));
 }
Exemplo n.º 2
0
 public Indicators.JiraiyaIndicators.BarIndexCounterIndicator BarIndexCounterLauncher(ISeries <double> input, int barsInterval, int yOffSet, EDrawPosition drawPosition, Brush color)
 {
     return(indicator.BarIndexCounterLauncher(input, barsInterval, yOffSet, drawPosition, color));
 }
Exemplo n.º 3
0
 public JiraiyaIndicators.BarIndexCounterIndicator BarIndexCounterLauncher(int barsInterval, int yOffSet, EDrawPosition drawPosition, Brush color)
 {
     return(BarIndexCounterLauncher(Input, barsInterval, yOffSet, drawPosition, color));
 }