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

 
Maxim Kuznetsov #:

data of buffers of the indicator started by the user.

Have you tried this example? https://www.mql5.com/ru/docs/chart_operations/chartindicatorname

Документация по MQL5: Операции с графиками / ChartIndicatorName
Документация по MQL5: Операции с графиками / ChartIndicatorName
  • www.mql5.com
Возвращает короткое имя индикатора по номеру в списке индикаторов на указанном окна графика. Параметры chart_id [in]  Идентификатор графика. 0...
 
Maxim Kuznetsov #:

data of buffers of the indicator started by the user.

I suspect that there is a trick here, but I will ask anyway.

What is wrong with launching the indicator handle iCustom() and getting data from it using CopyBuffer()?

 
Aleksandr Slavskii #:
What is wrong with launching the indicator handle iCustom() and getting data from it using CopyBuffer()?

The need to write code, I suppose.

 
Ivan Titov #:

I guess the need to write code.

Well, I think we shouldn't jump to conclusions, maybe there are situations we don't know about, that's why I asked.

I myself see two solutions:

1. what Rashid wrote, get the indicator name and get the handle by it.

2. What I wrote, run the indicator virtually and get the handle.

In my opinion, these two options cover almost all possible situations. But maybe I'm wrong.


S.F. Funny translator))))))