牛熊分界线,线上长牛,先下跑路要快。源码自品,希望对大家会有帮助,谢谢
高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
DRAWTEXT(REF(INDEXC,1)=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05
AND REF(C,1)O AND C/O>=1.05 AND C>REF(O,1)
AND REF(VOL,1)
STICKLINE(C
STICKLINE(C>=O,C,O,3,0 ),COLOR0000CC;
STICKLINE(C>=O,C,O,1,0 ),COLOR0033FF;