string timeout = "2015.01.30 23:00";
............
if (TimeCurrent() > timeout) { //falls die Brokerzeit gilt
...
}
oder
if (TimeLocal() > timeout) { //fals die PC-Zeit gilt
...
}
Ende im Gelände am 30.01. um 23:00Uhr
traderdoc
__________________
Ich erfülle Euch gern Eure EA-, Indikator- und Script-Programmierungswünsche auf Honorarbasis.
|