MQL4 - automated forex trading   /  

Forum

Help on ObjectCreate()?

Back to topics list To post a new topic, please log in or register

avatar
42
TT_FX1 2008.08.14 05:53 

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

Back to topics list  

To add comments, please log in or register