how can i create trend line indicator ?

 
i want create trend line  any body can help me ?
 
Help you with what? You haven't stated a problem.
You have only four choices: We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using SRC) and the nature of your problem.