When you run a programmatic search of charts, their subwindows, indicators in subwindows, you can find out the total number of indicators and then their names, parameters, etc.
Using ChartIndicatorsTotal, ChartIndicatorName etc.
How do I know the name of Expert Advisor running in this window also programmatically by ChartID?
Question on MT4
another question... How can I read MT4 log files? This code gives an error ... 5002
string filename=TerminalPath() + "\\MQL4\\Logs\\20160219.log";
int filehandle=FileOpen(filename,FILE_READ);
if(filehandle<0)
{
Print("Неудачная попытка открыть файл по абсолютному пути");
Print("Код ошибки ",GetLastError());
}
string str=FileReadString(filehandle);
Vinin: If the second option works, there is a solution. So what's the problem?
the problem is that there will be so many links to enter into the terminal settings as allowed addresses( + I don't have the same computer... is not an option at all(
Can you please tell me how to find the beginning of the bar in the for loop, in general I need to look from the 1st bar to the 5th inclusive? (the current 0-bar is not counted).
for (int i=5; i<1; i++)
{
h = iHigh(Symbol(),tf,i);
......
Read the function for to understand only I can not. Help.
Can you please tell me how to find the beginning of the bar in the for loop, in general, I need to look from the 1st bar to the 5th inclusive? (the current 0-bar is not counted)
Read the function for to understand only I can not. Help.
Regards!
with, to, what to do
for(int i=1;i<=5;i++)
or
for(int i=5;i>=1;i--)
But yes. The more logical thing to do during development was to make
Thank you for your answer, please tell me if I understood you correctly, do you mean like this?
so for some reason the result does not change either... (
another question: maybe you can programmatically add URLs to the allowed ones? (for example via macro substitution) and frankly I don't want to use WebRequest because it's not asynchronous....
Money_Maker: Thank you for the answer, please tell me if I understood you correctly, do you mean like this?
so for some reason the result does not change either... (
another question : maybe I can add the URLs to the allowed URLs programmatically ? (for example via macro substitution) and frankly I don't want to use WebRequest because it's not asynchronous....
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.
if closing by advisor/script, then
arrow_color
[in] The colour of the closing arrow on the chart. If the parameter is missing or its value isCLR_NONE, the arrow will not appear on the chart.
---
if manual - only write/borrow a ready-made script/indicator, which will catch this deal on history and show it with an icon
Hello, here's a question:
When you run a programmatic search of charts, their subwindows, indicators in subwindows, you can find out the total number of indicators and then their names, parameters, etc.
Using ChartIndicatorsTotal, ChartIndicatorName etc.
How do I know the name of Expert Advisor running in this window also programmatically by ChartID?
Question on MT4
another question... How can I read MT4 log files? This code gives an error ... 5002
(the interesting thing is that WebRequest second version of it works... )
Can you please tell me what's wrong?HttpSendRequestW doesn't send request... GetLastError gives 0.
(The interesting thing is that WebRequest second version works ... )
If the second option works, there is a solution. So what's the problem?
is not an option at all(
Hello!
Can you please tell me how to find the beginning of the bar in the for loop, in general I need to look from the 1st bar to the 5th inclusive? (the current 0-bar is not counted).
Read the function for to understand only I can not. Help.
Regards!
Can you please tell me what's wrong?HttpSendRequestW doesn't send the request... GetLastError gives 0.
(The interesting thing is that WebRequest second version of it works... )
It's no longer the string that needs to be transferred, but the char buffer.
https://forum.mql4.com/ru/67441
Hello!
Can you please tell me how to find the beginning of the bar in the for loop, in general, I need to look from the 1st bar to the 5th inclusive? (the current 0-bar is not counted)
Read the function for to understand only I can not. Help.
Regards!
with, to, what to do
for(int i=1;i<=5;i++)
or
for(int i=5;i>=1;i--)
But yes. The more logical thing to do during development was to make
with, what to do, to
for(int i=1;i++;i<=5)
so for some reason the result does not change either... (
another question: maybe you can programmatically add URLs to the allowed ones? (for example via macro substitution)
and frankly I don't want to use WebRequest because it's not asynchronous....
Thank you for the answer, please tell me if I understood you correctly, do you mean like this?
so for some reason the result does not change either... (
another question : maybe I can add the URLs to the allowed URLs programmatically ? (for example via macro substitution)
and frankly I don't want to use WebRequest because it's not asynchronous....
I think all thongs should be done like that.
The data about that list is stored in the terminal-config-experts folder
But it is very unclear there. It is necessary to ask the developers.