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.
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
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.