Guidance in building an automated trade system

That can draw trendlines, and automatically execute an order get in a position within 1% of a trendline (of it reaching within 1% of support or resistance) and get out of it drops 1% below it (or above it if I am shorting) (thereby the max loss is 2%).
-and it just needs to scan all stocks and futures and do this and do it automatically

My question is:
What is the best platform to do this on,
What else would I need to do this (besides data feed and programming knowledge)

You are likely to receive many responses to this question espousing the various benefits of [insert your favorite language] over [insert your most despised language]. The thread will then probably degenerate into an ill-defined argument on platforms and languages.

My advice is simply this.....Don't. Don't develop your own program. There are many existing systems out there that will do exactly as you have described. Why spend time on this when you could be spending time ensuring what you want to do has the best chance of being profitable? Existing systems are also likely to have received far more development and testing time than you could possibly hope to provide on your own. So unless:

- You want to do this as an educational exercise.
- You have some particular requirements that you have failed to mention

Don't do it. Spend your time developing and testing the trading system itself.