moonsboy:
You're trying to change the indicator buffers 0 and 1, have you assigned the iMA values to buffer 0 and 1 elsewhere in your code? If not, then those buffers will be empty, regardless of what colour you set.
I tried to change the color of the 2 iMA lines below, but failed.
What's wrong with the codes? How to fix? Thanks.

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
I tried to change the color of the 2 iMA lines below, but failed.
What's wrong with the codes? How to fix? Thanks.