trying to edit line style from solid line to dashed line

Created at 15 May 2021, 03:00
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!
FC

fcarabat

Joined 18.08.2020

trying to edit line style from solid line to dashed line
15 May 2021, 03:00


Can someone please help me?  I'm trying to change the code for the line style here, I need it to be a dashed line instead of a solid line.

 


@fcarabat
Replies

PanagiotisCharalampous
17 May 2021, 08:41

Hi fcarabat,

You should use the following parameters for your method

DrawHorizontalLine(string name, double y, Color color, int thickness, LineStyle lineStyle)

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous