MR:=COUNT(CROSS(五日乖離率,0),3)>=1 AND 三拾日乖離率>REF(三拾日乖離率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30; 買入:=FILTER(MR,10); DRAWTEXT(減倉(cāng),HIGH*1.02,"←風(fēng)險(xiǎn)"),COLORCYAN; DRAWTEXT(買入,LOW*0.98,"←買入"),COLORYELLOW; DRAWTEXT(清倉(cāng) ,HIGH*1.02,"←清倉(cāng)"),COLORGREEN; DRAWTEXT(強(qiáng)勢(shì)狙擊,LOW*0.98,"←強(qiáng)勢(shì)狙擊"),COLORYELLOW; 通達(dá)信【DTOSC】副圖指標(biāo)公式 LC:=REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100; AH:=HHV(RSI1,8); AL:=LLV(RSI1,8); STO1:=IF(AL=AH,0,100*(RSI1-AL)/(AH-AL)); SK:EMA(STO1,5); SD:EMA(SK,3); 75; 25; DRAWBAND(SK,RGB(225,0,0),SD,RGB(0,225,0)); |
|