Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 408

 
Andrey Alehin:

Greetings. Can you please tell me howto create a graphical object (like Fibonacci levels built into mt4 terminal) built from a group of graphical objects (like lines, circles, etc.)

The easiest way is to draw in Paint and upload a picture
 

Is there a more complicated way? What event handler to use?

 
Andrey Alehin:

Is there a more complicated way? What event handler should I use?


Read Help

ObjectCreate(..........);

and types of objects

OBJ_FIBOFibonacci levels.

yes, there is an example there.

 
ANDREY:
But why yesterday it compiled fine. And today it stopped. I haven't updated the terminal. I didn't even have a connection to the server and don't have one.

Alternatively try on a virtual machine (VirtualBox or other...) to install everything from scratch and run it, if it's ok there, then the problem is in your OS.

 
Alekseu Fedotov:

Read the help

ObjectCreate(..........);

and types of objects

OBJ_FIBOFibonacci levels.

Yes, there is an example there.


I need a custom graphical object, can I create it in mql4?

 
Andrey Alehin:

Do you need a custom graphical object can you create it in mql4?


you can do it
you draw your own objects and track their changes

for example, look at the market "hannah square".

 
Andrey Alehin:

You need a custom graphical object can you create one in mql4?


I gave you a direction.

Everything can be created.

 
When initialising an indicator, is it possible to load another indicator on the chart? To draw it on the chart
 
RomanRott:
When initialising an indicator, is it possible to load another indicator on the chart? To draw it on the chart
It can be drawn on the chart - but it needs some additional work
 
STARIJ:
I can draw it on the chart - but I need to add a little more

I mean to prescribe a code in my indicator/advisor that would connect other indicators on it
What and how to prescribe?

Reason: