Drawing Horizontal Lines

Created at 13 Dec 2015, 04:57
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!
usynn's avatar

usynn

Joined 13.02.2015

Drawing Horizontal Lines
13 Dec 2015, 04:57


Hi, I'm trying to draw horizontal lines in a cBot and am testing the cBot whilst running the cBot in backtesting mode but no lines are drawn. I've tested the DrawHorizontalLine() method in the OnStart(), OnBar() and OnStop() methods but it doesn't work.

This is my loc:

ChartObjects.DrawHorizontalLine("test",1.5, Colors.MediumOrchid);

Is there any way to get the cBot to draw lines on the chart?

thanks


@usynn
Replies

Spotware
14 Dec 2015, 01:55

Dear Trader,

Chart objects are not supported in backtesting. It's in our plans to support it in the future. Stay tuned.


@Spotware

usynn
15 Dec 2015, 01:34

RE:

Is there an ETA for this feature?

Spotware said:

Dear Trader,

Chart objects are not supported in backtesting. It's in our plans to support it in the future. Stay tuned.

 


@usynn

Spotware
15 Dec 2015, 22:58

Dear Trader,

We cannot provide you with an ETA.


@Spotware