User rating: 3
Joined: Sat 09 Jun, 2018, 03:18 Posts: 24 Location: China,
|
请管理员告诉我: 1. indicatorResult = indicators.calculateIndicator(selectedInstrument, Period.ONE_HOUR, new OfferSide[] {OfferSide.BID}, "SMA", new IIndicators.AppliedPrice[] {IIndicators.AppliedPrice.CLOSE}, new Object[] {30}, 1); 这段程序是按小时图每根蜡烛的收盘价来计算SMA指标的吗?
2. 如何获取前几根蜡烛图的收盘价并保存为变量,比如现在是18:00,我要获得17::00,16:00,15:00等时间的蜡烛图?
|
|