ObjectCreate("AddText", OBJ_TEXT, 0, Time[1], High[1]);
You cannot create additional objects with the same name. Use Time or something to give it a unique name.
ObjectCreate("AddText"+TimeToStr(Time[1]), OBJ_TEXT, 0, Time[1], High[1]);
Changed like that but still same. Only 1 time displaying text.
santaferes:
Changed like that but still same. Only 1 time displaying text.
I see that you have changed the 2nd ObjectCreate code, but the 1st is unchanged
Changed like that but still same. Only 1 time displaying text.
Yes now done!! Thank you very much Moderator.. Great and very fast help.. I appreciate you!!
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
Trying to add text to on the bar when criteria met and buy order processed. On the first order it is adding Sample Text on the chart, but for further order not adding. So text is added only one and first order. I want to display text for each time that buy order opened. Orders opening without problem repeatly, but adding text function not repeating. Already trying to do it for long time but couldnt solve the problem. I am newbie, and may be it is a very simple question. If somebody who understand where the problem is will be very glad.