Draw a Line

Created at 30 Mar 2018, 23:35
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!
TI

tinker.this

Joined 22.10.2015

Draw a Line
30 Mar 2018, 23:35


So how to draw a line starting at top of 22h candle previuos day and end at the at 4 h next day horizontal

 

How to draw a box starting somewere previus day and ending this day.

 

 


@tinker.this
Replies

PanagiotisCharalampous
02 Apr 2018, 09:54

Hi tinker.this,

You can find an example of how to draw a line here. Boxes are currently not available but maybe you can use a combination of horizontal and vertical lines.

Best Regards,

Panagiotis


@PanagiotisCharalampous

tinker.this
14 Apr 2018, 00:11

Draw a box with vertical and horizontal lines? You got to be kidding me. Just implement drawing any object one could ever need for an indicator. Also have the option to put chart on the foreground an or and order for objects. Now it is standard in the foreground NOT GOOD...


@tinker.this

Bits
17 Apr 2018, 19:26

RE:

Panagiotis Charalampous said:

Hi tinker.this,

You can find an example of how to draw a line here. Boxes are currently not available but maybe you can use a combination of horizontal and vertical lines.

Best Regards,

Panagiotis

I think that the api should offer the expand ability of chartObject class,so can solve more things.eg:draw special shape or and control.


@Bits