Newbie help - first EA

 
So i coded my first EA, backtested it, works fine, compled it, etc. Then i loded it onto a chart in my demo account, it just sits there and does nothing. The code just opens up market orders one at a time with stop-loss and t/p values. Why would it not open any positions? Thanks!
 

Post your code...

 
You have to enable live trading in your settings. Tools > Options > Expert Advisors