買(mǎi)線:=ZIG(3,10); 賣(mài)線:=MA(買(mǎi)線,3); 支撐:MA(REF(LLV(C,30),1),2),COLORABFF46; VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR111:=VARF1<REF(VAR101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); 游資:=(VAR111 AND COUNT(VAR111,30)=1 AND 買(mǎi)線>=賣(mài)線); DRAWTEXT(游資,(支撐*0.98),'--游資進(jìn)'),COLORLIBLUE; STICKLINE(游資,(支撐*0.96),支撐,9,0),COLORLIBLUE; VARDD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)); 波段買(mǎi)點(diǎn):=CROSS((ZIG(3,10)),(MA((ZIG(3,10)),3))); DRAWTEXT(波段買(mǎi)點(diǎn),(支撐*0.9977),'--波段買(mǎi)'),COLOR00AAFF; STICKLINE(波段買(mǎi)點(diǎn),(支撐*0.995),支撐,9,0),COLORLIRED; STICKLINE(CROSS(買(mǎi)線,賣(mài)線),O,C,9,0),COLOR00AAFF; STICKLINE(買(mǎi)線<賣(mài)線,H,L,0,0),COLORGREEN; STICKLINE(買(mǎi)線<賣(mài)線,C,O,9,0),COLOR007700; STICKLINE(買(mǎi)線<賣(mài)線,C,O,8,0),COLOR008E00; STICKLINE(買(mǎi)線<賣(mài)線,C,O,7,0),COLOR009900; STICKLINE(買(mǎi)線<賣(mài)線,C,O,6,0),COLOR00A600; STICKLINE(買(mǎi)線<賣(mài)線,C,O,5,0),COLOR00B500; STICKLINE(買(mǎi)線<賣(mài)線,C,O,4,0),COLOR00C600; STICKLINE(買(mǎi)線<賣(mài)線,C,O,3,0),COLOR00D500; STICKLINE(買(mǎi)線<賣(mài)線,C,O,2,0),COLOR00E600; STICKLINE(買(mǎi)線>=賣(mài)線,H,L,0,0),COLOR0000FF; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,9,0),COLOR0000A3; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,8,0),COLOR0000B7; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,6,0),COLOR0000C8; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,5,0),COLOR0000D9; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,4,0),COLOR0000CD; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,3,0),COLOR0000E9; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,2,0),COLOR0000EA; STICKLINE(買(mǎi)線>=賣(mài)線,C,O,1,0),COLOR0000FF; 黑馬現(xiàn):=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3); DRAWTEXT(黑馬現(xiàn),(支撐*0.94),'--發(fā)現(xiàn)黑馬'),COLORFF6600; STICKLINE(黑馬現(xiàn),(支撐*0.9),(支撐*0.95),9,0),COLORFF6600; 機(jī)構(gòu):=((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))=1) AND (CROSS(ZIG(3,8),REF(ZIG(3,8),1))) AND (CROSS(ZIG(3,13),REF(ZIG(3,13),1))); DRAWTEXT(機(jī)構(gòu),(L*0.9967),'--機(jī)構(gòu)進(jìn)'),COLORYELLOW; STICKLINE(機(jī)構(gòu),(L*0.992),(L*0.98),9,0),COLORYELLOW; DRAWTEXT((VARDD=1),(H*1.01),'-賣(mài)'),COLORWHITE; STICKLINE((VARDD=1),(H*1.01),(H*1.05),9,0),COLORWHITE; 奔牛:=(CROSS((3*(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)-2*(EMA((SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57),5))),(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)) AND (SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)<2.1 AND 買(mǎi)線>=賣(mài)線); DRAWTEXT(奔牛,(支撐*0.99),'--奔牛'),COLORFF00FF; STICKLINE(奔牛,(支撐*0.996),(支撐),9,0),COLORFF00FF; XOPEN:=(REF(O,1)+REF(C,1))/2; XCLOSE:=CLOSE; XHIGH:=MAX(HIGH,XOPEN); XLOW:=MIN(LOW,XOPEN); VOLALITY:=MA(XHIGH-XLOW,8); 凰線:MA(XCLOSE,5)+VOLALITY/2,POINTDOT; 鳳線:MA(XCLOSE,5)-VOLALITY/2,POINTDOT; BU:=CROSS(XCLOSE,凰線); SEL:=CROSS(鳳線,XCLOSE); VAR1:=BARSLAST(BU); VAR2:=BARSLAST(SEL); DRAWICON(REF(VAR1,1)>VAR2 AND VAR1=0,XLOW,7); DRAWICON(REF(VAR2,1)>VAR1 AND VAR2=0,XHIGH,8); |
|