Danke für die rasche Antwort!
War aber evtl. doch etwas zu rasch.
iCustom(...) gibt keine Indikatorwerte zurück, sondern ein Handle zu einem Indikator.
Das geht aus der Doku eindeutig hervor, auch der Rückgabewert ist int und mit Buffernummern hat das nichts zu tun.
Code:
int iCustom(
string symbol, // symbol name
ENUM_TIMEFRAMES period, // period
string name // folder/custom_indicator_name
... // list of indicator input parameters
);
Code:
Return Value
Returns the handle of a specified technical indicator,
in case of failure returns INVALID_HANDLE.
Die Buffernummern werden erst in CopyBuffer(...) verwendet.
Aber ich werde das Problem schon in den Griff bekommen.
LG Otto