Dukascopy
 
 
Wiki JStore Search Login

管理员请帮忙指导修改zigzag指标用收盘价计算,万分感谢
 Post subject: 管理员请帮忙指导修改zigzag指标用收盘价计算,万分感谢 Post rating: 0   New post Posted: Thu 30 Nov, 2017, 14:48 
User avatar

User rating: 0
Joined: Mon 23 Oct, 2017, 18:16
Posts: 1
Location: China,
管理员请帮忙指导修改zigzag指标用收盘价计算,万分感谢!
public void onStart(IIndicatorContext context) {
indicatorInfo = new IndicatorInfo("ZigZag", "ZigZag", "", true, false, false, 1, 3, 1) {{
setRecalculateAll(true);
setSparseIndicator(true);
}};
inputParameterInfos = new InputParameterInfo[] {
new InputParameterInfo("Price", InputParameterInfo.Type.PRICE)
};



上面的InputParameterInfo.Type.PRICE 包含了高、开、低、收四种价位,我想改成只用收盘价来计算zigzag指标,该怎么改? 求助


 

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