I cannot get the MA to change to color
Dusan Fajler:
I cannot see what am Idoing wrong
Here's the main culprit:
#property indicator_type1 DRAW_LINE
And here's a quick and dirty way to test:
int iLimit = MathMin(rates_total-1,rates_total-prev_calculated); for (int i=iLimit; i>=0; i--) ColorBuffer[i] = i%3;
Always white, same as before
Dusan Fajler:
Oops! I thought I added 'color'... 😂 Should be :#property indicator_type1 DRAW_COLOR_LINE
Seng Joo Thio:
Oops! I thought I added 'color'... 😂 Should be :
Oops! I thought I added 'color'... 😂 Should be :
It works! Thanks a lot!
I cannot see what am Idoing wrong