Hi,

Need help to draw a thick transparent line at the bottom of the chart.

Color of the thick line changes as per the status of the moving averages.

I tried the following - it s full of mistakes.

GfxSetOverlayMode(1); 
xp=BarIndex();
yp=(Status("axixmaxy")-Status("axisminy")/5)+Status("axisminy");
Mycond=ROC(EMA(C,100));
Ema1=EMA(C,50);
Ema2=Ema(c,100);
Mycol=IIf(Mycond>0 AND Ema1>Ema2, colorGreen,colorWhite);
GfxSelectPen(Mycol,2);

Somebody, please help me.

Best Regards.

KK




Reply via email to