ObjectMove("Pivot", 0, Time[0], P); ObjectMove("Sup1", 0, Time[0], S1); ObjectMove("Res1", 0, Time[0], R1); ObjectMove("Sup2", 0, Time[0], S2); ObjectMove("Res2", 0, Time[0], R2); ObjectMove("Sup3", 0, Time[0], S3); ObjectMove("Res3", 0, Time[0], R3);
Been very pleased with these Pivot Points BUT have only recently noticed that the end labels don't stay on the end of the line - constantly move to the left as the day progresses ALSO they need refreshing at the start of a new day.
Which parts of the code do I need to look for to rectify and how ?
I think it MIGHT be this part . . . just guessing
MQL4:ObjectMove("Pivot", 0, Time[0], P); ObjectMove("Sup1", 0, Time[0], S1); ObjectMove("Res1", 0, Time[0], R1); ObjectMove("Sup2", 0, Time[0], S2); ObjectMove("Res2", 0, Time[0], R2); ObjectMove("Sup3", 0, Time[0], S3); ObjectMove("Res3", 0, Time[0], R3);
Unfortunately part of the problem remains ...Just move these lines (150-156)
No idea why but the levels are too close together until the indicator is re-setneeds refreshing at the start of a new day