myeatrade

社区

生成的系统在挂实盘中多地方出现不同错误开仓,请管理员看看是啥问题?谢谢

1597943797 1597943797 2013-01-15 12:07
1:代码如下
代码: 全选

///////////////////////////Model5////////////////////////////
extern string Model5_tip="buyNZDCHFH4";
bool Model5_AutoTrade=1;
extern int Model5_CalculateModel=2;
extern int Model5_CalculateModelTimeframe=240;
extern double Model5_DefaultLots=0.01;
extern bool Model5_MoneyManagement=0;
extern double Model5_Risk=2;
extern int Model5_LotDigits=1;
extern double Model5_MinLots=0.1;
extern double Model5_MaxLots=100;
extern int Model5_StopLoss=0;
extern int Model5_TakeProfit=300;
extern int Model5_BreakEven=0;
extern int Model5_TrailMode=1;
extern int Model5_TrailStart=100;
extern int Model5_TrailStop=80;
extern int Model5_MaxSpread=0;
extern int Model5_Slippage=0;
extern bool Model5_ECN=1;
extern bool Model5_MultiOrder=1;
extern int Model5_MaxOrder=2;
extern int Model5_MultiOrderTimeInterval=10080;
extern bool Model5_InstantOrder=1;
extern bool Model5_StopOrder=0;
extern bool Model5_LimitOrder=0;
extern int Model5_PendingGap=20;
extern int Model5_PendingExpiration=720;
extern int Model5_HardCloseTime=0;
extern bool Model5_ReverseOrder=0;
string M5536_Symbol;double M5536_Point;int M5536_Mt;datetime Model5_lastOpenOrderTime;
extern string M5G1_tip="Condition Group1";
extern string M5G1_FilterOpt12_tip="Filter Conditions";
extern string M5G1_FilterOpt12Con1_tip="Filter Opt12 Condition 1";
string m5g1c1_Filter_Opt12_APara1="NZDCHF"; // Symbol
extern int m5g1c1_Filter_Opt12_APara2=240; // Timeframe
extern int m5g1c1_Filter_Opt12_APara3=0; // MA method
extern int m5g1c1_Filter_Opt12_APara4=8; // Period
extern int m5g1c1_Filter_Opt12_APara5=0; // Apply to
extern int m5g1c1_Filter_Opt12_APara6=0; // Shift
string m5g1c1_Filter_Opt12_BPara1="NZDCHF"; // Symbol
extern int m5g1c1_Filter_Opt12_BPara2=240; // Timeframe
extern int m5g1c1_Filter_Opt12_BPara3=0; // MA method
extern int m5g1c1_Filter_Opt12_BPara4=20; // Period
extern int m5g1c1_Filter_Opt12_BPara5=0; // Apply to
extern int m5g1c1_Filter_Opt12_BPara6=0; // Shift
extern string M5G1_FilterOpt34_tip="Filter Conditions";
extern string M5G1_Exe_tip="Execution Conditions";
extern string M5G1_ExeCon1_tip="Execution Condition 1";
string m5g1c1_Exec_Opt12_APara1="NZDCHF"; // Symbol
extern int m5g1c1_Exec_Opt12_APara2=240; // Timeframe
extern int m5g1c1_Exec_Opt12_APara3=0; // MA method
extern int m5g1c1_Exec_Opt12_APara4=3; // Period
extern int m5g1c1_Exec_Opt12_APara5=0; // Apply to
extern int m5g1c1_Exec_Opt12_APara6=0; // Shift
string m5g1c1_Exec_Opt12_BPara1="NZDCHF"; // Symbol
extern int m5g1c1_Exec_Opt12_BPara2=240; // Timeframe
extern int m5g1c1_Exec_Opt12_BPara3=0; // MA method
extern int m5g1c1_Exec_Opt12_BPara4=8; // Period
extern int m5g1c1_Exec_Opt12_BPara5=0; // Apply to
extern int m5g1c1_Exec_Opt12_BPara6=0; // Shift
extern string M5G1_Shift_tip="Shift Conditions";

设置可以同时开两单,间隔时间extern int Model5_MultiOrderTimeInterval=10080;
实盘挂单中2207631 2013.01.14 14:18 buy 0.01 nzdchf 0.77324 0.00000 0.80324 2013.01.15 03:46 0.77671
2208319 2013.01.14 14:53 buy 0.01 nzdchf 0.77239 0.00000 0.80239 2013.01.15 03:41 0.77671
不知道系统怎么计算的?还是我设置间隔时间过大?

2:代码如下
代码: 全选

///////////////////////////Model31////////////////////////////
extern string Model31_tip="sellUSDZARD1";
bool Model31_AutoTrade=1;
extern int Model31_CalculateModel=2;
extern int Model31_CalculateModelTimeframe=1440;
extern double Model31_DefaultLots=0.01;
extern bool Model31_MoneyManagement=0;
extern double Model31_Risk=2;
extern int Model31_LotDigits=1;
extern double Model31_MinLots=0.1;
extern double Model31_MaxLots=100;
extern int Model31_StopLoss=0;
extern int Model31_TakeProfit=1000;
extern int Model31_BreakEven=0;
extern int Model31_TrailMode=1;
extern int Model31_TrailStart=200;
extern int Model31_TrailStop=180;
extern int Model31_MaxSpread=0;
extern int Model31_Slippage=0;
extern bool Model31_ECN=1;
extern bool Model31_MultiOrder=1;
extern int Model31_MaxOrder=2;
extern int Model31_MultiOrderTimeInterval=10080;
extern bool Model31_InstantOrder=1;
extern bool Model31_StopOrder=0;
extern bool Model31_LimitOrder=0;
extern int Model31_PendingGap=20;
extern int Model31_PendingExpiration=720;
extern int Model31_HardCloseTime=0;
extern bool Model31_ReverseOrder=0;
string M7565_Symbol;double M7565_Point;int M7565_Mt;datetime Model31_lastOpenOrderTime;
extern string M31G1_tip="Condition Group1";
extern string M31G1_FilterOpt12_tip="Filter Conditions";
extern string M31G1_FilterOpt12Con1_tip="Filter Opt12 Condition 1";
string m31g1c1_Filter_Opt12_APara1="USDZAR"; // Symbol
extern int m31g1c1_Filter_Opt12_APara2=1440; // Timeframe
extern int m31g1c1_Filter_Opt12_APara3=0; // MA method
extern int m31g1c1_Filter_Opt12_APara4=8; // Period
extern int m31g1c1_Filter_Opt12_APara5=0; // Apply to
extern int m31g1c1_Filter_Opt12_APara6=0; // Shift
string m31g1c1_Filter_Opt12_BPara1="USDZAR"; // Symbol
extern int m31g1c1_Filter_Opt12_BPara2=1440; // Timeframe
extern int m31g1c1_Filter_Opt12_BPara3=0; // MA method
extern int m31g1c1_Filter_Opt12_BPara4=20; // Period
extern int m31g1c1_Filter_Opt12_BPara5=0; // Apply to
extern int m31g1c1_Filter_Opt12_BPara6=0; // Shift
extern string M31G1_FilterOpt34_tip="Filter Conditions";
extern string M31G1_Exe_tip="Execution Conditions";
extern string M31G1_ExeCon1_tip="Execution Condition 1";
string m31g1c1_Exec_Opt12_APara1="USDZAR"; // Symbol
extern int m31g1c1_Exec_Opt12_APara2=1440; // Timeframe
extern int m31g1c1_Exec_Opt12_APara3=0; // MA method
extern int m31g1c1_Exec_Opt12_APara4=3; // Period
extern int m31g1c1_Exec_Opt12_APara5=0; // Apply to
extern int m31g1c1_Exec_Opt12_APara6=0; // Shift
string m31g1c1_Exec_Opt12_BPara1="USDZAR"; // Symbol
extern int m31g1c1_Exec_Opt12_BPara2=1440; // Timeframe
extern int m31g1c1_Exec_Opt12_BPara3=0; // MA method
extern int m31g1c1_Exec_Opt12_BPara4=8; // Period
extern int m31g1c1_Exec_Opt12_BPara5=0; // Apply to
extern int m31g1c1_Exec_Opt12_BPara6=0; // Shift
extern string M31G1_Shift_tip="Shift Conditions";

实盘挂单中出现:2207629 2013.01.14 14:18 sell 0.01 usdzar 8.71031 8.70542 8.68031
这里止损8.70542怎么来的?

3:有时候现价开仓,然后出现止盈等于现价,一会就平仓的局面。

请管理员看看是设置的问题还是挂EA所在电脑的问题,或者是EA本身系统的问题。谢谢!


myeatrade myeatrade 2013-01-15 21:04
 设置可以同时开两单,间隔时间extern int Model5_MultiOrderTimeInterval=10080;
实盘挂单中2207631 2013.01.14 14:18 buy 0.01 nzdchf 0.77324 0.00000 0.80324 2013.01.15 03:46 0.77671
2208319 2013.01.14 14:53 buy 0.01 nzdchf 0.77239 0.00000 0.80239 2013.01.15 03:41 0.77671
不知道系统怎么计算的?还是我设置间隔时间过大?


这个问题应该是因为在期间关闭了EA,或关闭了MT4后,重新开始之后导致计时失效,你是否还记得发生了类似的情况?


第2个问题,比较奇怪,是个例还是每次下单时都出现这样的情况?

第3个问题,是什么意思,系统本身没有设置止盈,但是有时下单的仓位自己设置了止盈并且该止盈等于现价?

1597943797 1597943797 2013-01-15 22:42
”第2个问题,比较奇怪,是个例还是每次下单时都出现这样的情况?“

没有规律的出现这种情况。第一个问题按你分析,那就是网络掉线引起的吧。

“第3个问题,是什么意思,系统本身没有设置止盈,但是有时下单的仓位自己设置了止盈并且该止盈等于现价?”

系统本身没有设置 止损 ,但是有时下单的仓位自己设置了 止损 并且该 止损 等于现价 就是这种状态
myeatrade myeatrade 2013-01-15 23:01
那第2个问题和第3个问题,应该是同一类问题,就是说:系统本身没有设置止损,但下单的时候仓位自己设置了一个止损值,并且这个止损值没有什么规律

这样确实很奇怪,目前我们没有发现过这样的问题,其他用户也没有报道过类似的问题,生成的系统我们检查过不太可能自己胡乱设置止损值,你的原因现在确实无法确定是由什么造成的;

你用的是什么公司的平台?或者换主流平台的模拟账户再挂几天试试,如果还是有同样的问题,请继续告诉我们



第一个问题我们会想办法解决,时间计时无论关闭MT4,还是关闭了EA,继续开启后都不会中断
Page 1 of 1 1

请登录后发表回复,如果你还没有账户你可以 免费注册

回到 通常讨论
menu image pre-loadermenu image pre-loadermenu image pre-loadermenu image pre-loadermenu image pre-loadermenu image pre-loadermenu image pre-loader