示例#1
0
文件: VMAC_Oil.cs 项目: mahmutf/cAlgo
 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;
 }
示例#2
0
文件: Oil_MAC.cs 项目: mahmutf/cAlgo
 protected override void Initialize()
 {
     _mac     = Indicators.GetIndicator <Oil_MaCross>(ResultPeriods, AveragePeriods);
     _mas     = Indicators.GetIndicator <Oil_MaSub>(ResultPeriods, AveragePeriods);
     _nocorel = Colors.Gray;
 }