I m having a strange behaviour when I use ObjectCreate() function to create a text on the chart.. As you can see from the attached picture, I created 6 Obj_text on the chart. Funny thing is there is a trend line links them together which is I don't even have a single line of code to do that. I just create the text object by using the code below. When i tried to check the Object list, there is no trend line objects in the list as well
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi
I m having a strange behaviour when I use ObjectCreate() function to create a text on the chart.. As you can see from the attached picture, I created 6 Obj_text on the chart. Funny thing is there is a trend line links them together which is I don't even have a single line of code to do that. I just create the text object by using the code below. When i tried to check the Object list, there is no trend line objects in the list as well
ObjectCreate("PointC "+(index+1),OBJ_TEXT, 0, time1,price1);
Does anyone know what could be the possible cause to have this unintended trend line on the chart?
Best Regards
Tom