Tester: MT4 symbol not found

O jezykach programowania w platformach i nie tylko.
pentional
Stały bywalec
Stały bywalec
Posty: 88
Rejestracja: 02 gru 2009, 15:13

Tester: MT4 symbol not found

Nieprzeczytany post autor: pentional »

Za co odpowiada ten komunikat błędu?

Kod: Zaznacz cały

Tester: MT4 symbol not found
W EA zawarty mam iCustom dla zewnętrzenego wskaźnika, po dodaniu którego wywala błąd w testerze.
iCustom(NULL, 0, "TEST", arg1, arg2, arg3, arg4, arg5, 0, 0);

David_Plavko
Gaduła
Gaduła
Posty: 132
Rejestracja: 27 sie 2011, 13:10

Re: Tester: MT4 symbol not found

Nieprzeczytany post autor: David_Plavko »

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
);


symbol

[in] Symbol name on the data of which the indicator will be calculated. NULL means the current symbol.


name

[in] Custom indicator compiled program name, relative to the root indicators directory (MQL4/Indicators/). If the indicator is located in subdirectory, for example, in MQL4/Indicators/Examples, its name must be specified as "Examples\\indicator_name" (double backslash "\\"must be specified as separator instead of a single one).




Może masz podaną złą ścieżkę do pliku albo nie jest to string ? Może brak historii dla instrumentu ?

crn
Gaduła
Gaduła
Posty: 117
Rejestracja: 17 mar 2009, 22:07

Re: Tester: MT4 symbol not found

Nieprzeczytany post autor: crn »

double iCustom(NULL, .. ); Zastąp NULL poprzez Symbol()

ODPOWIEDZ