I love this indicator https://www.prorealcode.com/prorealtime-indicators/fibonacci-pivots-points-4-hours-daily-weekly-monthly/ except one thing, the vertical/diagonal lines linking the horizontal pivot lines are really distracting to me, can someone please show me or link how to change this indicator so it draws just horizontal lines for the pivots like the MT4 screenshot I attached to this post? I only use the weekly pivots which probably makes the request simpler.
I tried to research a solution and am guessing it needs to use code like this (https://www.prorealcode.com/documentation/drawline/) and I also realize that it will not be able to draw a dotted line, just a solid line which is fine.
The bit I don’t understand is how to work out and plot the start and end points of the horizontal lines for each week, going back as far as there are weeks shown on the screen. Obviously the solution needs to work even if the Timescale is changed (I usually only use H4, H1, M30 and M15).
Playing around with the original Indicator I managed to get it to plot a solid line for the current week, but don’t know how to set the values for the other previous weeks. I probably need a loop in there but don’t know what to base it on and, also don’t know how to set up the aaa and bbb barindex values below?
DRAWLINE(aaa, PP, bbb, PP) coloured(153,153,0)
Any help is much appreciated!
EDITED: forgot to add screenshot