Fragen von Anfängern MQL5 MT5 MetaTrader 5 - Seite 1117
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
Guten Tag zusammen!
Hier ist ein Teil des Skriptcodes für Metatrader5:
Sie haben Fragen:
1. Das Skript soll entweder schwebende Limit-Aufträge in einem bestimmten Abstand zum Geld- und Briefkurs oder Stop-Aufträge setzen. Die schwebenden Limit-Aufträge werden ohne Probleme gesetzt, die Stop-Aufträge jedoch nicht. Bitte helfen Sie mir herauszufinden, warum die ausstehenden Buy Stop- und Sell Stop-Aufträge nicht gesetzt werden.
2. Gibt es eine Möglichkeit, das Skript zu testen, wenn der Markt geschlossen ist (z. B. an Wochenenden)?
Mit freundlichen Grüßen, Vladimir.Referenz:Allgemeine Grundsätze - Handelsgeschäfte
- aktuelle Marktlage
- Prognose
- aktueller Preis
- Bestellpreis
- Preis, zu dem der schwebende Auftrag erteilt werden soll
- erwartetes Wachstum
- erwarteter Rückgang
Ihr Fehler liegt in der Bildung des Startpreises:
Ich empfehle, einen separaten Startpreis für Stop- und Limit-Aufträge festzulegen.
Forum für Handel, automatisierte Handelssysteme und Strategietests
FAQ von Anfängern MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.08.31 08:16
Und Ihr Fehler liegt in der Startpreisbildung:
Ich empfehle, den Startpreis separat für Stop und Limit Pending Orders zu machen.
Danke, Vladimir, für den Hinweis.
Was halten Sie von der Möglichkeit, das Skript zu testen, wenn der Markt geschlossen ist (z. B. an Wochenenden)?
Mit freundlichen Grüßen, Vladimir.
Was halten Sie von der Möglichkeit, das Skript zu testen, wenn der Markt geschlossen ist (z. B. an Wochenenden)?
Die Frage wird entfernt, da die Antwort anscheinend in einem anderen Thema gegeben wurde.
Hochachtungsvoll, Vladimir.
Frage zurückgezogen, da die Antwort anscheinend in einem anderen Thread gegeben wurde.
Hochachtungsvoll, Vladimir.
Sie haben also eine Frage über das ganze Forum verteilt... Sie sind derjenige, der verwirrt ist.
Danke, Vladimir, für den Hinweis.
Was halten Sie von der Möglichkeit, das Skript zu testen, wenn der Markt geschlossen ist (z. B. an Wochenenden)?
Hochachtungsvoll, Vladimir.
Danke, Vladimir, für den Hinweis.
Was halten Sie von der Möglichkeit, das Skript zu testen, wenn der Markt geschlossen ist (z. B. an Wochenenden)?
Hochachtungsvoll, Vladimir.
So wird der Expert Advisor aussehen:
Vladimir Karputov, 2019.08.31 13:20
So würde ein Experte aussehen:
Großartig!
Danke, Vladimir, du hast mir geholfen, sonst hätte ich bis Montag leiden müssen.
Mit freundlichen Grüßen, Vladimir.
Großartig!
Danke, Vladimir, du hast mir geholfen, sonst hätte ich mich bis Montag gedulden müssen.
Mit freundlichen Grüßen, Vladimir.
Sie sind herzlich willkommen.
Beachten Sie die Variable m_first_start, die auf der globalen Programmebene deklariert ist
am Ende von OnTick wird dieser Variablen der Wert "true" zugewiesen
und der EA wird bis zu seinem nächsten Neustart keine ausstehenden Aufträge mehr platzieren
Forum für Handel, automatisierte Handelssysteme und Strategietests
FAQ von Anfängern MQL5 MT5 MetaTrader 5
Vladimir Karputov, 2019.08.31 14:38
Ich bitte Sie.
Beachten Sie die auf globaler Programmebene deklarierte Variable m_first_start
Ja, Vladimir, ich habe sofort bemerkt, dass der EA beim Testen wie ein Skript funktioniert. Nochmals vielen Dank!
Mit freundlichen Grüßen, Vladimir.
Warum funktioniert der Kerzenausgang nicht?