You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Why? That's perfectly acceptable for a script. The compiler should complain with the use of OnStart() in a EA and OnTick() in a script.
You are right about OnStart() vs OnTick()..., but :
OnInit
The OnInit() function is the Init event handler. It must be of void or int type, with no parameters:
...
The Init event is generated immediately after an Expert Advisor or an indicator is downloaded; this event is not generated for scripts.Same for OnDeinit().
Why? That's perfectly acceptable for a script. The compiler should complain with the use of OnStart() in a EA and OnTick() in a script.
Can you please post the logs from Terminal window, Experts and Journal tab when you attach the EA to a chart.
2014.02.17 13:51:55.703 Cannot open file 'C:\Users\'user name'\AppData\Roaming\MetaQuotes\Terminal\C603EF303D369FE1BE6C7A5BA05799FE\MQL4\Experts\'Expert name'
Message in Experts tab
In Journal tab, nothing..
I love it! :-D
Even if MetaQuotes made you a big fat liar! LOL..
Hey if we don't start laughing at this mess we are all going to go crazier.....
Oh Im sorry it was Raptor that is the liar... you are probably next...LOL
On a more serious note.. when is this going to work.. or is it working and I have a problem..
When I download and click I get this...
Please don't answer inside the quote.
Weird. It's probably not a big deal, but I am short on idea at the moment.
On a more serious note.. when is this going to work.. or is it working and I have a problem..
When I download and click I get this...
Sure any little problem is caused by the new MT4 build now
Right-click on the file you just downloaded, Properties and Unblock.
Learning curve has a slippery slope.
You are right about OnStart() vs OnTick()..., but :
Same for OnDeinit().
This is just silly. So many things we have not been warned about.
Should the compiler pick this up and warn the user. It seems to warn you about every other damn thing under the sun.
This is just silly. So many things we have not been warned about.
Should the compiler pick this up and warn the user. It seems to warn you about every other damn thing under the sun.