For a decent starter book you could try:
"Technical Traders Guide to Computer Analysis of the Futures Market" by Le Beau, Lucas
It's focus is futures, but the system building and testing guidance applies across markets. Also, covers basic TA concepts if I remember correctly.
On the...