How can I create trend lines or other line studies?

You can apply various trend lines and line studies directly from the main toolbar, as outlined below.   If these options are not visible, click on View, then Toolbars and make sure the ‘Line Studies’ option is ticked.   Once the correct line study has been selected, left-click on the chart to start drawing.