Esempio n. 1
0
 /// <summary>
 /// Will return 0 on crossover from upper bound to middle and 1 on crossover from lower bound to middle, its 0.5 every other time
 /// </summary>
 /// <param name="border">Needs to be 0 << border << 1 </param>
 public StochBorderCrossoverIndicator(long timeframe, double border)
 {
     this.timeframe = timeframe;
     this.border    = border;
     stoch          = new StochIndicator(timeframe);
 }