{白買(mǎi)黃加} MA6:=MA(C,6),COLORWHITE,LINETHICK2; MA18:=MA(C,18),COLOR0099FF,LINETHICK2; MA55:=MA(C,55),COLORFF00FF; MA125:=MA(C,125),COLORFFCC66; MA250:=MA(C,250),COLORBLUE; TY:=C; A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10); A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10); A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD)); T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ; T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD); 買(mǎi)進(jìn)價(jià):=((C-REF(MA6,1))/6+MA6)*1.004; 買(mǎi)進(jìn)條件:=CROSS(C,買(mǎi)進(jìn)價(jià)) AND 買(mǎi)進(jìn)價(jià)>REF(買(mǎi)進(jìn)價(jià),1); 白K買(mǎi)進(jìn):IF(買(mǎi)進(jìn)條件,L,H),COLORWHITE,POINTDOT; STICKLINE(買(mǎi)進(jìn)條件,H,L,0,1),COLORWHITE,LINETHICK1; STICKLINE(買(mǎi)進(jìn)條件,O,C,4,1),COLORWHITE,LINETHICK1; 加碼價(jià):=((C-REF(MA18,1))/18+MA18)*1.004; 加碼條件:=CROSS(C,加碼價(jià)) AND 加碼價(jià)>REF(加碼價(jià),1); 黃K加碼:IF(加碼條件,L,H),COLORYELLOW,POINTDOT; STICKLINE(加碼條件,H,L,0,1),COLORYELLOW,LINETHICK1; STICKLINE(加碼條件,O,C,4,1),COLORYELLOW,LINETHICK1;
{拐點(diǎn)} YGB1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2); YGB2:=REF(YGB1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB3:=REF(YGB2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB4:=REF(YGB3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB5:=REF(YGB4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB6:=REF(YGB5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB7:=REF(YGB6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB8:=REF(YGB7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB9:=REF(YGB8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGBA:=REF(YGB9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGBB:=REF(YGBA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGBC:=REF(YGBB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGBD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2); YGBE:=REF(YGBD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGBF:=REF(YGBE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB10:=REF(YGBF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB11:=REF(YGB10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB12:=REF(YGB11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB13:=REF(YGB12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB14:=REF(YGB13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB15:=REF(YGB14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB16:=REF(YGB15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB17:=REF(YGB16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); YGB18:=REF(YGB17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); YGB19:=REF(YGBD OR YGBE OR YGBF OR YGB10 OR YGB11 OR YGB12 OR YGB13 OR YGB14 OR YGB15 OR YGB16 OR YGB17 OR YGB18,1) AND YGB1; YGB1A:=REF(YGB1 OR YGB2 OR YGB3 OR YGB4 OR YGB5 OR YGB6 OR YGB7 OR YGB8 OR YGB9 OR YGBA OR YGBB OR YGBC,1) AND YGBD; STICKLINE(YGB1A,O,O+(C-O)/2,2,0),COLORBLUE; STICKLINE(YGB19,O,O+(O-C)/2,2,0),COLOR10FFFF;