Dukascopy
 
 
Wiki JStore Search Login

VJF 产生的程序用于Jforex,但同时会出现2-3单orders
 Post subject: VJF 产生的程序用于Jforex,但同时会出现2-3单orders Post rating: 0   New post Posted: Mon 10 Feb, 2014, 00:12 
User avatar

User rating: 1
Joined: Mon 03 Sep, 2012, 03:36
Posts: 8
Location: New ZealandNew Zealand
我将策略竞赛的vjf输出源代码,用于jforex 远程运行。但发现会有2-3单orders同时产生。
我已添加了 if block如下
private void If_block_10(Integer flow) {
int argument_1 = AllPositions.size();
double argument_2 = 1.0;
if (argument_1< argument_2) {
SMA_block_12(flow);
}
else if (argument_1> argument_2) {
}
else if (argument_1== argument_2) {
}
}
该程序在策略竞赛运行没问题,但在jforex会有多单产生。请问如何解决,谢谢


 
 Post subject: Re: VJF 产生的程序用于Jforex,但同时会出现2-3单orders Post rating: 0   New post Posted: Mon 10 Feb, 2014, 16:14 
Visual JForex expert at Dukascopy
User avatar

User rating: 1
Joined: Thu 29 Aug, 2013, 13:07
Posts: 88
Location: Ukraine, Kiev
您好,

您的编程码无法分析在JForex里的问题。如果您把交易策略文件发过来,我们会检查里面的问题。


 

Jump to:  

  © 1998-2024 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