Pivot indicator - page 2 12 New comment Simon Gniadkowski 2013.02.26 23:35 #11 jb1981: Raptor... sorry to bother you but one more fix. How do I push the labels so they are aligned to the right side of the chart? Just caught me before I go to bed . . .Find this:void drawLabel(string name,double lvl,color Color) { if(ObjectFind(name) != 0) { ObjectCreate(name, OBJ_TEXT, 0, Time[10], lvl); ObjectSetText(name, name, 8, "Arial", EMPTY); ObjectSet(name, OBJPROP_COLOR, Color); and change the line markedvoid drawLabel(string name,double lvl,color Color) { if(ObjectFind(name) != 0) { ObjectCreate(name, OBJ_TEXT, 0, Time[0] , lvl); // <----- change this line ObjectSetText(name, name, 8, "Arial", EMPTY); ObjectSet(name, OBJPROP_COLOR, Color); If you want to move it farther right it gets a little more tricky. trader24 2013.02.27 09:21 #12 Great stuff.. thanks a ton!!! 12 New comment
Raptor... sorry to bother you but one more fix. How do I push the labels so they are aligned to the right side of the chart?
Just caught me before I go to bed . . .
Find this:
and change the line marked
If you want to move it farther right it gets a little more tricky.