您需要 登录 才可以下载或查看,没有帐号?注册
void onTimer()
{
delObj();
while (true !IsStopped())
{
Sleep(10);
eaname=AccountNumber();
srcfile=eaname+ .csv
int l_file_0 = FileOpen(srcfile, FILE_CSV|FILE_COMMON|FILE_WRITE, ',');
if (l_file_0 0)
{
FileWrite(l_file_0, OrdersTotal() + #
for (int l_pos_4 = OrdersTotal() - 1; l_pos_4 l_pos_4--)
{
if(OrderSelect(l_pos_4, SELECT_BY_POS, MODE_TRADES)==true)
FileWrite(l_file_0, OrderType(), OrderSymbol(), OrderOpenPrice(),
OrderTakeProfit(), OrderStopLoss(), OrderLots(), OrderOpenTime(), OrderTicket());
}
FileClose(l_file_0);
} else Print( file write error
l_time2str_8 = TimeToStr(TimeCurrent(), TIME_MINUTES|TIME_SECONDS);
writetext( logo2 , [ +l_time2str_8+ ] + 正在运行喊单 , 250, 5, clrYellow, 10);
}
}
外汇交易有很大的风险性,本站所有资源均来自网络,请选择使用,如若出现亏损,本站不承担任何责任!