private void InitializeFields2()
 {
     _importFromSql = new ImportFromSql();
     _lastAverage   = new RsiManager();
     _tradeManager  = new TradeManager();
     _backtest      = new Backtest(100000, 30000);
 }
예제 #2
0
 public RSI(List <DailyDataPoint> points, int index, RsiManager lastAverage, int lengthRsi)
 {
     _points      = points;
     _index       = index;
     _advance     = new List <double>();
     _decline     = new List <double>();
     _lastAverage = lastAverage;
     _lenghtRsi   = lengthRsi;
 }
예제 #3
0
 private void InitializeIndicators()
 {
     _lastAverage = new RsiManager();
 }