Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 115

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
Can AccountNumber() be read from the dll and how? At least give me a hint where to dig. I mean without passing the function value to the dll, i.e. from the dynamic library itself.
I don't understand why it has to be so complicated.
Wouldn't that make it easier?
From the MT4 window header, but it can easily be tampered with. We need to think about how to trace the spoofing.
But one thing I'm pretty sure of: there's nowhere in Windows to see the last time the window buffer was accessed.
I need help, I can't figure it out.
The idea is that the owl will use the trend fill, if the signal repeats. So the question is, how do I teach the fraction function to skip the first signal?
For example, there was a buy signal, the owl buys and at the next tick the function of scaling in is called (because there is an open order), the entry signal is still in force and the function successfully fills (which is wrong).
The function itself is called only if there is an open order.
I just need to skip the current bar. How to implement it in MQL?
I need help, I can't figure it out.
The idea is that the owl will use the trend fill, if the signal repeats. So the question is, how do I teach the fraction function to skip the first signal?
For example, there was a buy signal, the owl buys and at the next tick the function of scaling in is called (because there is an open order), the entry signal is still in force and the function successfully fills (which is wrong).
The function itself is called only if there is an open order.
I just need to skip the current bar. How to implement it in MQL?
What the hell are you smoking? What plantations do you pick cigarettes from? Owl went to the shop and bought some... And then some funk came along and fucked it all up.
Bummer...
Use the function which will return you the number of bars after the last position was opened:
How to check a Buy position with Magic
Shit... what are you smoking? Where do you get your cigarettes from? Owl went to the shop and bought some... And then some funk came along and ruined everything.
Oh, that's too bad...
:) Anyway, that's the way it is
What should I write in Dolivka...() to make it skip the bar, on which the first trade was opened?
I don't have the source code, I am just remembering...
Eh... If only I could decide how to do it myself... If the client needs to recalculate the take of all positions (especially since the next averaging positions may be opened with even larger lot and the total take is recalculated again) and close exactly by stop-orders, and not by Expert Advisor, then that's what I have to do.
Array the position data