In my strategy, I would like to draw an horizontal line on the price chart (10 cents below the current price). This line should move as the price moves.
I tried to use the DrawHorizontalLine method. However, when I open a chart, the strategy seems to work, but the line is not displayed.
Any suggestions why the line is not displayed?
Notes:
1. I am connected to the simulated data feed while running the strategy.
2. When right clicking on the chart, the strategy option is grayed out. I'm not sure whether it has anything to do with that option.
Please assist.
Ron

Comment