Programming an graphical ea

 

Hello,


I want to program my first EA for Metatrader 5. Therefore I have a few questions:


1.Which kind of images can I put on my chart? Transparent gif's, png's?


2.I want to draw lines with transparent background and symbols and connect them with different functions (also drag&drop e.g. Stop-Loss-Lines).

Can I create a single picture (which I created in photoshop) and divide it in different areas for each function (like an image map as in html)?


3.Does anybody have an example of an expert advisor in MT5, where I can see how the drag&drop function has to be programmed?


4.How can I program it, so that the user can move and place my picture interface free on the chart?




Thank you!


Julia

Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Drawing Styles
  • www.mql5.com
Standard Constants, Enumerations and Structures / Indicator Constants / Drawing Styles - Documentation on MQL5
 

Does anybody can give me an example?!

I haven't programmed in mql5 until yet...

 
sunshineh:

Does anybody can give me an example?!

I haven't programmed in mql5 until yet...


Reason: