Discussing the article: "Creating an MQL5-Telegram Integrated Expert Advisor (Part 1): Sending Messages from MQL5 to Telegram" - page 3

 
Allan Munene Mutiiria #:

For indicators, I'm not quite sure.

how can the author of the article be not quite sure ?

---

either you know the subject, or it's a load of crap from somewhere else.

 
Ivan Titov #:
Can it send signals from indicators on the chart?

You can receive signals from the indicator in the Expert Advisor, and send them from the Expert Advisor to Telegram and similar messengers.

 
Rashid Umarov #:

You can receive signals from the indicator in the Expert Advisor, and send them from the Expert Advisor to Telegram and similar messengers.

https://www.mql5.com/ru/articles/5337

It is possible without a receiver.
Многопоточный асинхронный WebRequest на MQL5 своими руками
Многопоточный асинхронный WebRequest на MQL5 своими руками
  • www.mql5.com
В статье рассмотрена библиотека, позволяющая повысить эффективность работы с HTTP-запросами в MQL5. Выполнение WebRequest в неблокирующем режиме реализовано в дополнительных потоках с использованием вспомогательных графиков и экспертов, обмена пользовательскими событиями и чтения разделяемых ресурсов. Исходные коды прилагаются.
 
fxsaber #:

https://www.mql5.com/ru/articles/5337

You can do it without the receiver.

Doesn't have to be https://www.mql5.com/ru/docs/network/webrequest

Note

To use the WebRequest() function, add server addresses to the list of allowed URLs in the "Advisors" tab of the "Settings" window. The server port is selected automatically based on the specified protocol - 80 for "http://" and 443 for "https://".

The WebRequest() function is synchronous, which means that it pauses execution of the programme and waits for a response from the requested server. Since delays in receiving a response to the sent request can be long, the function is prohibited for calls from indicators, because indicators work in a single thread common for all indicators and charts on a given symbol. Delaying the execution of an indicator on one of the charts of a symbol can cause stopping the update of all charts on this symbol.

The function can be called only from Expert Advisors and scripts, as they work in their own thread of execution. When called from the indicator, GetLastError() will return error 4014 - "System function is not allowed to be called".


Документация по MQL5: Сетевые функции / WebRequest
Документация по MQL5: Сетевые функции / WebRequest
  • www.mql5.com
Отправляет HTTP-запрос на указанный сервер. Существует два варианта функции: 1. Для отправки простых запросов вида "ключ=значение" с...
 
Rashid Umarov #:

It shouldn't be https://www.mql5.com/ru/docs/network/webrequest

Apparently, you did not read the article. There were examples of even trading indicators without a receiver.

 
fxsaber #:
Apparently, you did not read the article. There were examples of even trading indicators without a receiver.

"Well, this is our deficiency" (c)

 
Rashid Umarov #:

You can receive signals from the indicator in the Expert Advisor, and send them from the Expert Advisor to Telegram and similar messengers.

I see. Not any indicator from the chart. Too bad.

 
Rashid Umarov #:

"Well, it's our fault."

there is no access point (neither from Expert Advisors nor indicators) to the data window, which is opened by Ctrl-D.

an eye sees an eye and a tooth doesn't know a tooth

everything is there, but you can't use it programmatically.

 
Maxim Kuznetsov #:

defect that there is no access (neither from advisors nor indicators) to the data window, which is opened by Ctrl-D.

an eye sees an eye and a tooth

everything is there, but you can't use it programmatically.

I'm not questioning your assertion in any way,

but let me ask you to give an example of the data,

that are in the "data window", but cannot be accessed from an indicator or an Expert Advisor.

 
Aleksandr Slavskii #:

In no way questioning your assertion,

but let me ask you to give me an example of that data,

that are in the "data window", but are not accessible from an indicator or an Expert Advisor.

data of buffers of the indicator launched by the user.