Draw objects

Created at 10 Sep 2014, 21:44
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
IS

Ishwara

Joined 10.09.2014

Draw objects
10 Sep 2014, 21:44


Hello,

 

I would like to know if it's possible to draw a horizontal line on the chart , and then be notified or monitor every tick if this line was moved (drag and dropped) by the user and then get the new value.

In a other word there is a way to keep a reference to a drawn object.

 

 

Thanks in advance for your answer.

 

Cheers,

 

Sky

 


@Ishwara
Replies

Ishwara
10 Sep 2014, 22:14

Or a way to get all objects in the chart?


@Ishwara

Spotware
11 Sep 2014, 10:06

Dear Trader,

cAlgo API doesn't provide such functionality at the moment. We are going to implement it in the future.


@Spotware

Ishwara
11 Sep 2014, 12:38

So when a line is drawn on the chart there no way to interact with it ?

So what's the purpose of the name while creating a line ? 

public void DrawHorizontalLine(string objectName, double y, Colors color, [optional] double thickness, [optional] LineStyle style)

@Ishwara

Ishwara
11 Sep 2014, 12:38

Do you have any date when a such feature will be implemented ?


@Ishwara

Spotware
11 Sep 2014, 16:25

No, we cannot specify release date.

Name is unique identifier of the line. If you execute draw line command second time for the same name, the existing line will be updated.


@Spotware

Ishwara
12 Sep 2014, 23:08

Thanks you for your answer

 


@Ishwara

Rod_Sands
18 Oct 2014, 16:12

RE:

Spotware said:

No, we cannot specify release date.

Name is unique identifier of the line. If you execute draw line command second time for the same name, the existing line will be updated.

Integral to my trading is the ability to interact with objects (properties time and price) that I have drawn on the chart. Unfortunately that means that I will have to stay with MT4 until that functionality is implemented.


@Rod_Sands

zumzum
01 Dec 2014, 17:24

vote for this feature over here: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/category/76800-calgo

I am missing the option to interact with chartobjects too since kills the possibility of making a nice trade managers etc.

Hey Spotware, you don't have to spoon-feed us with a complete platform but please give us the option to develop our own tools by providing more APIs and more customizable features/options in the platform.


@zumzum