My first EA Run only in debug mode

 
I am new in programming in MQL4. My first EA make two ordersend on the same cross but different type. If I run It in debug mode step by step it is ok. If I run it in debug mode with F5 command it seize up on the second ordersend. If I attach my EA at window with double click on line of navigator it seize up on second ordersens. If I look at log file, I see that second ordersend is Ok. howewer, if, after I had cancelled my EA and restart it, I can to see in my terminal that second ordersend is OK. Can someone help me? tanks for all help. Fabio Crippa
 

Fabio,

No one can help you if you didn't show your code !. 

 
hi Osama Shaban I attach my code. tanks for ALL HELP. Fabio Crippa
Files:
EAStraddle.mq4  19 kb