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
Hello all,
I'm trying to program an expert advisor with some sample EA's I found here: https://www.mql5.com/en/articles/1404. The expert advisor should work similar like the free EA called "Digger". However, I want a different entry and I want to use it on different symbols. Therefore I'm trying to program it and also to improve my programming skills. My issue is now, that I work with up to 5 opened positions for basically one strategy. Everytime I open a new position, I calculate a new Take Profit for all opened positions. In my case I don't know how to modify all positions at the same time. There's probably a better way (like to work with functions) but I'm not so far with my programming skills, yet. If you could give me hint, where my errors in reasoning are, I would really aprecciate it. Since I'm at a point where I don't see the wood for trees if you know what I mean ;) . Thanks in advance.