Change existing chart indicator color in a code?
Only the indicator can change itself. Don't try to write code to change something else — change the indicator.
William Roeder:
Of course, you can in MT4. Buttons exist, colored lines exist, Events exist.
Ok, this seems to be beyond my coding abilities. But good to know it's possible. I will figure this out.
Hey guys,
is it somehow possible to change the color of a moving average in a code?
Example: I have a moving average in my chart. Now I want to press a key and the color of the moving average should change.