Dukascopy
 
 
Wiki JStore Search Login

JForex自动程序化开发问题
 Post subject: JForex自动程序化开发问题 Post rating: 0   New post Posted: Sat 09 Jun, 2018, 04:16 

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等时间的蜡烛图?


 

Jump to:  

  © 1998-2011 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com