Params
Vars
Bool con;
Events
OnBar(ArrayRef<Integer> indexs)
{
If(BarStatus<>2) Return;
con = (CurrentTime>=0.08 and CurrentTime<=0.0901);
con = (CurrentTime>=0.12 and CurrentTime<=0.1331) or con;
con = (CurrentTime>=0.20 and CurrentTime<=0.2101) or con;
If(con)
{
FileAppend("C:\\t.tbf",Text(CurrentDate));
FileAppend("C:\\t.tbf","CurrentTime: "+Text(CurrentTime));
FileAppend("C:\\t.tbf","Q _ lastTime: "+Text(Q_LastTime));
FileAppend("C:\\t.tbf","行情延迟秒数: "+Text(DateTimeDiff(CurrentTime,Q_LastTime)));
}
}