How to read an arrow from other indicator mql4?
I have a main indicator. In that main indicator, I want it to read an arrow that is on the same graph, which is from another indicator. How can I do
this?
There are two types of arrows.
- Buffers of type arrow. View (Alt+V) → Data Window (Control+D) If you see your "main indicator" and a value where there is a arrow, then read the
buffer. Just get the value(s) of the indicator(s) into EA/indicator (using iCustom) and do what you want with it.
You should encapsulate your iCustom calls to make your code self-documenting.
Detailed explanation of iCustom - MQL4 programming forum - Otherwise, it is drawing arrow objects. Charts (Alt+C) → Objects → Objects List (Control+B).
Find the corresponding object and find the naming pattern. Then you can get all appropriate objects and their values.
Object Functions