Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 742
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
Thank you very much, tomorrow I will think of a way to replace iTime and iClose, as I'm sitting on XP.
How do I compile a separate function, e.g. trawl, so that it can be called -imported from EAs?
similar to .mqh or dll
Hi all!
Can you please tell me why I can't enter its properties when the EA is working? I used to, but now I can't open the properties. Once restarting the terminal helped, but the problem appeared again after a minute. EA is fresh, terminal is also working recently. What is the problem with EA properties ?
Thank you !
most likely it is looped without checking for interrupts.
Do you have the source code? was there a problem with this EA before ?
How to compile a separate function, e.g. trawl, so that it can be called -imported from EAs?
similar to how .mqh is called
like this.
in the EA
#include <trall.mqh>
and directly in the code call the function trall, for example
int trall_size = 20;
int trall_start = 30;
int trall_step = 5;
trall("",0,-1, trall_size, trall_start, trall_step); // trall("); // trall of all orders on the account with the set parameters
int magic = 345;
trall(_Symbol,magic, OP_BUY, trall_size, trall_start, trall_step); // trall only BUY orders on the current symbol with the specified slow
Press hotkey F7 :-)
The mouse on the EA icon does not always work - the icon can be overlapped by other objects and the EA loads the message queue and 100500 other reasons
something like that.
in the advisor
#include <trall.mqh>
I meant the trawl file should be compiled separately and have the extension ex4.
#include <trall.ex4>
or
What should be inserted inside the trawl functionitself?I meant the trawl file has to be compiled.
or
What should be inserted inside the trawl functionitself?Why do you need such a perversion? Isn't it easier to write the function in the EA or as it was suggested with .mqh file?
Or is there an Expert Advisor with the trail, but no source? But if there is no export modifier after the function name, it will be impossible to import it into another EA.
Another disadvantage of such libraries is that they have to be dragged into a new terminal together with the EA. And if you use the include file .mqh, then you can copy only the compiled EA to another terminal.
What's with the perversion?
It's a fetish.)
There, that should work.
or am I putting it in the wrong place?
It's a fetish.)
There, that should work.
Or am I putting it in the wrong place?
Thank you very much, tomorrow I'll think of something to replace iTime and iClose as I'm sitting on XP.
Here, pure code for the tag. Runs after the Bid price any way, any way when scrolling the chart, any way after switching charts. It runs behind the crosshair and remembers the offset set in this way, continuing to navigate to the Bid afterwards.
PS even I've already changed the hp recently as everything is starting to fail, some sites require browser update and it can't be updated on the hp,
I'm sick and tired of limiting RAM to 3.7gb as well.
xp has no support for testing owls on all CPU cores