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
Hallo Carl,
danke für den Hinweis, aber die Beschreibung kann ich mittlerweile singen. Meine Screenshots anscheinend nicht mit übertragen daher der Anhang.
der Codeausschnitt:
Hallo Carl,
ChartID hatte ich aufgrund der Suggestion von amando hinzugefügt. Hatte aber keinen Einfluß. Wieder entfernt.
Im Grunde will ich in das Indikator-Fenster Momentum die grüne 2 hineinbekommen. Und der WindowIndex ist mit Wert 2 ja auch korrekt. Erstaunlich finde ich, daß der WindowIndex Wert in ObjectCreate völlig ignoriert wird. Ob ich da 0,1 oder 2 reinschreibe, es landet immer im ersten Sub-Fenster.
Vielleicht nochmal mein Wunsch zusammengefasst:
Ich möchte im Indikator Momentum ein Label platzieren. Dieses Fenster ist nun (zufällig) das 2. Subfenster. Kann ja auch mal das erste oder dritte sein. Daher soll ja der WindowIndex ausgelesen und zugewiesen werden.
Ein Beispiel wäre toll wo jemand ein Label in einen Indikator platziert und das man dieses Indikatorfenster in beliebiger Reihenfolge später platzieren kann.
Hier nochmal der komplette Code für den individuellen Momentum Indikator. Ich habe dem Label nur testhalber den WindowIndex zugewiesen damit ich sehen kann, das es tatsächlich 2 ist. Später soll der Momentumwert (gut lesbar) angezeigt werden. Aber bitte auch im Momentum Fenster.
Hallo zusammen,
das "Problem" ist gelöst. Ich habe lediglich die Indikatorfenster gelöscht und neu aus dem Navigator eingefügt. Jetzt funktioniert alles wie gewünscht. Es funktionierte nur nicht während der Programmierung.
Sorry für die Umstände.
Allen einen guten Rutsch und ein erfolgreiches 2019.
Grüße, Dominik