上趨勢(shì):MA(LOW,20)*1.2,COLOR0080FF,LINETHICK2; 次上趨勢(shì):MA(LOW,20)*1.1,COLORYELLOW; 次下趨勢(shì):MA(HIGH,20)*0.9,COLORWHITE; 下趨勢(shì):MA(HIGH,20)*0.8,COLORGREEN,LINETHICK2; ZD:=(C-REF(C,1))/REF(C,1)*100; HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20)); 趨勢(shì)強(qiáng)度:=IF(C>次上趨勢(shì),IF(C>上趨勢(shì),4,3),IF(C>次下趨勢(shì) AND C<次上趨勢(shì),2,IF(C<下趨勢(shì),0,1))); STICKLINE(趨勢(shì)強(qiáng)度=0,H,L,6,1),COLORBLUE; STICKLINE(趨勢(shì)強(qiáng)度=1,H,L,6,1),COLORGREEN; STICKLINE(趨勢(shì)強(qiáng)度=2,H,L,6,1),COLORGRAY; STICKLINE(趨勢(shì)強(qiáng)度=3,H,L,6,1),COLORYELLOW; STICKLINE(趨勢(shì)強(qiáng)度=4,H,L,6,1),COLORMAGENTA; STICKLINE(趨勢(shì)強(qiáng)度=0,C,O,5,0),COLORBLUE; STICKLINE(趨勢(shì)強(qiáng)度=1,C,O,5,0),COLORGREEN; STICKLINE(趨勢(shì)強(qiáng)度=2,C,O,5,0),COLORGRAY; |
|