Hi Oleksandr,
I am not sure what exactly you want to add.
The right side seems to have 6 horizontal lines. Also, there seems to have some black boxes behind the lines (you can see part of the grid lines are blocked by the black boxes). Do you want to add the lines, or the black boxes, or both?
If you just want to add the lines, there are many methods. For example, you may use a mark line. In VB/VBScript, it may be like:
'
' m = the XYChart object representing the main price chart (the object returned by
' the FinanceChart.addMainChart method call)
' myPriceLevel = the price level of the line
' myLineColor = the color of the line
' startTradingSession = the visible trading session number from which the line starts
' (trading session number is 0 for the first candlestick, 1 for the second candlestick, and so on)
' endTradingSession= the visible trading session number to which the line terminates
Call m.yAxis().addMark(myPriceLevel, m.xZoneColor(startTradingSession, cd.Transparent, m.xZoneColor(endTradingSession, myLineColor, cd.Transparent)).setLineWidth(2)
Hope this can help.
Regards
Peter Kwan |