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
seungbaek, if possible could you attach the whole EA, so we can figure it out an not just Danjp (Danjp probably maybe not here). kinda difficult to scroll up and down just to figure out the whole EA.
And can you elaborate/explain more on "Exit order", I'm not so sure what you want from that.
I'm not sure I can help you either. LOL.
Hi onewithzachy,
Thanks for your help and the below EA has been tested, and the result showed all of "Buy" order were executed correctly & properly without any problem on audusd 5min chart.
However the result also showed any single one of "Exit" order has NEVER been executed, i didn't have any close of the position by exit order from the test result.
Unfortunately I do not know what was wrong on exit order.
The exit order is very simple. If MA7 cross up MA11 close the short position, if MA7 cross down MA11 close the long position.
Could you plesae help me?
Hi onewithzachy,
Thanks for your help and the below EA has been tested, and the result showed all of "Buy" order were executed correctly & properly without any problem on audusd 5min chart.
However the result also showed any single one of "Exit" order has NEVER been executed, i didn't have any close of the position by exit order from the test result.
Unfortunately I do not know what was wrong on exit order.
The exit order is very simple. If MA7 cross up MA11 close the short position, if MA7 cross down MA11 close the long position.
Could you plesae help me?
Hi seungbaek,
Actually I'm a little busy right now and and didn't look the whole things so my corrections here probably need more corrections. I think you copy paste the code without knowing how this work, coz several problem I could find is that you are using a lot of return (0);.
Hi seungbaek,
Actually I'm a little busy right now and and didn't look the whole things so my corrections here probably need more corrections. I think you copy paste the code without knowing how this work, coz several problem I could find is that you are using a lot of return (0);.
Hi onewithzachy,
Thanks for your reply!!! I will fix the above following your instructions exactly. Then I will test again.
Really appreciated your working...