TYPK:=IF((H>C AND C>O) OR (H>O AND O>=C),C,H)+IF((L<C AND C<O) OR(L<O AND O<=C),CLOSE,LOW)/3; CCIK:=EMA((TYPK-MA(TYPK,36.0270012))/(0.015*AVEDEV(TYPK,36.0270012)),2.0332); BBNM:=CCIK>-195; PPOO:=REF(C,1)<=COST(13); KS133:=MA((C-SMA(C,13,1))/SMA(C,13,1)*-100,1); NHJ:=1.5*(REF(KS133,1)/KS133>1.02) AND C<MA(C,6); JJJ:=(MA(C,7)/REF(MA(C,7),1))*50; V33:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100+JJJ; 拉線1:=SMA(V33,2,1)/100; 硬盤KK:=拉線1>REF(拉線1,1); VAR1G11:=MA(((((CLOSE / MA(CLOSE,135)) * 100))),4); VAR1G1:=REF((((CLOSE / MA(CLOSE,75)) * 100)),1)+(VAR1G11*0.65)<130; VAR2G1:=(((CLOSE / EMA(CLOSE,91)) * 100))+(VAR1G11*0.65)<128; VAR3G1:=(HIGH > (LOW*1.051)); VAR4G122:=(VAR3G1 AND (COUNT(VAR3G1,6) > 1)); AA:=IF((VAR4G122 AND (VAR1G1 OR VAR2G1)),2,0); CC222:=MA((SMA(MAX(C-REF(C,2),0),17,1)/MA(SMA(ABS(C-REF(C,2)),20,1),6)*100),1); CCC222:=(CC222<27); KK22:=AA AND CCC222; KK:=AA AND CCC222; STICKLINE(KK AND 硬盤KK,2.6,2,-1,-1),COLORWHITE; {坑底} {N(1,22,15)N2(1,15,10)N3(-50,0,-30)N4(1,10,8)} VAR1X:=1; VAR2X:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*VAR1X; VAR3X:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100*VAR1X; VAR4X:=VOL/MA(VOL, 5)*VAR1X; VAR5X:=WINNER(CLOSE)*100; VAR6X:=VOL/CAPITAL*100*VAR1X; VAR7X:=LLVBARS(LOW, 50)*VAR1X; VAR8X:=SUM(VOL, VAR7X)*VAR1X; VAR9X:=HHVBARS(HIGH, 50)*VAR1X; VAR10X:=SUM(VOL, VAR9X)*VAR1X; VAR11X:=(CLOSE-REF(OPEN, VAR9X))/REF(OPEN, VAR9X)*100*VAR1X; VAR12X:=VAR10X/CAPITAL*100*VAR1X; VAR13X:=(CLOSE-REF(OPEN, VAR7X))/REF(OPEN, VAR7X)*100*VAR1X; VAR14X:=VAR8X/CAPITAL*100*VAR1X; VAR15X:=(CLOSE-LLV(LOW, 45))/(HHV(HIGH, 45)-LLV(LOW, 45))*100; VAR16X:=SMA(VAR15X, 3, 1); VAR17X:=SMA(VAR16X, 3, 1); VAR18X:=3*VAR16X-2*VAR17X; VAR19X:=CLOSE<REF(CLOSE, 1); VAR20X:=OPEN<REF(CLOSE, 1); VAR21X:=VAR17X<10 AND VAR3X<-30 AND VAR2X>8; QX:VAR21X OR (COUNT(VAR21X, 15) AND VAR19X OR COUNT(VAR21X,15) AND VAR20X)*VAR1X; DRAWICON(QX,-2.5,40); N:=26; M1:=5; M2:=20; M3:=40; M4:=62; MID1:=REF(HIGH+LOW,1)/2; CRR:=MA(SUM(MAX(0,HIGH-MID1),26)/SUM(MAX(0,MID1-LOW),26)*100,13); RCC:=SUM(MIN(0,L-MID1),26)/SUM(MIN(0,MID1-H),26)*100; CR:=IF(CRR>200,200,CRR),COLORWHITE; RC:=IF(RCC>200,200,RCC),COLOR6B4226; STICKLINE(CR<52 AND CR>17 AND BBNM,-0.8,-0.1,8,0),COLORYELLOW; STICKLINE(CR<35 AND CR>17,-0.5,-0.3,8,0),COLORBROWN; VAR1Q:=(MA(CLOSE,85)-MA(CLOSE,19)/3.25); 神奇線:=MA((CLOSE-VAR1Q)/VAR1Q,1); XA:=EMA(神奇線,10)*0.5; XB:=EMA(神奇線,8); 底部:=ABS(IF(LLV(XB-XA,13)>0,0,1)); STICKLINE(底部>0,1.35,1.55,3,0),COLOR007FFF; VAR2O1:=1; VAR3O1:=REF(HIGH,1)*1.1; VAR4O1:=HIGH*1.1; VAR5O1:=(VAR4O1*VOL+VAR3O1*(CAPITAL-VOL))/CAPITAL; VAR6O1:=REF(LOW,1)*0.885; VAR7O1:=LOW*0.9; VAR8O1:=(VAR7O1*VOL+VAR6O1*(CAPITAL-VOL))/CAPITAL; VAR9O1:=EMA(VAR8O1,30); VARA1O1:=EMA(VAR5O1,30); VARB2O1:=VARA1O1-2; VARC3O1:=IF(CLOSE<=VAR9O1,VARB2O1,VARA1O1); VARD1:=MA(CLOSE,80)-MA(CLOSE,10)/17; N15:=2; M115:=20; 出手1:STICKLINE(底部>0 AND VARC3O1-VARB2O1=0 AND VAR2O1 AND CROSS((EMA(EMA(EMA(CLOSE,N15),N15),N15)-REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1))/REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1)*100,MA((EMA(EMA(EMA(CLOSE,N15),N15),N15)-REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1))/REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1)*100,M115)),1.35,3.85,0.3,0),COLORWHITE; WR1慢:=100-(MA(100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42)),100)),COLORWHITE; V11:=3.2*SMA((C-LLV(L,95))/(HHV(H,95)-LLV(L,95))*100,5,1)-2*SMA(SMA((C-LLV(L,95))/(HHV(H,95)-LLV(L,95))*100,5,1),3,1); 趨勢(shì)線:=EMA(V11,2); 線:=EMA(V11,20); VOP:=MA((趨勢(shì)線-REF(趨勢(shì)線,1))/REF(趨勢(shì)線,1)*100,1); BIAS55:=60-((9.5*MA(((CLOSE-MA(CLOSE,3))*1.2)/MA(CLOSE,3),75)*100))+VOP,COLORRED; GHG:=((WR1慢/6)+線); VAR1T:=EMA(EMA(CLOSE,13),13); VAR2T:=4*(VAR1T-REF(VAR1T,1))/REF(VAR1T,1)*1000; VAR3T:=REF(VAR2T,1); VAR4T:=(-55); OOO:VAR2T<VAR4T,NODRAW; VAR5T:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); VAR6T:=CROSS(VAR5T,3); VAR7T:=LLV(LOW,3)<=LLV(LOW,40); VAR8T:=CLOSE>OPEN AND (CLOSE/OPEN>1.017 OR CLOSE>1.017*REF(CLOSE,1)); VAR9T:=VAR7T AND VAR8T AND GHG<20 AND 硬盤KK AND REF(CCIK,1)<-150; DRAWTEXT(VAR9T,-1.4,'‖'),COLORWHITE; DRAWTEXT(VAR9T,-1,'‖'),COLORWHITE; DRAWTEXT(VAR9T,-0.6,'‖'),COLORWHITE; DRAWTEXT(VAR9T,-0.2,'‖'),COLORWHITE; DRAWTEXT(VAR9T,-0.65,'‖'),COLORWHITE; DRAWTEXT(VAR9T,-1.15,'‖'),COLORWHITE; B111:=SAR(4,2,10),COLORBLUE,LINETHICK1; VAR1111:=DMA(CLOSE,VOL/SUM(VOL,31)); VAR2111:=DMA(CLOSE,VOL/SUM(VOL,15)); VAR3111:=MA((OPEN-VAR1111)/VAR1111*100,7)+(B111*0.17); VAR4111:=MA((OPEN-VAR2111)/VAR2111*100,6)+(B111*0.17); VAR0 := 1990130; VAR1好:= 1; VAR2好:= ((C - LLV(LOW,43)) / (HHV(HIGH,43) - LLV(LOW,43))) * 100; VAR3好:= SMA(VAR2好,2,1); VAR4好:= (COUNT(SMA(VAR3好,2,1) <= 11,8)) >= 1; VAR5好:= ((C - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100; VAR6好:= SMA(VAR5好,13,8); VAR7好:= (COUNT(CEILING(SMA(VAR6好,13,8)) <= 10,8)) >= 1; VAR8好:= EMA((100 * (C - LLV(LOW,34))) / (HHV(HIGH,34) - LLV(LOW,34)),3); VAR9好:= (COUNT(VAR8好<= 10,8)) >= 1; VAR10好:= LLV(LOW,10); VAR11好:= HHV(HIGH,25); VAR12好:= (COUNT((EMA(((C - VAR10好) / (VAR11好 - VAR10好)) * 4,4)) < 0.5,8)) >= 1; VAR13好:= (((2 * C) + HIGH) + LOW) / 4; VAR14好:= LLV(LOW,5); VAR15好:= HHV(HIGH,5); VAR16好:= EMA(((VAR13好- VAR14好) / (VAR15好- VAR14好)) * 100,5); VAR17好:= MA(VAR16好,2) <= 25.5; VAR18好:= ((C - MA(C,21)) / MA(C,21)) * 100; VAR19好:= ((C - LLV(LOW,43)) / (HHV(HIGH,43) - LLV(LOW,43))) * 100; VAR20好:= SMA(VAR19好,2,1); VAR21好:= SMA(VAR20好,2,1); VAR22好:= ABS(VAR18好); XGZ:=((((((VAR4好 AND VAR7好) AND VAR9好) AND VAR12好) AND VAR17好) )) AND VAR1好; HHHHH:DRAWICON(CCIK<-90 AND VAR4111<=-8 AND VAR3111<=-14 ,0.8,37),COLORGREEN; DRAWICON(VAR4111<=-8 AND VAR3111<=-14 AND NHJ AND 硬盤KK,1,7),COLORGREEN; QVARA:=EMA(((HHV(HIGH,29)-CLOSE)/(HHV(HIGH,29)-LLV(LOW,29)))*(100)-10,2); QVARB:=EMA(((CLOSE-LLV(LOW,29))/(HHV(HIGH,29)-LLV(LOW,29)))*(100),2); QVARC:=SMA(QVARB,13,8); QVARD:=SMA(QVARA,21,8); 機(jī)會(huì)1:=SMA(QVARC,13,8); 尾勝:=2*((((COUNT((MA(機(jī)會(huì)1-QVARD,1)<(-70)),3)=3))) AND 硬盤KK AND KK); STICKLINE(尾勝>0,5.35,5.95,3,0),COLOR007FFF; X_105:=MA(SMA(MAX(CLOSE-REF(CLOSE,2),0),11,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),11,1)*100,2)<24; VAR1Z:=(CLOSE*55)/100; VAR2Z:=MA(VAR1Z,55)*0.83; VAR3Z:=MA(VAR1Z/VAR2Z,6); DDD:=VAR3Z<1.02 AND X_105; MTR7:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),15); HD7:=HIGH-REF(HIGH,1)-(((H+L)/2-REF(C,1))/2); LD7:=REF(LOW,1)-LOW; DMP7:=EXPMEMA(IF(HD7>0&&HD7>LD7,HD7,0),15); DMM7:=EXPMEMA(IF(LD7>0&&LD7>HD7,LD7,0),15); PDI7:=MA(DMP7*100/MTR7,3); MDI7:=DMM7*100/MTR7; ADX7:=EXPMEMA(ABS(MDI7-PDI7)/(MDI7+PDI7)*100,6); ADXR7:=EXPMEMA(ADX7,3); TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,15))/(0.015*AVEDEV(TYP,15)); CCP:=CCI<-110 AND ADXR7>38 AND PDI7<13 AND DDD; CCC:=CCP OR REF(CCP,1); HHHHHG:DRAWICON(VAR4111<=-7 AND VAR3111<=-13 AND XGZ AND 硬盤KK,1,36),COLORGREEN; HHG:DRAWICON(底部>0 AND CCC ,5.7,36),COLORGREEN; {頂量} 操盤線:=SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1); VARV5:=SMA(操盤線,3,1); 操底:=(操盤線>REF(操盤線,1) AND REF(操盤線,1)<REF(操盤線,2) AND 操盤線<23); 散戶:= EMA(((2*CLOSE+HIGH+LOW)/4-LLV(LOW,5))/(HHV(HIGH,4)-LLV(LOW,5))*100,4); 莊家:= EMA(0.667*REF(散戶,1)+0.333*散戶,2); BHHH:=CROSS(散戶,莊家) AND 散戶<30; VAR9T1:=(VAR7T AND VAR8T AND BHHH AND 硬盤KK AND 底部>0 AND CCC); CFF:=(VAR9T1 OR REF(VAR9T1,1)) AND CROSS(0.9,1/VOL*1000>0.01 AND KDJ.J<0 AND MA(DMI.PDI,4)<18); VJ:=((操底 AND CFF) OR (REF(操底,1) AND CFF)); VJG:=VJ OR REF(VJ,1) OR REF(VJ,2) OR REF(VJ,3) OR REF(VJ,4); VAR19:=(HIGH+LOW+OPEN+2*CLOSE)/5; VAR29:=REF(VAR19,1); VAR39:=SMA(MAX(VAR19-VAR29,0),7,1)/SMA(ABS(VAR19-VAR29),7,1)*100; HY39:=IF(COUNT(VAR39<20,5)>=1 AND COUNT(VAR19=LLV(VAR19,14),14)>=1 AND CLOSE>=OPEN*1.03 AND VOL>MA(VOL,5)*1.2,1,0); DRAWTEXT((((底部>0 AND CCC) OR REF(底部>0 AND CCC,1) OR (REF(底部>0 AND CCC,2)) OR (REF(底部>0 AND CCC,3)) OR (REF(底部>0 AND CCC,4))) AND HY39 AND 硬盤KK) OR (REF(HY39,1) AND (底部>0 AND CCC) OR ((REF(HY39,2) AND (底部>0 AND CCC)))),5.7,'+'),COLORYELLOW; N1999:=17; MTM99:=C-REF(C,1); VAR1O99:=EMA(100*EMA(EMA(MTM99,N1999),N1999)/EMA(EMA(ABS(MTM99),N1999),N1999),4)<-25; KKKK99:=VAR1O99 OR REF(VAR1O99,1); AR1199:=MA(SUM(HIGH-OPEN,33)/SUM(OPEN-LOW,33)*100,5); BR99:=SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/SUM(MAX(0,REF(CLOSE,1)-LOW),26)*100; BR199:=MA(BR99,8); 主力資金99:=MA(EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),16), COLORRED,LINETHICK2; 段王199:=AR1199<72 AND 主力資金99<45 AND KKKK99; STICKLINE((段王199 OR REF (段王199,1)) AND 底部>0 AND CCC AND 硬盤KK,-7,-11.5,-8,0),COLORRED; LGL2:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,1,0); DIVE2:=0.01*EMA(AMOUNT,17)/EMA(VOL,17); CYR2:=(DIVE2/REF(DIVE2,1)-1)*100; MACYR2:=MA(CYR2,6); XG11:=CYR2<-1.1 AND MACYR2<-1.1 AND LGL2 AND VAR4111<=-7 AND VAR3111<=-13 AND XGZ; STICKLINE(XG11,-0.8,-0.6,3,0),COLORGREEN,LINETHICK1; XO155:=SMA(MAX(CLOSE-REF(CLOSE,2),0),11,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),11,1)*100<19.5;C077:=MA(REF((C+O)/2,2)*0.865,7); C177:=MA(REF((C+O)/26,13)*0.772,8); 抄88:=IF(MA((C-MIN(C077,C177))/C,6)<0.1,0.8, 0.1),COLOR00FF00; STICKLINE(抄88>0.3 AND XO155 ,-0.99,-0.85,3,0),COLORCYAN; {頂綠色點(diǎn)} X_1599:=SMA(MAX(CLOSE-REF(CLOSE,2),0),11,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),11,1)*100<21; VAR1Z9:=(CLOSE*55)/100; VAR2Z9:=MA(VAR1Z9,30)*0.83; VAR3Z9:=MA(VAR1Z9/VAR2Z9,4); DDD9:=VAR3Z9<1.02 AND X_1599; MTR3:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14); HD3:=HIGH-REF(HIGH,1); LD3:=REF(LOW,1)-LOW; DMP3:=EXPMEMA(IF(HD3>0&&HD3>LD3,HD3,0),14); DMM3:=EXPMEMA(IF(LD3>0&&LD3>HD3,LD3,0),14); PDI3:=DMP3*100/MTR3; MDI3:=DMM3*100/MTR3; ADX3:=EXPMEMA(ABS(MDI3-PDI3)/(MDI3+PDI3)*100,6); ADXR3:=EXPMEMA(ADX3,6); LC3:=REF(CLOSE,1); RSI13:=SMA(MAX(CLOSE-LC3,0),6,1)/SMA(ABS(CLOSE-LC3),6,1)*100; CCC3:=RSI13<23 AND ADX3>52 AND PDI3<19 AND DDD9; VAR1AA:=5; 趨勢(shì):=3*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1) -2*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1); JJJP36:=(MA(C,12)/REF(MA(C,12),1))*50; V33P36:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100+JJJP36; 拉線1P36:=SMA(V33P36,2,1)/100; 硬36:=拉線1P36>REF(拉線1P36,1); VAR11M:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100; VAR22M:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100; VAR33M:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100; VAR44M:=(VAR11M+2*VAR22M+3*VAR33M)/6; VAR55M:=MA(MA(VAR44M,3)-STD(VAR44M,3),3); VARA11M:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K11M:=SMA(VARA11M,3,1),COLORYELLOW; VARB11M:=EMA(K11M,2); J222:=MA(3.22*K11M-2*VARB11M,1),COLORGREEN; 主力介入1:=CROSS(J222,VARB11M) AND COUNT(VAR55M<-14,4)>=1 AND J222<33,COLORWHITE; X_1599M:=SMA(MAX(CLOSE-REF(CLOSE,2),0),12,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),11,1)*100<23; VAR1Z9M:=(CLOSE*55)/100; VAR2Z9M:=MA(VAR1Z9M,30)*0.83; VAR3Z9M:=MA(VAR1Z9M/VAR2Z9M,4); DDD9M:=VAR3Z9M<1.2 AND X_1599M; CCC33:=REF((RSI13<25 AND ADX3>49 AND PDI3<23 AND DDD9M),1); HHHHHX:=(VAR4111<=-8 AND VAR3111<=-14); AAAA:IF((REF(主力介入1,1) OR 主力介入1) AND CCC33 AND HHHHHX AND 硬盤KK AND NHJ AND PPOO,-2.5,0.5),LINETHICK2,COLORFF00FF; VAR2O:=1; VAR3O:=REF(HIGH,1)*1.1; VAR4O:=HIGH*1.1; VAR5O:=(VAR4O*VOL+VAR3O*(CAPITAL-VOL))/CAPITAL; VAR6O:=REF(LOW,1)*0.885; VAR7O:=LOW*0.9; VAR8O:=(VAR7O*VOL+VAR6O*(CAPITAL-VOL))/CAPITAL; VAR9O:=EMA(VAR8O,30); VARA1O:=EMA(VAR5O,30); VARB2O:=VARA1O-2; VARC3O:=IF(CLOSE<=VAR9O,VARB2O,VARA1O); VARD:=MA(CLOSE,80)-MA(CLOSE,10)/17; N1:=2; M11:=4; 出手:=(VARC3O-VARB2O=0 AND VAR2O AND CROSS((EMA(EMA(EMA(CLOSE,N1),N1),N1)-REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1))/REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1)*100,MA((EMA(EMA(EMA(CLOSE,N1),N1),N1)-REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1))/REF(EMA(EMA(EMA(CLOSE,N1),N1),N1),1)*100,M11))); N18:=2; M118:=6; 出手88:=(VARC3O-VARB2O=0 AND VAR2O AND CROSS((EMA(EMA(EMA(CLOSE,N18),N18),N18)-REF(EMA(EMA(EMA(CLOSE,N18),N18),N18),1))/REF(EMA(EMA(EMA(CLOSE,N18),N18),N18),1)*100,MA((EMA(EMA(EMA(CLOSE,N18),N18),N18)-REF(EMA(EMA(EMA(CLOSE,N18),N18),N18),1))/REF(EMA(EMA(EMA(CLOSE,N18),N18),N18),1)*100,M118))); STICKLINE(出手88,-0.9,0,-0.5,2),COLORFF00FF; {超準(zhǔn)了} JJJJ:=(MA(C,8)/REF(MA(C,8),1))*50; V333:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100+JJJJ; 操盤線11:=SMA(V333,2,1)/100; 抄底KKK:=操盤線11>REF(操盤線11,1); ETG1:=CLOSE/MA(CLOSE,30)*100<75; ETG2:=CLOSE/MA(CLOSE,50)*100<78; ETG3:=HIGH>LOW*1.053; ETG4:=ETG3 AND COUNT(ETG3,5)>2; ETG5:=ETG4 AND (ETG1 OR ETG2); ETG6:=DMA(EMA(CLOSE,5),SUM(VOL,8)/2.8/CAPITAL); ETG7:=(CLOSE-ETG6)/ETG6*100; 市場(chǎng)贏家:=REF(ETG7,1)<-33 AND ETG7>REF(ETG7,1) AND REF(ETG7,1)<REF(ETG7,2) AND ETG7-REF(ETG7,1)>1.76 OR ETG5; KS13:=(C-SMA(C,13,1))/SMA(C,13,1)*(-100); AAA:=REF(KS13,1)>13 AND REF(KS13,1)/KS13>1.23 AND C/REF(C,1)>1.03; 海底活魚:=IF(AAA AND REF(C,1)<COST(1),30,0); XG88:=市場(chǎng)贏家 AND 海底活魚 AND C<MA(C,6); X_01P:=O/HHV(C,30)<0.78; X_02PP:=C/MA(C,50)<0.78; X_02P:=X_02PP OR REF(X_02PP,1); X_03P:=O=LLV(O,30); X_04P:=C/SMA(C,13,1)-1; X_05P:=REF(X_04P,1)<-0.13; X_06P:=REF(X_04P,1)/X_04P>1.1582; X_07P:=REF(C,1)<=COST(3); X_08P:=COUNT(H>L*1.05,5)>2; 核低:=X_01P AND X_02P AND X_03P AND X_05P AND X_06P AND X_07P AND X_08P AND 抄底KKK; OPO:=XG88 OR 核低; STICKLINE(OPO AND 硬36,4.4,3.5,3,0),COLORYELLOW,LINETHICK2; TU1:=C/MA(C,40)<0.74; PER11:=5; MMA1:=EMA(C,5); SMMA1:=EMA(MMA1,5); IMPETMMA1:=MMA1 - REF(MMA1,1); IMPETSMMA1:=SMMA1 - REF(SMMA1,1); DIVMA1:= MA(ABS(MMA1 - SMMA1),3); TDJ1:=(H-L)/REF(C,1)>0.035; AVERIMPET1:= (IMPETMMA1+IMPETSMMA1)/2; TDF1:= POW(DIVMA1,1)*POW(AVERIMPET1,3); NTDF1:=TDF1/HHV(ABS(TDF1),PER11*3); YUL1:=COUNT(TDJ1,5)>1; 啟動(dòng)1:=REF((TU1 AND TDJ1 AND YUL1),1); JOJ:=MA(C,6)>(H+L); FFH:=底部>0 AND CCC; 咯咯:=((啟動(dòng)1 AND 出手) OR (REF(啟動(dòng)1,1) AND 出手)); STICKLINE(咯咯 AND (FFH OR REF(FFH,1)),8.4,7.7,4,0),COLORLIBLUE,LINETHICK2; {二} 上升線:=EMA(C,3),COLORRED,LINETHICK2; 下降線:=EMA(C,5),COLOR00FF00,LINETHICK2; 中間線:=EMA(下降線,5),COLORWHITE,LINETHICK2; VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5; VAR2:=REF(VAR1,1); VAR3:=SMA((CLOSE-VAR2),6,1)/SMA(ABS(CLOSE-VAR2),6,1)*100; VAR4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; VAR5:=EMA(0.667*REF(VAR4,1)+0.333*VAR4,5); VAR6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(VAR4>=VAR5 AND VAR4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0); VAR7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; VAR8:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100; VAR9:=IF(COUNT(VAR8<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0); X_15558:=MA(SMA(MAX(CLOSE-REF(CLOSE,2),0),16,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),16,1)*100,2)<30; 飛TYP8:=(HIGH+LOW+CLOSE)/3; 飛CCI8:=(飛TYP8-MA(飛TYP8,8))/(0.015*AVEDEV(飛TYP8,8)); BOB8:=MA(飛CCI8,2)<-60 AND X_15558; STICKLINE(BOB8 AND VAR9 OR VAR6 ,6.0,5.8,4,0),COLORWHITE,LINETHICK1; {三} VAR2Q:=(MA(CLOSE,80)-MA(CLOSE,14)/3); 神奇:=MA((CLOSE-VAR2Q)/VAR2Q,1),COLORRED,LINETHICK2; VAR300:=HIGH>LOW*1.045; 穩(wěn)賺:=IF(COUNT(神奇>REF(神奇,1),30)<3 AND COUNT(神奇<10,10)<0.5 AND REF(神奇,3)=LLV(神奇,10),10,0); 天下無敵:=IF(REF(神奇,2)=LLV(神奇,17) AND REF(神奇,2)<0.074 AND REF(神奇,2)<REF(神奇,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),2,0)*20 AND VAR300; STICKLINE(天下無敵,-5,-4.5,3,0),COLORYELLOW; {報(bào)復(fù)} MID1333:=REF(HIGH+LOW,1)/2; CRR333:=MA(SUM(MAX(0,HIGH-MID1333),23)/SUM(MAX(0,MID1333-LOW),23)*100,17); RCC333:=SUM(MIN(0,L-MID1333),23)/SUM(MIN(0,MID1333-H),23)*100; CR333:=IF(CRR333>200,200,CRR333),COLORWHITE; RC333:=IF(RCC333>200,200,RCC333),COLORCYAN; AR11333:=MA(SUM(HIGH-OPEN,31)/SUM(OPEN-LOW,31)*100,2); BR333:=SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/SUM(MAX(0,REF(CLOSE,1)-LOW),26)*100; BR1333:=MA(BR333,8); 主力資金333:=MA(EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),18); 報(bào)復(fù)333:=BR1333<AR11333 AND AR11333<69 AND 主力資金333<32; 油的:=報(bào)復(fù)333 AND CR333<40 AND CR333>12; AR11:=MA(SUM(HIGH-OPEN,31)/SUM(OPEN-LOW,31)*100,2); BR:=SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/SUM(MAX(0,REF(CLOSE,1)-LOW),26)*100; BR1:=MA(BR,8); 主力資金:=MA(EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),16), COLORRED,LINETHICK2; 報(bào)復(fù):=BR1<AR11 AND AR11<68 AND 主力資金<30; STICKLINE(報(bào)復(fù) AND CR<37 AND CR>15 AND 油的,-0.1,-0.5,3,0),COLORRED,LINETHICK1; {合計(jì)} {黛鵝} A1:=((MA(C,60)-L)/MA(C,20))*200; B1:=((MA(C,60)-L)/MA(C,60))*200; C1:=((MA(C,30)-L)/MA(C,60))*200; M:=REF(CLOSE,1); M22:=SMA(MAX(CLOSE-M,0),7,1)/SMA(ABS(CLOSE-M),7,1)*100; G1:=FILTER(REF(M22,1)<20 AND M22>REF(M22,1),5); TU:=C/MA(C,40)<0.74; PER1:=5; MMA:=EMA(C,PER1); SMMA:=EMA(MMA,PER1); IMPETMMA:=MMA - REF(MMA,1); IMPETSMMA:=SMMA - REF(SMMA,1); DIVMA:= ABS(MMA - SMMA); TDJ:=(H-L)/REF(C,1)>0.05; AVERIMPET:= (IMPETMMA+IMPETSMMA)/2; TDF:= POW(DIVMA,1)*POW(AVERIMPET,3); NTDF:=TDF/HHV(ABS(TDF),PER1*3); YUL:=COUNT(TDJ,5)>1; 啟動(dòng):=TU AND TDJ AND YUL; 確定:=CROSS(NTDF,-0.9); 波段:=FILTER((G1 AND C1>20 OR C>REF(C,1)) AND REF(啟動(dòng),1),10); 選股:=FILTER(REF(啟動(dòng),1) AND (確定 OR C>REF(C,1)) AND MACD.MACD>-1.5,10); 呵呵:=COUNT(選股,13)>=1 AND 波段 AND 硬盤KK; PUP:=呵呵 OR REF(呵呵,1) OR REF(呵呵,2) OR REF(呵呵,3) OR REF(呵呵,4); STICKLINE((PUP AND 出手88),4.8,5.3,4,0),COLORGREEN,LINETHICK3; {起大浪} DIVE:=0.01*EMA(AMOUNT,16)/EMA(VOL,16); CYR:=(DIVE/REF(DIVE,1)-1)*100; MACYR:=MA(CYR,5); XG1:=CYR<-1.1 AND MACYR<-1.2; XG2:=CROSS(CYR,MACYR); XG3:=XG1 AND XG2; N19:=9; MTM:=C-REF(C,1); VAR1O:=MA(100*EMA(EMA(MTM,N19),N19)/EMA(EMA(ABS(MTM),N19),N19),3); VAR2P:=MA(3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2); LCP:= REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LCP,0),N19,1)/SMA(ABS(CLOSE-LCP),N19,1)*100; EEA:=(C-REF(C,25))/REF(C,25)*10; 大浪:=CROSS(RSI,20) AND VAR1O<-46 AND VAR2P<12 AND EEA<-2 AND XG3; LC:=REF(CLOSE,1); RSI5:=((SMA(MAX((CLOSE-LC),0),10,1) / SMA(ABS((CLOSE - LC)),10,1)) * 100); TR18:=SUM(MAX(MAX((HIGH-LOW),ABS((HIGH-REF(CLOSE,1)))),ABS((LOW-REF(CLOSE,1)))),10); HD8:=(HIGH-REF(HIGH,1)); LD8:=(REF(LOW,1)-LOW); DMP8:=SUM(IF(((HD8>0) AND (HD8>LD8)),HD8,0),10); DMM8:=SUM(IF(((LD8>0) AND (LD8>HD8)),LD8,0),10); PDI8:=((DMP8*100)/TR18); MDI8:=((DMM8*100)/TR18); ADX8:=MA(((ABS((MDI8-PDI8))/(MDI8+PDI8))*100),5); AV:=(RSI5+ADX8); WR10:=((100*(HHV(HIGH,17)-CLOSE))/(HHV(HIGH,17)-LLV(LOW,17))); NEWVOL:=(RSI5-WR10); VXR1:=(AV+NEWVOL); VXR2:=CLOSE*1.236<MA(CLOSE,60); 大門:=(CCI<=-103 AND (FILTER(CROSS(VXR1,0),8) OR FILTER(CROSS(VXR1,0.1),8)) AND VXR2 AND CROSS(RSI5,19)); VBR1:=(REF(C,2)-REF(C,1))/REF(C,2)>0.05; VBR2:=(REF(C,3)-REF(C,2))/REF(C,3)>0.05; VBR3:=REF(H,2)-REF(H,1); VBR4:=REF(H,1)-VBR3; VBR5:=V/CAPITAL*100; VBR6:=1-(VBR5<15 AND (H-L)/C>0.045 AND C>VBR4 AND VBR1 AND VBR2 AND C>O AND MA(C,60)-MA(C,9)/2.68>C); VBR7:=VBR6; 酒吧:=CROSS(0.5,VBR7); STICKLINE(大浪 OR 大門 OR 酒吧,4,3.15,3,0),COLORRED,LINETHICK4; {上接'呵呵'} QD1:=TU AND TDJ AND YUL; QD2:=CROSS(NTDF,-0.9); BD:=FILTER((G1 AND C1>20 OR C>REF(C,1)) AND REF(QD1,1),10); XG:=FILTER(REF(QD1,1) AND (QD2 OR C>REF(C,1)) AND 'MACD.MACD'>-1.5,10); YD:=COUNT(XG,13)>=1 AND BD; JJJJK:=(MA(C,8)/REF(MA(C,8),1))*50; V333K:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100+JJJJK; 操盤線1K1:=SMA(V333K,2,1)/100; 抄:=操盤線1K1>REF(操盤線1K1,1); TRR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),5); HD :=HIGH-REF(HIGH,1); LD :=REF(LOW,1)-LOW; DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),5); DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),5); PDI:=DMP*100/TR; MNB:=MA(PDI,4)<5; QVAR1A:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10; QVAR1B:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100); QVAR1C:=SMA(QVAR1B,13,8); QVAR1D:=SMA(QVAR1A,23,7); 機(jī)會(huì):=SMA(QVAR1C,26,7); 糖糖:=((QVAR1D-機(jī)會(huì))>60) AND MNB AND 抄 AND YD; STICKLINE(糖糖,-4.1,-3.8,3,0),COLORBLUE,LINETHICK1; {準(zhǔn)確} KS130:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*(-100); RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100; FASTK55:=SMA(RSV,3,1);K55:=SMA(FASTK55,3,1);D55:=SMA(K55,5,1); VAR155:=MA(CLOSE/MA(CLOSE,40)*100,2)<74; VAR255:=MA(CLOSE/MA(CLOSE,60)*100,2)<73; VAR355:=HIGH>LOW*1.051; VAR455:=VAR355 AND COUNT(VAR355,5)>1; 準(zhǔn)確:=(VAR455 AND (VAR155 OR VAR255) AND REF(KS130,1)>=10 AND REF(KS130,1)/KS130>=1.13 AND CLOSE/REF(CLOSE,1)>=1.022 AND C<MA(C,6)); STICKLINE(準(zhǔn)確,-4.1,-4.5,3,0),COLOR0099FF,LINETHICK1; {頂紅} X_1555:=MA(SMA(MAX(CLOSE-REF(CLOSE,2),0),16,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),16,1)*100,2)<28; 飛TYP:=(HIGH+LOW+CLOSE)/3; 飛CCI:=(飛TYP-MA(飛TYP,8))/(0.015*AVEDEV(飛TYP,8)); BOB:=MA(飛CCI,2)<-70 AND X_1555; ARG:=SUM(HIGH-OPEN,28)/SUM(OPEN-LOW,28)*100; BRG:=SUM(MAX(0,HIGH-REF(CLOSE,1)),26)/SUM(MAX(0,REF(CLOSE,1)-LOW),26)*100; BR1G:=MA(BRG,7); 主金:=MA(EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3),16), COLORRED,LINETHICK2; JJJJKK:=BR1G<ARG AND ARG<60 AND 主金<24; XCX:=油的 AND (BOB OR REF(BOB,1)) AND (JJJJKK OR REF(JJJJKK,1)); STICKLINE(XCX,2.5,2.98,3,0),COLORLIMAGENTA,LINETHICK1; {小微品} {頂端} X_156:=(MA(SMA(MAX(CLOSE-REF(CLOSE,2),0),11,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),11,1)*100,2)<24); VAR1Z6:=(CLOSE*55)/100; VAR2Z6:=MA(VAR1Z6,55)*0.83; VAR3Z6:=MA(VAR1Z6/VAR2Z6,6); DDD6:=(VAR3Z6<1.02 AND X_156); MTR6:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),15); HD6:=HIGH-REF(HIGH,1)-(((H+L)/2-REF(C,1))/2); LD6:=REF(LOW,1)-LOW; DMP6:=EXPMEMA(IF(HD6>0&&HD6>LD6,HD6,0),15); DMM6:=EXPMEMA(IF(LD6>0&&LD6>HD6,LD6,0),15); PDI6:=MA(DMP6*100/MTR6,3); MDI6:=DMM6*100/MTR6; ADX6:=EXPMEMA(ABS(MDI6-PDI6)/(MDI6+PDI6)*100,6); ADXR6:=EXPMEMA(ADX6,3); TYP6:=(HIGH+LOW+CLOSE)/3; CCI6:=(TYP6-MA(TYP6,14))/(0.015*AVEDEV(TYP6,14)); LC6:=REF(CLOSE,1); CCP6:=CCI6 AND ADXR6>38 AND PDI6<10 AND DDD6; CCC6:=CCP6 OR REF(CCP6,1); VAR1AA6:=5 OR 6 OR 4 OR 7; 趨勢(shì)6:=3*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1) -1.8*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1); 點(diǎn):=CROSS(趨勢(shì)6,VAR1AA6) AND (CCC6 OR REF(CCC6,1)); GGGG:CCP6 AND DDD6 AND X_156; 出手11:=底部>0 AND VARC3O1-VARB2O1=0 AND VAR2O1 AND CROSS((EMA(EMA(EMA(CLOSE,N15),N15),N15)-REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1))/REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1)*100,MA((EMA(EMA(EMA(CLOSE,N15),N15),N15)-REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1))/REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1)*100,M115)); VAR1QK:=(MA(CLOSE,85)-MA(CLOSE,19)/3.25); 神奇線K:=MA((CLOSE-VAR1QK)/VAR1QK,1); XAK:=EMA(神奇線K,10)*0.5; XBK:=EMA(神奇線K,8); 底部K:=ABS(IF(LLV(XBK-XAK,13)>0,0,1)); WR1XK:=MA(100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)),4)<58; TTXK:=REF(C,1)<C=25; UUUXK:=(REF(C,1)/MA(C,12))*50; VAR2XK:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*200*10+(TTXK*0.7)+UUUXK-20; 買賣K:=SMA(VAR2XK,6,1),COLORGREEN; 賣出區(qū)K:=1500,COLORYELLOW; VAR3XK:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); VAR4XK:=(IF(CLOSE>OPEN,VAR3XK*(HIGH-LOW),IF(CLOSE<OPEN,VAR3XK*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-VAR3XK*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3XK*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-VAR3XK*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-VAR3XK*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,VAR3XK*(HIGH-LOW),IF(CLOSE<OPEN,VAR3XK*(HIGH-OPEN+CLOSE-LOW),VOL/2))); VAR5XK:=AMOUNT/(100*VOL); VAR6XK:=MA(VAR5XK,40); VAR7XK:=100*(CLOSE-VAR6XK)/VAR6XK; 買進(jìn)區(qū)K:=IF(VAR4XK>0 AND VAR7XK<-14 AND CLOSE/OPEN>2.00,300,200),COLORMAGENTA; HMMK:=(買賣K<買進(jìn)區(qū)K+110) AND WR1XK=0; JKHK:=C<O; LKKK:=JKHK*-1; 底2K:=MA((CLOSE-MA(CLOSE,28))/MA(CLOSE,28)*100,3)+(LKKK/2); 抄8K:=CLOSE/(EMA(EMA((C+L+H)/3,6),25)*0.9),COLORE4A8FF; UUU1K:=MA(抄8K,4)<0.96; KMM:=(UUU1K AND 底2K<-23 AND 底部K>0 AND HMMK); KM:=(((KMM AND KK) OR (REF(KMM,1) AND KK)) OR ((KMM AND 出手11>0) OR (REF(KMM,1) AND 出手11>0))) AND 硬盤KK; DRAWICON(VJG AND KM,12.5,1); STICKLINE(BOB AND VAR9 OR VAR6 ,6.0,6.8,4,0),COLORWHITE,LINETHICK1; VAR1Y:=(REF(CLOSE,2)-REF(CLOSE,1))/REF(CLOSE,2)>0.05; VAR2Y:=(REF(CLOSE,3)-REF(CLOSE,2))/REF(CLOSE,3)>0.05; VAR3Y:=REF(HIGH,2)-REF(HIGH,1); VAR4Y:=REF(HIGH,1)-VAR3Y; VAR5Y:=VOL/CAPITAL*100; MOP:=(VAR5Y<15 AND (HIGH-LOW)/CLOSE>0.045 AND CLOSE>VAR4Y AND CLOSE>OPEN AND MA(CLOSE,60)-MA(CLOSE,9)/2.68>CLOSE); DRAWTEXT(MOP AND 硬盤KK,2.65,'||'),COLORWHITE; DRAWTEXT(MOP AND 硬盤KK,2.75,'||'),COLORWHITE; X_1511:=SMA(MAX(CLOSE-REF(CLOSE,2),0),11,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),11,1)*100<28; VAR1Z11:=(CLOSE*55)/100; VAR2Z11:=MA(VAR1Z11,30)*0.83; VAR3Z11:=MA(VAR1Z11/VAR2Z11,4); DDD11:=VAR3Z11<1.15 AND X_1511; MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14); PDI1:=DMP*100/MTR; MDI1:=DMM*100/MTR; ADX1:=EXPMEMA(ABS(MDI1-PDI1)/(MDI1+PDI1)*100,6); ADXR1:=EXPMEMA(ADX1,6); LC1:=REF(CLOSE,1); RSI11:=SMA(MAX(CLOSE-LC1,0),6,1)/SMA(ABS(CLOSE-LC1),6,1)*100; CCC1:=RSI11<30 AND ADX1>35 AND PDI1<22 AND DDD11; VAR1AA1:=5; 趨勢(shì)1:=3*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1) -2*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1); 爆點(diǎn):=(CROSS(趨勢(shì)1,VAR1AA1) AND (CCC OR REF(CCC,1)))COLORGREEN; 咯客:=爆點(diǎn) OR REF(爆點(diǎn),1) OR REF(爆點(diǎn),2) OR REF(爆點(diǎn),3) OR REF(爆點(diǎn),4); B5:=ABS((CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*100); TYPP:=(HIGH+LOW+CLOSE)/3; CCII:=(TYPP-MA(TYPP,15))/(0.015*AVEDEV(TYPP,15))<-70; ZZXUVAR1:=1; ZZXUVAR2:=(B5*0.35)+2*((CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*ZZXUVAR1); ZZXUVAR5:=WINNER(CLOSE)*100-8; ZZXUVAR15:=(CLOSE-LLV(LOW, 39))/(HHV(HIGH,39)-LLV(LOW, 39))*100; ZZXUVAR16:=SMA(ZZXUVAR15, 3, 1); ZZXUVAR17:=SMA(ZZXUVAR16, 3, 1)*0.9; ZZXUVAR18:=3*ZZXUVAR16-2*ZZXUVAR17{用}; 臥龍:10*(CCII OR REF(CCII,1)) AND ((ZZXUVAR17<18 AND ZZXUVAR2>4) OR (CROSS(ZZXUVAR2,ZZXUVAR17) AND (ZZXUVAR17<21 AND ZZXUVAR2>4))),COLORLICYAN; TU11:=C/MA(C,40)<0.80; MMA11:=EMA(C,2); SMMA11:=EMA(MMA11,1); IMPETMMA11:=MMA11-REF(MMA11,1); IMPETSMMA11:=SMMA11-REF(SMMA11,1); DIVMA11:=ABS(MMA11-SMMA11); TDJ11:=(H-L)/REF(C,1)>0.05; AVERIMPET11:= (IMPETMMA11+IMPETSMMA11)/2; TDF11:=POW(DIVMA11,1)*POW(AVERIMPET11,3); NTDF11:=TDF11/HHV(ABS(TDF11),15); YUL11:=COUNT(TDJ11,5)>1; DIF11:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA11:=EMA(DIF11,9); MACD11:=(DIF11-DEA11)*2; 啟動(dòng)11:=TU11 AND YUL11; 確定11:=CROSS(NTDF11,-0.9); 選股11:=FILTER(REF(啟動(dòng)11,1) AND (確定11 OR C>REF(C,1)) AND MACD11>-0.58,10); RSV111:=MA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,2); VARB211:=MA(RSV111/2+22,2); 低買11:=(RSV111+1.2)<VARB211; VVV11:=(低買11 AND COUNT(選股11,10)>=1) OR REF(低買11 AND COUNT(選股11,10)>=1,1); B59:=ABS((CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*100)>3; B55:=B59 OR REF(B59,1) OR REF(B59,2); 潛伏:=(臥龍 OR REF(臥龍,1) OR REF(臥龍,3)) AND VVV11 AND 咯客 AND 硬盤KK AND AAAA AND REF(CCI,1)<-166 AND BBNM AND B55; DRAWICON(潛伏,-4.5,38),COLORGREEN; TRR55:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),5); HD55:=HIGH-REF(HIGH,1); LD55:=REF(LOW,1)-LOW; DMP55:=EXPMEMA(IF(HD55>0&&HD55>LD55,HD55,0),11); DMM55:=EXPMEMA(IF(LD55>0&&LD55>HD55,LD55,0),11); PDI55:=DMP55*100/TR; MDI55:=DMM55*100/TR; ADX55:=EXPMEMA(ABS(MDI55-PDI55)/(MDI55+PDI55)*100,6); ADXR55:=EXPMEMA(ADX55,7); MNBB:=MA(PDI55,3)<12; DIVEXX:=0.01*EMA(AMOUNT,13)/EMA(VOL,13); CYRXX:=(DIVEXX/REF(DIVEXX,1)-1)*100; MACYRXX:=MA(CYRXX,4); XG3XX:=CROSS(CYRXX,MACYRXX) AND (MNBB OR REF(MNBB,1)); BBNN:=XG3XX OR REF(XG3XX,1); VA1R1:=SMA(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),14,1); VA1R2:=(HIGH - REF(HIGH,1)); VA1R3:=(REF(LOW,1) - LOW); VA1R4:=SMA(IF(((VA1R2 > 0) AND (VA1R2 > VA1R3)),VA1R2,0),12,1); VA1R5:=SMA(IF(((VA1R3 > 0) AND (VA1R3 > VA1R2)),VA1R3,0),12,1); VA1R6:=((VA1R4 * 100) / VA1R1); VA1R7:=((VA1R5 * 100) / VA1R1); VA1R8:=SMA(((ABS((VA1R7 - VA1R6)) / (VA1R7 + VA1R6)) * 100),12,1); VA1R9:=((VA1R8 + REF(VA1R8,5)) / 2); VA1RA:=((SUM((HIGH - OPEN),12) / SUM((OPEN - LOW),12)) * 100); VA1RB:=((SUM(MAX(0,(HIGH - REF(CLOSE,1))),12) / SUM(MAX(0,(REF(CLOSE,1) - LOW)),12)) * 100); VA1RC:=((AMOUNT / VOL) / 100); VA1RD:=REF(MA((((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 6.7),2),1); VA1RE:=((EMA(SUM(AMOUNT,5),2) / VA1RC) / 100); VA1RF:=((EMA(SUM(AMOUNT,19),7) / VA1RC) / 100); VA1R10:=((SUM(AMOUNT,34) / VA1RC) / 100); VA1R11:=((SUM(AMOUNT,209) / VA1RC) / 100); VA1R12:=(((REF(VOL,1) + REF(VOL,2)) + REF(VOL,3)) + REF(VOL,4)); VA1R13:=(VA1R12 / CAPITAL); VA1R14:=(((VOL / CAPITAL) * VA1RD) + (VA1R13 * REF(VA1RC,1))); VA1R15:=DMA(VA1RD,(VOL / VA1RE)); VA1R16:=DMA(VA1RD,(MA(VOL,2) / VA1RF)); VA1R17:=DMA(VA1RD,(VOL / VA1R10)); VA1R18:=DMA(VA1RD,(VOL / CAPITAL)); VA1R19:=MA(HHV(HIGH,488),18); VA1R1A:=MA(HHV(HIGH,220),18); VA1R1B:=MA(HHV(HIGH,98),18); VA1R1C:=MA(LLV(LOW,488),18); VA1R1D:=MA(LLV(LOW,220),18); VA1R1E:=MA(LLV(LOW,98),18); VA1R1F:=MA((((((((VA1R1C * 0.96) + (VA1R1D * 0.96)) + (VA1R1E * 0.96)) + (VA1R19 * 0.558)) + (VA1R1A * 0.558)) + (VA1R1B * 0.558)) / 6),18); VA1R20:=MA((((((((VA1R1C * 1.25) + (VA1R1D * 1.23)) + (VA1R1E * 1.2)) + (VA1R19 * 0.55)) + (VA1R1A * 0.55)) + (VA1R1B * 0.65)) / 6),18); VA1R21:=MA((((((((VA1R1C * 1.3) + (VA1R1D * 1.3)) + (VA1R1E * 1.3)) + (VA1R19 * 0.68)) + (VA1R1A * 0.68)) + (VA1R1B * 0.68)) / 6),18); VA1R22:=MA((((((VA1R1F * 3) + (VA1R20 * 2)) + VA1R21) / 6) * 1.738),18); VA1R23:=IF((DATE <= 1031231),VA1R22,(VA1R22 * DAY)); VA1R24:=LOW; VA1R25:=REF(LOW,1); VA1R26:=((SMA(ABS((VA1R24 - VA1R25)),3,1) / SMA(MAX((VA1R24 - VA1R25),0),3,1)) * 100); VA1R27:=MA(IF(((CLOSE * 1.35) <= VA1R23),(VA1R26 * 10),(VA1R26 / 10)),3); VA1R28:=LLV(LOW,35); VA1R29:=HHV(VA1R27,35); VA1R2A:=IF((LOW <= VA1R28),((VA1R27 + (VA1R29 * 2)) / 2),0); 買入:((REF(CCI,1)<-170 AND BBNN AND MA(VA1R2A AND (CLOSE < COST(6)),3) AND EMA(((CLOSE - VA1R16) / VA1R16) * 100,3) < (2 - 13))); 出手111:(VARC3O1-VARB2O1=0 AND VAR2O1 AND CROSS((EMA(EMA(EMA(CLOSE,N15),N15),N15)-REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1))/REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1)*100,MA((EMA(EMA(EMA(CLOSE,N15),N15),N15)-REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1))/REF(EMA(EMA(EMA(CLOSE,N15),N15),N15),1)*100,M115))),COLORWHITE; VARC:=HIGH>LOW*1.0505; HDLY1:=OPEN/HHV(CLOSE,30)<0.78 AND OPEN=LLV(OPEN,30); HDLY2:=CLOSE>REF(CLOSE,1)*1.005; HDLY:=HDLY1 AND HDLY2 AND COUNT(VARC,5)>1; X_2:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19); X_3:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); X_4:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4); X_5:=X_2+100; X_6:=X_3+100; X_7:=X_4+100; X_12:=X_5<15 AND REF(X_5,1)<15 AND X_7<18 AND X_6>REF(X_6,1) AND CROSS(X_6,X_5) AND X_6>X_7 AND (REF(X_6,1)<5 OR REF(X_6,2)<5) AND (X_7>=X_5 OR REF(X_6,1)<1); XG222:X_12 AND HDLY; DRAWICON(XG222 AND 硬盤KK,-8,41); KLK:=REF(DDD,1); DIV:=0.01*EMA(AMOUNT,13)/EMA(VOL,13); CYRP:=(DIV/REF(DIV,1)-1)*100; MACYRP:=MA(CYRP,4); MACYR1P:=MA(CYRP,8); XG1P:=CYRP<-1 AND MACYR1P<-1.05; XG2P:=CROSS(CYRP,MACYRP); P7P:=XG1P AND XG2P; PPO:=REF(C,1)<=COST(3.3); MY:=(WINNER(CLOSE*111/100)-WINNER(CLOSE))*100<6 AND PPO; MKM:=(MY AND P7P) OR (REF(MY,1) AND P7P) OR (REF(MY,2) AND P7P) OR (REF(MY,3) AND P7P) OR (REF(P7P,1) AND MY) OR (REF(P7P,2) AND MY) OR (REF(P7P,3) AND MY); 虧極:=1.7*(MKM); VAR1Y1:=(REF(CLOSE,2)-REF(CLOSE,1))/REF(CLOSE,2)>0.05; VAR2Y1:=(REF(CLOSE,3)-REF(CLOSE,2))/REF(CLOSE,3)>0.05; VAR3Y1:=REF(HIGH,2)-REF(HIGH,1); VAR4Y1:=REF(HIGH,1)-VAR3Y1; VAR5Y1:=VOL/CAPITAL*100; MOP1:=(VAR5Y1<15 AND (HIGH-LOW)/CLOSE>0.045 AND CLOSE>VAR4Y1 AND VAR1Y1 AND VAR2Y1 AND MA(CLOSE,60)-MA(CLOSE,9)/2.68>CLOSE AND KLK); 大山:=((MOP1 AND 虧極) OR (REF(MOP1,1) AND 虧極) OR (REF(MOP1,2) AND 虧極)); 一山:=1.5*((大山 AND C>O) OR (REF(大山,1) AND C>O) OR (REF(大山,2) AND C>O)); DRAWICON(一山 AND 硬盤KK,-8,1); |
|