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)
-   -   kurzer EA wer kann helfen ? (http://www.expert-advisor.com/forum/showthread.php?t=4946)

forexman 17.05.16 11:54

kurzer EA wer kann helfen ?
 
Hallo, ich würde gerne in den Code folgendes einfügen.

MA 200 Ansatz 4 Simple open

MA 100 Ansatz 1 Simple Weighted Close

und er soll wenn der schnelle MA den langsamen Kreuzt genau eine Long order auf machen. Kann mir da einer Helfen ? Bin neu im Programmieren und suche einen ansatz.

Code:

//+------------------------------------------------------------------+
//| EA_CROSS.mq4 |
//| Copyright 2016, MetaQuotes Software Corp. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016, MetaQuotes Software Corp."
#property link "https://www.mql5.com"
#property version "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//---

//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
//---

}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
//---

}
//+------------------------------------------------------------------+


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