Dukascopy Support Board http://www.dukascopy.com/swiss/english/forex/jforex/forum/ |
|
VJF 产生的程序用于Jforex,但同时会出现2-3单orders http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=183&t=50782 |
Page 1 of 1 |
Author: | TradingwithEA [ Mon 10 Feb, 2014, 00:12 ] |
Post subject: | VJF 产生的程序用于Jforex,但同时会出现2-3单orders |
我将策略竞赛的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会有多单产生。请问如何解决,谢谢 |
Author: | MarkLi [ Mon 10 Feb, 2014, 16:14 ] |
Post subject: | Re: VJF 产生的程序用于Jforex,但同时会出现2-3单orders |
您好, 您的编程码无法分析在JForex里的问题。如果您把交易策略文件发过来,我们会检查里面的问题。 |
Page 1 of 1 |