- MT4 und MT5 passen nicht zusammen, sie sind inkompatibel!
- Wie rufst Du den Indikator auf (Code)?
- Läuft der Indikator auf dem Chart?
Hallo Herr Schreiber
Laut diesem Link ist das ein MT5 Indukator
https://www.mql5.com/en/market/product/88455?source=External
//+------------------------------------------------------------------+
//| Volume Oscillator.mq5 |
//| Copyright 2024, MetaQuotes Ltd. |
//| https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2024, MetaQuotes Ltd."
#property link "https://www.mql5.com"
#property version "1.00"
#property indicator_chart_window
#property indicator_buffers 3
#property indicator_plots 3
//--- plot Label1
#property indicator_label1 "Label1"
#property indicator_type1 DRAW_LINE
#property indicator_color1 clrRed
#property indicator_style1 STYLE_SOLID
#property indicator_width1 1
//--- plot Label2
#property indicator_label2 "Label2"
#property indicator_type2 DRAW_LINE
#property indicator_color2 clrYellow
#property indicator_style2 STYLE_SOLID
#property indicator_width2 1
//--- plot Label3
#property indicator_label3 "Label3"
#property indicator_type3 DRAW_LINE
#property indicator_color3 clrLimeGreen
#property indicator_style3 STYLE_SOLID
#property indicator_width3 1
//--- indicator buffers
double Label1Buffer[];
double Label2Buffer[];
double Label3Buffer[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
//--- indicator buffers mapping
SetIndexBuffer(0,Label1Buffer,INDICATOR_DATA);
SetIndexBuffer(1,Label2Buffer,INDICATOR_DATA);
SetIndexBuffer(2,Label3Buffer,INDICATOR_DATA);
//---
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[])
{
//---
//--- return value of prev_calculated for next call
return(rates_total);
}
//+------------------------------------------------------------------+
Ja wenn ich den Indikator auf den Chart ziehe dann funktioniert es

- www.mql5.com
Bitte formatiere Dein Post neu, dass der Code mit Alt+S oder als Code erscheint!
In einem EA werden Nutzer-Indikatoren mit iCustom aufgerufen (siehe das dortige Beispiel)!
Lies als Programmieranfänger vielleicht:
Quickstart for newbies: https://www.mql5.com/de/articles/496
und: https://www.mql5.com/de/articles/100

- www.mql5.com

- Freie Handelsapplikationen
- Über 8.000 Signale zum Kopieren
- Wirtschaftsnachrichten für die Lage an den Finanzmärkte
Sie stimmen der Website-Richtlinie und den Nutzungsbedingungen zu.
Hallo an alle
ich bin gerade dabei meine Handelsstrategie zu automatesieren und der Meta Editor bringt auch keine Fehlermeldungen mehr, wenn ich jetzt den Backend Test mache kommen im Journal diese Fehlermeldungen
2024.07.18 18:18:38.304 program file Volume_Oscillator.ex5 read error
2024.07.18 18:18:38.304 program file Indicators\Volume_Oscillator.ex5 read error
2024.07.18 18:18:38.304 loading of Volume_Oscillator EURUSD,M5 failed [557]
2024.07.18 18:18:38.304 2023.01.02 00:04:30 cannot load custom indicator 'Volume_Oscillator' [4802]
2024.07.18 18:18:38.304 2023.01.02 00:04:30 indicator create error
2024.07.18 18:18:47.924 OnTester critical error
den Volume Oscillator habe ich hier runtergeladen
https://www.mql5.com/en/market/product/88455?source=External
und in den MT5 integriert
da habe ich gesehen das nur Volume_Oscillator.ex5 runtergeladen wurde
dann habe ich im Meta Editor die Volume_Oscillator.ex5 Datei geöffnet und dann kompiliert
jetzt habe ich die Volume_Oscillator.mp5 Datei
habe die beiden Dateien in den Indicator Ordner kopiert
Die Fehlermeldungen bleiben bestehen
Was mache ich falsch?
vielen Dank für eure Bemühungen
Mit freundlichen Grüßen
Timm