Script won't execute

 
When I drag it to the chart it does everything it is supposed to do except execute buy on the chart.  Live trading is checked.  Script is attached.  Please advise, thanks.
Files:
 
what GetLastError you get ?
 
qjol:
what GetLastError you get ?

I get nothing after I OK:"Are you sure you want to place this buy order?"
 

is Ask manual confirmation checked ?

if so, why ? try without it

 

 
qjol:

is Ask manual confirmation checked ?

if so, why ? try without it

 Makes no difference, checked or unchecked..same result.

 
change Print with Alert and report the GetLastError
 

Thanks..sure helped and gave me a tool.  Check out the attachments.  It stops before this:

if ((Lots < 0.01&&MicroOrdersAllowed) || (Lots < 0.1&&MiniOrdersAllowed&&MicroOrdersAllowed==false))

 
I forgot...first it gave me error 4109 but I couldn't find anything specific on it.
 

4109

ERR_TRADE_NOT_ALLOWED

Trade is not allowed. Enable checkbox "Allow live trading" in the Expert Advisor properties

 
Yes, I forgot to enable it the first time but that error never came up again.