Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1774

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
I wrote it all above. Reread the posts carefully. Your task is not something difficult. If you focus on the task and not bicker on the forum you'll be fine. Good luck.
Wrote what? About the array? Did I do that first, or do you mean the definition of an indicator? Or maybe about the way to open two orders and put the TF of the first in the second? Such a neat solution leading to a bunch of side problems.
"bicker" - the teacher has entered the chat room. Sorry, but you're sticking out your ego more than you're writing about the point. It'll pass, I was like that when I was 13.
It's not about my importance or anything else, it's about the importance of knowledge of programming, which you don't have. If you were at uni and behaved like that in class, at the very least the teacher would reprimand you or kick you out. That's when you'd tell him about your ego...? :)
You don't have knowledge not because you're a beginner but because you're ignorant... When someone tells you once again that an EA is different from an indicator, you will continue to say your "what difference does it make". :)
I wrote: "Indicator opens trades" and "Bot needs a timeframe for a trade". No one would even reply to such a question as it lacks any logic. But I tried to answer it. I got a lot of accusations and insults. Is that instead of "Thank you"...?Encrypt in magik. I have described the whole encryption and decryption procedure in the articles.
Encrypt in magik. I have described the whole encryption and decryption procedure in articles.
Give me the link, it takes me about 30 minutes to find it every time) Good approach to encryption.
Give me the link, it takes me about 30 minutes to find it every time) Good approach to coding.
I don't remember it myself :)
I'll be looking for 30 minutes too ...
This won't work because the bot is running on a remote server, so I write the TF in the comment, that would be fine, but it gets overwritten by the ticket when you close part of the volume.
Do an individual magic number for orders on different timeframes. This number does not change when partially closing.
Make an individual magic number for orders on different timeframes. This number does not change when partially closed.
And why encrypt the symbol in the magic number if it is already readable from the order/position? And why such values for the SymNumber?
Make an individual magic number for orders on different timeframes. This number does not change on a partial close.
Thank you for StringFind. But it would be much easier for me.
And I would get the order symbol later using OrderSymbol().
hello!
If I receive a signal (for example, Buy), I need to open an opposite order (Sell) after the lot conditions are met.
I built the code:
but when a condition occurs
But in this case two opposite orders are opened simultaneously. How do I "fix" it?