Metatrader Forum | Forex Expert-Advisor | Broker & Forex Tools

Metatrader Forum | Forex Expert-Advisor | Broker & Forex Tools (http://www.expert-advisor.com/forum/index.php)
-   Programmierung MQL4 (http://www.expert-advisor.com/forum/forumdisplay.php?f=220)
-   -   Moving Average with Alert (http://www.expert-advisor.com/forum/showthread.php?t=7025)

MLtrader 21.06.21 09:06

Moving Average with Alert
 
Hallo,

ich suche einen MA with alert, der auch in allen Zeiteinheiten funktioniert. Wenn der Kurs den MA berührt, sollte sich ein Fenster öffnen.

Da mein MA leider nicht in allen Zeiteinheiten funktioniert, wollte ich euch fragen, ob ihr einen für mich habt.

Sirocool 25.06.21 22:07

Probier es mal aus wenn nicht mach mal dein code rein
 
Code:

#property indicator_separate_window

int period[]={1,5,15,30,60,240,1440,10080,43200};

SHARK_BUFFER_M[i]=iRSI(Symbol(),period[i],14,PRICE_CLOSE,i);

if(SHARK_BUFFER_M[i+1] < 30 && SHARK_BUFFER_M[i] > 30)
{
dein Befehl reinschreiben was er machen soll.
}



Alle Zeitangaben in WEZ +1. Es ist jetzt 07:45 Uhr.

Powered by vBulletin® Version 3.8.5 (Deutsch)
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.1
Powered by vBCMS® 2.7.0 ©2002 - 2024 vbdesigns.de
Copyright ©2009 - 2023 by Expert-Advisor.com - Das Metatrader Forum