может так:
#property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Red #property indicator_color2 Blue double buff_up[],buff_dn[]; int init(){ SetIndexBuffer(0, buff_up); SetIndexBuffer(1, buff_dn); SetIndexStyle(0, DRAW_ARROW); SetIndexStyle(1, DRAW_ARROW); SetIndexArrow(0, 217); SetIndexArrow(1, 218); return(0); } int start(){ int i,limit,counted_bars; counted_bars = IndicatorCounted(); limit=Bars-counted_bars-1; if (limit>1) limit=Bars-1; for(i=limit; i>=0; i--){ buff_up[i] = High[i]; buff_dn[i] = Low[i]; } return(0); } //+------------------------------------------------------------------+
IgorM:
может так:
Коды требуемых символов: 217 и 218.
Благодарю за помощь!
Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
Всем доброго времени суток!
Можно ли использовать символ фрактала (пику) отдельно от одноимённого индикатора и если да, то как это сделать? (планируется использовать в скрипте для нанесения локальных экстремумов)
Заранее спасибо!