Exemple #1
0
 protected override void Initialize()
 {
     _filePath = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\cAlgo\\cbotset\\";
     _fileName = _filePath + "cbotset.json";
     SetParams();
     _mac     = Indicators.GetIndicator <Oil_MaCross>(_resultperiods, _averageperiods);
     _mas     = Indicators.GetIndicator <Oil_MaSub>(_resultperiods, _averageperiods);
     _nocorel = Colors.Gray;
 }
Exemple #2
0
 protected override void Initialize()
 {
     _mac     = Indicators.GetIndicator <Oil_MaCross>(ResultPeriods, AveragePeriods);
     _mas     = Indicators.GetIndicator <Oil_MaSub>(ResultPeriods, AveragePeriods);
     _nocorel = Colors.Gray;
 }