0;
DP:C-REF(MA(C,55),55/2+1),COLORRED;
MA26:SMA(DP,18,1),COLORCYAN,DOTLINE,LAYER0;
PARTLINE(MA26 ,(MA26>REF(MA26,1)),rgb(255,0,0) ),linethick3,LAYER0;
A1:=(C-DP)/DP*100;
STICKLINE(A1>0,0,DP,0,0),COLORYELLOW;
STICKLINE(A1<0,0,DP,0,0),COLORGREEN;