Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
JForex自动程序化开发问题 http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=183&t=56559 |
Page 1 of 1 |
Author: | Bletherfeng [ Sat 09 Jun, 2018, 04:16 ] |
Post subject: | JForex自动程序化开发问题 |
请管理员告诉我: 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等时间的蜡烛图? |
Page 1 of 1 |