返佣啦外汇返佣论坛
标题:
MT4中复制数组
[打印本页]
作者:
doctoryao
时间:
2016-6-21 11:23
标题:
MT4中复制数组
//+------------------------------------------------------------------+
//| tiaokong2.mq4 |
//| Copyright 2016, MetaQuotes Software Corp. |
//|
https://www.mql5.com
|
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
#property script_show_inputs
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
//---
datetime a_time[];
ArrayCopy(a_time,Time,0,0,20);
for(int i=0;i<ArraySize(a_time);i++)
PrintFormat("a_time[%i]:%s",i,TimeToString(a_time
));
}
//+------------------------------------------------------------------+
作者:
kobeforever
时间:
2016-6-26 16:49
感谢lz分享~~~~
欢迎光临 返佣啦外汇返佣论坛 (http://bbs.fyfy2020.com/)
Powered by Discuz! X3.2