One topic I realized regarding the market. I understood you want to run the SPY during the US market hours. I guess you should include the:

BarZone = EST;

statement.