Можно ли вызывать значение пользовательского индикатора в советнике, подобно вызову функции???
конечно, можно
цитата из словаря
===
double iCustom(string symbol,int timeframe,string name,... ,int mode,int shift)
Custom indicator.
Parameters
symbol - Symbol on that data need to calculate indicator. NULL means current symbol.
timeframe - Time frame, by default used current chart period. It can be any one of Time frame enumeration values.
name - Custom indicator compiled program name.
... - parameters set (if needed)
mode - Line index. Can be from 0 to 7.
shift - shift relative to the current bar (number of periods back), where the data is to be taken from.
Sample
double val;
val = iCustom(NULL, 0, "SampleInd",13,0,1);
===
цитата из словаря
===
double iCustom(string symbol,int timeframe,string name,... ,int mode,int shift)
Custom indicator.
Parameters
symbol - Symbol on that data need to calculate indicator. NULL means current symbol.
timeframe - Time frame, by default used current chart period. It can be any one of Time frame enumeration values.
name - Custom indicator compiled program name.
... - parameters set (if needed)
mode - Line index. Can be from 0 to 7.
shift - shift relative to the current bar (number of periods back), where the data is to be taken from.
Sample
double val;
val = iCustom(NULL, 0, "SampleInd",13,0,1);
===
Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь