通达信自用的主图5日均线做短线的朋友

{通道}

DT:(REF(C,4)+REF(C,3)+REF(C,2)+REF(C,1)+REF(C,1)*0.9)/5,COLORWHITE;

ZT:(REF(C,4)+REF(C,3)+REF(C,2)+REF(C,1)+REF(C,1)*1.1)/5,COLORGREEN;
 

明日D:=(REF(C,3)+REF(C,2)+REF(C,1)+C+C*0.9)/5;

明日Z:=(REF(C,3)+REF(C,2)+REF(C,1)+C+C*1.1)/5;
 

明日DT:STICKLINE(CURRBARSCOUNT=1,明日D,明日D,12,0),COLORWHITE;

明日ZT:STICKLINE(CURRBARSCOUNT=1,明日Z,明日Z,12,0),COLORGREEN;