上趨勢:MA(LOW,20)*1.2,NODRAW; 次上趨勢:MA(LOW,20)*1.1,NODRAW; 次下趨勢:MA(HIGH,20)*0.9,NODRAW; 下趨勢:MA(HIGH,20)*0.8,NODRAW; ZD:=(C-REF(C,1))/REF(C,1)*100; HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20)); 趨勢強(qiáng)度:=IF(C>次上趨勢,IF(C>上趨勢,4,3),IF(C>次下趨勢 AND C<次上趨勢,2,IF(C<下趨勢,0,1))); {通達(dá)信股票指標(biāo)公式} STICKLINE(趨勢強(qiáng)度=0,H,L,3,1),COLORBLUE; STICKLINE(趨勢強(qiáng)度=1,H,L,3,1),COLORGREEN; STICKLINE(趨勢強(qiáng)度=2,H,L,3,1),COLORGREEN; STICKLINE(趨勢強(qiáng)度=3,H,L,3,1),COLORYELLOW; STICKLINE(趨勢強(qiáng)度=4,H,L,3,1),COLORRED; STICKLINE(趨勢強(qiáng)度=0,C,O,2,0),COLORBLUE; STICKLINE(趨勢強(qiáng)度=1,C,O,2,0),COLORGREEN; STICKLINE(趨勢強(qiáng)度=2,C,O,2,0),COLORGREEN; STICKLINE(趨勢強(qiáng)度=3,C,O,2,0),COLORYELLOW; STICKLINE(趨勢強(qiáng)度=4,C,O,2,0),COLORRED; |
|
來自: 牛頭牛 > 《公式指標(biāo)》