I want to know if it is possible to embed an indicator that plots on the chart, in a .mqh file through a class.
- How to embed a custom indicator with ea ?
- how to not plot a built-in indicator
- How to add a class into libraries
This is the English forum. Please write in English.
As for your question, you have provided Insufficient information to provide a reasonable answer.
Your explanation is still unclear. However, if you are asking if you can embed an indicator in an EA executable file, then you need to declare it as a resource (already pre-compiled), and not as an ".mqh" file.
If that is not what you are asking, then please explain in more detail or post your question in the Portuguese forum if you prefer to communicate in Portuguese.
- www.mql5.com
-
Please post only in English on this part of the forums. Use the automatic translation tool if needed. Use simple language structure when using mechanical translation. (2013)
- If you include code into your EA, it is still an EA. There are no buffers.
- EAs have no eyes. They don't need to see lines on the chart, just read the values from the indicator. If you want to see them, add the indicator to the chart.