以下是通达信牛熊分界线副图源码
通达信牛熊分界线副图源码
牛熊分界线,线上长牛,先下跑路要快。源码自品,希望对大家会有帮助,谢谢
高1:REF(HHV(H,150),3);
低1:REF(LLV(L,150),3);
H4:高1-(高1-低1)*0.4,COLORLIMAGENTA;
界:高1-(高1-低1)*0.5,CIRCLEDOT,COLORRED;
H6:高1-(高1-低1)*0.6,COLORLIGREEN;
格幅:(高1-低1)/低1*10,NODRAW;
STICKLINE(C>0,H4,界,0,-1)COLORLIMAGENTA;
STICKLINE(C>0,H6,界,0,-1)COLORLIGREEN;
A1:=REF(CLOSE,1);
A2:=REF(CLOSE,2);
DRAWTEXT(A1/A2>1.0989 AND CLOSE<OPEN AND (H-O)/(CLOSE-L)>2,L,’强调’)COLORYELLOW;
DRAWTEXT(REF(INDEXC,1)<REF(INDEXC,2) AND REF(C,2)*0.95>=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05
AND REF(C,1)<REF(O,1) AND C>O AND C/O>=1.05 AND C>REF(O,1)
AND REF(VOL,1)<REF(VOL,2),L,’冲天’);
STICKLINE(C<O,C,O,3,0),COLORFF0000;
STICKLINE(C<O,C,O,1,0),COLORFF9900;
STICKLINE(C<O,H,L,0,0),COLORFFFF00;
STICKLINE(C>=O,H,L,0,0 ),COLOR9933FF;
STICKLINE(C>=O,C,O,3,0 ),COLOR0000CC;
STICKLINE(C>=O,C,O,1,0 ),COLOR0033FF;
评论(0)