Say theres 50 bars, and I want to draw a line between bar 1-10, bar 20-40 and bar 40-50 (this is not what I want to do, what I want to do is based on swing highs and swing lows, but this example is meant to clarify). I have tried both using zigzag and line and neither is working. Zigzag doesn't show anything, and line only draws lines on the latest data but not between the points I want, just seemingly random scribbling. Arrows are working just perfectly, yet the indicator refuses to draw lines between them despite them using the exact same array data.
Because of the gaps between bars the arrayindex is using barshift and as such theres gaps (1 array index might start at 23 then move to 44). For arrows this is no problem, I have tried using separate array indices for the lines so it goes like 1,2,3 etc but it still isn't working.
Because of the gaps between bars the arrayindex is using barshift and as such theres gaps (1 array index might start at 23 then move to 44). For arrows this is no problem, I have tried using separate array indices for the lines so it goes like 1,2,3 etc but it still isn't working.