I am trying to code a strategy that analyzes the NYSE Advancers Index and then trades a stock. Essentially, analyze symbol2 and trade symbol1.
The following code compiles but I run into a runtime error. Any idea what can be improved upon?
CODE:
Please log in to see this code.