Help me please

 
I need help programming an Advisor that will make a buy order in the min price of the last candle. Could someone send me the code? Thanks
 

Hi,


I am developing an EA where I am using the following symple code:

 Sym[i]=SymbolName(i,true);

Whenever and wherever I use this code, MT4 window get frozen...but not in every computer, it occurs in my Toshiba of 2010.

Is anything wrong in using this function? Why cannot I use it?

Any idea?

Regards

Bahman

Reason: