大智慧选股公式大集合

合集下载

大智慧炒股公式集锦

大智慧炒股公式集锦

大智慧炒股公式集锦紫涨绿卖A01:=DYNAINFO(7);A03:=BARSCOUNT(CLOSE);A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);A05:=IF((A03 > 20),A04,0);A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));A07:=DMA(A06,(VOL / CAPITAL)) * 60;A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);VAR1:=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); VAR2:=EMA(VAR1,8);VAR3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1); 趋势:=EMA(VAR3,3)-10;{FILLRGN(趋势,80,趋势>80);}DRAWICON(CROSS(趋势,0),0,1);{FILLRGN(0,A09,(A09 > 0 AND (趋势<20 OR 趋势>REF(趋势,1)AND 趋势<50))),COLORFFFF00;}机构建仓区:0,LINETHICK0,COLORFFFF00;VAR4:=(趋势-REF(趋势,1))/REF(趋势,1)*100;{STICKLINE(趋势<=13,0,20,5,0),COLORCC9900; DRAWTEXT(FILTER(趋势<=13,15),30,'准备现金'),COLORCC9900;STICKLINE(趋势<=13 AND VAR4>13,0,50,5,0),COLOR0099FF;} VAR5:=FILTER((趋势<=13 AND VAR4>13),10); DRAWTEXT(VAR5,60,'买入'),COLOR0099FF;STICKLINE(趋势>=90 AND VAR4,0,30,5,0),COLORGRAY; VAR6:=FILTER((趋势>=90 AND VAR4),10);DRAWTEXT(VAR6,40,'清仓'),COLORGRAY;VAR7:=LLV(LOW,30);VAR8:=HHV(HIGH,30);VAR9:=EMA((CLOSE-VAR7)/(VAR8-VAR7)*4,4)*25; STICKLINE(VAR9>90,100,105,10,2),COLORRED;VAR10:=(VAR9-LLV(VAR9,4))/(HHV(VAR9,4)-LLV(VAR9,4))*100;DRAWTEXT(IF(CROSS(VAR9,VAR10) AND VAR9>87,95,0),88,'险'),COLOR00FF00;DRAWICON(CROSS(90,VAR9),95,5);VAR11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;VAR12:=HHV(VAR11,30)*8;火焰山:EMA(IF(LOW<=VAR7 AND 趋势<40,VAR11+VAR12),0),3)/618,COLORRED,LINETHICK2; STICKLINE(火焰山>0,0 ,火焰山*1.2,8,0 ),COLORRED;VAR13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5; VAR14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5; 趋势线: 趋势,COLORYELLOW,LINETHICK2;VAR16:=MAX(EMA(VAR13,2)-EMA(VAR14,5),0)*200;VAR17:=EMA(VAR16,5);波浪峰:VAR17,STICK,COLORFF00FF;STICKLINE(VAR17<REF(VAR17,1),0,VAR17,1,0),COLOR00FF00; VAR18:=MA(趋势线,8);IF(CROSS(VAR2,VAR18) AND VAR2<15,50,0),COLORRED; DRAWTEXT(CROSS(趋势线,VAR2)AND 趋势线>REF(趋势线,1)AND 趋势线<50,50,'追涨'),COLORFF0000;KDJ+MACDDRAWGBK(close>0,STRIP(RGB(25,25,112),RGB(47,79,79),0)); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),LINETHICK2,COLORWHITE;D:SMA(K,3,1),LINETHICK2,COLOR00DDDD;J:3*K-2*D,LINETHICK2,COLOR800080;DIFF:EMA(CLOSE,12)-EMA(CLOSE,26),linethick0,COLOR0099FF;DEA :EMA(DIFF,9),linethick0,COLORD89837;MACD:2*(DIFF-DEA),COLORFF9999,linethick0;YLZC:=if(close=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/ 4,AMOUNT/(vol+0.01)/100);阻价:=if(close=INDEXC,YLZC+INDEXC-INDEXl,YLZC+(close-low));支价:=if(close=INDEXC,INDEXl+INDEXC-YLZC,low+(close-YLZC));今压:REF(阻价,1),LINETHICK0,COLORAA11BB;今撑:REF(支价,1),LINETHICK0,COLOR009900;明压:阻价,LINETHICK0;明撑:支价,LINETHICK0;rsv1:=(hhv(h,9.8)-c)/(hhv(h,9.8)-llv(l,9.8))*101; kk:=sma(rsv1,3,1);dd:=sma(kk,3,1);jj:=3*kk-2*dd;买卖:=if(jj>=100,100,if(jj<=0,0,jj));明天买:if(买卖=100,0-10,0),color00cccc;明天卖:if(买卖=0,90,100),color00ff00;KX:=250;KH:=HHV(K,KX);DH:=HHV(D,KX);JH:=HHV(J,KX);KL:=LLV(K,KX);DL:=LLV(D,KX);JL:=LLV(J,KX);HKMAX:=MAX(KH,MAX(DH,JH));LKMIN:=MIN(KL,MIN(DL,JL));KHLB:=(HKMAX+LKMIN)/2;KHLC:=HKMAX-LKMIN;MHF:=HHV(DIFF,KX);MHD:=HHV(DEA,KX);MHM:=HHV(MACD,KX);MLF:=LLV(DIFF,KX);MLD:=LLV(DEA,KX);MLM:=LLV(MACD,KX);HMAX:=MAX(MHF,MAX(MHD,MHM)); LMIN:=MIN(MLF,MIN(MLD,MLM)); FHLB:=(HMAX-LMIN)/100;FHLC:=HMAX-LMIN;SH:=(0-FHLB)*(KHLC/FHLC)+KHLB; DIFFA:=(DIFF-FHLB)*(KHLC/FHLC)+KHLB;DEAA:=(DEA-FHLB)*(KHLC/FHLC)+KHLB; MACDA:=(macd-FHLB)*(KHLC/FHLC)+KHLB;CDA:=MACD<ref(MACD,1) and MACD>0;CDB:=MACD>=ref(MACD,1) and MACD>0;CDC:=MACD>ref(MACD,1) and MACD<0;CDD:=MACD<=ref(MACD,1) and MACD<0; STICKLINE(CDA,SH,macda,6,0),COLOR00AAFF;{黄色段} STICKLINE(CDA,SH,macda,6.6,0),COLOR00BBFF; STICKLINE(CDA,SH,macda,4.4,0),COLOR00CCFF; STICKLINE(CDA,SH,macda,3.3,0),COLOR00DDFF; STICKLINE(CDA,SH,macda,2.2,0),COLOR00EEFF; STICKLINE(CDA,SH,macda,1.1,0),COLOR00FFFF; STICKLINE(CDB,SH,macda,6,0),COLOR0000AA; {红色段} STICKLINE(CDB,SH,macda,6.6,0),COLOR0011BB; STICKLINE(CDB,SH,macda,4.4,0),COLOr0022CC;STICKLINE(CDB,SH,macda,3.3,0),COLOR0033DD; STICKLINE(CDB,SH,macda,2.2,0),COLOR0044EE; STICKLINE(CDB,SH,macda,1.1,0),COLOR0055FF; STICKLINE(CDC,SH,macda,6,0),COLORAA00BB;{向上粉红} STICKLINE(CDC,SH,macda,6.6,0),COLORBB11BB; STICKLINE(CDC,SH,macda,4.4,0),COLORCC22BB; STICKLINE(CDC,SH,macda,3.3,0),COLORDD33BB; STICKLINE(CDC,SH,macda,2.2,0),COLOREE44BB; STICKLINE(CDC,SH,macda,1.1,0),COLORFF55BB; STICKLINE(CDD,SH,macda,6,0),COLORFF7700; STICKLINE(CDD,SH,macda,6.6,0),COLORFF8811; STICKLINE(CDD,SH,macda,4.4,0),COLORFFAA22; STICKLINE(CDD,SH,macda,3.3,0),COLORFFBB33; STICKLINE(CDD,SH,macda,2.2,0),COLORFFDD44; STICKLINE(CDD,SH,macda,1.1,0),COLORFFDD55;PARTLINE(DIFFA,DIFF>0,RGB(255,153,153),DIFF<0,RGB(255,1 53,153));PARTLINE(DEAA,DEA>0,RGB(65,105,225),DEA<0,RGB(65,105,2 25));DRAWTEXT(BARSTATUS=2,SH,' 0'),color00aaaa;TYP:=(HIGH+LOW+CLOSE)/3;STICKLINE(diff>ref(diff,1),20,20,2,0),COLORRED;STICKLINE(diff<ref(diff,1),20,20,2,0),COLORGREEN;STICKLINE(K>=ref(K,1) or k>d anddiff>ref(diff,1),80,80,2,1),COLORRED;STICKLINE(K<ref(K,1),80,80,2,1),COLORGREEN;MACD金叉:=CROSS(MACD,DIFF) AND MACD>=(0-0.05) AND MACD<=0.02;DRAWTEXT(MACD金叉,macda*0.82,'MACD金叉'),color00FFFF;XX:=ema(MA(LOW,3)*0.96,30);DIFF金叉:=if(CROSS(DIFF,DEA) AND XX-REF(XX,1)>0 AND MACD>=REF(MACD,1) AND DIFF<=0,1,0);DRAWTEXT(DIFF金叉=1,DIFFA*1.68,'DIFF金叉'),colorCDFFBB;低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;DRAWTEXT(低位金叉,deaa*0.99,' 低位金叉'),COLOR0099DD;DIFDEA:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 ANDCOUNT(DIFDEA=2,21)=1;DRAWTEXT(二次金叉,deaa*0.99-8,' 二次金叉'),ColorFF00FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);DRAWTEXT(底背离,DEAA*0.99-16,' 底背离'),Color0099FF;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);DRAWTEXT(FILTER(顶背离,5),DEAA*1.02,'顶背离'),COLORDDAAAA;{周金叉,死叉}周DIFF:="MACD.DIFF#WEEK";周DEA:="MACD.DEA#WEEK";周MACD:="MACD.MACD#WEEK";DIF周金叉:=CROSS(周DIFF,周DEA);DRAWTEXT(DIF周金叉,DEAA,'DIFF周金叉'),COLOR0099FF;DRAWTEXT(CROSS(周DEA,周DIFF),DEAA+4,'DIFF周死叉'),align0,COLORCDFFBB;MACD周金叉:=CROSS(周MACD,周DIFF) AND 周MACD>=(0-0.05) AND 周MACD<=0.02;DRAWTEXT(MACD周金叉,macda-0.03,'MACD周金叉'),color00FFFF;{月金叉,死叉}月DIFF:="MACD.DIFF#MONTH";月DEA:="MACD.DEA#MONTH";DIF月金叉:=CROSS(月DIFF,月DEA);DRAWTEXT(DIF月金叉,DEAA*0.98,'DIF月金叉'),COLOR00FFCC;DRAWTEXT(CROSS(月DEA,月DIFF),DEAA*1.02,'DIF月死叉'),align0,COLORDDDDDD;周K:="KDJ.K#WEEK"(9,3,3);周D:="KDJ.D#WEEK"(9,3,3);周J:="KDJ.J#WEEK"(9,3,3);月K:="KDJ.K#MONTH"(9,3,3);月D:="KDJ.D#MONTH"(9,3,3);月J:="KDJ.J#MONTH"(9,3,3);月金叉:=cross(月K,月D);周金叉:=cross(周K,周D);日金叉:=FILTER(cross(K,D) and K<20,4);drawtext(月金叉,月D-2,'★'),ALIGN0,color0022ee; DRAWTEXT(月金叉,月D-2,'KD月金叉'),coloryellow;drawtext(周金叉,周D,'★'),ALIGN2,color0022ee;DRAWTEXT(周金叉,周D,' KD周金叉'),colorgreen;DRAWICON(日金叉,K,1),align2;DRAWTEXT(日金叉,D-6,'低位金叉'),color00CCCC;DRAWTEXT(CROSS(周D,周K),周D*1.2,'KD周死叉'),COLOR00DDBB;DRAWTEXT(CROSS(月D,月K),月D,'KD月死叉'),COLORFFFFFF; KDB:=BARSLAST(ref(cross(k,d),1));KDDB:=ref(close,KDB+1)>close and ref(k,KDB+1)<k and cross(k,d);K底背:=if(FILTER(KDDB>0,5),1,0);DRAWTEXT(K底背=1,D*0.98,'底背离'),COLORDDDDDD; KDD:=BARSLAST(ref(cross(d,k),1));K顶背:=ref(close,KDD+1)<close and ref(k,KDD+1)>k and cross(d,k);DRAWTEXT(FILTER(K顶背>0,5),D+8,'顶背离'),COLORFFAA22; MD1:=MA(CLOSE,80)-MA(CLOSE,13)/3;MD2:=MA((CLOSE-MD1)/MD1,3);买点1:=CROSS(MD2,0) AND LOW/REF(HIGH,1)<1.012 AND J<75 AND J>REF(J,1);ma12:=MA(CLOSE,12);佳点:=if(FILTER(MACD>=REF(MACD,5) ANDopen<=ref(close,1) and XX-REF(XX,1)>0 AND MACD<=0 AND ma12-REF(ma12,1)>=0,3) and J<80 and J>ref(J,1) and D>ref(D,1) and (diff>=ref(diff,1) or dea>=ref(dea,1)),1,0);DRAWTEXT(佳点=1,macda*0.98,'佳点'),color0099FF;DX0:=EMA(CLOSE,2)-EMA(OPEN,5);DX1:=if(CROSS(DX0,MACD) AND LOW<=XX ANDMACD<=(0-0.11) and (J<20 or K<20),1,0);DRAWTEXT(FILTER(DX1,3),0,'短10%'),color00CC00;{短线}MA10:=MA(CLOSE,10);SS:=EMA(MA(HIGH,3)*1.05,30);LQS:=if(FILTER(0.7*(CROSS(DIFF,DEA) AND CLOSE<SS AND XX-REF(XX,1)>0 AND CROSS(MACD,0) AND MACD>=0 ANDDIFF>0 AND ma10-REF(ma10,1)>0 ANDVOL>REF(VOL,1))>=0.7 AND (CLOSE<SS AND XX-REF(XX,1)>0),5) AND J<80,1,0);DRAWTEXT(LQS=1,macda*0.98,'量价齐上'),colorCDFFDD;{量价齐上}最佳点:=IF(COUNT(MD2>REF(MD2,1),3)=3 ANDCOUNT(MD2<0,10)=10 AND REF(MD2,3)=LLV(MD2,10) and J<80 and J>ref(J,1),1,0);DRAWTEXT(最佳点=1,J,'最佳点'),colorFF00CC;买点2:=REF(MD2,2)=LLV(MD2,20) AND REF(MD2,2)<0.071 AND REF(MD2,2)<REF(MD2,1) ANDNOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1) AND J<75 AND J>REF(J,1);DRAWTEXT(买点1 or 买点2,D-1,'买'),colorff00CC;{预涨}AZ:=DYNAINFO(7);AC1:=REF(C,1);ZF1:=(AZ-AC1)/AC1*100;BZ:=DYNAINFO(8);BV1:=REF(VOL,1);ZF2:=BZ/BV1*100;DZ:=REF(CLOSE,1)-REF(OPEN,1);EZ:=DYNAINFO(23)-DYNAINFO(22);FZ:=REF(VOL,1)-REF(VOL,2);预涨:=ZF1>1 AND ZF1<5 AND ZF2>30 AND DZ>0 AND EZ>0 AND FZ>0 AND D>REF(D,1);DRAWTEXT(预涨,d*0.6,'预\涨'),COLORA52A2A;KD金叉:=cross(K,D)and J>20 and J<80;选股:if(cross(macd,0) or DX1 or 佳点or LQS or K底背or 月金叉or 周金叉or 日金叉or 买点1 or 买点2 or 最佳点or MACD金叉or DIFF金叉or 低位金叉or 二次金叉or 底背离or DIF周金叉or MACD周金叉or DIF月金叉or KD金叉,2,0),LINETHICK0;财富拐点var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CLOSE>=REF(CLOSE,2);VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);CLOSE>=REF(CLOSE,2);Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var19:=REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR Var14 OR Var15 ORVar16 OR Var17 OR Var18,1) AND Var1;STICKLINE(Var19,REF(CLOSE,1),REF(CLOSE,2),14,1),colorred;Var1A:=REF(Var1 OR Var2 OR Var3 OR Var4 OR Var5 OR Var6 OR Var7 OR Var8 OR Var9 OR VarA ORVarB OR VarC,1) AND VarD;成交拐点VOLUME:VOL,VOLSTICK;主力启动线:MA(VOLUME,5),COLORRED,LINETHICK2;主力洗盘线:MA(VOLUME,35),COLORYELLOW,LINETHICK2;资金异动线:MA(VOLUME,135),COLORBLUE,LINETHICK2;出击:STICKLINE(CROSS(主力启动线,资金异动线) OR ((主力洗盘线> 资金异动线) AND CROSS(主力启动线,主力洗盘线)),0,VOL,2,0),COLORYELLOW;启动:STICKLINE(主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线) AND (REF(VOL,1)<REF(资金异动线,1) OR REF(VOL,2)<REF(资金异动线,2))),0,VOL,3,0),COLORGREEN;V1:=CLOSE/REF(CLOSE,3)>=1.1;V2:=BACKSET(V1,2);V3:=REF(CLOSE,3)*1.1;V4:=CROSS(C,V3);OK:STICKLINE((V2 ANDCOUNT(V2,2)=1),VOL,0,5,0),COLORRED;COND:(CROSS(主力启动线,资金异动线) OR ((主力洗盘线> 资金异动线) AND CROSS(主力启动线,主力洗盘线)))OR (主力启动线>REF(主力启动线,1) AND (CROSS(VOL,主力启动线) AND (REF(VOL,1)<REF(资金异动线,1) ORREF(VOL,2)<REF(资金异动线,2))))OR (V2 AND COUNT(V2,2)=1),LINETHICK0;A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);长期线:=A+100;短期线:=B+100;中期线:=D+100;见顶:=((REF(中期线,1)>85 AND REF(短期线,1)>85 AND REF(长期线,1)>65) AND CROSS(长期线,短期线));顶部区域:=(中期线<REF(中期线,1) AND REF(中期线,1)>80) AND (REF(短期线,1)>95 OR REF(短期线,2)>95 ) AND 长期线>60 AND 短期线<83.5AND 短期线<中期线AND 短期线<长期线+4;顶部:=FILTER(顶部区域,4);STICKLINE( {见顶OR} 顶部,VOL,VOL*1.1,20,1 ),COLORBLUE,LINETHICK2;VAR6:=REF(CLOSE,1);VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;STICKLINE( CROSS(84,VAR7),VOL,VOL*1.05,20,1 ),COLOR0099 FF,LINETHICK2;均势一:=(((((((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) + REF(CLOSE,3)) + REF(CLOSE,4)) + REF(CLOSE,5)) +REF(CLOSE,6)) + REF(CLOSE,7)) + REF(CLOSE,8)) / 9);均势二:=((((CLOSE + REF(CLOSE,1)) + REF(CLOSE,2)) +REF(CLOSE,3)) / 4);趋势一:=((((均势一- REF(均势一,1)) / REF(均势一,1)) * 1000) + 50);趋势二:=((((均势二- REF(均势二,1)) / REF(均势二,1)) * 1000) + 50);波段高位:=(CROSS(趋势一,趋势二) AND (COUNT((CLOSE > REF(HIGH,1)),12) > 5));STICKLINE(波段高位,VOL,VOL*1.08,20,1 ),COLORGREEN,LINETHICK2;短线买卖ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(C LOSE,1),-VOL,0)),0)/25000,2);M1:=EMA(ABV,12);M2:=EMA(ABV,26);MTM:=CLOSE-REF(CLOSE,1);MMS:=((100)*(EMA(EMA(MTM,6),6)))/(EMA(EMA(ABS(MTM),6 ),6));MMM:=((100)*(EMA(EMA(MTM,12),12)))/(EMA(EMA(ABS(MT M),12),12));MML:=((100)*(EMA(EMA(MTM,26),26)))/(EMA(EMA(ABS(MTM ),26),26));MMA:=C-REF(C,1);MMB:=100*EMA(EMA(MMA,9),9)/EMA(EMA(ABS(MMA),9),9);MMC:=MA(MMB,5);V1:=(HIGH+OPEN+LOW+(2)*(CLOSE))/(5);V2:=REF(V1,1);V3:=MAX(V1-V2,0);V4:=ABS(V1-V2);V5:=SMA(V3,10,1);V6:=SMA(V4,10,1);V8:=COUNT(((V5)/(V6)<0.2),5);V9:=COUNT((LLV(V1,10)=V1),10);庄进:IF((MMS>REF(MMS,1) AND MMB>REF(MMB,1) AND CROSS(ABV,M2) AND ABV>REF(ABV,1) AND M1>REF(M1,1) AND M2>REF(M2,1)),65,0),colorwhite,POINTDOT;主进主轨:=ABV>M2 AND CROSS(ABV,M1) ANDCROSS(MMB,MMC);STICKLINE(庄进OR 主进主轨,65,0,4,1),colorwhite;精准买卖:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND MMS>MML AND CROSS(ABV,M2);短线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND CROSS(MMS,MML) AND ABV>REF(ABV,1);中线买点:=V8>=1 AND V9>=1 AND CLOSE>OPEN AND REF(CLOSE,1)>REF(OPEN,1) AND (VOL>REF(VOL,1)) AND ABV>REF(ABV,1) AND MMS>MML AND CROSS(MMM,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);主进主买:=ABV>M2 AND MMB>MMC ANDCROSS(MMS,MML) AND MMS>REF(MMS,1) AND MMM>REF(MMM,1) AND MML>REF(MML,1);短中精:=精准买卖OR 短线买点OR 中线买点OR 主进主买;如意:IF(短中精,60,0),ColorFF00FF,POINTDOT;STICKLINE(如意,60,0,4,1),ColorFF00FF;庄增:IF(ABV>M2 AND MMS>MML AND CROSS(MMB,MMC) AND MMB>REF(MMB,1) ANDMMC>REF(MMC,1),55,0),COLORFFCC66,POINTDOT; STICKLINE(庄增,55,0,4,1),COLORFFCC66;Var1:=EMA(SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,8,1),3);Var2:=SMA(Var1,3,1);波:=SMA(Var2,3,1);段:=SMA(波,3,1);Var9:=CROSS(段,波) AND 波>80;AA:=LLV(LOW,36);BB:=HHV(HIGH,30);风险:80,Color00FF00;天险:89,ColorFF00FF;太空:100,COLORFFCC66;王:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);散户:=EMA( (CLOSE-MA(CLOSE,8))/MA(CLOSE,8),7);金箍:IF(CROSS(散户,0),王,0),COLORYELLOW,POINTDOT;STICKLINE(金箍,40,0,4,1),COLORYELLOW;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,21,8);生意上门:=SMA(QVAR1C,13,8);AAS:=FILTER((COUNT((生意上门-QVAR1D<(-65)),3)=3),34);庄亏:IF(AAS,60,0),colorred,STICK,linethick4;买卖顺意:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5);走势:(生意上门+买卖顺意)/2,colorccffff;趋势:(王+波+段)/3,COLOR0099FF;STICKLINE(Var1>20 AND Var1<80,Var1,Var1,10,1),colorred;控盘出货VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; STICKLINE(控盘<0,控盘,0,4,0),COLORWHITE;A10:=CROSS(控盘,0);无庄控盘:IF(控盘<0,控盘,0),COLORWHITE,LINETHICK1;开始控盘:IF(A10,5,0),LINETHICK2,COLORYELLOW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,控盘,0,4,0),COLORRED;有庄控盘:IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0),COLORRED,LINETHICK1;VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0,4,0),COLORFF00FF;高度控盘:IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0),COLORFF00FF,LINETHICK1;STICKLINE(控盘<REF(控盘,1) AND 控盘>0,控盘,0,4,0),COLOR00FF00;控盘趋弱:IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0),COLOR00FF00,LINETHICK1;买点必赚MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);V5:=MA(CLOSE,5);V10:=MA(CLOSE,10);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=(SMA(RSV,3,1));D:=(SMA(K,3,1));MAJC:=CROSS(MA5,MA10);VJC:=CROSS(V5,V10);MACDJC:=CROSS(DIFF,DEA);KDJC:=CROSS(K,D);QSXS:=MA10>MA30 AND MA30>REF(MA30,1);JCTJ:=COUNT(MAJC,2)+COUNT(VJC,2)+COUNT(MACDJC,2)+ COUNT(KDJC,2);金叉统计:JCTJ,COLOR00FFFF;目标:FILTER(JCTJ>=3,3)*5,COLORFF00FF,LINETHICK2;优选:目标AND QSXS,COLORFFFFFF,POINTDOT,LINETHICK0; DRAWICON(优选,5,1);买准卖准Var3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;Var4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;Var5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;Var6:=(Var3+Var4+Var5)/3;Var7:=EMA(Var6,5);指标: EMA(EMA(Var3,5),5)*3, COLORSTICK;Var8:=IF(Var6<=-20,10,0);Var9:=HHV(Var8,10);STICKLINE(Var8=10,20,10,5,0),COLOR6666FF;VarA:=IF(Var9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);K:EMA(Var7,5)*2, COLORff00ff;D:EMA(K,5), colorwhite;J:K*3-D*2, coloryellow;VarB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;换手: VOL/CAPITAL*100,colorgreen;DRAWTEXT(VarA=20,15,'底部'),linethick1,colorwhite;STICKLINE((VarA=20),0,10,5,0),colorwhite;VARC:=(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));VARD:=(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));STICKLINE((VARC=1),(-14),0,4,0),Color0000FF;DRAWTEXT((VARC=1),(-14),'买'),Color0000FF;STICKLINE((VARD=1),14,0,4,0),Color00FF00;DRAWTEXT((VARD=1),18,'卖'),Color00FF00;VarE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;VarF:=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);Var10:=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);Var11:=VarF<REF(Var10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(Var11 AND COUNT(Var11,30)=1,15,'大资金活动'),linethick1,COLORff00ff;STICKLINE(Var11 ANDCOUNT(Var11,30)=1,1,10,5,0),colorff00ff;Var12:=(HIGH+LOW+CLOSE)/3;Var13:=(Var12-MA(Var12,14))/(0.015*AVEDEV(Var12,14));Var14:=(Var12-MA(Var12,70))/(0.015*AVEDEV(Var12,70));Var15:=IF(Var13>=150 AND Var13<200 AND Var14>=150 AND Var14<200,10,0);Var16:=IF(Var13<=-150 AND Var13>-200 AND Var14<=-150 AND Var14>-200,-10,Var15);Var17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;Var18:=100-ABS(Var17);Var19:=IF(Var18<90,Var18,100);Var1A:=IF(VarE>0,VarE,0);Var1B:=IF(Var14>=200 AND Var13>=150,15,IF(Var14<=-200 AND Var13<=-150,-15,Var16))+60;Var1C:=Var1A>48 AND Var1B>60 AND Var19<100;DRAWTEXT(Var1C AND COUNT(Var1C,30)=1,15,'大笔出货'),linethick1,COLORffcc66;STICKLINE(Var1C ANDCOUNT(Var1C,30)=1,0,10,5,0),colorffcc66;强势弱势{以下设置强弱区域提示}M3:=MA(C,3);M5:=MA(C,5);N1:=BARSLAST(CROSS(M3,M5));N2:=BARSLAST(CROSS(M5,M3));N:=IF(N1<N2,N1+1,0-N2-1);强势区:STICKLINE(N>0,0-100,0-90,10,0),COLOR0000FF;弱势区:STICKLINE(N<0,0-100,0-110,10,0),Color808080;DRAWTEXTABS(100,3,'【量增价平=看多信号量增价升=买入信号量平价升=持续买入量减价升=继续持有量减价平=警戒信号'),LINETHICK1,colorwhite;DRAWTEXTABS(700,3,'量减价跌=卖出信号量平价跌=继续卖出量增价跌=高位空仓,低位弃卖观望】'),COLORYELLOW;散户买卖{以下设置强弱区域提示}M3:=MA(C,3);M5:=MA(C,5);N1:=BARSLAST(CROSS(M3,M5));N2:=BARSLAST(CROSS(M5,M3));N:=IF(N1<N2,N1+1,0-N2-1);强势区:STICKLINE(N>0,0-100,0-90,10,0),COLOR0000FF;弱势区:STICKLINE(N<0,0-100,0-110,10,0),Color808080;DRAWTEXTABS(100,3,'【量增价平=看多信号量增价升=买入信号量平价升=持续买入量减价升=继续持有量减价平=警戒信号'),LINETHICK1,colorwhite;DRAWTEXTABS(700,3,'量减价跌=卖出信号量平价跌=继续卖出量增价跌=高位空仓,低位弃卖观望】'),COLORYELLOW;天狼拐点LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);波动回调提示图:MA(CLOSE,10000);STICKLINE((MA15 >REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,color0000FF;STICKLINE((MA15 <REF(MA15,1)),MA15,MA15,9,6),LINETHICK2,colorFF0000;DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'上拐点'),Color00FFFF;DRAWTEXT(CROSS(MA15,FF),(HIGH * 1.02),'下拐点'),Color00FF00;DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'回调!'),colorFFFFFF; 买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);stickline(买线>=卖线,low,high,1,0),colorred;stickline(买线>=卖线,close,open,4.5,0),color0000aa; stickline(买线>=卖线,close,open,4,0),color0000cc;stickline(买线>=卖线,close,open,3,0),color0000cc;stickline(买线>=卖线,close,open,2,0),color0000ee;stickline(买线<卖线,close,open,4.5,0),coloraaaa00;stickline(买线<卖线,close,open,4,0),colorbbbb00;stickline(买线<卖线,close,open,3,0),colorcccc00;stickline(买线<卖线,close,open,2,0),coloreeee00;stickline(买线<卖线,low,high,1,0),colorffff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,3,0),color00ffff;指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(C LOSE,24))/4,2),linethick1,ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;屠庄var101:=ma(SLOPE(CLOSE,3)/REF(CLOSE,14),13);var102:=ma(SLOPE(INDEXC,3)/ref(indexc,14),13);var103:=var101-var102;var104:=sma(var103,3,1);var105:=AMOUNT/100000000;var106:=IF(CLOSE>REF(CLOSE,1),var105,IF(CLOSE<REF(CLOSE ,1),(-1)*var105,0));var107:=SUM(var106,21);var108:=var107*CLOSE;var109:=sma(var108,3,1);var110:=sma(var109,3,1);var111:=MA(var108,30);var112:=if(var108>var109 and var109>var110 andvar108>var111,1,0);var113:=EMA(CLOSE,12.5)-EMA(CLOSE,25);var114:=EMA(var113,13);var115:=(var113-var114)*2;var116:=IF(var115>0.3,POW(var115,3)*5/10+POW(var115,2),0 );var117:=EMA(var116,3);var118:=SMA((CLOSE-LLV(LOW,31))/(HHV(HIGH,31)-LLV(LOW,31))*100,5,1);var119:=3*var118-2*SMA(var118,3,1);var120:=sma(var119,3,1);var121:=if(var119>var120 and var119<50,1,0);var122:=if(barslast(cross(var103,var104))<=5 andllv(var103,10)=llv(var103,60)and var112,1,0);DRAWTEXT(filter(var121=1 and var122=1,5),low,'*送钱了'),COLORyellow,linethick7;DRAWTEXT(cross(var104*10000,99),low,'*屠庄'),COLORwhite,linethick7;RSV1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20));RSV2:=(RSV1-0.5)*EMA(C,20)/5;K:=SMA(RSV2,5,1);D:=SMA(K,5,1);J:=K*3-D*2;var140:=ma(K+EMA(C,20),3);var139:=ma(J+EMA(C,20),3);var141:=if(cross(var139,var140),1,0);var142:=if(cross(var140,var139),1,0);移动峰位:=100*EMA((WINNER(C*1.1)-WINNER(C*0.95)),5);主力进出:=100*EMA(WINNER(C)-WINNER(C*0.7),5);出货过程:=100*(1-ema(winner(c*0.7),5));※主力:cost(主力进出),colormagenta,linethick2;※峰位:cost(移动峰位),color339966,linethick2;※沉淀:cost(0.5*(100-100*EMA(WINNER(C)-WINNER(C*0.7),5))+0.5*EMA(100-(WINNER(C*1.05)-WINNER(C*0.90))*100,5)),POINTdot,colorYELLOW;※买点:DRAWICON(var141,low*0.97,4),colorred;※卖点:DRAWICON(var142,high*1.03,5),colorgreen;var1a:=ma(SLOPE(CLOSE,5)/REF(CLOSE,14),13);var2a:=ma(SLOPE(INDEXC,5)/ref(indexc,14),13);※黑马值※:10000*(var1a-var2a),color339966,linethick0;主力+散户Var1:=1;Var2:=1/WINNER(CLOSE);Var3:=MA(CLOSE,13);Var4:=100-ABS((CLOSE-Var3) /var3*100);Var5:=LLV(LOW,75);Var6:=HHV(HIGH,75);Var7:=(Var6-Var5)/100;Var8:=SMA((CLOSE-Var5) /var7,20,1);Var9:=SMA((OPEN-Var5) /var7,20,1);VarA:=3*Var8-2*SMA(Var8,15,1);VarB:=3*Var9-2*SMA(Var9,15,1);VarC:=100-VarB;主力: (100-VarA)*Var1,color0099ff;散户: MA(WINNER(CLOSE*0.95)*100,3)*Var1,coloryellow;新庄: (100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0))*Var1,colorgreen,linethick1,pointdot ;VarD:=散户>Var4;VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=CLOSE-REF(CLOSE,1);Var13:=MAX(Var12,0);Var14:=ABS(Var12);Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100;Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100;Var17:=BARSCOUNT(CLOSE);Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100;Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1B:=SMA((SMA(Var1A,4,1)-50)*2,3,1);Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;Var1D:=SMA(Var1C,4,1);Var1E:=SMA(Var1D,3,1);Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;Var20:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50;STICKLINE(VarD,Var4,散户,5,0),colorwhite; STICKLINE(1,新庄,100,1,0),colorgreen; STICKLINE(Var20,0,80,5,0),colorred,linethick3 ; 100,colorgreen ,linethick2 ;0,coloryellow ,linethick2 ;中线: 15,colorblue ,linethick2 ;主力拉升VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,89));VAR1E:=EMA(VAR1D,30);VAR1F:=((2 * (VAR1D - VAR1E)) * 10);VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);拉升:(15 * ((VAR25 > 0.1) AND (COUNT((VAR25 > 0.1),2) = 1))) and c>ema(c,60),LINETHICK2,color00FFFF;var2:=REF(LOW,1);Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);Var5:=LLV(LOW,34);Var7:=IF(LLV(LOW,56),1,0);Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7; STICKLINE(Var8>REF(Var8,1),0,Var8,4,1),colorred;主力强弱Vur1:=VOL/CAPITAL;Vur2:=1.1*(MAX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1) )-1);Vur3:=2.5*MAX(Vur1,Vur2);Vur4:=DMA(CLOSE,Vur3);Vur5:=20*(Vur4/REF(Vur4,1)-1)*38;Vur6:=EMA(Vur5,2);。

大智慧L2的选股公式

大智慧L2的选股公式

大智慧L2的选股公式原公式:VAR3:=MA(CLOSE,13);VAR4:=100-ABS(((CLOSE-VAR3)/(VAR3))*(100));VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/(100);VAR8:=SMA((CLOSE-VAR5)/(VAR7),20,1);VAR9:=SMA((OPEN-VAR5)/(VAR7),20,1);VARA:=(3)*(VAR8)-(2)*(SMA(VAR8,15,1));VARB:=(3)*(VAR9)-(2)*(SMA(VAR9,15,1));VARC:=100-VARB;VARD:=(REF(LOW,1))*(0.89999997);VARE:=(LOW)*(0.89999997);VARF:=((VARE)*(VOL)+(VARD)*(CAPITAL-VOL))/(CAPITAL);VAR10:=EMA(VARF,30);VAR11:=CLOSE-REF(CLOSE,1);VAR12:=MAX(VAR11,0);VAR13:=ABS(VAR11);VAR14:=((SMA(VAR12,7,1))/(SMA(VAR13,7,1)))*(100);VAR15:=((SMA(VAR12,13,1))/(SMA(VAR13,13,1)))*(100);VAR16:=BARSCOUNT(CLOSE);VAR17:=((SMA(MAX(VAR11,0),6,1))/(SMA(ABS(VAR11),6,1)))*(100);VAR18:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+ 100;VAR19:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100); VAR1A:=SMA((SMA(VAR19,4,1)-50)*(2),3,1);VAR1B:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*( 100);VAR1C:=SMA(VAR1B,4,1);VAR1D:=SMA(VAR1C,3,1);VAR1E:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100);VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100); VAR20:=REVERSE(VAR1F);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1),COLOR0000FF,LINETHICK2;人气:=SMA(趋势,3,1),COLORYELLOW,LINETHICK2;出击:=IF(CROSS(趋势,人气) AND (趋势<30),20,0),COLOR0000FF,LINETHICK2;短卖:=IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2;A:=MA(C,60);B:=REF(A,3);REF(CROSS(趋势,人气),5) AND (趋势<60) AND A>B;改为:VAR3:=MA(CLOSE,13);VAR4:=100-ABS(((CLOSE-VAR3)/(VAR3))*(100));VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/(100);VAR8:=SMA((CLOSE-VAR5)/(VAR7),20,1);VAR9:=SMA((OPEN-VAR5)/(VAR7),20,1);VARA:=(3)*(VAR8)-(2)*(SMA(VAR8,15,1));VARB:=(3)*(VAR9)-(2)*(SMA(VAR9,15,1));VARC:=100-VARB;VARD:=(REF(LOW,1))*(0.89999997);VARE:=(LOW)*(0.89999997);VARF:=((VARE)*(VOL)+(VARD)*(CAPITAL-VOL))/(CAPITAL);VAR10:=EMA(VARF,30);VAR11:=CLOSE-REF(CLOSE,1);VAR12:=MAX(VAR11,0);VAR13:=ABS(VAR11);VAR14:=((SMA(VAR12,7,1))/(SMA(VAR13,7,1)))*(100);VAR15:=((SMA(VAR12,13,1))/(SMA(VAR13,13,1)))*(100);VAR16:=BARSCOUNT(CLOSE);VAR17:=((SMA(MAX(VAR11,0),6,1))/(SMA(ABS(VAR11),6,1)))*(100);VAR18:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+ 100;VAR19:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100); VAR1A:=SMA((SMA(VAR19,4,1)-50)*(2),3,1);VAR1B:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*( 100);VAR1C:=SMA(VAR1B,4,1);VAR1D:=SMA(VAR1C,3,1);VAR1E:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100);VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100); VAR20:=REVERSE(VAR1F);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1);人气:=SMA(趋势,3,1);出击:=IF(CROSS(趋势,人气) AND (趋势<30),1,0);短卖:=IF(CROSS(人气,趋势) AND (人气>75),85,100);A:=MA(C,60);B:=REF(A,3);REF(CROSS(趋势,人气),5) AND (趋势<60) AND A>B;大智慧新一代选股公式:VAR3:=MA(CLOSE,13);VAR4:=100-ABS(((CLOSE-VAR3)/(VAR3))*(100));VAR5:=LLV(LOW,75);VAR6:=HHV(HIGH,75);VAR7:=(VAR6-VAR5)/(100);VAR8:=SMA((CLOSE-VAR5)/(VAR7),20,1);VAR9:=SMA((OPEN-VAR5)/(VAR7),20,1);VARA:=(3)*(VAR8)-(2)*(SMA(VAR8,15,1));VARB:=(3)*(VAR9)-(2)*(SMA(VAR9,15,1));VARC:=100-VARB;VARD:=(REF(LOW,1))*(0.89999997);VARE:=(LOW)*(0.89999997);VARF:=((VARE)*(VOL)+(VARD)*(CAPITAL-VOL))/(CAPITAL);VAR10:=EMA(VARF,30);VAR11:=CLOSE-REF(CLOSE,1);VAR12:=MAX(VAR11,0);VAR13:=ABS(VAR11);VAR14:=((SMA(VAR12,7,1))/(SMA(VAR13,7,1)))*(100);VAR15:=((SMA(VAR12,13,1))/(SMA(VAR13,13,1)))*(100);VAR16:=BARSCOUNT(CLOSE);VAR17:=((SMA(MAX(VAR11,0),6,1))/(SMA(ABS(VAR11),6,1)))*(100);VAR18:=(((-200))*(HHV(HIGH,60)-CLOSE))/(HHV(HIGH,60)-LLV(LOW,60))+ 100;VAR19:=((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15)))*(100); VAR1A:=SMA((SMA(VAR19,4,1)-50)*(2),3,1);VAR1B:=((INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14)))*( 100);VAR1C:=SMA(VAR1B,4,1);VAR1D:=SMA(VAR1C,3,1);VAR1E:=((HHV(HIGH,30)-CLOSE)/(CLOSE))*(100);VAR1F:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100); VAR20:=REVERSE(VAR1F);VAR21:=SMA(VAR1F,3,1);趋势:=SMA(VAR21,3,1),COLOR0000FF,LINETHICK2;人气:=SMA(趋势,3,1),COLORYELLOW,LINETHICK2;出击:=IF(CROSS(趋势,人气) AND (趋势<30),20,0),COLOR0000FF,LINETHICK2;短卖:=IF(CROSS(人气,趋势) AND (人气>75),85,100),COLOR008000,LINETHICK2;REF(CROSS(趋势,人气),1) AND (趋势<60);打开公式管理器,选择条件选股项,选择你要放入公式的小项(比如趋势,成交量,能量等),你也可放到其他项里面,然后点击右上方的新建,对话框出来后你键入你想要的公式名,然后在下方的空格内,粘贴上面的内容,然后点击测试,通过后点击确定就可以了。

大智慧常用的选股公式

大智慧常用的选股公式

大智慧常用的选股公式大智慧选股公式财经、证券2009-08-31 21:52:08 阅读264 评论0 字号:大中小大智慧选股公式怎样编写大智慧选股公式编写条件选股公式时常用的通式。

一、放量、缩量(成交量函数为VOL)1、放量:(1).今天成交量较昨天增加了1倍,表示如下:VOL/REF(VOL,1)〉2(2).今天成交量较10个交易日平均成交量放大了1倍,表示如下:a:=ma(vol,10);Vol/a〉2或者直接用如下公式表示:vol/ma(vol,10)〉2;(3).今日的5日均量较10个交易日平均成交量放大了1倍,表示如下:a:=ma(vol,10);b:=ma(vol,5);b/a〉2;(4).今日的成交量超过了整个流通盘的5%,表示如下:vol/capital〉0.05;其中capital代表流通盘。

2、缩量(1).今日成交量较昨日减少了一半,表示如下:vol/ref(vol,1)〈0.5;(2).今日成交量较10个交易日平均成交量减少一倍,表示如下:a:=ma(vol,10);vol/a〈2;或者直接用如下公式表示:vol/ma(vol,10)〈2;(3).今日的5日均量较10个交易日平均成交量减少1倍,表示如下:a:=ma(vol,10);b:=ref(a,5);a/b〈2;(4).今日的成交量低于了整个流通盘的5%,表示如下:vol/capital〈0.05;二、上涨、下跌上涨:今天的涨幅达到5%以上,表示如下:close/ref(close,1)〉1.05;5日均价连续上涨,表示如下:a:=ma(close,5);b:=ref(a,1);b;下跌:今天的跌幅达到5%以上,表示如下:close/ref(close,1)〈0.95;5日均价连续下跌,表示如下:a:=ma(close,5);b:=ref(a,1);a〈b;(3)、K线的描述close〉open;阳线close〈open;阴线open〉ref(close,1);高开open〈ref(close,1);低开open〉ref(high,1);跳空高开(high为最高价)open〈ref(low,1);跳空低开(low为最低价)三、走势特征选股公式的编制(1)、n日内创新高hhv(high,n)=hhv(high,0) and barscount(c)〉=n;注:n为指标参数,可在参数设定范围内设定参数范围。

大智慧 10天5板 选股公式

大智慧 10天5板 选股公式

大智慧 10天5板选股公式
大智慧是一款股票行情分析软件,"10天5板"是指某只股票在过去10个交易日内有5个涨停板的表现。

选股公式是一套选
取具备潜力的个股的规则和条件。

以下是一种可能的选股公式:
1. 选取近期有大幅上涨的股票:计算股票近期涨幅(例如10
日涨幅)超过一定阈值(如30%)的股票。

2. 选取具备交易活跃度的股票:计算股票近期成交量(例如
10日均量)超过一定阈值(如日均成交量的两倍)的股票。

3. 选取有趋势性的股票:计算股票在近期(例如10日)内有
多次涨停板的股票。

综合以上条件,可以使用大智慧软件的筛选功能,设定对应的参数和条件,进行选股。

可以根据自己的需要和市场情况来设置具体的选股公式和筛选条件。

大智慧会员极品公式大全

大智慧会员极品公式大全

形态特征选股公式的编制(1)、均线多头排列a1:=ma(c,n1);a2:=ma(c,n2);a3:=ma(c,n3);a4:=ma(c,n4); count(a1>a2 and a2>a3 and a3>a4,3)=3 and isup;注:n1、n2、n3、n4j日均线呈多头排列,isup也可以用close>open表示(2)、均线空头排列a1:=ma(c,n1);a2:=ma(c,n2);a3:=ma(c,n3);a4:=ma(c,n4); count(a1< a2 and a2< a3 and a3< a4,3)=3 and not(isup);注:n1、n2、n3、n4j日均线呈空头排列,isup也可以用close< open表示。

(3)、早晨之星ref(close,2)/ref(open,2<0.95 and ref(open,1)< ref(close,2) andabs(ref(open,1)-ref(close,1)/ref(close,1)<0.03 and close/open>1.05 and close>ref(close,2);注:早晨之星,这种形态和叫法自然是后市向好,为买进信号。

早晨之星由三根K线组成,其顺序是:第一天在下跌过程中已形成一根阴线:ref(close,2)/ref(open,2<0.95第二天呈裂口下跌,K线实体较短,构成星的主体部分,阴线或阳线均可,有无上下影线均不重要。

ref(open,1)< ref(close,2) and abs(ref(open,1)-ref(close,1)/ref(close,1)<0.03关键是第三根K线必须是阳线,且其长度至少要升至第一根阴线实体(如果能够“包容”第一根阴线则最好不过了)close/open>1.05 and close>ref(close,2)(4)、强势整理a1:=abs(close-open)/open<0.015;a2:=count(a,m)=m;a3:=ref(o,m)< ref(c,m) and ref (c,m)/ref(c,m+1)>1+n/100; a2 and a3;注:一根实体超过n的长阳,后面跟m个K线实体不超过1.5%的K线。

大智慧牛股精简版指标公式

大智慧牛股精简版指标公式

大智慧牛股精简版指标公式短线:=9;中线:=9;周期:=15;过滤:=8;选股:=-26;抄底:=-30;小买:=IF((TROUGHBARS(3,15,1) = 0) AND (HIGH > LOW + 0.01) AND (DATE <= 108088515),50,0);VAR111012:=((VOL)/(CAPITAL))*(100);VAR111013:=LLVBARS(LOW,50);VAR111014:=SUM(VOL,VAR111013);VAR111015:=HHVBARS(HIGH,50);VAR111016:=SUM(VOL,VAR111015);VAR111017:=((CLOSE - REF(OPEN,VAR111015))/(REF(OPEN,VAR111015)))*(100);VAR111022:=(REF(CLOSE,2))*(0.865);VAR111023:=(REF(CLOSE,13))*(0.772);VAR111024:=MIN(VAR111022,VAR111023);大买:=(IF(((CLOSE - VAR111024)/(CLOSE) < 0.03) AND (VAR111017 < (-35)) AND ((SUM(VAR111012,5))/(5) < 1.8) AND (DATE <= 108880515),1,0))*(100);豪买:IF((大买= 100) AND (小买= 50) AND (DATE <= 108880515),168,0),COLORRED;DRAWTEXT((豪买 = 168),175,' 豪买'),COLORRED;VAR111027:=(EMA(CLOSE,12) - EMA(CLOSE,26))*(100);VAR111028:=EMA(VAR111027,9);VAR60:=(SUM(((CLOSE)*(VOL))*(100),4))/(SUM((VOL)*(100), 4));VAR62:=(SUM(((CLOSE)*(VOL))*(100),7))/(SUM((VOL)*(100), 7));VAR64:=(SUM(((CLOSE)*(VOL))*(100),28))/(SUM((VOL)*(100) ,28));B:=IF((DATE <= 108880515),EMA(CLOSE,5) -EMA(CLOSE,10),0);A:=IF((DATE <= 108088515),EMA(B,中线),0);VAR29:=(((-100))*(HHV(CLOSE,10) - CLOSE))/(HHV(CLOSE,10) - LLV(LOW,10)) + 100;VAR32:=REF(A,1);VAR33:=A;VAR34:=VAR33 - VAR32;VAR36:=B;短买:=(IF(CROSS(B,A) AND (B < 0) AND (A < (-0.2)) AND (VAR29 > 45) AND (VAR34 > 0) ,100,0))*(1);VAR1F:=((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100);VAR20:=REVERSE(VAR1F);VAR21:=SMA(VAR1F,3,1);趋势:=IF((DATE <= 108880515),SMA(VAR21,3,1),0);人气:=IF((DATE <= 108880515),SMA(趋势,3,1),0);短买15:=MA(短买,15);VAR81:=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));VAR82:=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));VAR83:=(VAR81 < REF(VAR82,1)) AND (VOL > REF(VOL,1)) AND (CLOSE > REF(CLOSE,1));有主力:IF(VAR83 AND (COUNT(VAR83,30) = 1),100,0),LINETHICK1,COLORFF00FF;DRAWTEXT((有主力= 100),110,'有主力'),COLORFF00FF,ALIGN2;豪买和主力10:=MA(豪买,10) + MA(有主力,10);VAR201:=SUM(MAX(MAX(HIGH - LOW,ABS(HIGH - REF(CLOSE,1))),ABS(LOW - REF(CLOSE,1))),25);VAR202:=HIGH - REF(HIGH,1);VAR203:=REF(LOW,1) - LOW;VAR204:=SUM(IF((VAR202 > 0) AND (VAR202 > VAR203),VAR202,0),25);VAR205:=SUM(IF((VAR203 > 0) AND (VAR203 > VAR202),VAR203,0),25);VAR206:=((VAR204)*(100))/(VAR201);VAR207:=((VAR205)*(100))/(VAR201);AB:=(ZIG(3,(50)/(5)))*(100);AG:=MA(AB,2);AD:=(CROSS(AB,AG))*(1000);AW:=(CROSS(AG,AB))*(1000);买:IF((AD = 1000) ,68,0),COLORRED;卖:IF((AW = 1000),138,210),COLOR00FF00;DRAWTEXT((买 = 68),75,'短买'),COLORRED,ALIGN2;DRAWTEXT((卖 = 138),140,'短卖'),COLOR00FF00,ALIGN2;VARF:= TROUGHBARS(3,15,1)<4;多空: EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/ 4,30)*100,3),LINETHICK0,COLORWHITE;STICKLINE(FILTER(VARF=1,5),200,0,5,0),COLORRED;DRAWTEXT(FILTER(VARF=1,3),200,'绝对买入'),LINETHICK2,ALIGN2,COLOR00AAFF;STICKLINE(FILTER(VARF=1,5) AND 多空<(-10),50,0,5,0),COLORRED;STICKLINE(多空<(-10),0,多空,1,0),COLORRED;STICKLINE(多空>10,0,多空,1,0),COLOR00FF00;。

大智慧技术指标公式,非常重要,绝不删除.doc

大智慧技术指标公式,非常重要,绝不删除.doc

1 钱龙长线: LON,colorwhite; ma(lon,10),coloryellow; lon,colorstick2 钱龙短线: sho,colorwhite; ma(sho,10),coloryellow; sho,colorstick;3 主力轨迹: mtm:=c-ref(c,1);ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite; MAZL:MA(ZLGJ,N2),coloryellow 4 大智慧一根线追: BY20:=MA(C,5);五月持币线 :MA(C,20),LINETHICK2,COLOR00FFFF;五月持股线 :IF(BY20> 五月持币线 ,五月持币线 ,BY20),LINETHICK2,COLOR808080; VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 未来} VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(VAR1,C,O,8,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR1,H,L,1,0),COLORYELLOW,LINETHICK2;{ STICKLINE(VAR2,C,O,8,0),COLORFF00FF,LINETHICK 2;{ STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;{ STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHI CK2;{5 笑脸买卖点指标:A:(ema(c,5)-ema(c,55))*30,colorred,linethick3; stickline(a>=0,a,0,5,0),colorred,linethick2; stickline(a<0,a,0,5,0),colorblue,linethick2; stickline(a>=0 and a>=ref(a,1),a,0,5,0),coloryellow,linethick2; stickline(a<0 anda>=ref(a,1),a,0,5,0),colorff9900,linethick2; 0,color4080ff,linethick3; DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,0,1); DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,0,2);6 指示强势股: {多空} RSV:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50; Kv:=SMA(RSV,3,1); Dv:=SMA(Kv,3,1); Jv:=3*Kv-2*Dv; zdzk1:=EMA(Jv,6); zdzk2:=REF(zdzk1,1);做多 :IF(zdzk1>=zdzk2,zdzk1+2,zdzk2),,COLORRED; 做空 :IF(zdzk2-zdzk1,zdzk2,zdzk1),,COLOR334499; xw1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1)))); xw2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1)))); xw3:=SUM(xw1,21);xw4:=SUM(xw2,21); xw5:=IF(xw3>xw4,(xw3-xw4)/xw3,IF(xw3=xw4,0,(xw3-xw4)/xw4)); {14 天强弱 }RS:=SMA(MAX(C-REF(C,1),0),14,1)/SMA(ABS(C-REF(C,1)),14,1)*100; ZD:= EMA(EMA(EMA(RS,7),3),3); ZD1:=(ZD-REF(ZD,1))/REF(ZD,1)*15;STICKLINE(ZD1>=0,0,ZD1*50,4,0),Color0000BE; STICKLINE(ZD1<=0,0,ZD1*50,4,0),COLORCdff88; y1:=AMOUNT/V/100; y2:=(3*H+L+O+2*C)/7;y3:=100*(WINNER(1.1*C)-WINNER(0.9*C)); y4:=SUM(AMOUNT,13)/y1/100; y5:= DMA(y2,V/y4); y6:=(C-y5)/y5*100;y7:=(y3<10) AND (y6<=-10); y8:=SMA(MAX(C-REF(C,1.5),0),6,1)/SMA(ABS(C-REF(C,1.5)),6,1)*100; 重高位黄色 } 高位黄色 } 高位黄色 } 底位红色 } 底位红色 } 底位红色 }亏 :STICKLINE(y6<=-10 and ZD1<0,ZD1*55,ZD1*45,6,0),ColorFF89B2; 全亏 :STICKLINE(y6<=-16 andZD1<0,ZD1*60,ZD1*55,6,1),COLORBLUE; 超跌 :STICKLINE(y7 and ZD1<0,ZD1*65,ZD1*60,6,0),ColorFFFFFF; Jct:=100*(c-cost(10))/cost(10); if(C,if(Jct<0,Jct,0)*3,0),COLORWHITE;{备战区 1 }ZDD1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10;ZDD2:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;ZDD3:=SMA(ZDD2,13,8);ZDD4:=CEILING(SMA(ZDD3,13,8));ZDD5:=SMA(ZDD1,21,8);Xh1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; Xh2:=ZDD4-ZDD5<-65 and Xh1<12;备战区 :dRAWICON(Xh2,0,12),Color006EFF;STICKLINE(Xh2,0,ZD1*20,4,0),Color006EFF;{备战区 2 }Xx1:=MA(LOW,2)*0.96;Xx2:=MA(LOW,26)*0.85;Xx3:= REF(Xx1,1)<Xx2 AND REF(Xx1,1)<Xx1 AND REF(Xx1,1)<REF(Xx1,2);STICKLINE(Xx3,0,ZD1*16,4,0),Color006EFF;DRAWICON(Xx3,0,12);{备战区 3 }C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;DSY:=100*vol/CApitAl;STICKLINE((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0,ZD1*25,4,0),Color006EFF;DRAWICON((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,0,12);{备战区 4}Ww1:= sum( ma(c,10),9)/10.110;Ww2:=cross(c,Ww1);STICKLINE(Ww2,0,ZD1*26,4,0),Color006EFF;{40}DRAWICON(Ww2,0,12);{买 1}Vw1:=DMA(EMA(C,12),SUM(V,5)/3/CAPITAL);Vw2:=REF(H,10)/C>1.35;Vw3:=(COST(20)-C)/C>0.15;Vw4:=H>L*1.051;Vw5:=Vw4 AND COUNT(Vw4,5)>1;Vw6:=(((C-Vw1)/Vw1*100<-30) or Vw2) and Vw3 and Vw5;STICKLINE(Vw6,0,ZD1*40,4,0),Color0000FF;{48}DRAWICON(Vw6,0,6);{买 2}XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2);STICKLINE(XL3,0,15,4,0),ColorF8B7F0;DRAWTEXT(XL3,25,'・买'),ColorF8B7F0;{井喷}jjp1:=REF(INDEXC,1);jjp2:=FILTER((INDEXC-jjp1)/jjp1>0.03 and zdzk1>=zdzk2,7);STICKLINE(jjp2,0,-15,4,0),ColorFF00FF;DRAWTEXT(jjp2,- 15,'汕喷买'),ColorFF00FF;7一年二十倍指标:R:=((CLOSE - LLV(LOW,9))/(HHV(HIGH,9) - LLV(LOW,9)))*(100);K:=EMA(R,3);D:=EMA(K,3);一年十二倍 :20,colorred;陡峭度 :=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) -1),1);N:=IF(( 陡峭度 > 0.35),6,65);VAR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE <20070110));VAR1A:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))) + 100)*((DATE < 20070110)); 获利盘 :=(WINNER(CLOSE))*(100);获利线 :=FORCAST( 获利盘 ,7);线:=(F0RCAST(VAR1A,7))*((DATE < 20070110));满仓:=((线 > REF(线,1)) and (线 < 25) and (COUNT(( 线 > REF(线,1)),5) = 1) and IF((N = 6),(获利盘 < 60),(获利盘 < 40)) and (C0UNT(( 获利线 > 20),20) > 0))*(40);STICKLINE( 满仓 ,0,40,5,0),Color008000;DRAWTEXT( 满仓 ,45,' 满仓 '),ColorWHITE;轻仓:=IF((获利盘 >=60) and (线 > REF(线,1)) and (REF(线,1) < 20) and (线 < 40) and (COUNT(( 线 > REF( 线,1)),5) = 1) and (REF(N,1) = 6),1,0);STICKLINE(轻仓,20,D,4,1),ColorFF00FF;DRAWTEXT(轻仓,45,'轻仓'),ColorFF00FF;出击:=CROSS(线,20) and IF((COUNT(CROSS(K,D),3) = 1) and (D < 40),1,( 线 > D) or (K > D) and (D < 60)) and IF((N = 6),( 获利盘 < 70),( 获利盘 < 40)) and (COUNT(( 获利线 > 20),20) > 0); STICKLINE(出击,0,50,3,1),Color44BB00;DRAWTEXT(出击,55,'出击'),colorred;进一 :CROSS(线,D) and (D > 30) and (D > REF(D,1)) and (D < 80);进二:CROSS(线,获利线)and (D > 30) and ( 获利线 > 25) and (D > REF(D,1));低进:=IF(进一 and (D >获利线),进二,进一);DRAWTEXT(低进,30,'低进'),ColorWHITE;STICKLINE(低进,20,30,3,1),Color000080;DRAWTEXT(进二,50,'高进'),Color800080;STICKLINE(进二,30,50,3,1),coloryellow;狂喜:=(30)*(CROSS(VAR1,(-2)));STICKLINE(狂喜,0,20,3,1),coloryellow;DRAWTEXT( 狂喜,(-5),' 要涨停 '),coloryellow;狂喜过望 :=(50)*((VAR1 = 0));恐慌 :=(20)*(VAR1 < -94);STICKLINE(恐慌,0,(-20),5,0),ColorC1C1C1;DRAWTEXT(恐慌,(-25),'恐慌'),ColorC1C1C1;极度恐慌 :=(-40)*(VAR1 = (-100));STICKLINE( 极度恐慌 ,0,(-40),7,1),Color800000;DRAWTEXT( 极度恐慌 ,(-45),' 极度恐慌 '),ColorGREEN;半仓:=(30)*(CROSS(VAR1,(-94)) and (COUNT( 恐慌,5) > 0) and (N = REF(N,1)) and IF((N = 6),( 获利盘 < 60),( 获利盘 < 40)) and (COUNT(( 获利线 > 20),20) > 0));STICKLINE(半仓,0,30,4,1),ColorFFFF00;DRAWTEXT(半仓,35,'半仓'),ColorFFFF00;加仓:=(30)*(CROSS(K,20) and (COUNT( 半仓,5) > 0));STICKLINE(加仓,0,20,6,1),Color808080;DRAWTEXT(加仓,25,'加仓'),Color808080;背离:=(COUNT(恐慌,2) > 0) and (CLOSE < REF(CLOSE,1)) and (VAR1 > REF(VAR1,1)); DRAWICON(背离,0,1),ColorFFFFFF;8买入涨停: {买入涨停 }{参数:N 5 100 9 LC 5 100 24}MA5:MA(C,5),COLOR00FF00;MA10:MA(C,10),COLORFFFFFF;ZX:=(MA5+MA10)/2;MA24:MA(C,24),COLORFF00FF; {24 日指数平滑均线 ,是真正大资金运作的主要参考和支 撑线} MA30:MA(C,30),COLORYELLOW; QSXS:=MA5>=MA30 AND MA30>REF(MA30,1); GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2); YB:=C>REF((O-C)/2+C,2);买:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0; 买入易涨停 :买 AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE( STICKLINE( STICKLINE( STICKLINE( DRAWTEXT(买丄*0.99,'买'),COLOROOFFOO; DRAWICON( 买入易涨停 ,L,1); 上线 :=sma(c,6.5,1);下线 :=sma(c,13.5,1); 上线 1:=sma(c,3,1); 下线 1:=sma(c,8,1);DRAWTEXT( cross( 上线,下线),low *0.98,' 全仓买'),color00ff00; D:=MA(CLOSE,80)-MA(CLOSE,10)/3; DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,1 3)*1.3,1,0),L0W*0.98,' 抄底'),coloryellow; 能量线 :=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4))); 上开 :=O; 上收 :=C; 上高 :=H; 上低 :=L; JJ:=( 上开 +上高+上低)/3; VA1:=EMA( 上收 ,8); VA2:=EMA( 上收 ,28);DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,' ▼ 全仓卖'),COLORYELLOW; x1:=(3*C+H+L+O)/6; x2:=EMA(x1,10); x3:=REF(x2,1); x4:=(REF(HIGH,1)+REF(LOW,1))/2;x5:=MA(CLOSE,21)+2*STD(CLOSE,21); x6:=REF(CLOSE,1);{ 出货} x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100; x8:=CROSS(79,x7); x9:=FILTER(x8,4);{40} XL11:=EMA(CLOSE,10)/100;{70}XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100;买,h,l,0,0),COLOR00FF00,li nethick2; 买,o,c,0,0),COLOR00FF00,li nethick2; 买入易涨停 ,h,l,0,0),COLORYELLOW,linethick2; 买入易涨停 ,o,c,4,0),COLORYELLOW,linethick2;XL3:= MA(XL2,3); XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),l-0.02,' 买 '),colorred;DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA((CLOSE*2+HIGH+ LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/ 4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0) and x2>x3,l- '),ColorFF5ED8;{80}VAR11:=(ZIG(3,10) < REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) > REF(ZIG(3,10),2));0.4,' ▲加仓9 波段极品:MA5: MA(CLOSE,5),COLORbbffff; MA10:MA(CLOSE,10), COLORGREEN,linethick2; S:MA10+2*STD(CLOSE,10), COLORWHITE,linethick2; X:MA10-2*STD(CLOSE,10), COLORYELLOW,linethick2; MA30:MA(CLOSE,30), COLORred;{MA120: MA(CLOSE,120), COLORcc99cc;} MA250: MA(CLOSE,250), COLOR3366ff; {MA60:MA(CLOSE,60), COLORCYAN;} 卖出线 :=98; 阶段卖 :=96;趋势 :=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);底部 :=10; 买入警戒 :stickline( 趋势 <=10,high,low,0.5,0),colorFF9933; stickline( 趋势<=10,open,close,2,1),colorFF9933; 买入信号 :drawicon(CROSS( 趋势,底部 ),low,1);卖出警戒 :stickline( 趋势 >= 阶段卖 ,high,low,0.5,0),color00FF00; stickline( 趋势 >= 阶段卖 ,open,close,3,1),linethick2,color00FF00; 卖出 :drawicon(cross( 卖出线 , 趋势 ),high,2);VB1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04; VB2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;VB3:=VB1 AND VB2;DRAWTEXT(VB3,LOW,' 买入点 '), COLORWHITE;DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,2 0)),HIGH*1.02,' 落袋为安'), COLORWHITE;V2:=REF(CLOSE,1); V3:=SMA(MAX(CLOSE-V2,0),6,1)/SMA(ABS(CLOSE-V2),6,1)*100;DRAWTEXT(CROSS(84,V3),HIGH*1.03,' 见顶 '), COLORYELLOW; V4:=SMA(MAX(CLOSE-V2,0),12,1)/SMA(ABS(CLOSE-V2),12,1)*100; DRAWTEXT(CROSS(V4,20),LOW*0.98,' 见底 '),COLORRED;10 股海扬帆: {股海扬帆 } BIAS20:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100; 起航天数 :BARSLAST(BARSLAST(BIAS20>0 AND REF(BIAS20,1)>0)>0),STICK,COLORRED,LINETHICK4;休整天数 :BARSLAST(BARSLAST(BIAS20<0 AND REF(BIAS20,1)<0)>0),STICK,COLOR00FFFF,LINETHICK4;起航天数 =1,-5,' 起 '),COLORRED; 起航天数 =1,-10,' 航 '),COLORRED; 休整天数 =1,-5,' 休 '),COLORYELLOW;休整天数 =1,-10,' 整 '),COLORYELLOW;DRAWTEXT( DRAWTEXT( DRAWTEXT( DRAWTEXT( -20,COLOR000000;Var2w:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); MW:= EMA(Var2w,3);Var3w:=EMA(Var2w,7);M1:= EMA(Var3w,5); mb1:=CROSS(MW,M1) AND M1<20;抄底介入 :IF((mb1),20,0),linethick2,colorff00ff; drawtext( 抄底介入 ,30,' 抄底 '),colorred;Var06:=(2*CLOSE+HIGH+LOW)/4;Var08:=LLV(LOW,34);VarB1:=HHV(HIGH,34); BB:=EMA((Var06-Var08)/(VarB1-Var08)*100,9);VarC1:=EMA(0.667*REF(BB,1)+0.333*BB,2),color000000;黑马起爆洗钱A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱B:=SMA( 洗钱A,13,1);洗钱 C:SMA( 洗钱 B,5.5,1.5),POINTDOT;洗钱 D:3* 洗钱 B-2* 洗钱 C;洗钱E:4*洗钱C-3*洗钱B;量 1:=EMA( 洗钱 A,3);量 2:=EMA( 洗钱 A,5);量 3:=EMA( 洗钱 A,7);STICKLINE( 量 1>量 2,量 3,量 1,8,1),COLORRED;STICKLINE( 量 1<量 2,量 3,量 1,8,1);T1:=量 2>量 3 AND 量 1<REF(量 1,1);路遥 2012-2-10 7:39:01成交量 {M5:MA(C,5),COLORWHITE;M10:MA(C,13),COLORYELLOW; M20:MA(C,34),COLORRED;M30:MA(C,60),COLOR33FF33;M60:MA(C,120),COLORFF0000; M120:MA(C,250),COLORFF00FF;}VAR3:=LLV(H,240);VAR4:=100*(C-VAR3)/V AR3;VAR5:=(C-LLV(L,528))/(HHV(H,528)-LLV(L,528))*100; VAR6:=(C-LLV(C,530))/(HHV(C,530)-LLV(C,530))*100;VAR7:=0; VAR8:=MA(HHV(C-REF(C,1),0),34)/MA(ABS(C-REF(C,1)),7)*100;VAR9:=MA(HHV(C-REF(C,1),0),13)/MA(ABS(C-REF(C,1)),13)*100;VARA:=BARSCOUNT(C);VARB:=V AR8<20 AND V AR9<23 AND V ARA>35;VARC:=V ARB AND COUNT(V ARB,1)=1;VARD:=EMA(C,21)-EMA(C,8);VARE:=EMA(V ARD,5);VARF:=TROUGH(3,6,1)<4 AND CROSS(V ARD,V ARE);VAR10:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=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);VAR18:=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);VAR19:=EMA(C,2)-EMA(C,150);VAR1A:=EMA(V AR19,100);VAR1B:=2*(VAR19-V AR1A);VAR1C:=POW(V AR1B,3)*0.1+POW(V AR1B,1);VAR1D:=SQRT(SQRT(L*H*O*C));VAR1E:=EMA(V AR1D*0.97,3);VAR1F:=(H+L+C)/3;VAR20:=(V AR1F-MA(V AR1F,14))/(0.015*A VEDEV(V AR1F,14)); VAR21:=CROSS(V AR1E,C);{ 买点 1:=VAR10;}买点 2:=(VAR11+V AR13+V AR15+V AR17);卖点 1:=(VAR12+V AR14+V AR16+VAR18),LINETHICK2;{VAR22:= 买点 1 AND VARF AND VARC AND VAR21 AND VAR4<0 AND VAR5=0 VAR6=0 AND V AR20<(-AND 110);}VAR100:=IF(TROUGH(3,16,1)=0 AND H>L+0.04,4,0);买点 1:=VAR100;VAR1:=MA(C,5);VAR2:=MA(C,10);VAR31:=MA(C,30);VARB1:=SUM(C*VOL*100,28)/SUM(VOL*100,28);VARC1:=INTPART(V ARB1*100)/100;VARD1:=EMA(C,5)-EMA(C,10);VARE1:=EMA(V ARD1,9);VAR190:=EMA(C,2)-EMA(C,150);VAR131:=REF(VARE1,1);VAR141:=VARE1;VAR151:=VAR141-V AR131;VAR161:=REF(VARD1,1);VAR171:=VARD1;VAR181:=VAR171-V AR161;VAR191:=O;VAR1A1:=C;买点 3:=IF(VAR190<=V AR1 AND VAR191<=VAR2 AND VAR191<=VAR31 AND VAR1A1>=V AR1 AND V AR1A1>=V ARC1 AND V AR151>0 AND V AR181>0,0.5,0); DRAWICON( 买点 3>0,L-0.01,1);{DRAWTEXT(买点 1>0,L-0.01,'买点'),COLORRED;}DRAWTEXT(买点 2>0,L-0.01,'买点'),COLOR33FF33;DRAWTEXT(卖点 1>0,H+0.1,'卖点'),COLORFFFF00;天狼短线 B1:=MA(C,1);减仓 :SMA(SMA(SMA(B1,2,1),2,1),2,1),colorgreen,LINETHICK2; 天狼短线 :HHV(MA( 减仓 ,1),13),color00aaff,LINETHICK4;HHV(MA( 减仓 ,1),13),colorred,LINETHICK3;STICKLINE( 天狼短线 > 减仓 AND 减仓 >MA( 减仓 ,3), 天狼短线 , 天狼短线 -0.13,4,0),color00aaff;STICKLINE( 天狼短线 >MA( 减仓 ,3) AND 减仓 <MA( 减仓 ,3), 天狼短线 ,MA( 减仓,3),0,1),colorgree n;路遥 7:36:44雷霆顶压:HHV(MA(H,11),50),COLOROOFFFF;短压:HHV(MA(H,11),15),COLOR0090E0;XL1:=LLV(MA(H,11),1);趋势:IF(XL1>=短压,短压,XL1),COLORFFFFFF;X1:=(3*C+H+L+O)/6;X2:=EMA(X1,10);X3:=REF(X2,1);X4:=(REF(HIGH,1)+REF(LOW,1))/2;X5:=MA(CLOSE,21)+2*STD(CLOSE,21);X6:=REF(CLOSE,1);{ 出货} X7:=SMA(MAX(CLOSE-X6,0),7,1)/SMA(ABS(CLOSE-X6),7,1)*100;X8:=CROSS(79,X7);X9:=FILTER(X8,4);{40}WZ1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);{ 减}WZ2:=POW(MA(LOW,5),2)+MA(LOW,5); WZ3:=POW(MA(HIGH,5),2)+MA(HIGH,5);WZ4:=(WZ1-LLV(WZ2,9))/(HHV(WZ3,9)-LLV(WZ2,9))*150+65; DK:=SMA(WZ4,3,1)*1.5; DD:=SMA(DK,3,1); DJ:=3*DK-2*DD;WZ5:= EMA(CLOSE,12) - EMA(CLOSE,26); WZ6:= EMA(WZ5,9); WZ7:= 2*(WZ5-WZ6);{50} WZ8:= REF(WZ7,1);WZ9:= CROSS(WZ8,WZ7) AND WZ8>0; DRAWTEXT(WZ9 AND DJ>250,H,' ・减'),C0L0RBCFF8B;VAR11:=EMA(CLOSE,8);{ 起步 } VAR2:=EMA(VAR11,20); VAR3:=CR0SS(V AR11,VAR2);VAR4:=VAR11<MA(CL0SE,120); VAR5:=(HHV(HIGH,36)-CL0SE)/(HHV(HIGH,36)-LLV(L0W,36))*100;{ VAR6:=SMA(V AR5,5,1); VAR7:=SMA(V AR6,8,1);{60}VAR8:=CR0SS(V AR6,VAR7) AND V AR7<20; VAR9:=CL0SE>LLV(CL0SE,60)+0.3*LLV(CL0SE,60) AND V AR8; VARA:=IF(CL0SE>1000,V AR8,VAR9); 起步 := VAR3 AND V AR4; 逃遁 := VARA;STICKLINE(X2>X3,X2*0.98,X2,6,1),C0L0R0000FF,LINETHICK2; STICKLINE(X2<X3,X2*0.98,X2,6,1),C0L0RF10011,LINETHICK2; WW1:= SUM( MA(C,10),9)/10.110,C0L0RYELL0W; XX1:=MA(L0W,2)*0.96; XX2:=MA(L0W,26)*0.85;XX3:= REF(XX1,1)<XX2 AND REF(XX1,1)<XX1 AND REF(XX1,1)<REF(XX1,2); VAR1:=INDEXC; VAR12:=MA(V VAR13:=MA(V VAR14:=MA(V VAR15:=MA(V VAR16:=MA(VVAR17:=VAR15<REF(V AR15,1) AND V AR6<REF(VAR16,1) AND V AR15<VAR6*0.98; VAR18:=VAR14>VAR12*1.11 AND V AR13>VAR12*1.095; VAR19:=VAR12>VAR1*0.95;VAR111:=EMA(WINNER(CL0SE)*70,3); VAR112:=EMA((WINNER(CL0SE*1.1)-WINNER(CL0SE*0.9))*80,3); VAR113:=CL0SE/MA(CL0SE,40)*100<76; VAR114:=CL0SE/MA(CL0SE,60)*100<74;逃命 }AR1,6); AR1,24); AR1,32); AR1,62); AR1,105);VAR115:=HIGH>LOW*1.051;VAR116:=V AR115 AND COUNT(V AR15,5)>1;VAR117:=V AR17 AND V AR8 AND V AR19 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND CLOSE>0.1 OR VAR16AND (V AR113 OR VAR114) AND V AR112<20 AND V AR111<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5 OR TROUGHBARS(3,15,1)<4AND CROSS(EMA(CLOSE,21)-EMA(CLOSE,8),EMA(EMA(CLOSE,21)-EMA(CLOSE,8),5));XL11:=EMA(CLOSE,10)/100;{70}XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100;XL3:= MA(XL2,3);XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);DRAWTEXT(IF(CROSS(3*XL4-2*SMA(XL4,3,1),8),87,0) AND X2>X3,L-0.1,'・•反弹 '),COLORGREEN; DRAWTEXT(IF(CROSS((V AR11-LLV(V AR1,4))/(HHV(V AR11,4)-LLV(VAR11,4))*4*25,87.5) ANDVAR1<40,87,0) AND X2>X3,L-0.2,' —•短买'),C0L0RFFBBD8;DRAWTEXT(CROSS(V AR1,10) AND X2>X3,L-0.3,' —•买'),COLOR89B2FF;DRAWTEXT(IF(CR0SS(2*(EMA((CL0SE*2+HIGH+L0W)/4,12)-EMA((CL0SE*2+HIGH+L OW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/ 4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0)仓'),COLORFF5ED8;{8O}AND X2>X3,L-0.4,'・•加LL1:=(EMA(CLOSE,3) - EMA(CLOSE,13));路遥 7:37:04强势主升趋势线 :MA(CLOSE,21),ColorFFFfff,linethicK2;生命线 :MA(CLOSE,43),Color00Ffff,linethicK2;牛熊分界线 :MA(CLOSE,250),Color0000ff,linethicK3;TY:=C;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY ,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY ,2*10+1),10),10+1),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);波浪顶 :IF(T1,A,A),COLORFF00FF,POINTDOT,LINETHICK1;STICKLINE(T1,A,A,9,0),COLORFF00FF;波浪底 :IF(T2,B,B),COLOR80FF00,POINTDOT,LINETHICK1;Var3:=LLV( 最高价 ,240);Var4:=100*( 收盘价 -Var3)/Var3;Var5:=(收盘价-LLV(最低价,528))/(HHV(最高价,528)-LLV(最低价,528))*100;Var6:=(收盘价-LLV(收盘价,530))/(HHV(收盘价,530)-LLV(收盘价,530))*100;Var7:=0;Var8:=MA(HHV(收盘价-REF(收盘价,1),0),34)/MA(ABS(收盘价-REF(收盘价,1)),7)*100;Var9:=MA(HHV( 收盘价 -REF( 收盘价 ,1),0),13)/MA(ABS( 收盘价 -REF( 收盘价 ,1)),13)*100; VarA:=BARSCOUNT( 收盘价 );VarB:=Var8<20 AND Var9<23 AND VarA>35;VarC:=VarB AND COUNT(VarB,1)=1;VarD:=EMA( 收盘价 ,21)-EMA( 收盘价 ,8);VarE:=EMA(VarD,5);VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE); Var10:=IF(TROUGH(3,16,1)=0 AND 最高价 >最低价+0.04,4,0);Var11:=ZIG(3,6)>REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3); Var12:=ZIG(3,6)<REF(ZIG(3,6),1)AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2)AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3); Var13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3); Var14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2)AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3); Var15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2)AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=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); Var18:=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);Var19:=EMA( 收盘价 ,2)-EMA( 收盘价 ,150);Var1A:=EMA(Var19,100);Var1B:=2*(Var19-Var1A); Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1);{ 股旁网 _飞狐股票指标公式 }Var1D:=SQRT(SQRT(最低价*最高价*开盘价*收盘价)); Var1E:=EMA(Var1D*0.97,3); Var1F:=(最高价+最低价+收盘价)/3;Var20:=(Var1F-MA(Var1F,14))/(0.015*A VEDEV(Var1F,14));Var21:=CR0SS(Var1E,最低价);买点 1:=Var10;买点 2:=(Var11+Var13+Var15+Var17);卖点 1:=(Var12+Var14+Var16+Var18),linethick2;Var22:=买点 1 AND VarF AND VarC AND Var21 AND Var4<0 AND Var5=0 AND V ar6=0 AND Var20<(-110); VAR1:=MA( 收盘价 ,5); VAR2:=MA( 收盘价 ,10); VAR31:=MA( 收盘价 ,30);VARB1:=SUM( 收盘价*成交量*1 00,28)/SUM( 成交量*1 00,28); VARC1:=INTPART(V ARB1*100)/100;VARD1:=EMA( 收盘价 ,5)-EMA( 收盘价 ,10); VARE1:=EMA(V ARD1,9); VAR131:=REF(VARE1,1); VAR141:=VARE1; VAR151:=VAR141-V AR131; VAR161:=REF(VARD1,1); VAR171:=VARD1; VAR181:=VAR171-V AR161; VAR191:= 开盘价 ; VAR1A1:= 收盘价 ;DRAWTEXT( DRAWTEXT( DRAWTEXT( 路遥 7:37:25 第三浪 AA:=V*1000/CAPITAL;主力 :MA(AA,4),COLORYELLOW,POINTDOT; 游资 :MA(AA,9),COLORRED,POINTDOT; 大户:MA(AA,17),C0L0RRED,POINTDOT;STICKLINE( 主力>0,0,主力 ,6,0),COLORYELLOW; STICKLINE( 游资>0,0,游资 ,6,0),COLORRED;STICKLINE( 大户 >0,0,大户 ,6,0),COLORGREEN; 获利平均值 :EMA(100*WINNER(C),20),COLOR9933FF; 获利 99 :=MA(COST(99 ),5); 获利 均线 获利 获利RSV:=(((CLOSE -LLV(LOW,21))/(HHV(HIGH,21) - LLV(LOW,21)))*(100)); 趋势 :(EMA((3)*(SMA(RSV { 股旁网 VAR2:=(3)*(SMA(((OPEN (2)*(SMA(SMA(((OPENLLV(LOW,89)))*(100),20,1),15,1));VAR3:=VAR2 - 100;背离:(FORCAST(((-1))*(V AR3),21)),LINETHICK1,COLOROOFFOO; DRAWTEXT((CROSS(趋势,背离)),背离,黑马'),COLORRED; B:=C/REF(C,1)>1.O48ANDC=H买点 买点 卖点 1>0,L+0.1,' ▲'),colorred; 2>0,L+0.1,' ▲'),COLORFF00FF;1>0,H+0.01,' ▼ '),COLOR33FF33;80:=MA(COST(80),5);5日:= MA(C,5);20:=MA(COST(20),5); 1 :=MA(COST(1),5); ,6,1)) - (2)*(SMA(SMA(RSV,5,1),5,1)),2)),COLORRED;_大智慧股票指标公式 }- LLV(LOW,89))/(HHV(HIGH,89) - LLV(LOW,89)))*(100),20,1))- LLV(LOW,89))/(HHV(HIGH,89) ANDBETWEEN(FORCAST(V ,4),0.2*FORCAST(V ,12),2.1*FORCAST(V,12)); •黑牛 :FILTER(B,28)*100,STICK,COLORRED, LINETHICK3; 全仓买:(ZIG(3,35)>REF(ZIG(3,35),1)REF(ZIG(3,35),1)<REF(ZIG(3,35),2))*20,STICK,COLOR990066,LINETHICK3; V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,21); V3:=EMA(V2,5); V4:=2*(V2-V3)*100; 筹 码 进 : IF(V4>=0,V4,0),COLORWHITE,LINETHICK2;STICKLINE((V4 0),0,V4 ,0,0),LINETHICK2,COLORYELLOW; 筹码撤: IF(V4<=0,V4,0),COLORBLUE,LINETHICK1;STICKLINE((V40),0,V4,0,0),LINETHICK1,COLORBLUE; 路遥 7:37:45价值连城 Var1:=REF(CLOSE,2); 会员SMA(MAX(CLOSE-Var1,0),7,1)/SMA(ABS(CLOSE-Var1),7,1)*100,COLORFFAA66; Var2:=REF(CLOSE,1);Var3:=SMA(MAX(CLOSE-Var2,0),7,1)/SMA(ABS(CLOSE-Var2),7,1)*100; 极品逃亡:IF(会员专用< REF(会员专用,1) AND 会员专用>79,会员专用,0); DRAWTEXT(极品逃亡,70 ,'★ <-极品逃亡’),coloryellow,linethicki;DRAWTEXT(88>0 and ref(o,1)/ref(c,1)>1.04 and ref(l,1)<=688 and o>ref(c,1)and c<ref(o,1)and c/o>=1.01,l-l*0.02,' ★ <--极品绝底初现 '),linethick1;DRAWTEXT(c-o>=0 and o/l>1.05 and l<=llv(l,20),l,' ★<--极品绝底 '),colorblue, linethick1; q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100; q3:=SMA(q2, 9, 1); q4:=SMA(q3, 3, 1);特殊会员专用 :3*q3-2*q4,colorwhite,linethick2; q8:=HHVBARS(HIGH, 50);q10:=(CLOSE-REF(OPEN, q8))/REF(OPEN, q8)*100; 跨越 :EMA(q3, 3),COLORRED;DRAWTEXT(CROSS( 特殊会员专用 , 8) AND q10<-13,20,'* 大底来 '),coloryellow,linethick5; DRAWTEXT(CROSS( 特殊会员专用 , 93) AND q10<-13,40,'* 大底 '),linethick5;DRAWTEXT(CROSS(跨越,特殊会员专用)AND ref(特殊会员专用,1)>80, ref(特殊会员专 用,3), '* 顶'),COLORRED,linethick5;Var12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100; 机构做空能量线 : SMA(Var12,3,1),colorgreen,linethick2; 大底来 : 0,POINTDOT; 大底: 0,POINTDOT; DRAWTEXT(cross( DRAWTEXT(cross( DRAWTEXT(cross( 路遥 7:38:02 0000VAR1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1))); VAR2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));AND跨越 ,机构做空能量线 ) ,大底 +40,'进入强势区域'),coloryellow,linethick1; 特殊会员专用 ,跨越 ) ,大底 +20,'进入拉升区域 '),linethick1; 跨越,特殊会员专用 ) ,大底+70,'注意调整VAR3:=SUM(V AR1,5);VAR4:=SUM(V AR2,5);VAR5:=IF(VAR3>V AR4,(V AR3-V AR4)/V AR3,IF(VAR3=V AR4,0,(V AR3-V AR4)/V AR4));VAR6:=MA(V AR5,5);VAR8:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR9:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VARA:=SUM(V AR8,3);VARB:=SUM(V AR9,3);VARC:=IF(VARA>VARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB));VARD:=MA(VARC,3);火: BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),COLORRED;VARE:=HHV(CLOSE,2);VARF:=BARSLAST(V ARE<REF(VARE,2));VAR10:=IF(VARF>=1,LLV(V ARE,V ARF),LOW);VAR11:=VAR10+V AR10*V ARF*0.5/100;VAR12:=IF(VAR11<REF(V AR11,1),MA(LOW,3),V AR11);VAR13:=V AR10+V AR10*(V ARF-1)*1.618/100;山: COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5);VAR14:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR15:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR16:=SUM(VAR8,3);VAR17:=SUM(VAR9,3);VAR18:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB));VAR19:=MA(V ARC,3); RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;买入或持股 : STICKLINE( 山>0,火 ,0,2,0), COLORRED;VAR1A:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR1B:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR1C:=SUM(V AR8,3);VAR1D:=SUM(V AR9,3);VAR1E:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(VARA=V ARB,0,(V ARA-VARB)/V ARB)); VAR1F:=MA(V ARC,3);下跌7抛出:STICKLINE(山 >0,火,山,2,1), COLORFOFOOO;VAR20:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR21:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));VAR22:=SUM(VAR8,3);VAR23:=SUM(VAR9,3);VAR24:=IF(VARA>V ARB,(VARA-VARB)/VARA,IF(V ARA=VARB,0,(VARA-VARB)/VARB));VAR25:=MA(V ARC,3);观望: STICKLINE( 山=0 AND 火=0,0,1,4,1), COLORBLUE; VAR26:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1))); VAR27:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR28:=SUM(VAR8,3);VAR29:=SUM(VAR9,3);VAR2A:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-VARB)/V ARB));VAR2B:=MA(VARC,3);植被 : STICKLINE( 山 <火,火,山,1,0), COLOR00FF00; VAR2C:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR2D:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR2E:=SUM(V AR8,3);VAR2F:=SUM(V AR9,3);VAR30:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB)); VAR31:=MA(V ARC,3);VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10; VAR33:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));VAR34:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1))); VAR35:=SUM(VAR8,3);VAR36:=SUM(VAR9,3);VAR37:=IF(VARA>V ARB,(V ARA-V ARB)/V ARA,IF(V ARA=V ARB,0,(V ARA-V ARB)/V ARB)); VAR38:=MA(V ARC,3);路遥 7:38:22黑马起爆洗钱 A:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; 洗钱 B:=SMA( 洗钱A,13,1);洗钱 C:SMA( 洗钱 B,5.5,1.5),POINTDOT;洗钱 D:3* 洗钱 B-2* 洗钱 C;洗钱E:4*洗钱C-3*洗钱B;量 1:=EMA( 洗钱 A,3);量 2:=EMA( 洗钱 A,5);量 3:=EMA( 洗钱 A,7);STICKLINE( 量 1>量 2,量 3,量 1,8,1),COLORRED;STICKLINE( 量 1<量 2,量 3,量 1,8,1);T1:=量 2>量 3 AND 量 1<REF(量 1,1);路遥 7:38:39绝佳买点 Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; Var2:=2*ABS(Var1); Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SM A(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=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);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(Var5-MA(Var5,14))/(0.015*A VEDEV(Var5,14));Var7:=(Var5-MA(Var5,70))/(0.015*A VEDEV(Var5,70));Var8:=IF(Var6>=150 AND V ar6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8); VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1 )-2*SMA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,。

!!!大智慧2选股指标

!!!大智慧2选股指标

1、底背离选股公式DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);MACD底背离:IF(底背离,57,0),LINETHICK2,COLORFF00FF;DRAWTEXT(底背离,54,'←底背离'),COLORWHITE;2、抄底公式COUNT(C/SMA(C,34,1)<0.73,2) AND H>L*1.05 AND C/COST(10)<0.8;3、双胞胎抄底公式CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;YJD: (EMA(CS,3)-50)*2;极弱:-80;强势:60;风险:80;弱势:-60;V AR4:=(1.1)*CLOSE;V AR5:=(0.9)*CLOSE;V AR6:=100*(WINNER(V AR4)-WINNER(V AR5));S1:2*EMA(100-V AR6,1),COLORYELLOW;S2:EMA(S1,9);S3:=MA(S2,9);条件:=CROSS(YJD,极弱) AND S1>S2;条件0:=CROSS(强势,YJD) AND S1<S2;DRAWICON(条件,极弱,5);DRAWICON(条件0,强势,6);4、备钱抄底RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;抄底:CROSS(RSV9,10);5、抄底副图VAR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;VAR4:=EMA(VAR3,5);VAR5:=3*VAR3-2*VAR4;AA:=CROSS(VAR5,VAR3) AND VAR3<2.1 AND C>O;VAR6:=(2*CLOSE+HIGH+LOW)/4;VAR7:=LLV(LOW,13);VAR8:=HHV(HIGH,13);VAR9:=EMA((VAR6-VAR7)/(VAR8-VAR7)*100,13);VARA:=EMA(0.667*REF(VAR9,1)+0.333*VAR9,2);多:VAR9,colorred,POINTDOT;空:EMA(0.382*REF(VAR9,2)+0.618*VAR9,12),colorgreen; STICKLINE(VAR9>VARA,VAR9,VARA,6,0),colorred; STICKLINE(VAR9<=VARA,VAR9,VARA,6,0),COLORFFCC66; STICKLINE(AA,0,30,40,1),coloryellow;STICKLINE(AA,16,29,38,0),colorred;STICKLINE(AA,1,14,38,0),colorred;STICKLINE(AA,15,15,40,1),coloryellow;STICKLINE(AA,30,50,10,0),coloryellow;STICKLINE(AA,53,55,10,1),colorred;STICKLINE(AA,57,59,10,1),colorred;STICKLINE(AA,61,63,10,1),colorred;STICKLINE(AA,65,67,10,1),colorred;STICKLINE(AA,69,75,12,0),COLORFFCCCC;DRAWTEXT(AA,85,'底'),coloryellow;6、抄底选股LOWV:=LLV(LOW,9);HIGHV:=HHV(HIGH,9);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,3);K:=EMA(RSV,3);D:=MA(K,3);bb:=REF((CLOSE<OPEN),1)AND CLOSE>OPEN;cc:=(c/ref(c,18)-1)*100<-35;cq:=SPLITBARS(0 )<15;xg:IF((k>REF(k,1)AND REF(k,1)<REF(REF(k,1),1))AND k<20 AND bb AND ref(Cc,1)=1 and cq=0 ,20,0),colorred;蓝色领带(969720321) 20:24:541、黄金坑选股公式xg:(C/HHV(H,120)-1)*100<-8 AND HHV(H,120)>LLV(L,120)*1.2 AND CROSS(MA(V,5),MA(V,10));2、多条均线粘合选股k:=10; {可在参数中设置K 为1-100%}m0:=ma(c,5);m1:=ma(c,10);m2:=ma(c,20);m3:=ma(c,30);m6:=ma(c,60);ff:=(max(m0,m1,m2,m3,m6)/min(m0,m1,m2,m3,m6)-1)*100;xg:ff<k/10;3、均线振幅选股A1:=EMA(C,14)>EMA(C,25) AND EMA(C,25)>EMA(C,50) AND EMA(C,50)>EMA(C,120); A2:=ABS(C-EMA(C,14))/EMA(C,14)<0.03;A3:=A1 AND REF(sum(a2,5)=5,1) AND CROSS(C,EMA(C,7)*1.025);A4:=EMA(C,25)>EMA(C,50) AND EMA(C,50)>EMA(C,120) AND REF((HHV(C,30)-LLV(C,30))/LLV(C,30)<0.12,1)AND CROSS(C,EMA(C,7)*1.025);(A3 OR A4) AND DYNAINFO(17)>0;4、KDJ反转选股N:=9;M1:=3;M2:=3;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:=SMA(K,M2,1);J:=3*K-2*D;xg:CROSS(j,REF(j,1)) AND j<50;5、股价缩量到36均线选股count(c<ref(c,1),10)>7 and l<ma(c,36) and h>ma(c,36) andv<ma(v,20);6、逆市抗跌选股sum(c>ref(c,1),0)/sum(INDEXC>ref(INDEXC,1),0)>0.8 and DYNAINFO(14)>0 and time>100000;。

大智慧同花顺通用的批量选股公式代码

大智慧同花顺通用的批量选股公式代码

大智慧同花顺通用的批量选股公式代码1,30个交易日内,股价跌幅达到一半的股票:xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的 2倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)<0.3;3,两天内,累计下跌等于或超过20%选股.xg:(ref(c,2)-c)/c>0.2;4,股价是25天以来新低.xg:c<ref(llv(c,25),1);5,选股:EXPMA5日与10日金叉并且第二天的收盘价在EXPMA的5日线以上.cross(ref(ema(c,5),1),ref(ema(c,10),1)) and c>ema(c,5);6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3。

2. BIAS指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD交叉同时,KD指标中的D值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorff00ff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS3<-6 and cross(k,d) and d<16;7,要求是量大、换手率达到3左右,涨幅>7个点。

xg:v/capital*100>3 and (c/ref(c,1)>1.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)<ref(o,1) and c>o;10,股价回抽20日均线选股公式c>ma(c,20) and cross(c,ma(c,20));11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13,kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10),4)=2;15,选出10天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,n);16,一阳上穿10,20,30日线,量能是前一天3倍。

大智慧公式函数大全

大智慧公式函数大全

大智慧公式函数大全1.移动平均线函数(MA)移动平均线是一种常用的股票价格走势指标,它计算了一段时间内的价格平均值,用于观察价格的趋势。

通过设置不同的时间周期,可以得到不同时间段内的移动平均线。

2.相对强弱指标函数(RSI)相对强弱指标是一种用于测量市场超买和超卖现象的指标。

它通过比较一定时间内上涨和下跌的股票价格平均值的变化,来判断市场的买卖力量。

3.布林带函数(BOLL)布林带是一种通过计算股票价格的标准差来确定价格波动的指标。

它由三条线组成,分别是中轨线、上轨线和下轨线,可以用来判断价格的波动情况和趋势。

4.成交量变异率函数(OBV)成交量变异率是一种判断市场买入和卖出力量的指标,它通过计算股票成交量的累加值和价格的涨跌来确定市场的买卖力量。

5.平均成交金额函数(AMV)平均成交金额是一种通过计算一定时间内的成交金额平均值来确定市场买卖力量的指标。

它可以帮助投资者判断市场的涨跌趋势和买卖机会。

6.相对强势指数函数(RSI)相对强势指数是一种用于测量股票价格相对强度的指标。

它通过计算一定时间内价格的涨跌幅度,来判断股票的价格走势和市场的热度。

7.异常波动指标函数(ASI)异常波动指标是一种通过计算股票价格的波动幅度来判断市场变化的指标。

它可以帮助投资者判断价格的逆势变化和市场的热度。

8.乖离率函数(BIAS)乖离率是一种通过计算股票价格与移动平均线的偏离程度来判断价格趋势的指标。

它可以帮助投资者判断市场的买入和卖出信号。

9.动态动量指标函数(DMI)动态动量指标是一种通过计算股票价格的动量和趋势来判断市场走势的指标。

它可以帮助投资者判断价格的涨跌趋势和市场的热度。

10.均线包络函数(ENV)均线包络是一种通过计算股票价格的波动范围来判断价格的走势的指标。

它可以帮助投资者确定市场的趋势和价格的波动情况。

11.均势指标函数(MI)均势指标是一种通过计算股票价格的涨跌幅度和成交量的变化来判断市场热度和买卖力量的指标。

大智慧指标公式

大智慧指标公式

大智慧指标公式1、十年不败V1:=LLV(LOW,10);V2:=HHV(HIGH,20);lyf1:=EMA(((CLOSE-V1)/(V2-V1))*((-100)),3);V ARg5:=((CLOSE)/(REF(CLOSE,5))>=1.15);V ARg6:=BACKSET(VARg5,5);入市日:=IF((VARg6 AND (COUNT(V ARg6,5)=1) or (CLOSE>=HHV(HIGH,HIGH)) AND ((CLOSE)/(REF(CLOSE,1))>1.098) AND (REF(VOL,LOW)>REF(VOL,34)) AND (REF(VOL,LOW)>REF(VOL,1)) AND (L YF1>(-93))AND (REF(VOL,LOW)>REF(VOL,8))),60,0);cross(入市日,(58));2、私募进场aa:=winner(c+c*15/100)*100;bb:=winner(c+c*0/100)*100;cc:=aa-bb;dd:=(winner(c-c*0.1/100)-winner(c-c*15/100))*100;ee:=cc<3 and dd<0.5 and o<>l;a1:=dynainfo(6);a2:=if(l>a1,0,if(h<a1,1,(a1-l+0.01)/(h-l+0.01)));a3:=v/winner(l);a4:=ref(hhv(c,120),1);a5:=ref(llv(c,120),1);a6:=100*(c-a5)/(a4-a5);a7:=a2>0 or a2=1;a8:=a7 and a3/ref(a3,3)>=3 and a6<80 ;a9:=ref(a8,1) or ref(a8,2) or ref(a8,3) or ref(a8,4);a10:=a8 and a9;a11:=if(filter(a8,3),5,0);a12:=if(filter(a10,3) or ee,10,0);私募机构进场日:stickline(a11,0,5,5,0),colorff7700;私募机构加仓日:stickline(a12,0,15,5,0),colorff00ff;stickline(a11,0,5,5,0),colorff7700;stickline(a11,0,5,4.5,0),colorff8800;stickline(a11,0,5,4,0),colorff9900;stickline(a11,0,5,3.5,0),colorffaa00;stickline(a11,0,5,3,0),colorffbb00;stickline(a11,0,5,2.5,0),colorffcc00;stickline(a11,0,5,2,0),colorffdd00;stickline(a11,0,5,1,0),colorffee00;stickline(a12,0,15,4.5,0),color102099;stickline(a12,0,15,4,0),color1020aa;stickline(a12,0,15,3.5,0),color1020bb;stickline(a12,0,15,3,0),color1020cc;stickline(a12,0,15,2.5,0),color1020dd;stickline(a12,0,15,2,0),color1020ee;stickline(a12,0,15,1,0),color1020ff;drawtext(a11,8,'S'),COLORYELLOW;drawtext(a12,17,'J'),COLORWHITE;3、底部换手OBVobv1:=sum(if(c>ref(c,1),v,if(c<ref(c,1),-v,0)),0);{求得obv}HS:=SUMBARS(v,CAPITAL); {换手一次时间}AA:=if(c>llv(c,HS),1,-1);{期间股价是否创新底}BB:= if(obv1>llv(obv1,HS),1,-1);{期间obv是否创新底}CC:=AA*BB;DD:if(cc=-1,obv1*1.12,obv1);{两者是否背离}obv:obv1;4、火焰觅庄Var1:=EMA(HHV(HIGH,500),21);Var2:=EMA(HHV(HIGH,250),21);Var3:=EMA(HHV(HIGH,90),21);Var4:=EMA(LLV(LOW,500),21);Var5:=EMA(LLV(LOW,250),21);Var6:=EMA(LLV(LOW,90),21);Var7:=EMA((Var4*0.96+V ar5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21); Var8:=EMA((Var4*1.25+V ar5*1.23+V ar6*1.2+Var1*0.55+V ar2*0.55+Var3*0.65)/6,21);Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21); VarA:=EMA((Var7*3+Var8*2+V ar9)/6*1.738,21);VarB:=REF(LOW,1);VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);VarE:=LLV(LOW,30);VarF:=HHV(VarD,30);Var10:=IF(MA(CLOSE,58),1,0);火焰山:EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10,coloryellow;火焰:=STICKLINE(火焰山>0 ,0 ,火焰山,4 ,1);今量:火焰山;STICKLINE(火焰山>0,0 ,今量*1.2,8,0 ),COLOR00EEff;STICKLINE(火焰山>0,0 ,今量*0.8,8,0 ),COLOR00BBff;STICKLINE(火焰山>0,0 ,今量*0.6,8,0 ),COLOR0099ff;STICKLINE(火焰山>0,0 ,今量*0.4,8,0 ),COLOR0066ff;STICKLINE(火焰山>0,0 ,今量*0.2,8,0 ),COLOR0000ff;5、金牌逃顶{p1 1 100 12 ; p2 1 100 50}V AR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70; V AR2:=SMA(V AR1,9,1)+100;V AR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;V AR4:=SMA(V AR3,3,1);V AR5:=SMA(V AR4,3,1)+100;V AR6:=V AR5-V AR2;趋势: IF(VAR6>45,V AR6-45,0);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),5,0),colorff00ff; STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),5,0),color00ff00;强弱分界:50,POINTDOT,Colorffffcc;0,Color00Ffff;20,POINTDOT,COlORFFAA66,linethick1;80,POINTDOT,COlORFFAA66,linethick1;100,Colorffff33;v1:=llv(low,10);v2:=hhv(h,25);价位线:=ema((c-v1)/(v2-v1)*4,4);DRAWTEXT(CROSS(价位线,0.3),7,'●'),ColorFFFfff;DRAWTEXT(CROSS(3.5,价位线),102,'●'),ColorFFFfff;Var2q:=REF(LOW,1);Var3q:=SMA(ABS(LOW-Var2q),3,1)/SMA(MAX(LOW-Var2q,0),3,1)*100; Var4q:=EMA(IF(CLOSE*1.3,Var3q*10,Var3q/10),3);Var5q:=LLV(LOW,30);Var6q:=HHV(Var4q,30);Var7q:=IF(MA(CLOSE,58),1,0);Var8q:=EMA(IF(LOW<=V ar5q,(Var4q+Var6q*2)/2,0),3)/618*Var7q;Var9q:=IF(Var8q>100,100,Var8q);吸筹:STICKLINE(Var9q>-120,0,V ar9q,6,1),coloryellow;AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),Color0000ff,linethick2;6、真实成交量VOL,VOLSTICK;V AR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{成交:VOL,POINTDOT; }主动买盘:IF(CLOSE>OPEN,V AR1*(HIGH-LOW),IF(CLOSE<OPEN,V AR1*((HIGH-OPEN)+(CLOSE -LOW)),VOL/2)),COLORRED,POINTDOT;主动卖盘:IF(CLOSE>OPEN,0-V AR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-V AR1*( HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT;STICKLINE(VOL>0,VOL,0,4,1),COLORWHITE;STICKLINE(主动买盘>0,0,主动买盘,4,0),COLORRED;STICKLINE(主动卖盘<0,0,主动卖盘,4,0),COLOR00FF00;净买盘:主动买盘+主动卖盘,pointdot,coloryellow;换手率%:VOL/CAPITAL*100,POINTDOT,COLORYELLOW;7、波段神偷{m:3,100,60; n:3,100,30。

大智慧选股公式大集合

大智慧选股公式大集合

大智慧选股公式大集合100;大智慧选股公式大集合简单的选股指标公式1,30 个交易日内,股价跌幅达到一半的股票xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是 5 天平均的 2 倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)ema(c,5);6,请编买入公式:1. 将BIAS 指标的参数设置为24 日,将KD 指标的参数设置为9;3;3。

2. BIAS 指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD 交叉同时,KD 指标中的 D 值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colo rff00ff; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS31.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100; 9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20 日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11 ,一根大阳线, 至少有 5 个点以上,再连着出现二根振幅不大于 5 的十字星或是小K xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13, kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价 4 天中有两天在10 日线上count(c>ma(c,10),4)=2;15,选出10 天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count( 今涨停,n);16,一阳上穿10,20,30日线,量能是前一天 3 倍。

大智慧去风险选股公式

大智慧去风险选股公式

大智慧去风险选股公式
大智慧是一款知名的股票分析软件,它为投资者提供了一系列的功能和工具来辅助选股。

在投资中,风险是不可避免的,但通过利用大智慧提供的功能,我们可以采用一些公式和策略来帮助我们选择相对较低风险的股票。

以下是一些可以在大智慧上使用的公式和方法,以帮助降低风险并选择潜在优质股票:
1. 市盈率(PE)筛选:市盈率是衡量股票价格相对于公司盈利的指标。

通过筛选低市盈率的股票,可以发现相对较为低估的股票,有较大的上涨潜力,同时也可以降低投资风险。

2. 资产负债比(Debt-to-Equity Ratio)筛选:资产负债比是衡量
公司财务稳定性的指标,反映了公司债务相对于股东权益的比例。

通过筛选资产负债比较低的股票,可以选择相对较为健康和稳定的公司。

3. 盈利稳定性分析:利用大智慧提供的财务数据,分析公司的盈利
历史和稳定性。

通过查看公司的盈利增长趋势和盈利稳定性,可以帮助我们评估公司未来的盈利能力和风险。

4. Beta值分析:Beta值是衡量股票相对于市场的波动性的指标。


过选择Beta值较低的股票,可以降低投资组合的整体风险,因为这些股票在市场波动时会表现更为稳定。

5. 股息收益率(Dividend Yield)筛选:股息收益率是指股票派发的股息相对于股票价格的比率。

通过选择具有稳定和可观股息收益率的股票,可以在投资者等待股票升值的同时获得额外的收入,降低投资风险。

在使用大智慧进行风险选股时,投资者应该综合考虑多种因素,并根据自己的风险承受能力和投资目标做出决策。

此外,投资股市存在风险,历史表现不能保证未来结果,建议在投资前进行充分的调研和风险评估。

大智慧空中加油选股公式(二)

大智慧空中加油选股公式(二)

大智慧空中加油选股公式(二)大智慧空中加油选股公式1. 市盈率公式•市盈率(PE)= 总市值 / 净利润其中,总市值是指公司的股票市值,净利润是指公司年度的净利润。

例子:若某公司的总市值为100亿元,年度净利润为10亿元,则该公司的市盈率为10。

2. 价格收益比公式•价格收益比(P/E)= 股票当前价格 / 每股收益其中,股票当前价格是指股票在某一时刻的市场价格,每股收益是指公司每股股票的盈利。

例子:若某只股票的当前价格为20元,每股收益为2元,则该股票的价格收益比为10。

3. 市净率公式•市净率(PB)= 总市值 / 净资产其中,净资产是指公司的资产减去负债的余额。

例子:若某公司的总市值为50亿元,净资产为10亿元,则该公司的市净率为5。

4. 资产收益率公式•资产收益率(ROA)= 净利润 / 总资产其中,总资产是指公司的全部资产。

例子:若某公司的净利润为5亿元,总资产为100亿元,则该公司的资产收益率为5%。

5. 股息率公式•股息率(DY)= 每股派息 / 股票当前价格其中,每股派息是指公司每股股票的分红金额。

例子:若某只股票的每股派息为1元,当前股票价格为20元,则该股票的股息率为5%。

6. 相对强弱指数公式•相对强弱指数(RSI)= 相对强度 / (1+相对强度)其中,相对强度是指一定周期内股票价格涨幅与跌幅之比。

例子:若某只股票的相对强度为,则该股票的相对强弱指数为 / (1+) = 。

7. 筹码分布公式•筹码分布(CPQR)= 压力线 / (压力线 + 支撑线)其中,压力线是指当前股价上方出现卖盘的价格区域,支撑线是指当前股价下方出现买盘的价格区域。

例子:若某只股票的压力线为200万股,支撑线为300万股,则该股票的筹码分布为200 / (200 + 300) = 。

以上列举的公式仅是大智慧空中加油选股公式中的一部分,通过这些公式,我们可以对股票进行量化分析,从而辅助我们做出更具有科学依据的投资决策。

大智慧成交量三天连续红的选股公式

大智慧成交量三天连续红的选股公式

大智慧成交量,三天连续红的选股公式
要筛选出最近三天成交量连续增加并且涨幅连续的股票,可以使用以下选股公式:
1. 计算近三个交易日的成交量,并判断是否连续增加,可以通过比较当前交易日的成交量与前两个交易日的成交量的大小关系来判断。

公式:Volume1 > Volume2 && Volume2 > Volume3
2. 计算近三个交易日的涨跌幅,并判断是否连续增加,可以通过比较当前交易日的收盘价与前一个交易日的收盘价的大小关系来判断。

公式:Close1 > Close2 && Close2 > Close3
综合以上两个条件,可以筛选出最近三天成交量连续增加并且涨幅连续增加的股票作为潜在选股对象。

在实际应用中,还可以根据具体需求进一步优化筛选条件和添加其他技术指标来提高选股精度。

大智慧常用的选股公式

大智慧常用的选股公式

大智慧常用的选股公式————————————————————————————————作者:————————————————————————————————日期:大智慧选股公式财经、证券2009-08-31 21:52:08 阅读264评论0 字号:大中小大智慧选股公式怎样编写大智慧选股公式编写条件选股公式时常用的通式。

一、放量、缩量(成交量函数为VOL)1、放量:(1).今天成交量较昨天增加了1倍,表示如下:VOL/REF(VOL,1)〉2(2).今天成交量较10个交易日平均成交量放大了1倍,表示如下:a:=ma(vol,10);Vol/a〉2或者直接用如下公式表示:vol/ma(vol,10)〉2;(3).今日的5日均量较10个交易日平均成交量放大了1倍,表示如下:a:=ma(vol,10);b:=ma(vol,5);b/a〉2;(4).今日的成交量超过了整个流通盘的5%,表示如下:vol/capital〉0.05;其中capital代表流通盘。

2、缩量(1).今日成交量较昨日减少了一半,表示如下:vol/ref(vol,1)〈0.5;(2).今日成交量较10个交易日平均成交量减少一倍,表示如下:a:=ma(vol,10);vol/a〈2;或者直接用如下公式表示:vol/ma(vol,10)〈2;(3).今日的5日均量较10个交易日平均成交量减少1倍,表示如下:a:=ma(vol,10);b:=ref(a,5);a/b〈2;(4).今日的成交量低于了整个流通盘的5%,表示如下:vol/capital〈0.05;二、上涨、下跌上涨:今天的涨幅达到5%以上,表示如下:close/ref(close,1)〉1.05;5日均价连续上涨,表示如下:a:=ma(close,5);b:=ref(a,1);b;下跌:今天的跌幅达到5%以上,表示如下:close/ref(close,1)〈0.95;5日均价连续下跌,表示如下:a:=ma(close,5);b:=ref(a,1);a〈b;(3)、K线的描述close〉open;阳线close〈open;阴线open〉ref(close,1);高开open〈ref(close,1);低开open〉ref(high,1);跳空高开(high为最高价)open〈ref(low,1);跳空低开(low为最低价)三、走势特征选股公式的编制(1)、n日内创新高hhv(high,n)=hhv(high,0) and barscount(c)〉=n;注:n为指标参数,可在参数设定范围内设定参数范围。

大智慧经典版 指标及选股公式

大智慧经典版 指标及选股公式

选股公式金叉MACDDIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1; 低位金叉OR 二次金叉;红进绿出V AR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;V AR4:=EMA(V AR3,5);V AR5:=3*V AR3-2*VAR4;AA:CROSS(V AR5,V AR3) AND V AR3<2.1 AND C>O;仓位增减空:=EMA(C,5);均衡:=EMA(空,5);中轨:=HHV(MA(H,13),13);加仓:FILTER(均衡>REF(均衡,1)AND 中轨<REF(中轨,1)AND C>REF(C,1),11);夺宝奇兵买进价:=((c-ref(ma(c,6),1))/6+ma(c,6))*1.004;买进条件:=cross(c,买进价) and 买进价>ref(买进价,1);v1:=ema(close,5);v2:=ema(ema(close,29)*1.01,10);买进条件and cross(v1,v2);中华方圆▲★{红▲、红★同时出现选股}X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);红▲:=CROSS(Y,X);c1:=(CLOSE+LOW+HIGH)/3;c2:=EMA(c1,6);c3:=EMA(c2,5);红★:=CROSS(c2,c3);红▲and 红★;中华方圆□V AR1:=LLV(LOW,21);V AR2:=HHV(HIGH,21);AK1:=EMA((((CLOSE - V AR1) / (V AR2 - V AR1)) * 100),5); AK:=EMA((((CLOSE - VAR1) / (V AR2 - V AR1)) * 50),13); AB:=CROSS(AK1,AK);V AR3:=LLV(LOW,55);V AR4:=HHV(HIGH,34);V AR5:=EMA((((CLOSE - V AR3) / (V AR4 - V AR3)) * 100),3); V AR6:=((AK + V AR5) / 2);V AR8:=EMA(V AR6,5);BB:=EMA(((0.667 * REF(V AR8,1)) + (0.333 * V AR8)),2); BB1:=(CROSS(AK1,BB) AND (BB < 30));CD:=(BB1 * 0.6);白色□:AB =1;中华方圆▲{红▲选股}X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);红▲:CROSS(Y,X);中华方圆★{红★选股}c1:=(CLOSE+LOW+HIGH)/3;c2:=EMA(c1,6);c3:=EMA(c2,5);c4:=CROSS(c2,c3);红★:c4;黑马王N:=20;V AR2:=(CLOSE+HIGH+LOW)/(3);V AR3:=(EMA(V AR2,10));V AR4:=(REF(VAR3,1));V AR5:=((REF(HIGH,1)+REF(LOW,1))/(2));V AR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)));xg:CROSS(V AR3,V AR4);红柱初现X4:=(L+H+C*4)/6;x6:=EMA(x4,19);x9:=(x6-REF(x6,1))/REF(x6,1)*100;红柱初现:=x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1);第1个红柱:红柱初现and ref(红柱初现,1)<1;紫黄同现A1:=EMA(C,7)-EMA(C,21); A2:=MA(A1,4); 买入:cross(A1,A2) AND A1-A2>0.03 and A2<-0.1;布林宝塔线QJJ:=(VOL/(((HIGH-LOW)*2)-ABS((CLOSE-OPEN))));XVL:=(IF((CLOSE>OPEN),(QJJ*(HIGH-LOW)),IF((CLOSE<OPEN),(QJJ*((HIGH-OPEN)+(CLOSE-LOW))), (VOL/2)))+IF((CLOSE>OPEN),(0-(QJJ*((HIGH-CLOSE)+(OPEN-LOW)))),IF((CLOSE<OPEN),(0-(QJJ*(HIGH-LOW))),(0-(VOL/2)))));ZLL:=(VOL/CAPITAL);HSL:=((XVL/20)/1.15);攻击流量:=(((HSL*0.55)+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(攻击流量,3);B1:=REF(C,1);B2:=REF(C,2);SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));SM:=IF(REF(SS,1)<>0,REF(SS,1),IF(REF(SS,2)<>0,REF(SS,2),IF(REF(SS,3)<>0,REF(SS,3),IF(REF(SS,5)<>0,REF(SS,5),IF(REF(SS,6)<>0,REF(SS,6),IF(REF(SS,7)<>0,REF(SS,7),0))))));DK:=IF(REF(SS,1)<>0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2)));C>REF(C,1)*1.035 AND C>AMOUNT/100/V AND COUNT(CROSS(LLJX,0),2)=1 AND CROSS(C,DK)AND C>SAR(10,2,20) AND C>MA(C,14) AND C>MA(C,20)AND BETWEEN(V/CAPITAL,0.01,0.08) AND CAPITAL<=2000000;上穿就买上升趋势:=EMA(CLOSE,5);支撑压力:=EMA(CLOSE,21);XG:CROSS(上升趋势,支撑压力);三线交汇B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);分水岭:=IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),,;操作线:=分水岭-(EMA(C,3)-分水岭);CROSS(分水岭,操作线);立桩量AAA:=(3*C+H+L+O)/6;V AR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>V AR1;立桩量:=FILTER(TJ1,5);TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));突破:=TJ2=1;TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));三天法则:=TJ3=1;成立:=三天法则AND 突破;条件成立:FILTER(成立,3);低进高出RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);CROSS(J,REF(J+0.01,1)) AND X AND J<19;财出水面V AR2:=(-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;V AR4:=EMA(V AR3,5);操盘:=3*VAR3-2*VAR4;xg:CROSS(操盘,V AR3) AND V AR3<2.1 and c>o;绝对牛股Var1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(Var1,13)-EMA(Var1,73);SD:= EMA(SK,2);V1:(cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03)or (cross(sk,sd) and sk<=-0.14 ) or (cross(sk,sd) and sk<=0.05and (v/ma(v,5)>2 or c/ref(c,1)>0.035));关注DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD超跌:=(COUNT((DIFF < DEA),10) = 10);MACD:=(MACD超跌* "MACD.MACD"(26,12,9))*(-1);MACD金叉:=CROSS(DIFF,DEA);关注: (MACD金叉AND (REF(MACD,1) < 0)) ;关注买MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);MA60:=MA(CLOSE,60);MA65:=MA(CLOSE,65);MA250:=MA(CLOSE,250);均线流:=(((((MA5 > MA65) AND (MA10 > MA65)) AND (MA30 > MA65)) AND (MA5 < MA30)) * 0.3); PL1:=(((CLOSE - MA60) / MA60) < 0.1);PL2:=(((CLOSE - MA250) / MA250) < 0.3);偏离率:=(((PL1 = 1) AND (PL2 = 1)) * 0.2);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);MACD超跌:=(COUNT((DIFF < DEA),10) = 10);MACD:=(MACD超跌* "MACD.MACD"(26,12,9))*(-1);目标:=IF(均线流=0.3 AND MACD AND 偏离率=0.2 ,0.8,0);MBSJ:=BARSLAST((目标= 0.8));放量上涨:=(((VOL / REF(VOL,1)) >= 1.1) AND ((CLOSE / REF(CLOSE,1)) >= 1.01));SZSJ:=BARSLAST((放量上涨= 1));MACD金叉:=CROSS(DIFF,DEA);JCSJ:=BARSLAST((MACD金叉= 1));启动:((((MBSJ <= 20) AND (SZSJ <= 1)) AND (JCSJ <= 1)) * 1);老鸭头MA5 := MA(close,5);MA10 := MA(close,10);MA60 := MA(close,60);pday1 := barslast(cross(ma5,ma60));pday2 := barslast(cross(ma10,ma60));pday3 := barslast(high=hhv(high,pday2));pday4 := barslast(cross(ma10,ma5){ or (ref(ma10,1)<ref(ma5,1) and ma5=ma10)});pday5 := barslast(cross(ma5,ma10){ or (ref(ma5,1)=ref(ma10,1) and ma5>ma10)});a1:= pday1>pday2 and pday2>pday3 and pday3>pday4 and pday4>pday5 and pday5<5;a2:= count(cross(ma10,ma5),pday2)=1;a3:=ma5>ma60 and ma10>ma60;(A1 AND A2 and a3) and FILTER(A1 AND A2 and a3 ,5);主升行情顶:=85;V AR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;CC:=SMA(V AR5,20,1);CC1:=SMA(CC,5,1);出击:CROSS(CC,CC1) AND (CC1 < 顶) ;超越庄股K2:=EMA(C,5);K3:=EMA(C,10);K5:=EMA(C,30);K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6);CROSS(K8,0);强势拉升Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;Q3:=SMA(Q2, 9, 1);跨越:=EMA(Q3, 3);V AR12:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;机构做空能量线:=SMA(V AR12,3,1);CROSS(跨越,机构做空能量线);吸庄血{底部笑脸的信号买入}V AR1:=4*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1),3.2,1); V AR2:=8;CROSS(V AR1,V AR2);智能操盘K2:=EMA(C,5);K3:=EMA(C,10);K5:=EMA(C,30);K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6);买入:CROSS(K8,0);财富拐点ma3:=ema(c,3);ma5:=ema(c,5);var1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);Var2:=REF(Var1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var3:=REF(Var2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var4:=REF(Var3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var5:=REF(Var4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var6:=REF(Var5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var7:=REF(Var6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var8:=REF(Var7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var9:=REF(Var8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarA:=REF(Var9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VarB:=REF(VarA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarC:=REF(VarB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VarD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VarE:=REF(VarD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VarF:=REF(VarE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var10:=REF(VarF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var11:=REF(Var10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var12:=REF(Var11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var13:=REF(Var12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var14:=REF(Var13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var15:=REF(Var14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var16:=REF(Var15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var17:=REF(Var16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);Var18:=REF(Var17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);Var19:REF(VarD OR VarE OR VarF OR Var10 OR Var11 OR Var12 OR Var13 OR V ar14 OR Var15 OR Var16 OR Var17 OR Var18,1) AND V ar1 AND CROSS(MA3,MA5);金牌逃顶V AR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;V AR2:=SMA(V AR1,9,1)+100;V AR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;V AR4:=SMA(V AR3,3,1);V AR5:=SMA(V AR4,3,1)+100;V AR6:=V AR5-V AR2;趋势:=IF(V AR6>45,V AR6-45,0);第一个粉色:ref(REF(趋势,1) >趋势,1) and REF(趋势,1)< 趋势;领头羊{绿线上穿白线}白色:=SMA(HIGH,21,2)*1.05;绿色:=SMA(CLOSE,2,1);领头羊:CROSS(绿色,白色);财神到RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;J1:=REVERSE(J);AA:=REF(MA(C,1),10)>REF(MA(C,60),10);买点:CROSS(J,J1) AND AA;MACD提示DIFF:=(EMA(CLOSE,3) - EMA(CLOSE,13));DEA:=EMA(DIFF,9);绿变红:CROSS(DIFF,DEA)变色MACDDIF:=EMA(CLOSE,8)-EMA(CLOSE,13);DEA:=EMA(DIF,9),;买卖频谱买线:=EMA(C,3);卖线:=EMA(SLOPE(C,21)*20+C,55);N:CROSS(买线,卖线);底部爆发V AR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); V AR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);V AR03:=CROSS(V AR02,V AR01);V AR04:=REF(V AR02,2)<REF(V AR02,1) AND V AR02<REF(V AR02,1);V AR05:=COUNT(V AR03,7)>0 AND V AR04;V AR06:V AR05 AND COUNT(V AR05,5)=1;顶天立地V AR26:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);V AR27:=REVERSE(V AR26);V AR28:=SMA(VAR26,3,1);快线:=SMA(V AR28,3,1);慢线:=SMA(快线,3,1);金叉买:CROSS(快线,慢线) AND (快线<40);短线套利MA6:=MA(C,6);MA18:=MA(C,18);买进价:=((C-REF(MA6,1))/6+MA6)*1.004;买进条件:=CROSS(C,买进价) AND 买进价>REF(买进价,1);加码价:=((C-REF(MA18,1))/18+MA18)*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);(ref(买进条件,1) and 加码条件) OR (ref(加码条件,1) and 买进条件) ;雷电交加V ARF:=TROUGHBARS(3,15,1)<4;FILTER(V ARF=1,3);买必涨diff:=EMA(CLOSE,12)-EMA(CLOSE,26);dea:=EMA(diff,9);买入:CROSS(diff,dea);金叉:CROSS(DIF,DEA) AND DIF<0.3;要涨停陡峭度:=IF((BARSCOUNT(CLOSE) > 7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7)) - 1),1); N:=IF((陡峭度> 0.35),6,65);V AR1:=((-((100)*(HHV(HIGH,N) - CLOSE))/(HHV(HIGH,N) - LLV(LOW,N))))*((DATE < 20170110)); 要涨停:(30)*(CROSS(V AR1,(-2)));指标公式涨停{参数M1 2 1000 5M2 2 1000 10M3 2 1000 20M4 2 1000 30M5 2 1000 60M6 2 1000 120M7 2 1000 250}MA1:MA(CLOSE,M1);MA2:MA(CLOSE,M2);MA3:MA(CLOSE,M3);MA4:MA(CLOSE,M4);MA5:MA(CLOSE,M5);MA6:MA(CLOSE,M6);MA7:MA(CLOSE,M7);C3:=REF(C,1); 涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),2,0);STICKLINE(涨停,OPEN,CLOSE,5,0),COLORRED;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),2,0);STICKLINE(跌停,OPEN,CLOSE,5,0),COLORGREEN;黑马王N:=20;N1:=7;N2:=69;M3:=EMA(CLOSE,3);M8:EMA(CLOSE,8),CoLor008000;M13:EMA(M8,13),CoLor0000FF;M62:EMA(M8,55),CoLorF0F000;V AR1:=EMA(M13,62);M81:EMA(M62,81),CoLor00FFFF;M144:EMA(V AR1,144),Linethick2,CoLor0000FF;M250:EMA(V AR1,250),POINTDOT,Linethick2,CoLorF00FF0;V AR2:=(CLOSE+HIGH+LOW)/(3);V AR3:=(EMA(V AR2,10));V AR4:=(REF(VAR3,1));STICKLINE((V AR3>V AR4),V AR3,V AR4,4,0),CoLor00FFFF;STICKLINE((V AR3<V AR4),V AR3,V AR4,4,0),CoLorFF0000;V AR5:=((REF(HIGH,1)+REF(LOW,1))/(2));V AR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)));DRAWTEXT(CROSS(VAR3,V AR4),(V AR3)*(0.98),'★'),CoLor00FFFF;DRAWTEXT(CROSS(VAR5,V AR6),(HIGH)*(1.04),'↓卖'),CoLor008000;V AR7:=REF(CLOSE,1);V AR8:=((SMA(MAX(CLOSE-V AR7,0),N1,1))/(SMA(ABS(CLOSE-V AR7),N1,1)))*(100);V AR9:=CROSS(N2,V AR8);V ARA:=(FILTER(V AR9,4));DRAWTEXT(V ARA,(HIGH)*(1.04),'↓卖'),CoLorFFFFFF;V ARB:=((2)*(CLOSE)+HIGH+LOW)/(4);V ARC:=LLV(LOW,34);V ARD:=HHV(HIGH,34);V ARE:=(EMA(((V ARB-VAR1)/(V AR5-V AR1))*(100),7));V ARF:=(EMA((0.667)*(REF(V ARE,1))+(0.333)*(VARE),5));DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),8))/(8)>0.6) AND (VOL>=(1.5)*(MA(VOL,5))) AND COUNT((V ARE>=V ARF),3) AND (REF(LOW,1)=LLV(LOW,120)),1,0),LOW,'●买进'),CoLorFF00FF; DRAWTEXT(IF(((COUNT((CLOSE<REF(CLOSE,1)),13))/(13)>0.6) AND COUNT((V ARE>V ARF),6) AND (REF(LOW,5)=LLV(LOW,120)) AND REF((CLOSE>=OPEN),4) AND REF((CLOSE>OPEN),3) AND REF((CLOSE>OPEN),2) AND REF((OPEN>CLOSE),1) AND (OPEN>REF(CLOSE,1)),1,0),LOW,'●买进'),CoLor00FFFF;V AR10:=(MA(CLOSE,80)-(MA(CLOSE,10))/(3));DRAWTEXT(IF((CLOSE<V AR10) AND ((VOL)/(240)>(MA(VOL,5))/(240)) AND (CLOSE>(REF(CLOSE,1))*(1.08)) AND (CLOSE<(MA(CLOSE,13))*(1.3)),1,0),LOW,'●抄底'),CoLor0000FF;金叉MACDDIFF:EMA(CLOSE,12)-EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:=2*(DIFF-DEA);STICKLINE(MACD>=0,MACD,0,4,1),COLORF00FF0;STICKLINE(MACD<0,MACD,0,4,1),COLORWHITE;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,4,0 ),COLOR00AAFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,3.3,0 ),COLOR00BBFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR00CCFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.65,0 ),COLOR00DDFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,1.1,0 ),COLOR00EEFF;STICKLINE(MACD<REF(MACD,1)AND MACD>0,0,MACD,0.55,0 ),COLOR00FFFF;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,4 ,0 ),COLOR0000AA;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,3.3 ,0 ),COLOR0011BB;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,2.2,0 ),COLOR0022CC;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.65 ,0 ),COLOR0033DD;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,1.1 ,0 ),COLOR0044EE;STICKLINE(MACD>=REF(MACD,1)AND MACD>0,0,MACD,0.55 ,0 ),COLOR0055FF;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORAA00BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORBB11BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORCC22BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.65,0 ),COLORDD33BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1.1,0 ),COLOREE44BB;STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFF55BB;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,4,0 ),COLORFFAA00;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,3.3 ,0 ),COLORFFBB11;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,2.2,0 ),COLORFFCC22;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.65 ,0 ),COLORFFDD33;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,1.1 ,0 ),COLORFFEE44;STICKLINE(MACD<=REF(MACD,1)AND MACD<0,0,MACD,0.55 ,0 ),COLORFFFF55;IF(DIFF<0,DIFF,0),COLORRED,LINETHICK1;IF(DIFF<0,0,DIFF),COLORYELLOW,LINETHICK1;IF(DIFF<DEA,DIFF,DEA),COLOR00FF00,LINETHICK1;IF(DIFF>DEA,DEA,DEA),COLORWHITE,LINETHICK1;↑低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;STICKLINE(↑低位金叉,0,-0.5,2,0),COLORYELLOW;DRAWTEXT(↑低位金叉,-0.4,' ↑低位金叉'),COLORYELLOW;JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));↑二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;STICKLINE(↑二次金叉,0,-0.2,5,0),COLORFF00FF;DRAWICON(↑二次金叉,DEA*1.2,11) ;DRAWTEXT(↑二次金叉,-0.2,' ↑二次金叉'),COLORFF00FF;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));↑底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA); STICKLINE(↑底背离,0,0.2,3,0),COLOR00FF00;DRAWLINE(A1=0,DEA,↑底背离,DEA,0),COLORRED,LINETHICK2;DRAWTEXT(↑底背离,0.2,' ↑底背离'),COLOR00FF00;A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));↑顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF); DRAWLINE(A2=0,DEA,↑顶背离,DEA,0),COLORGREEN,LINETHICK2红进绿出V AR2:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR3:=SMA(SMA(VAR2,3,1),3,1)/28.57;V AR4:=EMA(V AR3,5);V AR5:=3*V AR3-2*VAR4;AA:=CROSS(VAR5,V AR3) AND V AR3<2.1 AND C>O;V AR6:=(2*CLOSE+HIGH+LOW)/4;V AR7:=LLV(LOW,13);V AR8:=HHV(HIGH,13);V AR9:=EMA((V AR6-V AR7)/(V AR8-V AR7)*100,13);V ARA:=EMA(0.667*REF(V AR9,1)+0.333*V AR9,2);多:V AR9,COLORRED,POINTDOT;空:EMA(0.382*REF(VAR9,2)+0.618*V AR9,12),COLORGREEN;STICKLINE(V AR9>V ARA,V AR9,V ARA,6,0),COLORRED;STICKLINE(V AR9<=V ARA,V AR9,V ARA,6,0),COLORGREEN;DRAWTEXT(AA,10,'底'),COLORYELLOW;战无不胜危机线:85,colorred;中间线:50,colorwhite;安全线:15,colorgreen;v1:=(2*close+high+low)/4;v2:=llv(low,34);va:=hhv(high,34);防线b:=ema((v1-v2)/(va-v2)*100,13);防线bb:=ema((0.667*ref(防线b,1)+0.333*防线b),2);战术线:防线b,coloryellow,pointdot;战略线:ema(0.382*ref(防线b,2)+0.618*防线b,12),coloryellow;stickline(防线b>防线bb,防线b,防线bb,6,0),colorred;stickline(防线b<=防线bb,防线b,防线bb,6,0),;紫黄同现{紫黄同现股票将大涨}JJ :=(C*3+H+L+O)/6;SK := EMA(JJ,13) - EMA(JJ,21);SD := EMA(SK,3);SP := EMA(SK,10);A1:=EMA(C,7)-EMA(C,21);B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);B1,COLORSTICK;X1:=V/SUM(V,13);X2:=DMA(C,X1);X3:=(C-X2)/X2*40;L2:=MA(AMOUNT/(100*V),13);CYS13:= (C-L2)/L2*100;做多:IF(A1>=B1,A1,B1),LINETHICK2,COLORFF00FF;做空:IF(B1-A1,B1,A1),COLORGREEN,LINETHICK2;强庄:STICKLINE(CYS13>5,0,-做空,2,0 ),COLORYELLOW;主力强度:STICKLINE(X3>0 AND 做多>0,做多+0.1,做多,1,0),COLORFF80FF;C>MA(C,30),COLORFF80FF,LINETHICK2;DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J1:=DIFF;J2:=DEA;J3:=K;J4:=D;VL:=REF(LOW,1); VH:=REF(H,1);V AR1:=SMA(ABS(H-VH),13,1)/SMA(MAX(H-VH,0),13,1)*100;V AR2:=SMA(ABS(L-VL),13,1)/SMA(MAX(L-VL,0),13,1)*100;V AR3:=REF(CLOSE,1);V AR4:=MA(V AR2,13);V AR5:=LLV(L,34);V AR6:=SMA(MAX(CLOSE-VAR3,0),6,1)/SMA(ABS(CLOSE-VAR3),6,1)*100;V AR7:=CROSS(93,V AR6);V AR8:=EMA(IF(L<=VAR5,V AR4,0),3);V AR9:=H>LLV(L,0)*7;V AR10:=(SMA(SMA((((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54))) * 100),7,1),5,1));V AR11:=((SMA(((CLOSE - LLV(LOW,54)) / (HHV(HIGH,54) - LLV(LOW,54)) * 100),7,1)) * 16.18) - (V AR10 * 10.9);上攻:FILTER(CROSS(J1,J2) AND VOL>REF(SUM(VOL,5),1),3),COLOR0066FF,LINETHICK2;WR10:=-100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10)),COLORWHITE,LINETHICK1;WR45:=-100*(HHV(HIGH,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45)),COLORFFB900,LINETHICK1;WR99:=-100*(HHV(HIGH,99)-CLOSE)/(HHV(HIGH,99)-LLV (LOW,99)),COLORRED,LINETHICK1;顶:= 0, LINETHICK2 ,COLOR446600;底1:=-95, LINETHICK2 ,COLOR446600;红柱初现工作线:MA(CLOSE,14),COLORRED,LINETHICK2;操盘线:MA(CLOSE,26),Color00A800,LINETHICK2;X1:=MA(C,1);X2:=SMA(SMA(SMA(x1,2,1),2,1),2,1);X3:=MA(x2,3);X4:=(L+H+C*4)/6;X5:=EMA(x4,12);x6:=EMA(x4,19);x7:=(x5-REF(x5,1))/REF(x5,1)*100;x9:=(x6-REF(x6,1))/REF(x6,1)*100;G:=BARSLAST(CROSS(x7,0));X8:=REF(x4,G);A2:=3*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV(L,30)) *100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5-A6);STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),HIGH,LOW,0.5,0),color0000CD;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,8,0),color070084;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,7,0),color0000A3;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,6,0),color0000B7;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,5,0),color0000CD;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,4,0),color0000E9;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,2,0),color0754E9;STICKLINE(x9>=0 and ma(CLOSE,20)>REF(ma(CLOSE,20),1) and ma(CLOSE,60)>REF(ma(CLOSE,60),1) and ma(CLOSE,120)>REF(ma(CLOSE,120),1),CLOSE,OPEN,0.6,0),Color68B8FF;Z1:MA(CLOSE,5),COLORYELLOW,;Z2:MA(CLOSE,55){,ColorFF8080},Color00FF00,LINETHICK2;玄黄吉星XF: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2);V AR2:=MA(CLOSE,80)-MA(CLOSE,13)/3;神奇趋势线:=MA((CLOSE-V AR2)/V AR2,1);狙击:DRAWTEXT(CROSS(神奇趋势线,0) AND LOW/REF(HIGH,1)<1.012,LOW,'狙击'),COLORYELLOW;盈利临界: DRAWTEXT(COUNT(神奇趋势线>REF(神奇趋势线,1),3)=3 AND COUNT(神奇趋势线<0,10)=10 AND REF(神奇趋势线,3)=LLV(神奇趋势线,10),LOW,'盈利临界'),COLORYELLOW;参与: DRAWTEXT(REF(神奇趋势线,2)=LLV(神奇趋势线,20) AND REF(神奇趋势线,2)<0.071 AND REF(神奇趋势线,2)<REF(神奇趋势线,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),LOW,'参与'),COLORYELLOW;DRAWICON(CROSS(EMA(CLOSE,8),EMA(EMA(CLOSE,8),20)) AND EMA(CLOSE,8)<MA(CLOSE,120),LOW,1),COLORRED;DRAWTEXT((WINNER(CLOSE)-WINNER(OPEN))*100>=17 AND VOL/CAPITAL*100<=2,LOW,'无量长阳,谨慎'),COLORWHITE;V AR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;V AR21:=SMA(VAR1,20,1);V AR3:=SMA(V AR21,15,1);V AR4:=100-3*VAR21+2*V AR3;V AR5:=(3*VAR21+2*V AR3)/4;V AR6:=ABS(ABS(V AR5)-ABS(V AR4));V AR7:=ABS(ABS(V AR5)-ABS(V AR6));阴跌区域:=V AR4-V AR7;见顶区域:=阴跌区域<0;均衡:=V AR5-V AR7;DRAWTEXT(CROSS(阴跌区域,均衡),LOW,'阴跌延续'),COLORGREEN;DRAWTEXT(CROSS(阴跌区域,-0.1),LOW,'见顶回落'),COLORWHITE;STICKLINE(C>=O,C,H,0.1,0),COLORRED;TTZF:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100 {AND TTZF>=ZF};STICKLINE(TTZF>=2.50 ,O ,C ,8,0),COLOR00FFFF;中轨:HHV(MA(H,11),15),COLORRED;趋势:LLV(MA(H,11),1),COLORGREEN;三合成RSI6:SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100,colorwhite;DIFF:=EMA(C,5)-EMA(C,20);DEA:=EMA(DIFF,10);MACD:800*(DIFF-DEA)/EMA(C,30),colorSTICK,linethick3;RSV:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;K20:SMA(RSV,5,1),COLORyellow;D20:SMA(K20,5,1),COLORFF00ff;20;50;80;DRAWICON(count(c>ref(c,1),5)=5,h*1.01,3);DRAWICON(count(c<ref(c,1),5)=5,l*0.995,1);机构能量做多能量线: SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3;做空能量线: SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3; 20,pointdot,colorf00ff0;50,pointdot,colorgreen;80,pointdot,colorwhite;短线之星Var1:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));Var2:=100-90*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20));Var3:=100-MA(100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6)),28);买入信号: IF(Var2<MA(Var3,6),MA(Var3,6),Var2),colorred ;卖出信号: IF(Var1>MA(Var3,6),MA(Var3,6),Var1),colorgreen ;强弱线: MA(Var3,6),coloryellow ,linethick2 ;极品逃顶V AR2:=LLV(LOW,10);V AR3:=HHV(HIGH,25);阶段卖出: 3.2,COLORC6C600;3.5,COLOR0088FF;清仓卖出: 3.5,COLORFF75FF;动力线:= EMA((CLOSE-V AR2)/(V AR3-V AR2)*4,4);STICKLINE(动力线>REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLORRED; STICKLINE(动力线<=REF(动力线,1) ,动力线,REF(动力线,1),3 ,1),COLOR00FF00; 底部:0.2,COLOR70DB93;关注:0.5,COLORYELLOW;DRAWICON( FILTER(CROSS(动力线,关注),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(清仓卖出,动力线),20),动力线+0.02,2); DRAWICON( FILTER(CROSS(动力线,底部),20),动力线+0.02 ,1);DRAWICON( FILTER(CROSS(阶段卖出,动力线),20),动力线+0.02,2);强弱分界线:1.75,POINTDOT,LINETHICK2,COLOR70DB93;数值:动力线,COLORA8A8A8;超级逃顶Var2:=llv(low,10);var3:=hhv(high,25);3.5,color0088ff;清仓卖出: 3.5;动力线:= ema((close-var2)/(var3-var2)*4,4);stickline(动力线>ref(动力线,1) ,动力线,ref(动力线,1),8 ,1),colorred;stickline(动力线<=ref(动力线,1) ,动力线,ref(动力线,1),8 ,1),colorgreen;底部介入:0.2,colorgreen;重点关注:0.5, coloryellow;drawicon( filter(cross(动力线,重点关注),20),动力线+0.02 ,1);drawicon( filter(cross(清仓卖出,动力线),20),动力线+0.02,2);drawicon( filter(cross(动力线,底部介入),20),动力线+0.02 ,1);drawicon( filter(cross(JDMC,动力线),20),动力线+0.02,2);强弱分界线:1.75,pointdot,linethick2,colordddddd;抄底逃顶趋势: 5*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW ,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,2 7)-LLV(LOW,27))*100,5,1),3,1),2,1),LINETHICK0,COLOR7F52AF;趋势1: EMA(MA(趋势,5),3),LINETHICK0,COLORA6B8C1;STICKLINE(趋势>=趋势1,趋势,趋势1,5,0),COLOR7F52AF;STICKLINE(趋势<趋势1,趋势,趋势1,5,0),COLORA6B8C1;STICKLINE(趋势>108 AND 趋势>=趋势1,趋势,108,5,0),COLORFF0000;STICKLINE(趋势1>108 AND 趋势<趋势1,趋势1,108,5,0),COLORFFFFFF;STICKLINE(趋势<0 AND 趋势<趋势1,趋势,0,5,0),COLORF00FF0;STICKLINE(趋势1<0 AND 趋势>趋势1,趋势1,0,5,0),COLORF0F000;V1:= MA(CLOSE,5)=HHV(MA(CLOSE,5),20);V2:= MA(CLOSE,5)>MA(CLOSE,20);V3:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;风险: IF(V1 AND V2 AND V3,30,0),LINETHICK0,STICK,COLOR00FF00;V11:= MA(CLOSE,5)=HHV(MA(CLOSE,5),120);V21:= MA(CLOSE,5)>MA(CLOSE,120);V31:= COUNT(MA(CLOSE,1)>REF(CLOSE,1),3)=3;风险1: IF(V11 AND V21 AND V31,60,0),LINETHICK0,STICK,COLORF0F000;底部: 5,LINETHICK0,COLOR00FFFF;抄底: IF(CROSS(趋势,底部),60,0),LINETHICK2,STICK,COLOR00FFFF;DRAWTEXT(抄底,50,'抄底'),COLOR0000FF;天线: 108,LINETHICK0,COLORFF9D00;逃顶: IF(CROSS(天线,趋势),1,0),LINETHICK0,STICK,COLORFF9D00;STICKLINE(CROSS(天线,趋势),90,108,3,0),COLORFF9D00;DRAWTEXT(CROSS(天线,趋势),85,'逃顶'),COLORFF9D00;金牌黑马A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))黑马线:EMA(A1,5),LINETHICK2,COLOR6600FF;A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A3:=EMA(C,5);A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趋势线:(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;DRAWTEXT(FILTER(REF(黑马线,1)>90 AND A2<0,7),黑马线,'跑'),COLOR00FF00;DRAWTEXT(CROSS(A1,黑马线)AND 黑马线<A5,黑马线,'黑马');DRAWTEXT(CROSS(黑马线,A5)AND 趋势线<80,黑马线,'追涨');DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,5,'大黑马');底部:(A2<-10 AND A2>REF(A2,1))*25,COLORRED;DRAWICON(底部AND A3>REF(A3,1),25,4);机会来临:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0; 大势已去:IF(CROSS(黑马线,A1)AND 黑马线>70 AND 趋势线>80,90,100),COLORFF0000;中短长线90,COLOR9966FF,LINETHICK2;80,COLOR996699;20,COLORGREEN;10,COLORCC6633,LINETHICK2;长期线:MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19)+100,color9900FF;短期线:-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14))+100,color888888;中期线:EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4)+100,coloryellow,linethick2;见顶:(ref(中期线,1)>85 and ref(短期线,1)>85 and ref(长期线,1)>65) and cross(长期线,短期线) ;顶部区域:(中期线<ref(中期线,1) and ref(中期线,1)>80) and (ref(短期线,1)>95 or ref(短期线,2)>95 ) and 长期线>60 and 短期线<83.5and 短期线<中期线and 短期线<长期线+4;顶部:=filter(顶部区域,4);底部区域:(长期线<12 and 中期线<8 and (短期线<7.2 or ref(短期线,1)<5) and (中期线>ref(中期线,1) or 短期线>ref(短期线,1)))or (长期线<8 and 中期线<7 and 短期线<15 and 短期线>ref(短期线,1)) or (长期线<10 and 中期线<7 and 短期线<1) ;stickline( 顶部,99,103,20,1 ),colorred,linethick2;stickline( 底部区域,-4,0,22,0 ),colorgreen;低位金叉:长期线<15 and ref(长期线,1)<15 and 中期线<18 and 短期线>ref(短期线,1) and cross(短期线,长期线) and 短期线>中期线and (ref(短期线,1)<5 or ref(短期线,2)<5 ) and (中期线>=长期线or ref( 短期线,1)<1 );stickline( 低位金叉,0,5,11,0 ),colorred;仓位增减(主图)。

大智慧指标公式集

大智慧指标公式集

大智慧指标公式集一、预测明天{预测明天-大智慧公式}E:=(H+L+O+2*C)/5;次日突破价:E+(H-L);次日阻力价:2*E-L;次日支撑价:2*E-H;次日下跌反转价:E-(H-L);次日心理价:(E+次日突破价+次日阻力价+次日支撑价+次日下跌反转价)/5;DIFF1:=EMA(C,3)-EMA(C,13);DEA1:=EMA(DIFF1,9);MACD1:=2*(DIFF1-DEA1)*10;DIFF2:=EMA(C,5)-EMA(C,21);DEA2:=MA(DIFF2,9);MACD2:=2*(DIFF2-DEA2)*10;DIFF3:=EMA(C,5)-EMA(C,89);DEA3:=EMA(DIFF3,21);MACD3:=2*(DIFF3-DEA3)*10;STICKLINE(C>0,0,22,6,0),Color8BA400;STICKLINE(C>0,0,10,6,0),Color8BA411;STICKLINE(C>0,0,9.5,6,0),Color8BA422;STICKLINE(C>0,0,9,6,0),Color8BA433;STICKLINE(C>0,0,8.5,6,0),Color8BA444;STICKLINE(C>0,0,8,6,0),Color8BA455;STICKLINE(C>0,0,7.5,6,0),Color8BA466;STICKLINE(C>0,0,7,10,0),Color8BA477;STICKLINE(C>0,0,6.5,6,0),Color8BA488;STICKLINE(C>0,0,6,6,0),Color8BA499;STICKLINE(C>0,0,5.5,6,0),Color8BA4aa;STICKLINE(C>0,0,5,6,0),Color8BA4cc;STICKLINE(C>0,0,4,6,0),Color8BA4ee;STICKLINE(C>0,0,3,6,0),Color8BA4ff;STICKLINE(C>0,0,-15,6,0),Color8BA433;STICKLINE(C>0,0,-10,6,0),Color8BA444;STICKLINE(C>0,0,-5,6,0),Color8BA455;STICKLINE(C>0,0,-1,6,0),Color8BA466;STICKLINE(macd3>=0,0,macd3,8,0),color009e3a;STICKLINE(macd3<0,0,-macd3,8,0),color646464;STICKLINE(macd2>=0,0,macd2,8,0),color007d19;STICKLINE(macd2<0,0,-macd2,8,0),color555555;STICKLINE(macd1>=0,0,macd1,8,0),color006400;STICKLINE(macd1<0,0,-macd1,8,0),color414141;STICKLINE(macd3,0,-abs(macd3)*0.6,8,0),color232323;STICKLINE(macd1,0,-abs(macd1)*0.6,8,0),color0f0f0f;x1:=MA(LLV(C,8)*1.1,13);x2:=MA(HHV(C,21)*0.9,13);x3:=MA(LLV(INDEXC,8)*1.1,13);x4:=MA(HHV(INDEXC,21)*0.9,13);资金进出:=3*(MA(C,1)-(x1+x2)/2-(x1+x2)/2*((x3+x4)/2-EMA(INDEXC,3))/((x3+x4) /2));STICKLINE(资金进出<0,资金进出,0,0.5,0),COLORFFFF00;STICKLINE(资金进出>=0,资金进出,0,0.5,0),ColorFF8BFF;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);DRAWTEXT(K<23,-10,'ャ'),ColorDBDBDB;DRAWTEXT(K<23,-10,'︼'),Color688EC1;DRAWTEXT(K<23 AND CROSS(K,D),8,'$'),COLORRED,LINETHICK7; DRAWTEXT(CROSS(MACD3,MACD2) andMACD3>ref(MACD3,1),MACD3+2,'$'),COLORRED,LINETHICK7;MA20:=MA(C,20);MA40:=MA(C,40);MA60:=MA(C,60);aa:=BARSLAST(ma60>ma40 and (ma40=ma20 or ma40>ma20));bb:=ref(count(c<ma60,aa)=aa,1);cc:=cross(c,ma60) and vol>ma(vol,5) and (c-ref(c,1))/ref(c,1)*100>3; 芙蓉出水:=bb and cc,color00ff00;drawtext(芙蓉出水,8,'$'),COLORRED;k2:=EMA(c,5),colorffff00;k3:=EMA(c,10),colorffff00;k5:=EMA(c,30),colorffff00;kk5:=EMA(indexc,30),colorffff00;k6:=2*(k2-k5);k7:=2*(k2-k3);k8:=2*(k7+k6),COLORRED;STICKLINE(CROSS(k8,0),0,50,8,0) ,COLORRED;k1:=IF(k8>ref(k8,5) and k3<ref(k3,5) ,1,0 ),COLORYELLOW;k21:=IF(k8>ref(k8,7) and k3<ref(k3,7) ,1,0 ),COLORYELLOW;k31:=IF(k8>ref(k8,9) and k3<ref(k3,9) ,1,0 ),COLORYELLOW;k4:=IF(k8>ref(k8,11) and k3<ref(k3,11) ,1,0 ),COLORYELLOW;nday := 3;down := close/llv(low,60)<=1.2;pma1 := ma(close,2);pma2 := ma(close,5);diff :=ema(close,12) - ema(close,26),colorwhite;dea :=ema(diff,9),colorgreen;vma1:=ma (vol,2)/100000,colorred;vma2:=ma(vol,5)/100000,coloryellow;ppday := barslast(cross(pma1,pma2));vvday := barslast(cross(vma1,vma2));macdday := barslast(cross(diff,dea));A1:=BARSLAST(ref(cross("macd.diff"(5,12,9),"macd.dea"(5,12,9)),1)); 背离、W底、金叉:=ref(c,A1+1)>c andref("macd.diff"(5,12,9),A1+1)<"macd.diff"(5,12,9) andcross("macd.diff"(5,12,9),"macd.dea"(5,12,9)),,colorred;sjcjd:= if((ppday<=nday and vvday<=nday and macdday<=nday ) and (diff<0),1,0);STICKLINE(sjcjd,50,60,6,0),colorwhite,linethick2;MACD:= 2*(diff-dea), COLORSTICK;短趋势:=((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) -50)*1.032+50),COLORRED;Vara2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Vara3:=LLV(LOW,34);Vara4:=HHV(HIGH,34);长趋势:=EMA((Vara2-Vara3)/(Vara4-Vara3)*100,13),color00ff00;判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; Vara5:=CROSS(短趋势,长趋势)AND 长趋势<25;Vara6:=CROSS(短趋势,长趋势)AND 长趋势<50;STICKLINE(Vara5,60,70,8,0) ,colorgreen;XX:=((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100)* 5);B001:=(((((CLOSE - MA(CLOSE,42)) / MA(CLOSE,42)) ) * 100) * 5);B002:=(((((CLOSE - MA(CLOSE,67)) / MA(CLOSE,67)) ) * 100) * 5);B003:=(((XX + B001) / 2) - (B002 ));B004:=(((0 - 100) * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) -LLV(LOW,34)));B005:=(((0 - 100) * (HHV(HIGH,42) - CLOSE)) / (HHV(HIGH,42) -LLV(LOW,42)));B006:=(((0 - 100) * (HHV(HIGH,72) - CLOSE)) / (HHV(HIGH,72) -LLV(LOW,72)));B007:=EMA((((B004 + B005) / 2) - B006),6);B008:=REF(CLOSE,1);B009:=((((SMA(MAX((CLOSE - B008),0),19,1) / SMA(ABS((CLOSE - B008)),19,1)) * 100) - 50) * 1.25);B010:=((((SMA(MAX((CLOSE - B008),0),34,1) / SMA(ABS((CLOSE - B008)),34,1)) * 100) - 50) * 1.25);B011:=((((SMA(MAX((CLOSE - B008),0),72,1) / SMA(ABS((CLOSE - B008)),72,1)) * 100) - 50) * 1.25);B012:=EMA(((((B009 + B010) / 2) - B011) * 5),6);B013:=((((0 - 1) * ((B007 + B003) + B012)) / 3) * 1.5);B014:=B012;B015:=B013;B016:=EMA(B012,4);B017:=B012;KKM1:=B013;DPM1:=EMA(B013,4);多头:=B017,color0000FF;空头:=KKM1,color00FF00;多均:=B016;空均:=DPM1;B018:=IF(CROSS(B017,KKM1),28,0);xd:=5 ;VARX:=B017;C023:=KKM1;C024:=B016;C025:=DPM1;C026:=WINNER(CLOSE);W:=(DMA(C026,((VOL / CAPITAL) * 1)) * 100);HWXWINNER:=W;XD1:=EMA(W,6);XWXMH:=XD1;XD2:=MA(W,14);庄家控盘:=((HWXWINNER - XWXMH) * 10),COLORff00ff,LINETHICK2; STICKLINE(cross(多头,空均),80,70,8,0) ,COLORYELLOW;Varb1:=(2*CLOSE+HIGH+LOW)/4;Varb2:=LLV(LOW,34);Varb3:=HHV(HIGH,34);Varb4:=ma(HIGH,8);xx1:=EMA((Varb1-Varb2)/(Varb3-Varb2)*100,13);yy:=EMA(0.667*REF(xx1,1)+0.333*xx1,2) , ;STICKLINE(CROSS(xx1,20) AND yy<xx1 andVarb4>ref(Varb4,1),80,90,6,0),COLORFF0000;逃顶:=IF(FILTER(CROSS(YY,XX) AND xx>80 ,3),60,90),COLOR53ff53; {Re:预测明天-用法简介用法简介:一:小船出现是在股价相对的底部,$是参考买点,青山出现表示股价逐渐走强.当黑色大山出现时表示股价逐渐走弱.二:1 红柱线是中线指示2 其余四色柱线是短线指示3连续发出三个以上短线指示,可以短线买入.4连续发出三个以上短线指示后,发出中线指示,可以重仓买入.一年中线重仓买入,一般不会超过4次.三:1、次日上升突破价位:如明日此价位最高价超过此价位,则有上升行情产生,可当日买入,或观察近几日可逢低吸纳。

大智慧选股公式大集合

大智慧选股公式大集合

100;大智慧选股公式大集合简单的选股指标公式1,30 个交易日内,股价跌幅达到一半的股票xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是 5 天平均的 2 倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)ema(c,5);6,请编买入公式: 1. 将BIAS 指标的参数设置为24 日,将KD 指标的参数设置为9;3;3。

2. BIAS 指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD 交叉同时,KD 指标中的 D 值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colo rff00ff; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS31.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100; 9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20 日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11 ,一根大阳线, 至少有 5 个点以上,再连着出现二根振幅不大于 5 的十字星或是小K xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13, kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价 4 天中有两天在10 日线上count(c>ma(c,10),4)=2;15,选出10 天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count( 今涨停,n);16,一阳上穿10,20,30日线,量能是前一天 3 倍。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

大智慧选股公式大集合简单的选股指标公式1,30个交易日内,股价跌幅达到一半的股票:xg:(hhv(c,30)-c)/hhv(c,30)>0.5;2,今天的量是5天平均的2倍以上xg:v>ma(v,5)*2;缩量vol/ma(vol,10)ema(c,5);6,请编买入公式:1. 将BIAS指标的参数设置为24日,将KD指标的参数设置为9;3;3。

2. BIAS指标要小于-6,这只是确认该股超跌的初选条件。

3. KD指标产生黄金交叉,K线上穿D线。

4. KD交叉同时,KD指标中的D值要小于16。

BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colo rff00ff;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;xg:BIAS31.07;8,个股分时图上都有一条黄线,叫做均价线a/capital*100;9,"阴转阳"的公式(也就是昨天收阴线,今天收阳线)xg:ref(c,1)o;10,股价回抽20日均线选股公式xg:ref(c,1)>ma(c,20) and cross(ma(c,20),c);11,一根大阳线,至少有5个点以上,再连着出现二根振幅不大于5的十字星或是小K线xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2; 12,行情信息里的“涨幅”的原码(c-ref(c,1))/c*100;13,kdj的J从上向下穿越O轴发出信号RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;xg:cross(0,j);14,股价4天中有两天在10日线上count(c>ma(c,10),4)=2;15,选出10天内出现了涨停的个股count(c/ref(c,1)>1.1,10)>0;又:今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,n);16,一阳上穿10,20,30日线,量能是前一天3倍。

xg:cross(c,ma(c,10)) and cross(c,ma(c,20)) and cross(c,ma(c,30)) andv>ref(v,1)*3;17,共三根K线,第一根K线为阴线;第二根K线为阴线线,最高价低于第一根K线,最低价高于第一根K线;第三根K线阴阳不限,最高价低于第二根K线,最低价高于第二根K线。

满足后发出信号~w1:=ref(c,2)ref(v,1)*1.1;19,连续5天,当日的5日均线减前一天的5日均线差值小于1.count((ma(c,5)-ref(ma(c,5),1))1 andAMOUNT/CAPITAL*100>2;24,换手:VOL*100/CAPITAL;周期换手:SUM(换手,10);25,流通盘小于4000万的选股公式xg:CAPITAL/100ref(ma(c,5),1);xg:lt and 换手and w1;29,收下影线xg:c>l;30,o=l就没有下引线了,那就:xg:c>l and o>l;31,当日收盘下穿5日均价xg:cross(ma(c,5),c);32,最低价小于前一日的最低价但收盘后为阳线。

xg:lo;33,30日内到本日收盘价下跌20%的公式xg:hhv(c,30)/c>1.2;34,选周线跳空缺口的个股。

xg:HIGH(h-c);38,收盘价+收盘价的10%(c+c*0.1);39,今天高开的公式c>o;40,今天的量大于等于昨天量的2倍,股价上涨xg:v>ref(v,1)*2 and c>ref(c,1);41,今天的量小于昨天量的2倍以上,股价上涨xg:vref(c,1);42,31天均线向上的股xg:ma(c,30)>ref(ma(c,20),1);43升降幅在-n%----n%之间w1:abs(ref(c,1)-ref(c,2))/ref(c,2)*10044,换手率10天30%以上的选股公式sum(VOL/CAPITAL*100,10)>30;45,60个交易日内,涨幅大于9.9%(涨停)的天数count(c/ref(c,1)>1.099,60);46,昨天跌幅大于3%,今天开盘高开2%以上的选股公式。

xg:ref(c,1)/ref(c,2)1.02;47,选出周换手率小于10%的股票sum(VOL/CAPITAL*100,5)0" 的指标DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);xg:macd=ref(macd,1) and macd>051,连续2天收盘价跌破30日均线,就显示"卖出"信号a1:count(co,3)=3;54,n天内曾经有m个涨停count(c/ref(c,1)>1.09,n)>m;55,股价比昨天的高,量比昨天小,放量。

xg:c>ref(c,1) and vref(v,2)*2;56,连续3天每天的最低价都比前一天高count(l>ref(c,1),3)=3;57,周量缩小50%或40%或n%a1:vol/capital*100;xg:a1/ref(a1,1)1.15;59,连收两个十字星的选股公式count(abs((c-o)/oma(c,5),8)=8;62,振幅大于5%,收盘价大于3.5小于15元,三日均线大于昨日的三日均线,去掉ST股。

a1:=h/l>1.05;a2:=c>3.5 and cref(c,1) and abs((h-c)/c)O ANDREF(C,1)ref(ma(c,250),1);68,历史高点到前一高点画线POLYLINE(h>=hhv(c,0),h);69,均线中增加一根线,这根线的价格是5日线的1.2倍aa:ma(c,5)*1.2;70,20天均线向上的股xg:ma(c,20)>ref(ma(c,20),1);71,连续3天收盘全是阴线。

count(c8;75,一条均线18MA 股价上涨后“缩量”回调到18MA XG:COUNT(VMA(C,18);N “缩量”回调的天数76,1。

昨日量是n天以来最低量,(n可调);2。

今日量是昨日量的m倍,(m可调);3。

今日k线收阳线;xg:ref(v,1)=llv(ref(v,1),n) and v>ref(v,1)*m and c>o;77,第一天收阴,第二天,第三天,第四天,收出红三兵XG:REF(C,3)O,3)=3;78,月k线十字星收盘并且5月线拐点向上。

XG:ABS(C-O)/OREF(MA(C,5),1);用月线选股79,最近3天(包括昨天.前天)股价突破250日均线COUNT(C>MA(C,250),3)=3;80,跳高大阴线,条件: 1 开盘跳空4%以上2 大阴线实体6%以上.O/REF(C,1)>1.04 AND C/REF(C,1)1.07 and ref(c,3)=hhv(c,20) and count(abs((c-ref(c,1))/ref(c,1)60;也可以这样:X:(ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.14115 926)>60;利用指标排序:X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);84,“中阴之后,跳拉阳”c/ref(c,1)>1.05;85,count(x,n) 意思是n天内出现过信号的,假设n=10,那么就是10天内出现信号(包括今天),如果不加这个的话,就是限定在今天出信号才选出来,以前的不管。

86,今天涨停的公式C/REF(C,1)>1.09;87,10日内有涨停的公式今涨停:=C/REF(C,1)>1.09;选股:count(今涨停,10);88,昨日前日涨停的REF(C,1)/REF(C,2)>1.095;89,近5日K线最高价和最低价格波动在10%以内,成交量是昨日2倍,收盘涨5%XG:(HHV(C,5)-LLV(C,5))/LLV(C,5)REF(V,1)*2 ANDC/REF(C,1)>1.05;90,60与120均线距离在n%内XG:ABS((MA(C,60)-MA(C,120))/MA(C,120))0.1,date-100000 0,c);93,涨幅≤2%(c-ref(c,1)/ref(c,1)*100<2;94,5日,10日,30日贴近公式,越贴越好m1:=ma(close,5);m2:=ma(close,10);m3:=ma(close,20);m4:=ma(close,30);y1:=max(max(max(m1,m2),m3),m4);x1:=min(min(min(m1,m2),m3),m4);黏合:y1/x1=n;96, 30天线拐头向上出现提示ma(c,30)>ref(ma(c,30),1);97,今天的换手率大于前天的一倍以上w1:=v*100/capital;w1>ref(w1,2)*2;98,K线沿着5日均线往上爬的选股公式w1:ma(c,5);w2:abc(c-w1)/w1N AND(HHV(CLOSE,N)-LLV(CLOSE,N))/LLV(CLOSE,N)<=(N1/10 0);N整理时间,N1整理幅度101,选出当日收盘价突破10日均线5%的个股cross(c,ma(c,10)*1.05);102,选出当日最低价在10日均线上下0.05%内,收盘价在均线上方的个股abs(l-ma(c,10))ma(c,10);103,第一天股票涨停,第二天成交量是第一天成交量的1倍,并超过10%.那第三天就是买点w1:=ref(c,2)/ref(c,3)>1.1;w2:=ref(v,1)/ref(v,2)>2;xg:w1 and w2;104,放量2倍突破300日线的选股指标cross(c,ma(c,300)) and v>ref(v,1)*2;105,3日均线上穿10日均线,KDJ有效金叉RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))* 100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;w1:=cross(ma(c,3),ma(c,10));xg:w1 and cross(k,d);106,30日均线拐头向上ma(c,30)>ref(ma(c,30),1);107,连续3-5天,每天的收盘价涨跌幅不超过1%.w1:abs(c-o)=3;108,K线收十字星abs(c-o)/o=2;110,昨天升降幅在-n%----n%之间w1:abs(ref(c,1)-ref(c,2))/ref(c,2)*100ref(ma(c,60),1);113, 股价回调到14日均线的选股abs(c-ma(c,14))/ma(c,14)ref(macd,1) and ref(macd,1)w1*3.5; 119,股价N天内连续沿着5天线走,且每天收盘价与5天线的距离不超过2%的选股公式w1:=abs(c-ma(c,5))/ma(c,5)OPEN;COUNT(UP,N)=N;124,{5日内第二大量}zdl:=hhv(v,5);v0:=IF(v>=zdl,0,v);v1:=IF(ref(v,1)>=zdl,0,ref(v,1));v2:=IF(ref(v,2)>=zdl,0,ref(v,2));v3:=IF(ref(v,3)>=zdl,0,ref(v,3));v4:=IF(ref(v,4)>=zdl,0,ref(v,4));第二大量:MAX(MAX(MAX(MAX(v0,v1),v2),v3),v4); DRAWTEXTABS( 0,10 ,第一大量+ zdl+ 第二大量+第二大量);同理可求出第三大、第四大和最小量.实行简单的排列.这个公式好比是一件完整产品中的一个零部件,解决了一个思路问题.125,{5日均线倾角大于60度}X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1411592 6)>60;。

相关文档
最新文档