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
made errors in last comment so i deleted it and submitting a new one if you saw last one. Start function isn't supported in EA's by your version of MT4.
Try this:
made errors in last comment so i deleted it and submitting a new one if you saw last one. Start function isn't supported in EA's by your version of MT4.
Try this:
Well I've made all these changes, and run it. Still no trading, no alerts or anything. If it makes any difference I'm running it on a demo account with Axitrader. Testing this on the 1 min EUR/USD
Then you cannot be running this EA. Make sure that the EA attached to the chart has exactly the same name as this EA. The Alerts are not dependant on any condition, so you should be getting alerts.
Please show your modified code
Note: You need to do something in your code so that it doesn't keep opening orders every tick while conditions are satisfied
Then you cannot be running this EA. Make sure that the EA attached to the chart has exactly the same name as this EA. The Alerts are not dependant on any condition, so you should be getting alerts.
Please show your modified code
Note: You need to do something in your code so that it doesn't keep opening orders every tick while conditions are satisfied
it's been answered, the start function is outdated, he must use onTick
made errors in last comment so i deleted it and submitting a new one if you saw last one. Start function isn't supported in EA's by your version of MT4.
Try this:
Awesome! This works thanks!! But isn't OnTick() an MQL5 function?? Does this mean I am forced to use MQL5 with this build??
Thanks for the advice about the code keeping on opening orders. Will get there, for now just wanted to see this little bit of code work
it's been answered, the start function is outdated, he must use onTick
Are you sure? Maybe I have missed an update. MT4 is 625 and Editor 914.
I didn't realise that the start function no longer worked and so one has to use onTick.
Are you sure? Maybe I have missed an update. MT4 is 625 and Editor 914.
I didn't realise that the start function no longer worked and so one has to use onTick.
You don't have to use OnTick, it's not mandatory to use the new features. start() is running just fine.
Current build is 646 and ME 934.
I am using start function and it is working like it should (latest build).
You don't have to use OnTick, it's not mandatory to use the new features. start() is running just fine.
Current build is 646 and ME 934.
Thank you,
I thought that fantomfx was wrong, but many people seem to have been updated to a later build, so I couldn't be sure.
So that brings me back to what I posted before.
Then you cannot be running this EA. Make sure that the EA attached to the chart has exactly the same name as this EA. The Alerts are not dependant on any condition, so you should be getting alerts.
Please show your modified code
Note: You need to do something in your code so that it doesn't keep opening orders every tick while conditions are satisfied