hey guys, can somebody help me out? i have tried various combinations of OBJPROP_ANCHOR, OBJPROP_YDISTANCE, etc.
i am trying to line up the text with the fib line. as you can see, it is below and too far right. i would like to center it with the fib line and move to the left.
what am i missing??
ObjectDelete("IN_BT1_Tex");//this sets text at IntraDay_Fib_DLong!!!!
ObjectCreate(0,"IN_BT1_Tex",OBJ_TEXT,0,0,0);
ObjectSet("IN_BT1_Tex", OBJPROP_TIME1, curTime+shift);
ObjectSet("IN_BT1_Tex", OBJPROP_PRICE1, Intraday_Fib_BT1);
// ObjectSetInteger(0,"IN_BT1_Tex",OBJPROP_ANCHOR,ANCHOR_CENTER);
// ObjectSetInteger(0,"IN_BT1_Tex",OBJPROP_BGCOLOR,clrPink);
// ObjectSetInteger(0,"IN_BT1_Tex",OBJPROP_YDISTANCE,30);
ObjectSet("IN_BT1_Tex",OBJPROP_COLOR, clrRoyalBlue);
ObjectSet("IN_BT1_Tex",OBJPROP_FONTSIZE, 13);
ObjectSetText("IN_BT1_Tex", "Daily Short Target 1");
i am trying to line up the text with the fib line. as you can see, it is below and too far right. i would like to center it with the fib line and move to the left.
what am i missing??
ObjectDelete("IN_BT1_Tex");//this sets text at IntraDay_Fib_DLong!!!!
ObjectCreate(0,"IN_BT1_Tex",OBJ_TEXT,0,0,0);
ObjectSet("IN_BT1_Tex", OBJPROP_TIME1, curTime+shift);
ObjectSet("IN_BT1_Tex", OBJPROP_PRICE1, Intraday_Fib_BT1);
// ObjectSetInteger(0,"IN_BT1_Tex",OBJPROP_ANCHOR,ANCHOR_CENTER);
// ObjectSetInteger(0,"IN_BT1_Tex",OBJPROP_BGCOLOR,clrPink);
// ObjectSetInteger(0,"IN_BT1_Tex",OBJPROP_YDISTANCE,30);
ObjectSet("IN_BT1_Tex",OBJPROP_COLOR, clrRoyalBlue);
ObjectSet("IN_BT1_Tex",OBJPROP_FONTSIZE, 13);
ObjectSetText("IN_BT1_Tex", "Daily Short Target 1");
Attached Image
Mother of Pips