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)
-   -   Kerzen Nummer herausfinden (http://www.expert-advisor.com/forum/showthread.php?t=6181)

Ceo 26.08.18 13:24

Kerzen Nummer herausfinden
 
Hallo, ich möchte eine Kerze als Signalgeber definieren z.b. wenn die Kerze um 9 Uhr im Dax der Signalgeber ist soll die Kerze die höher ist als die Kerze um 9 Uhr ein Kauf Order setzen.

- Wie Definiere ich eine Kerze nur über die Zeiteinheit?

Ich hab es mir so vorsgestellt:

Code:

if(Ask>Kerze[9Uhr]
{Buy();}


traderdoc 26.08.18 14:37

Code:

if (Ask > Close[iBarShift(Symbol(), 0, StringToTime("09:00")) {
  Buy();
}

traderdoc


Alle Zeitangaben in WEZ +2. Es ist jetzt 17:52 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