creating lines by using keys presses/shortcuts (HL, VL, Trendline)?

 

instead of using my mouse to press the buttons from the line studies - horizontal/vertical line, trendline, 

The ideas is to speed up the process of creating lines by using keys presses/shortcuts.

I want to press a key and come to the same result after pressing the button 

 anybody know some  script please ? 

 
  1. You have only three choices: Search for it, learn to code it, or pay someone. We're not going to code it FOR you.
    We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. Write one to create the line, assign it to a hot key. Should take about two minutes, per.
Reason: