Simple EA does not work

 

Dear MQL community



i am running MT4 under Administrator and 32comptatibility mode with Vista64bit Dual CPU, 16GB RAM.



a) scripts work

b) indicators work



but strategy simple like:



int init() { return(0); }
int deinit() { return(0); }
int start() { PlaySound("ok.wav"); return(0); }

does not work. Even print does not give anything.



2009.06.29 09:46:18 test1 EURUSD,H1: initialized
2009.06.29 09:46:18 test1 EURUSD,H1: removed
2009.06.29 09:46:18 test1 EURUSD,H1: uninit reason 1
2009.06.29 09:46:18 test1 EURUSD,H1: deinitialized
2009.06.29 09:46:13 test1 EURUSD,H1: loaded successfully
2009.06.29 09:46:00 test1 EURUSD,H1: initialized
2009.06.29 09:46:00 test1 EURUSD,H1: removed
2009.06.29 09:46:00 test1 EURUSD,H1: uninit reason 1
2009.06.29 09:46:00 test1 EURUSD,H1: deinitialized

thats the msg i get on execute.



can someone help me why even simply EA does not work? Is there a workaround? I think its because of VISTA.

 

I installed MT4 on D:, works fine, Vista 64.

Try reinstalling to a different location, like C:\MetaTrader\, if you only have one partition.

Basically, just take it out of the protected "Program Files" or "Program Files (x86)" and put it somewhere else.

 

seems i have been too long far from mt4 ;) solution was simple. i forgot to press "Expert Advisors" button on button-bar



thank you

 
Uh, yeah, that too...
Reason: