Zitat:
Zitat von pako
Code:
uint memtime;
uint verzogerung = 10000; // 10sec
if(dClose<dLastClose)
{
if(!bTestMode)
{
Alert("down");
memtime=GetTickCount();
}
}
if(GetTickCount() - memtime > verzogerung) Alert ("downdel");
Oder
bool EventSetMillisecondTimer( int milliseconds );
|
//+------------------------------------------------------------------+
//| Timer function |
//+------------------------------------------------------------------+
void OnTimer()
{
//---
}
//+------------------------------------------------------------------+