The fnDeleteAllTrendLines function is used to programatically delete all trend lines from a price chart.


After the fnDeleteAllTrendLines function has been added to a Drawing, it is configured by clicking the (+) button along the bottom of the Element.


The fnDeleteAllTrendLines function does not require any parameters.


Note: Any and all trend lines are deleted from the price chart.  This includes trend lines created both manually and programatically.