Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 948
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
Vinin, ok, but EventChartCustom generates a custom event, not catches it.
We just need to know where the trader clicked on the chart.
Vinin, ok, but EventChartCustom generates a custom event, not catches it.
You just need to know where the trader clicked on the chart.
OnChartEvent
The OnChartEvent() is the event handler of theChartEvent group:
The function can be called in Expert Advisors and indicators, it must have the void type and 4 parameters:
voidOnChartEvent(constint id,// event identifier
constlong& lparam,// event parameter of long type
constdouble& dparam,// event parameter of double type
conststring& sparam// event parameter of string type
);
Vinin, thank you.
Judging by the description, it's impossible to attach it to the script, and I need it for the script.
I'll give it a try though, maybe it'll work.
Good Day to All! And Happy Holidays!
Question on the subject of include files - "Useful"!!!
According to the tutorial, include files are stored either in the Experts folder or in the Include folder.
If I want to create in the folder Include a dozen more folders and store my include files .mqh already there, when compiling the program does not find them!
THE QUESTION - how to make the program find include files not only in the folder Include but also inside it - folders?
P.S.
This is very necessary when the included files are very much, and you want to group them into folders, and not a bunch to see in include.
Thank you!
Good Day to All! And Happy Holidays!
Question on the subject of include files - "Useful"!!!
According to the tutorial, include files are stored either in the Experts folder or in the Include folder.
If I want to create in the folder Include a dozen more folders and store my include files .mqh already there, when compiling the program does not find them!
THE QUESTION - how to make the program find include files not only in the folder Include but also inside it - folders?
P.S.
This is very necessary when the included files are very much, and you want to group them into folders, and not a bunch to see in include.
Thank you!
What's the problem? If the file is in Include/Folder1/Folder2 then
Thank you very much!
I forgot to compile the right file.
I asked a question in MQL5, but it's actually from MQL4, so I'm repeating it here:
I can't find an interpretation on the old Highest and Lowest commands. They are different in syntax from new iHighest and iLowest. Of course, I can take everything out of context, but it is too fucking intensive. Can anyone give me a hint?
I asked a question in MQL5, but it's actually from MQL4, so I'll repeat it here:
I can't find an interpretation on the old Highest and Lowest commands. They are different in syntax from new iHighest and iLowest. Of course, I can take everything out of context, but it is too fucking intensive. Can anyone give me a hint?
The MQL5 environment will still handle them as iHighest and iLowest respectively when compiling, what is the point of this question? Just old functions left in place purely for compatibility.
The thing is, they are already in the old texts, and it's not really clear which is which. I tell you, they differ in syntax from the new ones. There are even fewer arguments. Or some of them are by default. The system handles them and works them out, but MINE needs to understand. And the context is peculiar, incomprehensible.