if(MACD[i+] < 0 && MACD[i] > 0) PushNotifications("LONG",i);
if(MACD[i+] > 0 && MACD[i] < 0) PushNotifications("SHORT",i);
klar, bei jedem i wird gesendet!
D.h. die Abfrage nach einer neuen Kerze vor die Sende-Funktion schreiben.
traderdoc
__________________
Ich erfülle Euch gern Eure EA-, Indikator- und Script-Programmierungswünsche auf Honorarbasis.
|