What does not-work? Does it not place trades? Does it not generate profits? What test in the chart does it fail? Do you think you have a coding problem or a system problem? Did you enable auto trading? Do you not get a happy face? Does your start() not execute?
sapto:
thi is my trial EA. It is simple, but not executed. why?
There isn't much point calling GetLastError() if you don't do anything with it's return value, read this it will help: What are Function return values ? How do I use them ?
Is your Broker an ECN type Broker ? if you are not sure do this little test: https://www.mql5.com/en/forum/143043/page2#746319

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
hi all,
sorry, I'm a beginner in the world trade.
just few, I know a programming language.
but, I have tried to create my own EA by MQL-4.
and I have compiled it, no errors found.
but, I always failed the test in the chart.
how is this???
any help, please.