Fragen von Neueinsteigern zu MQL4 und MQL5, Hilfe und Diskussion über Algorithmen und Codes - Seite 1349
Sie verpassen Handelsmöglichkeiten:
- Freie Handelsapplikationen
- Über 8.000 Signale zum Kopieren
- Wirtschaftsnachrichten für die Lage an den Finanzmärkte
Registrierung
Einloggen
Sie stimmen der Website-Richtlinie und den Nutzungsbedingungen zu.
Wenn Sie kein Benutzerkonto haben, registrieren Sie sich
Können Sie den Code zum Eröffnen eines Handels posten? Ich werde sehen, warum es nicht funktioniert.
keine
Der Parameter 0 bedeutet, dass er zu diesem Diagramm gehört.
Entschuldigung, ich habe die Funktion verwechselt
StringFind
Können Sie den Code zum Eröffnen eines Handels posten? Ich werde sehen, warum es nicht funktioniert.
Hier fügen Sie Ihre Funktionen ein
Hier fügen Sie Ihre Merkmale ein
Erste
OrderOfSymbol=CounterOrderTradeType(-1);
sollte hier eingefügt werden.
Ich kümmere mich um den Rest.Hier fügen Sie Ihre Funktionen ein
Versuchen Sie
Ich habe sie noch ein wenig überarbeitet und aktualisiert
Ich bin nicht zu Hause, ich werde es morgen testen. Ich danke Ihnen.
Ich bin nicht zu Hause, ich werde es morgen testen. Ich danke Ihnen.
Einen guten Tag an alle. Ich habe einen EA, der signalisiert, wenn die Trendlinie und diehorizontale Linie eine bestimmte Farbe kreuzen. Ich habe beschlossen, es so umzugestalten, dass es signalisiert, wenn die Trendlinie und die horizontale Linie einen bestimmten Stil kreuzen. Es hat funktioniert. Aber ich brauche es, um zu signalisieren, wenn eine Trendlinie nur den Balken nach rechts kreuzt. Ich verstehe, dass ich Folgendes hinzufügen muss
OBJPROP_RAY_RIGHT
Guten Tag.
Der Expert Advisor soll die Bedingungen prüfen und Orders eröffnen, wenn ein neuer Balken erscheint.
Ich erhielt die Fehlermeldung"Funktionsdeklarationen sind nur im globalen, Namespace- oder Klassenbereich zulässig". Übersetzt in "Funktionsdeklarationen nur im globalen, Namespace- oder Klassenbereich erlaubt".
Ich verstehe es immer noch nicht, ich bin zu dumm. Bitte sagen Sie mir, wo ich es lesen kann. Vielen Dank im Voraus)
***