Установите размер массива и проинициализируйте его.
Спасибо, все заработало!
Добавил следующие строчки со Ст.58 (перед циклом for в разделе //init функции start):
tmplength=ArrayRange(Low, 0); ArrayResize(ExtrHere, tmplength); ArrayResize(ExtrIsMax, tmplength);
Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
Пробуя написать свой индикатор, столкнулся с проблемой: не происходит запись в булевый массив. При этом запись в массив, назначенный индикаторному буферу, происходит отлично. Почему так происходит и что с этим делать?
Запись на Ст.80, объявлен на Ст.20.