源码如下:
指标的用法自己体会吧!
高1:REF(HHV(H,150),3); 低1:REF(LLV(L,150),3); H4:高1-(高1-低1)*0.4,; 界:高1-(高1-低1)*0.5,CIRCLEDOT,COLORRED; H6:高1-(高1-低1)*0.6,; 格幅:(高1-低1)/低1*10,; STICKLINE(C>0,H4,界,0,-1); STICKLINE(C>0,H6,界,0,-1); A1:=REF(CLOSE,1); A2:=REF(CLOSE,2); DRAWTEXT(A1/A2>1.0989 AND CLOSE<OPEN AND (H-O)/(CLOSE-L)>2,L,强调); 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;
|
|
|
|
|