vdemydiuk / mtapi

MetaTrader API (terminal bridge)
MIT License
523 stars 282 forks source link

there is no drawing methods implemented #32

Closed keyvanarasteh closed 7 years ago

keyvanarasteh commented 8 years ago

hi guys.

i cant draw any object on charts with Api.

Arrows, Lines, Fibos, HorizantalLines, Trends, VerticalLines, Image, ....

is there any method to do that ?

thanks.

vdemydiuk commented 8 years ago

Hi. Do you mean Object Functions (https://docs.mql4.com/objects) ?

Object Functions are not implemented in MtApi. Do you need this functions in C# client?

keyvanarasteh commented 7 years ago

yes i need to show calculation results on chart.

you dont use ??

it's very important to me :-(

vdemydiuk commented 7 years ago

I can implement object functions but I see one problem of implementation: if you will have several charts connected with MtApi.ex4 on one port (default 8222), you will not determine on which chart the object will be drawn. So in this case only single chart connection will work correct. Is it good for you ?

vdemydiuk commented 7 years ago

I think I can make object functions with Symbol parameter which will determine the chart to draw objects.

keyvanarasteh commented 7 years ago

Exactly we can use Symbol for drawing object.

even you can implement OpenChart Methods too.

to Open Charts Detected as tradeble by our algorithms.

many of people like to trade on MetaTrader like me but calculations is easier to do in c# then transfer final results to mt4 charts. ;-)

keyvanarasteh commented 7 years ago

when it can be ready to use ?

i need it & its neccessary ? can you implement that ? pleaaaaaaaaaaaaasssssseeeeeeeee <3 <3

vdemydiuk commented 7 years ago

Ok. I will work on it after release 1.0.32. I think I will implement it to end of this month.