This is a template method. The parameter type in it will be matched according to the type passed in these brackets. The type is determined statically, at compile time. You can read more about this in "function and class templates":https://www.mql5.com/ru/docs/basis/oop/templates.
A new tick is generated - the condition is fulfilled, for example, pattern indication will be drawn on this tick and an alert will be generated.
Need a function to receive a condition with the flag of this condition set by the next two paragraphs
Need a pattern drawing function
Need function to send alert (not necessarily a function - there are standard functions for only alert, only e-mail and only push)
After the condition above is fulfilled, we need to stop the execution of multiple repetitions of the same action of the above action until a period of time equal to...
If there is a flag that three steps from step 1 above are already done, then do nothing - go to step 3, otherwise go to step 1
As soon as the bar changes to the next one, restart the condition until the next time period described above
We need a function for defining a new bar. As soon as a new bar has been defined, we go to step 1. Otherwise we go to step 2.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
This is a template method. The parameter type in it will be matched according to the type passed in these brackets. The type is determined statically, at compile time. You can read more about this in "function and class templates":https://www.mql5.com/ru/docs/basis/oop/templates.
Thank you!
Thank you, I will try to do
Good afternoon!
The advisor is giving out warnings:
possible use of uninitialized variable 'hv1' test_gme.mq5 154 23
0 error(s), 14 warning(s), compile time: 1306 msec 1 15
Here's the code: What's the error?
Good afternoon!
The advisor is giving out warnings:
possible use of uninitialized variable 'hv1' test_gme.mq5 154 23
0 error(s), 14 warning(s), compile time: 1306 msec 1 15
Here is the code: what is the error?
Add =0 .
When compiling, everything is OK, no errors or warnings. But
When testing, it gives the following:
2018.12.01 17:53:00.074 Core 4 genetic pass (0, 509) tested with error "OnInit failed" at 0:00:00.000
Please tell me how to get a list of directories in a specified directory MQL5\Files ?