Also wenn, dann nur so
if (Minute() == 0) ...
oder
Code:
if (hour != TimeHour(TimeCurrent())) {
//einmalige Action!
hour = TimeHour(TimeCurrent());
}
traderdoc
__________________
Ich erfülle Euch gern Eure EA-, Indikator- und Script-Programmierungswünsche auf Honorarbasis.
|