program help pls.

 

built an EA for a new strategy im testing out, and it works really well untill it tries to open a 2nd trade.

for some reason the EA will not open a trade after the first one closes, unless the ea is restarted or mt4 is restarted, it doesnt return any errors during the compiling or while its running but it seems to kind of shut itself off after it puts the first trade in.

Reason: