If it is an indicator line, it uses two indexes to whow two colors
You'll have a value in one index when that index's specified color is displayed, and in the other indes when that color is displayed
Use iCustom() to get to the values, then figure out which index draws the indicator line when the color is "red" and which one when "green"
If it is an indicator line, it uses two indexes to whow two colors
You'll have a value in one index when that index's specified color is displayed, and in the other indes when that color is displayed
Use iCustom() to get to the values, then figure out which index draws the indicator line when the color is "red" and which one when "green"
Thank you. I'll try.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I have an indicator which draws one line. The line is sometimes green and sometimes red.
Is there any function to get a color of the line?
I tried with ObjectGet(name, OBJPROP_COLOR) but I don't know the name or maybe indicator's line is not an object?
Marko