Drawing Horizontal Lines
Created at 13 Dec 2015, 04:57
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
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