In principle yes, but it depends on the 'environment'.
One option would be
#property indicator_color1 Yellow
dolemi:
You need 4 buffers.
Hi,
Could I change color of a customer indicator without use extra buffer? And how? I mean one indicator 4 colors.
Any command like this?
if (a>0) SetIndexColor(1, clrRed);
else SetIndexColor(1, clrGreen);
dolemi:
Try it and see what happens
Any command like this?
if (a>0) SetIndexColor(1, clrRed);
else SetIndexColor(1, clrGreen);

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,
Could I change color of a customer indicator without use extra buffer? And how? I mean one indicator 4 colors.