大智慧炒股公式集锦 紫涨绿卖 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+MACD DRAWGBK(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,153,153)); PARTLINE(DEAA,DEA>0,RGB(65,105,225),DEA<0,RGB(65,105,225)); 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 and diff>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 AND COUNT(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) AND open<=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 AND MACD<=(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 AND DIFF>0 AND ma10-REF(ma10,1)>0 AND VOL>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 AND COUNT(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) AND NOT(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); 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 Var14 OR Var15 OR Var16 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 OR VarB 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 AND COUNT(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) OR REF(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.5 AND 短期线<中期线 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 ),COLOR0099FF,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(CLOSE,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(MTM),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) AND CROSS(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 AND CROSS(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) AND MMC>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 AND COUNT(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 AND COUNT(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(CLOSE,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 and var108>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 and llv(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); Var6:=HHV(Var4,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); Vur7:=EMA(Vur5,2); Vur8:=EMA(Vur7,3); VurS:=EMA(Vur7,8); Vur9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1); VurA:=2.5*MAX(Vur1,Vur9); VurB:=DMA(INDEXC,VurA); VurC:=EMA(20*(VurB/REF(VurB,1)-1),1)*38; VurD:=EMA(VurC,2); VurE:=EMA(VurC,2); D强:STICKLINE(VurD>0,0,VurD,6.5,1),colorB210E4; D弱:STICKLINE(VurD<0,0,VurD,6.5,1),colorFFA6A6; 极强:STICKLINE(Vur5>0,0,Vur5,6.5,0),COLORYELLOW; 强势:STICKLINE(Vur6>0,0,Vur6,6.5,0),COLORRED; 极弱:STICKLINE(Vur5<0,0,Vur5,6.5,0),color10D010; 弱势:STICKLINE(Vur6<0,0,Vur6,6.5,0),colorE4E410; DX:VurE,color1088FF,LINETHICK2; 界:VurS,color6CBC10,LINETHICK2; 控:Vur8,colorFF10FF; 指:Vur7,color10E4E4; 资金进场好公式 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); Var6:=HHV(Var4,34); Var7:=IF(LLV(LOW,56),1,0); Var8:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7; Var9:=EMA(CLOSE,5); Var10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(10); Var11:=EMA(IF(LOW<=Var5,(Var4+Var6*2)/2,0),3)/618*Var7*(-1); 主力持仓:LOW,colorFF10FF,linethick0; 增减力度:Var10*5,colorWHITE; 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,Var8*3,4,0),Color006EFF; DRAWTEXT(XL3,Var8*2,'买'),Color006EFF; ↑买:DRAWICON(XL3,Var8*3,4),COLORRED; 增仓:IF(Var9<REF(Var9,1),Var9*0.2,0),color1010FF,linethick0; STICKLINE(Var8>REF(Var8,1),0,Var8,4,1),color10FFFF,linethick0; 主力进场:IF(Var8>REF(Var8,1),Var8*8,0),color10FFFF,linethick0; STICKLINE(Var11>REF(Var11,1),0,Var11,4,1),colorFFF810; 洗盘:IF(Var11>REF(Var11,1),Var11*8,0),colorFFF810,linethick0; BS买卖 DRAWGBK(c,'7' ); Var3:=LLV(H,240); Var4:=100*(C-Var3)/Var3; 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:=Var8<20 AND Var9<23 AND VarA>35; VarC:=VarB AND COUNT(VarB,1)=1; VarD:=EMA(C,21)-EMA(C,8); VarE:=EMA(VarD,5); VarF:=TROUGH(3,6,1)<4 AND CROSS(VarD,VarE); 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(Var19,100); Var1B:=2*(Var19-Var1A); Var1C:=POW(Var1B,3)*0.1+POW(Var1B,1); Var1D:=SQRT(SQRT(L*H*O*C)); Var1E:=EMA(Var1D*0.97,3); Var1F:=(H+L+C)/3; Var20:=(Var1F-MA(Var1F,14))/(0.015*AVEDEV(Var1F,14)); Var21:=CROSS(Var1E,L); 买点1:=Var10; 买点2:=(Var11+Var13+Var15+Var17); 卖点1:=(Var12+Var14+Var16+Var18); Var22:=买点1 AND VarF AND VarC AND Var21 AND Var4<0AND Var5=0 AND Var6=0 AND Var20<(-110); DRAWTEXT(买点1>0,L-0.15,'B'),LINETHICK4,ALIGN1,colorred; DRAWTEXT(买点2>0,L-0.15,'B'),LINETHICK4,ALIGN1,COLORFF00FF; DRAWTEXT(卖点1>0,H+0.35,'S'),LINETHICK4,ALIGN1,COLOR33FF33; 江恩轮--大智慧副图指标
底部注意:白色出现 低位转强:黄色出现 买点: 红色出现 坚定持股:保持红色 谨慎观望:紫色出现 果断持币:蓝色出现 特别要注意轮的交叉和穿越 VarA:=BARSCOUNT(CLOSE)*3.142/180; A2: SIN(VarA*8)*100,linethick2; A3: COS(VarA*8)*100,linethick2; X1: 0; Var1:=MA(CLOSE,5); Var2:=MA(CLOSE,10); Var3:=MA(CLOSE,20); Var4:=MA(CLOSE,30); Var5:=(Var1+Var2+Var3+Var4)/4; Var6:=(Var5-REF(Var5,5))/REF(Var5,5)*1500; Var7:=(Var5-REF(Var5,5))/REF(Var5,5)*1500; Var8:=EMA(Var6,8); 底部注意: STICKLINE(Var6>REF(Var6,1) AND Var6<0 AND Var6<Var8,Var6,0,5,0); 低位转强: STICKLINE(Var8>REF(Var8,1) AND Var6<0 AND Var6>Var8,Var8,0,5,0),COLORYELLOW; 买点: STICKLINE(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,Var6,Var8,10,0); DRAWICON(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-140,4); DRAWTEXT(FILTER(Var6>REF(Var6,1) AND Var6>0 AND Var8<0,30),-40,'买点'),COLORffffff; 坚定持股: STICKLINE(Var8>REF(Var8,1) AND Var8>0,Var6,0,5,0),COLORred; 谨慎观望: STICKLINE(Var6<REF(Var6,1) AND Var8>REF(Var8,1) AND Var6>0,Var6,Var8,10,0); 果断持币: STICKLINE(Var6<REF(Var6,1) AND Var6<Var8,Var6,Var8,5,1),COLORffff00; |
|