[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 73
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Oh, don't shout like that... I think you've got CapsLock stuck... I wish you'd double the font size and make it bold.
It's just a... an aside.
Now let me explain it to you:
I'll explain the point. By making a recursive call, you are getting your EA to loop exactly to this part... That is, if there are any orders or market positions, the EA should hang and do nothing (just hang) until you manually delete all orders and close positions? Then what is the point of such automated trading, if the EA will hang there without your intervention?
Reconsider your approach to EA logic
Oh yes, I forgot to tell you, the TrallingStop script is run separately, in the future I plan to cross it with an EA, but that's not the point. The point is that it waits for trall triggering in this function. That's how it is)
Oh yes, I forgot to tell you, the TrallingStop script is run separately, in the future I plan to cross it with an EA, but that's not the point. The point is that it waits for trall triggering in this function. It goes like this)
Quite. Actually, the server is needed to receive a tick which triggers the start() function
The script can work in infinite loop and therefore does not need ticks, it needs ticks for indicators and Expert Advisors (in standard configuration (because Expert Advisor can also work in infinite loop)).
But the ticks can be caused artificially - with VINAPI. In addition, there is such a standard feature as the strategy tester (which is also able to generate ticks).
You just need to use your brain and SEARCH ON THE SITE (FORUM).
And not bring in the advantages or disadvantages of file-server technologies.
CLASS, thanks for the good answer...
In short, VBA rules and C++ is for artificial objects.
without the OS Kernel, of course.
))
Yeah, either I'm invisible or no one wants to help or can help((
Ranevskaya was constantly late for rehearsals. Zavadsky got sick of it, and he
asked the actors that if Ranevskaya was late again, to simply
not to notice her.
Faina Georgievna runs into the rehearsal, out of breath:
- Hello!
Everyone is silent.
- Hello!
No one pays any attention. For the third time:
- Hello!
Same reaction again.
- Oh, there's no one?! Then I'll go take a piss.
***
KLASS, thanks for the good answer...
In short, VBA rules and C++ is for artificial objects
without the OS Kernel, of course.
))
"I know kung fu, karate, judo, and many other scary words"(c)
Go straight to the annals, what the heck.
Good afternoon everyone! I have this question: there is an array of 8 points M[8][8] and there is a circle of radius r. The problem is to find coordinates of the centre of this circle so that any 3 points are as close to the edges of this circle as possible (it doesn't matter where they are located - inside or outside the circle). If anyone knows the solution to a similar problem for other geometries, please let me know.
An array of 8 points is M[8][2] rather than M[8][8].
"Any three" are the pre-selected ones, or what?
help is needed. When using the orderselect function , how can I get the opening price out of this order?
OrderSelec t(cnt, SELECT_BY_POS, MODE_TRADES); what do I have to write next for it to give me the opening price?
help is needed. When using the orderselect function , how can I get the opening price out of this order?
OrderSelec t(cnt, SELECT_BY_POS, MODE_TRADES); what do I have to write next for it to give me the opening price?
And then OrderOpenPrice() .