indicator index New comment paul selvan 2018.06.17 10:43 Hello , 2 indicators are initialized in main chart by these set of instruction. double ExtMapBuffer1[]; double ExtMapBuffer2[]; int init(){ SetIndexStyle(0, DRAW_ARROW, STYLE_DOT, 1); SetIndexArrow(0, 233); SetIndexBuffer(0, ExtMapBuffer1); SetIndexStyle(1, DRAW_ARROW, STYLE_DOT, 1); SetIndexArrow(1, 234); SetIndexBuffer(1, ExtMapBuffer2); IndicatorShortName("Reversal Fractals"); SetIndexLabel(0, "Bullish reversal"); SetIndexLabel(1, "Bearish reversal"); Comment("Copyright © http://www.pointzero-indicator.com"); return(0); } They draw arrows.But for some reason, it is Printing Arrows all over the chart randomly As I move up time-frame by timeframe it prints progressively more and more of them. Are there some instructions before initializing Indexes to avoid them ? Thanks hi; is there an indicator use " zigzag " and draw arrow up/down with using another indicator such as ...........................? read price of a newly drawn Arrow and export to TXT ? Questions from Beginners MQL4 MT4 MetaTrader 4 William Roeder 2018.06.17 14:50 #1 paulselvan: Are there some instructions before initializing Indexes to avoid them ?No, the indicator is broken. Fix the logic in start. paul selvan 2018.06.17 19:20 #2 ok thanks New comment
Hello ,
2 indicators are initialized in main chart by these set of instruction.
They draw arrows.But for some reason, it is Printing Arrows all over the chart randomly As I move up time-frame by timeframe it prints progressively more and more of them.
Are there some instructions before initializing Indexes to avoid them ?
Thanks