Drawing on Charts

Created at 31 Oct 2023, 12:19
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!
shane.scott.pub's avatar

shane.scott.pub

Joined 22.01.2023

Drawing on Charts
31 Oct 2023, 12:19


Hi I am having trouble drawing lines and arrows on charts and even understanding the rationale behind the different overloads.  The deprecated methods are more documented. Please help with an example if possible.


@shane.scott.pub
Replies

PanagiotisChar
01 Nov 2023, 06:51 ( Updated at: 01 Nov 2023, 07:04 )

Hi there,

Here is an example of drawing a horizontal red line on the bid price

Chart.DrawHorizontalLine("Line", Symbol.Bid, Color.Red);

@PanagiotisChar