相關標簽:
上
趨勢:MA(LOW,20)*1.2,color0080ff,linethick2;
次上趨勢:MA(LOW,20)*1.1,COLORYELLOW;
次下趨勢:MA(HIGH,20)*0.9,COLORWHITE;
下趨勢: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));
趨勢強度:=IF(C>次上趨勢,IF(C>上趨勢,4,3),IF(C>次下趨勢 AND C<次上趨勢,2,IF(C<下趨勢,0,1)));
STICKLINE(趨勢強度=0,H,L,6,1),COLORBLUE;
STICKLINE(趨勢強度=1,H,L,6,1),COLORGREEN;
STICKLINE(趨勢強度=2,H,L,6,1),COLORGRAY;
STICKLINE(趨勢強度=3,H,L,6,1),COLORYELLOW;
STICKLINE(趨勢強度=4,H,L,6,1),COLORMAGENTA;
STICKLINE(趨勢強度=0,C,O,5,0),COLORBLUE;
STICKLINE(趨勢強度=1,C,O,5,0),COLORGREEN;
STICKLINE(趨勢強度=2,C,O,5,0),COLORGRAY;
STICKLINE(趨勢強度=3,C,O,5,0),COLORYELLOW;
STICKLINE(趨勢強度=4,C,O,5,0),COLORMAGENTA;DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'
程序化交易模型'),COLORRED;