a34:ma(c,34);
a89:ma(c,89);
半年线:ma(c,117),COLORGREEN;
年线:ma(c,233),COLORRED;
一年半:ma(c,350);
二年半:ma(c,583);
三年半:ma(c,816);
四年半:ma(c,1049);ma(c,1282);ma(c,1585);
ma(c,1748);ma(c,1981);ma(c,2214);ma(c,2457);{10年半}
ma(c,2680);ma(c,2913);
ma(c,3030);ma(c,3147);ma(c,3264);ma(c,3381);
DRAWTEXTEX(c,1,1,10,'大均线金叉见顶 大均线死叉见底'),COLORYELLOW;
DRAWTEXTEX(c,1,1,70,'相邻的近似平行的两条大均线可看成为通道(箱体)'),COLORYELLOW;
dk:=a34;STICKLINE(DK<=C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorred;
STICKLINE(DK<=C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorred;
STICKLINE(DK<=C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorred;
STICKLINE(DK<=C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorred;
STICKLINE(DK>C AND CLOSE>=OPEN,HIGH,LOW,0.1,1),colorgreen;
STICKLINE(DK>C AND CLOSE>=OPEN,CLOSE,OPEN,8,1),colorgreen;
STICKLINE(DK>C AND CLOSE<OPEN,HIGH,LOW,0.1,0),colorgreen;
STICKLINE(DK>C AND CLOSE<OPEN,CLOSE,OPEN,8,0),colorgreen;