The FX PowerGrid function fnRemoveLines is used to remove all vertical and horizontal lines from a price chart.
The fnGrid function draws lines for the grid start price, start time and each grid level. The fnRemoveLines function can be used to programatically remove all of these lines.
One convenient method is to create a deinit drawing function and add fnRemoveLines to the drawing. This will cause all of the lines to be removed each time the Expert Advisor is removed from the chart.
- The fnRemoveLines does not required any parameters.
- The fnRemoveLines is a Drawing function. Its drawing can be opened and/or modified by double-clicking the caption of the function.