Jo gibt es:
double iCustom(
string symbol, // symbol
int timeframe, // timeframe
string name, // path/name of the custom indicator compiled program
... // custom indicator input parameters (if necessary)
int mode, // line index
int shift // shift
);
shift ist die Anzahl der Bars rückwärts gerechnet
Also shift=0 ist der aktuelle noch nicht geschlossene bar.
shift=1 wäre somit ein bar zurück und der letzte geschlossene bar.
shift=2 wäre dann zwei bars zurück der vorletzte geschlossene bar.
|