I am trying to add text at the last bar on the chart.
Is it possible?
I have coded like this,
ObjectCreate("100_text", OBJ_TEXT, 0, Time, Close); ObjectSetText("100_text","Up...",12); ObjectSet("100_text",OBJPROP_TIME1,Time); ObjectSet("100_text",OBJPROP_PRICE1, Close); ObjectSet("100_text",OBJPROP_COLOR,Green);
But it's not moving to last bar when new bar comes.
Thanks again for your suggestion.
Email ID: firstname.lastname@example.org
You may want to remove your email address from your post unless you like SPAM, this Forum is open to anyone to read.
When a new bar arrives, not for every tick, you move the Object, use ObjectSet() to change it's position.