Normally indicators are used to calculate and draw things. The EA uses indicators data and decides when and how to trade. There are probably many different types of S and R indicators