If the indicator is using indicator indexes to display different colors of a line (for example), then
there is more than one index in use.
index0 might be blue, index1 might be red. Both indexes alternately used to make the "line"
So, query more than one index to find which one is displaying a value during the time of the different colors.
If the indicator is creating objects, query the objects -- ObjectGet()

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I want to use an trend indicator. But I see the change from buy to sell only in the color of the indikator.
When I use the iCustom function in my metatrader I get only the value of the indikator back.
How can I see in my mq4 programm with the iCustom Function when the color of the trend indikator is changing from green to red or from red to green?