A:MA(CLOSE,32),COLORBLUE,linethick2;
B:MA(CLOSE,12),COLORRED,linethick2;
STICKLINE(C>=A AND C>=O,C,O,7,0),COLORRED;
STICKLINE(C>=A AND C>=O,H,L,0,0),COLORRED;
STICKLINE(C>=A AND C<O,C,O,7,1),COLORRED;
STICKLINE(C>=A AND C<O,O,H,0,0),COLORRED;
STICKLINE(C>=A AND C<O,C,L,0,0),COLORRED;
DRAWTEXT(CROSS(B,A),B,'进场'),COLORGREEN,linethick2;
STICKLINE(C<A AND C>O,C,O,7,1),COLORYellow;
STICKLINE(C<A AND C<=O,C,O,7,0),COLORYellow;
STICKLINE(C<A AND C<=O,H,L,0,0),COLORYellow;
STICKLINE(C<A AND C>O,C,H,0,0),COLORYellow;
STICKLINE(C<A AND C>O,O,L,0,0),COLORYellow; |