【股票指标公式下载】-【大智慧】高手划线(高点、低点)

合集下载

【股票指标公式下载】-【大智慧】看底趋势(短趋势、长趋势、判断底)

【股票指标公式下载】-【大智慧】看底趋势(短趋势、长趋势、判断底)

【大智慧】看底趋势(短趋势、长趋势、判断底)-指标公式源码DRAWTEXTABS(30,0,'个股顶底');短趋势:MA(3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1)-2*SMA(SMA((C -LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1),3),coloryellow,LINETH ICK2;Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;Var3:=LLV(LOW,34);Var4:=HHV(HIGH,34);长趋势:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C -LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),colorred,LINETHICK 2;判断底:=SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5; Var5:=CROSS(短趋势,长趋势)AND 长趋势<25;STICKLINE(短趋势<10 AND 判断底>0,0,30,6,0),colorgreen;STICKLINE(Var5,0,50,8,0),colorred;看底:8,coloryellow;顶峰:100,colorgreen;趋势:=3*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-2*S MA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1); 操盘线:=SMA(趋势,3,1);DRAWLINE( 趋势>=90,顶峰,趋势<90,顶峰 ,0 ),colorred;STICKLINE(CROSS(看底,趋势),0 ,30 ,6 ,0 ),colorgreen;a:=短趋势<10 AND 判断底>0;a1:=Var5;;a2:=CROSS(看底,趋势);a3:=CROSS(趋势,看底 );a4:=a+a1+a2+a3;Var6:=EMA(HHV(HIGH,500),21);Var7:=EMA(HHV(HIGH,250),21);Var8:=EMA(HHV(HIGH,90),21);Var9:=EMA(LLV(LOW,500),21);VarA:=EMA(LLV(LOW,250),21);VarB:=EMA(LLV(LOW,90),21);VarC:=EMA((Var9*0.96+VarA*0.96+VarB*0.96+Var6*0.558+Var7*0.558+Var8*0 .558)/6,21);VarD:=EMA((Var9*1.25+VarA*1.23+VarB*1.2+Var6*0.55+Var7*0.55+Var8*0.65 )/6,21);VarE:=EMA((Var9*1.3+VarA*1.3+VarB*1.3+Var6*0.68+Var7*0.68+Var8*0.68)/ 6,21);VarF:=EMA((VarC*3+VarD*2+VarE)/6*1.738,21);Var10:=REF(LOW,1);Var11:=SMA(ABS(LOW-Var10),3,1)/SMA(MAX(LOW-Var10,0),3,1)*100;Var12:=EMA(IF(CLOSE*1.35<=VarF,Var11*10,Var11/10),3);Var13:=LLV(LOW,30);Var14:=HHV(Var12,30);Var15:=IF(MA(CLOSE,58),1,0);Var16:=EMA(IF(LOW<=Var13,(Var12+Var14*2)/2,0),3)/618*Var15;Var17:=IF(Var16>50,50,Var16)/3.82*6;STICKLINE(Var17>0,0,var17/2,6,0),colorf00ff0 ;【大智慧】看底趋势(短趋势、长趋势、判断底)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】主黄金线(最高价、最低价、市场成本、压力)

【股票指标公式下载】-【大智慧】主黄金线(最高价、最低价、市场成本、压力)

【大智慧】主黄金线(最高价、最低价、市场成本、压力)-指标公式源码input:K(1,1,3);T:=BARSLAST(DISPSTATUS=1)+1;A:=DISPSTATUS=2;HH:=HHV(H, T);LL:=LLV(L, T);HL:=HH-LL;wH:=HHVBARS(H, T);wL:=LLVBARS(L, T);KK:=wH-wL;mHL:=HH-HL*0.5;if K=1 then beginHL191:=(HH-LL)*0.191;HL382:=(HH-LL)*0.382;HL618:=(HH-LL)*0.618;HL809: =(HH-LL)*0.809;if KK<0 then begina1:=HH-HL191;a2:=HH-HL382;a3:=HH-HL618;a4:=HH-HL809;end else begina1:=LL+HL191;a2:=LL+HL382;a3:=LL+HL618;a4:=LL+HL809;end endif k=1 then beginHL125:=(HH-LL)*0.125;HL250:=(HH-LL)*0.25;HL375:=(HH-LL)*0.375;HL625:= (HH-LL)*0.625;HL750:=(HH-LL)*0.75;HL875:=(HH-LL)*0.875;if kk<0 then beginb1:=HH-HL125;b2:=HH-HL250;b3:=HH-HL375;b4:=HH-HL625;b5:=HH-HL750;b6:= HH-HL875;end else beginb1:=LL+HL125;b2:=LL+HL250;b3:=LL+HL375;b4:=LL+HL625;b5:=LL+HL750;b6:= LL+HL875;end endDRAWTEXT(A and K<>3,HH, '最高价:'+HH),ALIGN2,ColorFF00FF; DRAWTEXT(A and K<>3,LL, '最低价:'+ll),ALIGN2,VALIGN2,Color00FF00; DRAWTEXT(A and K<>3,mHL,'50%:'+mHL),ALIGN2,ColorFF8000;DRAWTEXT(A and K=1, a1, '0.191:'+NUMTOSTRN(a1,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, a2, '0.382:'+NUMTOSTRN(a2,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, a3, '0.618:'+NUMTOSTRN(a3,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, a4, '0.809:'+NUMTOSTRN(a4,2)),ALIGN2,Color4080FF; DRAWTEXT(A and K=1, b1, '1/8:'+NUMTOSTRN(b1,2)),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b2, '1/4:'+NUMTOSTRN(b2,2)),ALIGN2,ColorC0C0C0;DRAWTEXT(A and K=1, b5, '3/4:'+NUMTOSTRN(b5,2)),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b6, '7/8:'+NUMTOSTRN(b6,2)),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K<>3,HH, ' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,colorred,linethick7;DRAWTEXT(A and K<>3,LL, ' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,colorred,linethick7;DRAWTEXT(A and K<>3,mHL,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,ColorFF8000,linethick7; DRAWTEXT(A and K=1, a1, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0; DRAWTEXT(A and K=1, a2, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0; DRAWTEXT(A and K=1, a3, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0;DRAWTEXT(A and K=1, a4, '﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊﹊'),ALIGN2,color208FFF,linethick0;DRAWTEXT(A and K=1, b1, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b2, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0; DRAWTEXT(A and K=1, b5, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0;DRAWTEXT(A and K=1, b6, '﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),ALIGN2,ColorC0C0C0;市场成本:DMA(AMOUNT/V/100,V/CAPITAL),Color0080FF,LINETHICK1; DRAWICON(CROSS(C,市场成本),L,1),ALIGN1;PT:= REF(HIGH,1)-REF(LOW,1);重心:=(HIGH + LOW + CLOSE)/3;压力Ⅰ:=2*重心-LOW;压力Ⅱ:= 重心 + PT;支撑Ⅰ:=2*重心-HIGH;支撑Ⅱ:= 重心 - PT;DRAWTEXTABS(50,68,' 重心:'+重心),Color208FFF;DRAWTEXTABS(20,87,' 支撑'),Color00FF00;DRAWTEXTABS(20,104,' '+支撑Ⅰ),Color00FF00;DRAWTEXTABS(20,122,' '+支撑Ⅱ),Color00FF00;DRAWTEXTABS(25,87,' 压力'),ColorFF00FF; DRAWTEXTABS(25,104,' '+压力Ⅰ),ColorFF00FF; DRAWTEXTABS(25,122,' '+压力Ⅱ),ColorFF00FF; DRAWTEXTABS(25,65,'│'),Color00FFFF;DRAWTEXTABS(25,77,'│'),Color00FFFF;DRAWTEXTABS(25,89,'│'),Color00FFFF;DRAWTEXTABS(25,101,'│'),Color00FFFF;DRAWTEXTABS(25,113,'│'),Color00FFFF;DRAWTEXTABS(25,125,'│'),Color00FFFF;DRAWTEXTABS(170,65,'│'),Color00FFFF;DRAWTEXTABS(170,77,'│'),Color00FFFF;DRAWTEXTABS(170,89,'│'),Color00FFFF;DRAWTEXTABS(170,101,'│'),Color00FFFF;DRAWTEXTABS(170,113,'│'),Color00FFFF;DRAWTEXTABS(170,125,'│'),Color00FFFF;DRAWTEXTABS(96,85,'│'),Color00FFFF;DRAWTEXTABS(96,89,'│'),Color00FFFF;DRAWTEXTABS(96,101,'│'),Color00FFFF;DRAWTEXTABS(96,113,'│'),Color00FFFF;DRAWTEXTABS(96,125,'│'),Color00FFFF;DRAWTEXTABS(30,60,'──────────'),Color00FFFF;DRAWTEXTABS(30,80,'──────────'),Color00FFFF; DRAWTEXTABS(30,97,'──────────'),Color00FFFF; DRAWTEXTABS(30,114,'──────────'),Color00FFFF; DRAWTEXTABS(30,131,'──────────'),Color00FFFF;G:=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);X:=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);ED:=barslast(G);EF:=barslast(X);DRAWTEXTREL(25,410,'买入:'+NUMTOSTR(ED) +'天'+' 卖出:'+NUMTOSTR(EF) +'天' ),colorFfff00;{K线优化}STICKLINE(close>=open,open,close,8,1),colorred;STICKLINE(open>close,close,open,8,0 ),ColorFFFF00;STICKLINE(close>=open,close,HIGH,0.5 ,0 ),colorred;STICKLINE(close>=open,open,low,0.5 ,0),colorred;STICKLINE(open>close,close,low,0.5 ,0 ),ColorFFFF00;STICKLINE(open>close,open,HIGH,0.5 ,0 ),ColorFFFF00;C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,8,0),Color00FFFF;跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(跌停,OPEN,CLOSE,8,0),ColorFF8000;{粉兰色K线};F:=100*(C-REF(C,1))/REF(C,1);今小昨:=IF(C<REF(O,1) AND f<0,1,0);p1:=今小昨;今小前:=IF(C<REF(O,2) AND f<0,1,0);p2:=今小前;stickline(P1=0 AND REF(P1,1)=1 AND P2=0 ANDREF(P2,1)=1,open,CLOSE,6,0),COLORMAGENTA;stickline(P1=1 AND REF(P1,1)=0 AND P2=1 ANDREF(P2,1)=0,open,CLOSE,3,0),COLORBLUE;DRAWTEXT(G,L*0.997,'△'),ALIGN1,VALIGN0,Color00FF00;DRAWTEXT(G,L,' ̄'),ALIGN1,VALIGN0,Color00ff00;DRAWTEXT(X,H*1.002,'▽'),ALIGN1,VALIGN2,ColorFF00FF;DRAWTEXT(X,H,' ̄'),ALIGN1,VALIGN0,ColorFF00FF;DRAWTEXTREL(130,25,'所属板块:'+BKNAME),COLORFFFFFF;今市上涨家数:=INDEXADV;平盘家数:=DYNAINFO(68);今市下跌家数:=INDEXDEC;DRAWTEXTABS(30,10,'今市上涨:'+今市上涨家数+' 家'),ColorFFFF00,linethick2;DRAWTEXTABS(65,25,'平盘:'+平盘家数+' 家'),ColorFFFF00,linethick2; DRAWTEXTABS(65,40,'下跌:'+NUMTOSTRN(今市下跌家数,0)+' 家'),ColorFFFF00,linethick2;【大智慧】主黄金线(最高价、最低价、市场成本、压力)-指标公式效果图(文档来源:若水财经社区)。

大智慧短期底部指标公式

大智慧短期底部指标公式

大智慧短期底部指标公式RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);K:SMA(RSV,3,1);D:SMA(K,3,1);J:((3 * K) - (2 * D));AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);IF((K > D),K,D),COLORFF00FF;IF((K < D),D,K),COLORFFFF00;IF((J > D),J,D),LINETHICK2,COLOR0000FF;IF((J < D),D,J),LINETHICK2,COLOR00FF00;20,POINTDOT,COLOR00FF00;80,POINTDOT,COLOR00FF00;VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);底部1:IF(VAR6 ,20,0),COLORFFFF00;STICKLINE((CROSS(J,K) AND (底部 1 >= 20)),100,0,2,0),COLORFFFFFF;DRAWICON((CROSS(J,K) AND (底部1 >= 20)),100,1);DRAWTEXT((CROSS(J,K) AND (底部1 >= 20)),98,'全');STICKLINE((VAR6 <= (0 - 15)),80,4.88,2,0);DRAWTEXT((VAR6 <= (0 - 15)),80,'买'),COLORFFFFFF;STICKLINE((VAR6 <= (0 - 15)),80,60,2,0),COLOR0000FF;VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) > 2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17:=1;VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE < VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20 AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE < VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND(VAR58 <= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0);VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);猎鹰出击:IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;MACD:(VAR6 * 5),COLORSTICK,LINETHICK2;STICKLINE((CROSS(K,D) AND (BB10 > 1)),70,0,2,0),COLORCC99FF;DRAWTEXT((CROSS(K,D) AND (BB10 > 1)),64,'短买'),COLOR00FF00;DRAWICON((CROSS(K,D) AND (BB10 > 1)),70,0);底部预警:STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0),COLOR88B7EA;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) / 6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) / 6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21);VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3);VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30);VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART);底部吸筹:STICKLINE((VAR171 > 0),0,VAR171,1,1),COLORFF00FF;STICKLINE(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,0,3,0),COLOR0000FF;DRAWTEXT(((CROSS(K,D) AND ((AA10 - REF(AA10,1)) > 0)) AND (K <= 49)),80,'抄底'),COLOR0000FF;STICKLINE(CROSS(90,J),88,100,2,0),COLOR00FF00;DRAWTEXT(CROSS(90,J),108,'逃'),COLORFFFFFF;STICKLINE(CROSS(J,(0 - 5)),0,10,6,0),COLOR00FF00;DRAWTEXT(CROSS(J,(0 - 5)),(0 - 4),'低吸'),COLOR00FF00;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);全仓出击:=((((COUNT((X31 = 1),4) = 3) AND (X31 = 0)) AND (((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1)) > 0.085)) * 89);STICKLINE(全仓出击>=89,0,100,6,0),COLOR0000FF;DRAWICON((全仓出击 >= 89),全仓出击,1);DRAWTEXT((全仓出击 >= 89),89,'大胆杀入');开始关注:STICKLINE((VAR6 <= (0 - 8)),5,25,7,0);STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,8,0),COLOR000078;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,6,0),COLOR00009D;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 - 7))),0,100,5,0),COLOR0000FF;STICKLINE((CROSS(J,0) AND (VAR6 <= (0 -7))),0,100,2,0),COLOR007AB5;DRAWTEXT((CROSS(J,0) AND (VAR6 <= (0 - 7))),100,'导弹发射'),COLOR0000FF;均5:=MA(CLOSE,4);X7:=EMA(EMA(EMA(HIGH,9),9),9);海底:=(X7 * 0.92);海底2:=(X7 * 0.933);中轨道:=MA(CLOSE,2);DRAWTEXT(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),85,'底部'),COLOR00FFFF;STICKLINE(((CROSS(中轨道,均5) AND (LOW <= 海底)) AND (CLOSE >= 海底2)),0,85,4,0),COLOR00FFFF;。

(整理)大智慧指标公式.

(整理)大智慧指标公式.

REFLINE: 0, ,, , ;Var2:=1/WINNER(CLOSE);Var3:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);STICKLINE(Var2>5,Var3<100,Var2,5,0),;Var4:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Var5:=SMA(Var4,5,1);Var6:=SMA(Var5,9,1);STICKLINE(VOL AND Var6<18,0,V ar2*0.5,5,0),coloryellow;〖觅庄建仓〗:0,coloryellow;5>1/WINNER(CLOSE) AND Var6<18;控盘强弱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;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,34);V3:=EMA(V2,5);V4:=2*(V2-V3)*5.5;庄秘撤: IF(V4<=0,V4,0),COLOR00FF00,LINETHICK2;庄秘进: IF(V4>=0,V4,0),COLORFF00FF,LINETHICK2;V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V6:=EMA(3*V5-2*SMA(V5,18,1),5);V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V8:=(INDEXC*2+INDEXH+INDEXL)/4;V9:=EMA(V8,13)-EMA(V8,34);V A:=EMA(V9,3);VB:=(V9-VA)/2;大筹金进场: IF(VB>=0,VB,0),COLORYELLOW,LINETHICK2;大筹金撤走: IF(VB<=0,VB,0),COLORBLUE,LINETHICK2;aa:=WINNER(CLOSE+CLOSE*15/100)*100;bb:=WINNER(CLOSE+CLOSE*0/100)*100;cc:=aa-bb;dd:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100; ee:=cc<3 and dd<0.5 and OPEN<>LOW;a1:=DYNAINFO(6);a2:=IF(LOW>a1,0,IF(HIGH<a1,1,(a1-LOW+0.01)/(HIGH-LOW+0.01)));a3:=VOL/WINNER(LOW);a4:=REF(HHV(CLOSE,120),1);a5:=REF(LLV(CLOSE,120),1);a6:=100*(CLOSE-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);筹码进场日:IF(a11,8,0),LINETHICK0;STICKLINE(a12,0,15,5,0),colorff00ff;筹码加仓日:IF(a12,88,0),LINETHICK0;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,'筹码进场');DRAWTEXT(a12,17,'筹码加仓');Var1:=REF(LOW,1);Var2:=SMA(ABS(LOW-Var1),13,1)/SMA(MAX(LOW-Var1,0),13,1)*4;Var3:=EMA(Var2,13);Var4:=LLV(LOW,34);Var5:=EMA(IF(LOW<=Var4,Var3,0),3);主力进场:IF(Var5>REF(Var5,1),V AR5,0),COLORred,LINETHICK2;STICKLINE(Var5>REF(Var5,1),0,V ar5,7,0 ),COLORRED;洗盘:IF(V AR5<REF(VAR5,1),V AR5,0),COLORGREEN,LINETHICK2;STICKLINE(V AR5<REF(V AR5,1),0,V AR5,2,1),COLORGREEN;Var6:=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);Var7:=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);Var8:=Var6<REF(Var7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(V ar8 AND COUNT(Var8,30)=1,40,'★有筹码进场');天使报佳音vor03:=EMA(c,3);vor07:=EMA(c,7);vor13:=EMA(c,13);vor21:=EMA(c,21);vor34:=EMA(c,34);vor55:=EMA(c,55);y03:EMA(vor03,3),linethick1,colorred;y07:EMA(vor07,7),linethick1,COLOR0099FF;y13:EMA(vor13,13),linethick1,coloryellow;y21:EMA(vor21,21),linethick1,colorblue;y34:EMA(vor34,34),linethick1,colorcf88ee;y55:EMA(vor55,55),linethick1,colorwhite;vor023:=hhv(y03,3)/hhv(h,3);vor027:=hhv(y07,7)/hhv(h,7);vor213:=hhv(y13,13)/hhv(h,13);vor221:=hhv(y21,21)/hhv(h,21);vor234:=hhv(y34,34)/hhv(h,34);vor255:=hhv(y55,55)/hhv(h,55);vor33:=c*vor023;vor37:=c*vor027;vor313:=c*vor213;vor321:=c*vor221;vor334:=c*vor234;vor355:=c*vor255;vor43:=longcross(vor023,y03+0.1,10);vor47:=longcross(vor027,y07+0.1,10);vor413:=longcross(vor313,y13+0.1,10);vor421:=longcross(vor321,y21+0.1,10);vor434:=longcross(vor334,y21+0.1,10);vor455:=longcross(vor355,y55+0.1,10);DRAWICON(vor413,HIGH*1.235,1);DRAWICON(vor421,HIGH*1.235,1);DRAWICON(vor434,HIGH*1.35,1);DRAWICON(vor455,HIGH*1.46,1);stickline(vor43,if(c>0,llv(y03,22),y03),if(c>0,hhv(y03,22),y03),6,0),colorred;stickline(vor47,if(c>0,llv(y07,33),y07),if(c>0,hhv(y07,33),y07),6,0),COLOR0099FF;stickline(vor413,if(c>0,llv(y13,44),y13),if(c>0,hhv(y13,44),y13),6,0),coloryellow;stickline(vor421,if(c>0,llv(y21,55),y21),if(c>0,hhv(y21,55),y21),6,0),colorblue;stickline(vor434,if(c>0,llv(y34,66),y34),if(c>0,hhv(y34,66),y21),6,0),colorcf88ee;stickline(vor455,if(c>0,llv(y55,88),y55),if(c>0,hhv(y55,88),y21),6,0),colorwhite;资金流量PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),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);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);攻击流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));STICKLINE(((HSL * 0.4) >= 0),((HSL * 0.4) * 1.5),0,1,0),color808080;STICKLINE(((HSL * 0.4) < 0),((HSL * 0.4) * 1.5),0,1,0),color808080;GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);资金流量:LLJX,LINETHICK0,color0000FF;STICKLINE((资金流量> 0),资金流量,0,7,0),color0000FF;STICKLINE((资金流量< 0),资金流量,0,7,0),colorFF0000;流量基线:GJJ,color00FFFF;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);流量增幅:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ)),LINETHICK0;力度:(HSL / 1000),LINETHICK0;周流量:SUM(LLJX,5),LINETHICK0;BB:=REF(周流量,1);ZQZJJ:=(((周流量- BB) / BB) * 100);周增幅:IF(((周流量> 0) AND (BB < 0)),ABS(ZQZJJ),IF((((周流量< 0) AND (BB < 0)) AND (周流量< BB)),(0 - ZQZJJ),ZQZJJ)),LINETHICK0;0,color808080;庄见愁获利线:EMA(WINNER(C)*100,3),colorwhite;庄筹线:EMA(WINNER(C)*70,5),colorred,linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*70,5),coloryellow,linethick2;收:=winner(C)*100;开:=winner(O)*100;博弈K线长:MAX(ABS(收-开),ABS(收-REF(收,1))),pointdot,colorwhite;STICKLINE(庄筹线>散筹线,庄筹线,散筹线,0,0),COLOrwhite;stickline(收>=REF(收,1),0,博弈K线长,4,0),colorred;stickline(收<=REF(收,1),0,博弈K线长,4,0),color00ff00;{庄筹线:EMA(WINNER(C)*70,5), colorred, linethick2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),colorgreen, linethick2;}5,colorwhite,pointdot;20,coloryellow,pointdot;40,colorffcc66,pointdot;60,colorff00ff,pointdot;cc:FILTER((CROSS(5,庄筹线) and 散筹线<20 )*60,10 ),colorff00ff;DRAWTEXT(cc ,60 ,'海底捞活鱼(抄底)' ),colorff00ff;aa:= ref(庄筹线,30)>40 or ref(庄筹线,20)>40;aa1:=cross(庄筹线,散筹线);DRAWTEXT(AA1,70,'鸡雀升天'),color00ff00;bb:=CROSS(28,庄筹线) and 散筹线>40 and aa=1 and LLV(l ,60 )>LLV(l ,250 ); DRAWTEXT(bb,30,'决战诱空'),colorwhite;IF(bb,30,60 ),colorffcccc;135均线法则EMA13:EMA(C,13),COLORBLUE,LINETHICK2;EMA17:EMA(C,17),COLORRED,LINETHICK2;EMA34:EMA(C,34),COLORGREEN;EMA55:EMA(C,55),COLORFF00FF;EMA120:EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'红杏出墙'),COLORYELLOW;{STICKLINE(AR6,H,L,0.5,1),COLORYELLOW;STICKLINE(AR6,O,C,6,1),LINETHICK2,COLORYELLOW;}BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'蚂蚁上树'),COLOR00C5FF; {STICKLINE(BR4 AND FILTER(BR4,10),H,L,0.5,1),COLOR00C5FF;STICKLINE(BR4 AND FILTER(BR4,10),O,C,6,1),LINETHICK2,COLOR00C5FF;}CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);{STICKLINE(CR6,H,L,0.5,1),COLORF00FF0;STICKLINE(CR6,O,C,6,1),LINETHICK2,COLORF00FF0;}DRAWTEXT(CR6,L-0.09,'红衣侠女'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'黑客点击'),COLORD6BA63;{STICKLINE(DR8,H,L,0.5,1),COLORD6BA63;STICKLINE(DR8,O,C,6,1),LINETHICK2,COLORD6BA63;}ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'均线互换'),COLOR0099FF;{STICKLINE(ER,H,L,0.5,1),COLOR0099FF;STICKLINE(ER,O,C,6,1),LINETHICK2,COLOR0099FF;}FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34);DRAWTEXT(FR,L-0.09,'梅开二度'),COLORWHITE;{STICKLINE(FR,H,L,0.5,1),COLORWHITE;STICKLINE(FR,O,C,6,1),LINETHICK2,COLORWHITE;}GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'*!'),COLOR00FF00;STICKLINE(GR6 AND GR7,H,H+0.09,4,0),COLOR00FF00;HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.09,'三线推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),H,L,0.5,1),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,6,1),LINETHICK2,COLORFFC8FF;。

【股票指标公式下载】-【大智慧】组合主图(止损价位、操盘线)

【股票指标公式下载】-【大智慧】组合主图(止损价位、操盘线)

【大智慧】组合主图(止损价位、操盘线)-指标公式源码HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;E13:(20*HHJsjda+19*REF(HHJsjda,1)+18*REF(HHJsjda,2)+17*REF(HHJsjda,3) +16*REF(HHJsjda,4)+15*REF(HHJsjda,5)+14*REF(HHJsjda,6)+13*REF(HHJsjda,7)+12*REF(HHJsjda,8)+11*REF(HHJsjda,9)+10*REF(HHJsjda ,10)+9*REF(HHJsjda,11)+8*REF(HHJsjda,12)+7*REF(HHJsjda,13)+6*REF(HHJsjda,14)+5*REF(HHJsjda,15)+4*REF(HHJsjda, 16)+3*REF(HHJsjda,17)+2*REF(HHJsjda,18)+REF(HHJsjda,20))/210,colorred;马线:MA(E13,5),colorgreen;水平面:MA(CLOSE,60),COLORYELLOW,CROSSDOT;Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5;A1:=(EMA(Var1,3)+EMA(Var1,6)+EMA(Var1,12)+EMA(Var1,24))/4;A2: EMA(A1,2);A3: EMA(A2,2);A4: EMA(A3,2);A5: EMA(A4,2);A6: EMA(A5,2);A7: EMA(A6,2);DRAWTEXTABS(10,10,STKLABEL+' '+STKNAME+' '+BKNAME),COLOR00FFFF; YC:=REF(CLOSE,1);止损价位:(YC*1.0035*97+0.2)/99.65,COLORRED,LINETHICK0; DRAWTEXTABS(CLOSE,25,'★ ======================'),COLORRED; DRAWTEXTABS(CLOSE,41,'操 '),COLORRED;DRAWTEXTABS(CLOSE,57,'盘 '),COLORRED;DRAWTEXTABS(CLOSE,73,'铁'),COLORRED;DRAWTEXTABS(CLOSE,89,'律'),COLORRED;DRAWTEXTABS(CLOSE,105,'★ ======================'),COLORRED; DRAWTEXTABS(CLOSE,41,' 买入条件 E13 CCI'),colorYellow; DRAWTEXTABS(CLOSE,57,' 买入时间 2:30以后' ),colorYellow; DRAWTEXTABS(CLOSE,73,' 止损价位 '+NUMTOSTR(止损价位)+'元'),colorYellow;DRAWTEXTABS(CLOSE,89,' 线上:工作线下:休息'),color00FFFF; E:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日阻力:=2*E-LOW;明日支撑:=2*E-HIGH;明日突破:=E+(HIGH-LOW);明日反转:=E-(HIGH-LOW);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);DRAWTEXTABS(200,25,'今日阻力=:'+NUMTOSTR(今日阻力)),ColorFFFF00; DRAWTEXTABS(200,41,'今日支撑=:'+NUMTOSTR(今日支撑)),Colorred; DRAWTEXTABS(200,57,'明日突破=:'+NUMTOSTR(明日突破)),ColorFF00FF; DRAWTEXTABS(200,73,'明日阻力=:'+NUMTOSTR(明日阻力)),ColorFFFF00; DRAWTEXTABS(200,89,'明日支撑=:'+NUMTOSTR(明日支撑)),COLORRED; DRAWTEXTABS(200,105,'明日反转=:'+NUMTOSTR(明日反转)),COLORYellow; A:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);A1:=FILTER(A,12);B:=LLV(LOW,13)=LOW AND LOW<REF(LOW,1);B1:=FILTER(B,12);TS1:=BARSLAST(A1);箱顶:REF(HIGH,TS1) ,COLORFF00FF, LINETHICK0;STICKLINE(1,箱顶,箱顶,7,0),COLORFF00FF;TS2:=BARSLAST(B1);箱底:REF(LOW,TS2) ,COLORFFbb80, LINETHICK0;STICKLINE(1,箱底,箱底,7,0),COLORFFbb80;箱高:100*(箱顶-箱底)/箱底,LINETHICK0;均价:=(3*C+H+L+O)/6;VAR1:=(8*均价+7*REF(均价,1)+6*REF(均价,2)+5*REF(均价,3)+4*REF(均价,4)+3*REF(均价,5)+2*REF(均价,6)+REF(均价,8))/36;VAR2:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;SZ1:=REF(VAR1,1)=REF(VAR2,1) AND VAR1>VAR2 AND CLOSE>VAR1;SZ2:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)AND H/VAR1<1.1 AND L>VAR2 AND CLOSE>VAR1;SZ3:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>=REF(VAR2,1) ANDH/VAR1>1.1;SZ4:=VAR1>VAR2 AND VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1)AND CLOSE>VAR2 AND CLOSE<VAR1;SZ5:=(VAR1>VAR2 AND VAR2>REF(VAR2,1) AND VAR1<>REF(VAR1,1)AND CLOSE<VAR2) OR (VAR1>VAR2 AND VAR1<REF(VAR1,1)AND VAR2<REF(VAR2,1) AND CLOSE<VAR2);;SZ6:=REF(VAR1,1)>REF(VAR2,1) AND VAR1=VAR2 AND CLOSE<VAR2;XD1:=VAR1=VAR2 AND CLOSE<VAR2 OR (VAR1<REF(VAR1,1) AND VAR2<REF(VAR2,1) AND REF(VAR1,1)=REF(VAR2,1) AND CLOSE<VAR2);XD2:=VAR1=VAR2 AND CLOSE>VAR1;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和度:=IF(SAT>1,1,SAT)*100;IF BARSTATUS=2 AND SZ1 THEN BEGINDRAWTEXTABS(350,25,'调整结束短线介入'),COLORRED;ENDELSEIF BARSTATUS=2 AND SZ2 THEN BEGINDRAWTEXTABS(350,25,'上升通道走势良好'),COLORRED;ENDELSEIF BARSTATUS=2 AND SZ3 THEN BEGINDRAWTEXTABS(350,25,'股价偏离注意调整'),COLORRED;ENDELSEIF BARSTATUS=2 AND SZ4 THEN BEGINDRAWTEXTABS(350,25,'上升通道调整洗盘'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND SZ5 THEN BEGINDRAWTEXTABS(350,25,'转向特征注意离场'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND SZ6 THEN BEGINDRAWTEXTABS(350,25,'通道改变坚决离场'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND XD1 THEN BEGINDRAWTEXTABS(350,25,'下跌通道只宜观望'),COLORGREEN;ENDELSEIF BARSTATUS=2 AND XD2 THEN BEGINDRAWTEXTABS(350,25,'短期底部准备进入'),COLORYELLOW;END;{单阳不破}阳涨幅:=4;阳倍量:=2;单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量;DRAWTEXT(单阳,L*0.98,'起'),COLOR00FFFF;高不破价:=REF(C,BARSLAST(单阳));中不破价:=REF((C+L)/2,BARSLAST(单阳));低不破价:=REF(L,BARSLAST(单阳));单阳不破:=BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);STICKLINE(单阳不破,低不破价-低不破价*0.003,低不破价,11,0),COLORRED; DRAWTEXT(BARSLAST(单阳)=1 AND 单阳不破,低不破价*0.98,'1'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=2 AND 单阳不破,低不破价*0.98,'2'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=3 AND 单阳不破,低不破价*0.98,'3'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=4 AND 单阳不破,低不破价*0.98,'4'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=5 AND 单阳不破,低不破价*0.98,'5'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=6 AND 单阳不破,低不破价*0.98,'6'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=7 AND 单阳不破,低不破价*0.98,'7'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=8 AND 单阳不破,低不破价*0.98,'8'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=9 AND 单阳不破,低不破价*0.98,'9'),COLORGREEN; DRAWTEXT(BARSLAST(单阳)=10 AND 单阳不破,低不破价*0.98,'10'),COLORGREEN;两天:=LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价;一般:=LLV(L,BARSLAST(单阳)-2)>低不破价 OR LLV(L,BARSLAST(单阳)-2)=低不破价;较强:=LLV(L,BARSLAST(单阳)-2)>中不破价 OR LLV(L,BARSLAST(单阳)-2)=中不破价;最强:=LLV(L,BARSLAST(单阳)-3)>高不破价 OR LLV(L,BARSLAST(单阳)-2)=高不破价;天数:BARSLAST(单阳),linethick0;ma20:=ma(c,20);ma60:=ma(c,60);ma30:=ma(c,30);BIAS:=(C-MA20)/MA20*100;SHOPEN:=OPEN;SHHIGH:=HIGH;SHLOW:=LOW;SHCLOSE:=CLOSE;SHAMOUNT:=AMOUNT;SHVOL:=VOL;J12:=(HIGH - ((HIGH - LOW) / 3));J23:=(LOW + ((HIGH - LOW) / 3));t1:=(((IF((CLOSE = OPEN),1,0) + IF((CLOSE >= J12),1,0)) + IF((CLOSE <= J23),1,0)) > 1);t2:=((((CLOSE > J23) AND (CLOSE < J12)) AND (OPEN > J23)) AND (OPEN < J12)); t3:=((CLOSE >= J12) AND (OPEN <= J23));t4:=(((OPEN <= J12) AND (OPEN >= J23)) AND (CLOSE > J12));t5:=(((OPEN <= J23) AND (CLOSE <= J12)) AND (CLOSE >= J23));t6:=((CLOSE <= J23) AND (OPEN >= J12));t7:=(((OPEN <= J12) AND (OPEN >= J23)) AND (CLOSE < J23));t8:=(((OPEN >= J12) AND (CLOSE <= J12)) AND (CLOSE >= J23));t9:=(((SHAMOUNT / SHVOL) / 100) > REF(HIGH,1));t10:=(((SHAMOUNT / SHVOL) / 100) < REF(LOW,1));if DISPSTATUS=2 then begin;var1000:='.';if t1>0 then var1000:=var1000+'☆极端行情,在未来的几日内有85%的机会变更方向。

【股票指标公式下载】-【大智慧】BS操盘(买线、卖线、指导线)

【股票指标公式下载】-【大智慧】BS操盘(买线、卖线、指导线)

【大智慧】BS操盘(买线、卖线、指导线)-指标公式源码DRAWGBK(DATE>900101,STRIP(RGB(0,150,130),RGB(0,0,0),0));买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=cross(买线,卖线);SEL:=cross(卖线,买线);drawtext(bu,LOW,'B'),ALIGN1,VALIGN0,colorred,linethick3;DRAWTEXT(bu,LOW,' ̄'),ALIGN1,VALIGN0,Color208FFF,LINETHICK3; DRAWTEXT(sel,HIGH,' ̄'),ALIGN1,VALIGN0,ColorFFFF00,LINETHICK3; drawtext(sel,HIGH,'S'),ALIGN1,VALIGN2,colorgreen,linethick3;stickline(买线>=卖线,low,high,0.1,1),colorred;stickline(买线>=卖线,close,open,8,1),colorred;stickline(买线<卖线,close,open,8,0),color00ff00;stickline(买线<卖线,low,high,0.1,1),color00ff00;stickline(cross(买线,卖线) or cross(卖线,买线),open,close,6,0),colorffff00;指导线:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),line thick1,ColorFFffFF;界: MA(CLOSE,27),linethick1,Color00FFFF;DRAWTEXT(cross(指导线,界),界,'上破'),ALIGN1,VALIGN2,Colorffffff; DRAWTEXT(cross(指导线,界),界,' ̄ ̄'),ALIGN1,VALIGN0,Colorffffff;DRAWTEXT(cross(界,指导线),界,'下破'),ALIGN1,Color00ffff; DRAWTEXT(cross(界,指导线),界,' ̄ ̄'),ALIGN1,Color00ffff;上限: 界+3*STD(CLOSE,27),linethick1,Color00FFFF;卖: 界+2*STD(CLOSE,27),linethick1,ColorFF00FF;买: 界-2*STD(CLOSE,27),linethick1,ColorF0FF00;下限: 界-2.9*STD(close,27),linethick1,Color00FF00;DRAWTEXT(cross(H,上限),H,'获利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(H,上限),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(上限,H),H,'&利'),ALIGN1,VALIGN2,Color00ffff; DRAWTEXT(cross(上限,H),H,' ̄ ̄'),ALIGN1,VALIGN0,Color00ffff; DRAWTEXT(cross(H,卖),H,'获利'),ALIGN1,VALIGN2,Colorff00ff; DRAWTEXT(cross(H,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff00ff; DRAWTEXT(cross(C,卖),H,'获利'),ALIGN1,VALIGN2,Colorff0000; DRAWTEXT(cross(C,卖),H,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(下限,L),l,'观'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(下限,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Color00ff00; DRAWTEXT(cross(买,L),l,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,L),l,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,'◎'),ALIGN1,VALIGN0,Colorff0000; DRAWTEXT(cross(买,C),L,' ̄ ̄'),ALIGN1,VALIGN0,Colorff0000;【大智慧】BS操盘(买线、卖线、指导线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】一张主图(波段线、趋势线、天线、地线)

【股票指标公式下载】-【大智慧】一张主图(波段线、趋势线、天线、地线)

【大智慧】一张主图(波段线、趋势线、天线、地线)-指标公式源码VA1:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));VA2:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;VA3:=EMA((MA(VA1,5)),10);VA4:=EMA((MA(VA1,15)),10);VA5:=EMA((MA(VA1,13)),21);VA6:=((VA3 + VA4) + VA5) / 3;波段线:EMA((MA(CLOSE,5)),5),colorFB333F,linethick2;PARTLINE(波段线,波段线 > (REF(波段线,3)),RGB(255,255,0)),linethick2; 趋势线:((((REF(VA6,1)) + VA6) + (REF(VA6,2))) / 3);PARTLINE(趋势线,CLOSE > VA2,RGB(225,0,0),CLOSE <=VA2,RGB(66,188,255)),colorffff00,linethick3;天线:MA(REF(HHV(CLOSE,30),1),2),LINETHICK2,Color80e9ff;地线:MA(REF(LLV(CLOSE,30),1),2),LINETHICK2,Color669900;SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);SD1:=FILTER(SD,12);SF:=LLV(LOW,13)=LOW AND LOW<REF(LOW,1);SF1:=FILTER(SF,12);TSS1:=BARSLAST(SD1);箱顶:REF(HIGH,TSS1),LINETHICK0,COLORRED;TSS2:=BARSLAST(SF1);箱底:REF(LOW,TSS2),LINETHICK0,COLORGREEN;STICKLINE(OPEN>=CLOSE,HIGH,LOW,0.5 ,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR005500;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR006600;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR007700;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR009900;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00BB00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00DD00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00;STICKLINE(CLOSE>OPEN,HIGH,LOW,0.5,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff;AA1:=MA(CLOSE,20);AA2:=(CLOSE > MA(CLOSE,5));AA3:=(MA(CLOSE,5) > MA(CLOSE,10));AA4:=(CLOSE > MA(CLOSE,10));AA5:=(MA(CLOSE,5) > MA(CLOSE,20));AA6:=(CLOSE > MA(CLOSE,20));AA7:=REF(AA1,1);AA8:=(AA1 > AA7);AAX:=(((((IF(AA2,10,(0 - 10)) + IF(AA3,10,(0 - 10))) + IF(AA4,10,(0 - 10))) + IF(AA5,10,(0 - 10))) + IF(AA6,10,(0 - 10))) + IF(AA8,10,(0 - 10))); DSLX:=(CLOSE / INDEXC);DSLX1:=MA(DSLX,5);DSLX2:=MA(DSLX,10);V1:=MA(VOL,5);V2:=MA(VOL,10);T := BARSLAST(DISPSTATUS=1)+1;IF BARSTATUS=2 and c<200 and ((CROSS(AAX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTREL(500,20,'的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。

【股票指标公式下载】-【大智慧】红绿三角(主图)

【股票指标公式下载】-【大智慧】红绿三角(主图)

【大智慧】红绿三角(主图)-指标公式源码A10304:=REF(HIGH,3)=HHV(HIGH,2*3+1);B10304:=FILTER(A10304,3);C10304:=BACKSET(B10304,3+1);D10304:=FILTER(C10304,3);{高点}A20304:=REF(LOW,3)=LLV(LOW,2*3+1);B20304:=FILTER(A20304,3);C20304:=BACKSET(B20304,3+1);D20304:=FILTER(C20304,3);{低点}E10304:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;E20304:=(HIGH+LOW)/2;{高低点出现在同一K线上时可作取舍}H10304:=(D10304 AND NOT(D20304 AND E10304>=E20304)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;L10304:=(D20304 AND NOT(D10304 AND E10304=E20304));X10304:=REF(BARSLAST(H10304),1)+1;F10304:=BACKSET(H10304 ANDCOUNT(L10304,X10304)>0,LLVBARS(IF(L10304,LOW,10000),X10304));G10304:=F10304>REF(F10304,1);I10304:=BACKSET(G10304,2);LD0304:=I10304>REF(I10304,1);{过滤后低点}L20304:=LD0304 OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;X20304:=REF(BARSLAST(L20304),1)+1;F20304:=BACKSET(L20304 ANDCOUNT(H10304,X20304)>0,HHVBARS(IF(H10304,HIGH,0),X20304));G20304:=F20304>REF(F20304,1);I20304:=BACKSET(G20304,2);HD0304:=I20304>REF(I20304,1);{过滤后高点}UU0304:=BACKSET(BARSTATUS=2,BARSLAST(LD0304)+1);VV0304:=UU0304>REF(UU0304,1);UU20304:=BACKSET(BARSTATUS=2,BARSLAST(HD0304)+1);VV20304:=UU20304>REF(UU20304,1);{以下语句为三角形部分}底:REF(L,BARSLAST(VV0304)),COLORred,LINETHICK1;顶:REF(H,BARSLAST(VV20304)),COLORGreen,LINETHICK1;{下跌三角形:绿色三角形画完介入}StickLine(VV0304,顶,底,0,0),COLORGreen,linethick2;DRAWLINE(VV20304,H,VV0304,L,0),COLORGreen,linethick2;{斜}DRAWLINE(VV20304,H,VV0304,顶,0),COLORGreen,linethick2;{上涨三角形:红色三角形画完出局}StickLine(VV20304 ,顶,底,0,0),COLORred,linethick2;DRAWLINE(VV0304,L,VV20304,H,0),COLORred,linethick2;{斜}DRAWLINE(VV0304,L,VV20304,底,0),COLORred,linethick2;{文字}NN304:= DISPSTATUS=2;DRAWTEXT(nn304,底,'底: '+NUMTOSTRN(底,2)+'元'),ALIGN2,COLORred,LINETHICK1,VALIGN0;DRAWTEXT(nn304,顶,'顶: '+NUMTOSTRN(顶,2)+'元'),ALIGN2,COLORGreen,LINETHICK1,VALIGN2;{箱体}TY309:=C;HD309:=FILTER(BACKSET(FILTER(REF(TY309,10)=HHV(TY309,2*10+1),10),10+1 ),10);LD309:=FILTER(BACKSET(FILTER(REF(TY309,10)=LLV(TY309,2*10+1),10),10+1 ),10);A309:=REF(C,BARSLAST(HD309));B309:=REF(C,BARSLAST(LD309));T1309:=BARSLAST(HD309)<BARSLAST(LD309) AND NOT(HD309) ;T2309:=BARSLAST(HD309)>BARSLAST(LD309) AND NOT(LD309);波浪顶:IF(T1309,A309,A309),COLORCYAN,POINTDOT,LINETHICK2;波浪底:IF(T2309,B309,B309),COLORMAGENTA,POINTDOT,LINETHICK2;a:=HHV(MA((L+H+C)/3,3),3);b:=llv(MA((L+H+C)/3,3),10);STICKLINE(DISPSTATUS=2,a,a,20,0),Coloryellow,linethick1;{小箱体--上沿}DRAWTEXT(DISPSTATUS=2 ,a,NUMTOSTRN(a,3)),colorYELLOW;STICKLINE(DISPSTATUS=2,b,b,20,0),COLORWhite,linethick1;{小箱体--下沿} DRAWTEXT(DISPSTATUS=2,b,NUMTOSTRN(b,3)),COLORWhite;k1:=llv(l,barslast(DISPSTATUS=1)+1);aa1:=cost(95);aa2:=cost(5);ly:=(aa1-aa2)*100/(aa1+aa2);N:=p1;{原码 N:=3;}A1:=REF(H,N)=HHV(H,2*N+1);B1:=FILTER(A1,N);C1:=BACKSET(B1,N+1);D1:=FILTER(C1,N);{高点}A2:=REF(L,N)=LLV(L,2*N+1);B2:=FILTER(A2,N);C2:=BACKSET(B2,N+1);D2:=FILTER(C2,N);{低点}E1:=(REF(LLV(L,2*N),1)+REF(HHV(H,2*N),1))/2;E2:=(H+L)/2;{高低点出现在同一K线上时可作取舍}H1:=(D1 AND NOT(D2 AND E1>=E2)) OR DISPSTATUS=2 OR BARSCOUNT(C)=1; L1:=(D2 AND NOT(D1 AND E1<E2));H2:=D1 AND NOT(D2 AND E1>=E2);X1:=REF(BARSLAST(H1),1)+1;F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));G1:=F1>REF(F1,1);I1:=BACKSET(G1,2);LD:=I1>REF(I1,1);{过滤后低点}L2:=LD OR DISPSTATUS=2 OR BARSCOUNT(C)=1;X2:=REF(BARSLAST(L2),1)+1;F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));G2:=F2>REF(F2,1);I2:=BACKSET(G2,2);HD:=I2>REF(I2,1);{过滤后高点}R1:=BACKSET(DISPSTATUS=2,BARSLAST(HD)+1); S1:=R1>REF(R1,1); {前一高} T1:=BACKSET(DISPSTATUS=2,BARSLAST(LD)+1); U1:=T1>REF(T1,1); {前一低} R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2); S2:=R2>REF(R2,1); {前二高}T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2); U2:=T2>REF(T2,1); {前二低}T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2); U3:=T3>REF(T3,1); {前三低}T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2); U4:=T4>REF(T4,1); {前四低} 【大智慧】红绿三角(主图)-指标公式效果图(文档来源:若水财经社区)。

大智慧的指南针指标公式

大智慧的指南针指标公式

大智慧的指南针指标公式(一共21个公式)原码1,CYW主力控盘VAR1:=CLOSE-LOW;VAR2:=HIGH-LOW;VAR3:=CLOSE-HIGH;VAR4:=IF(CLOSE&gt;=0,(VAR1/VAR2+VAR3/VAR2)*VOL,(V AR3/V AR2+V AR 1/VAR2)*VOL); SUM(V AR4,10)/10000, COLORSTICK;2,CYW-YJJ主力控盘VAR1:=1;VAR2:=CLOSE-REF(CLOSE,1);VAR3:=IF(CLOSE-REF(CLOSE,1)&gt;=0,V AR2,0);VAR4:=REF(CLOSE,1)-CLOSE;VAR5:=IF(CLOSE-REF(CLOSE,1)&lt;=0,VAR4,0);VAR6:=SUM(VAR3,P1)/SUM(V AR5,P1);VAR7:=100-100/(1+VAR6);VAR8:=EMA(VAR7,P1);VAR9:=EMA(VAR8,P2);VARA:=EMA(V AR8,P3);MO: (V AR8-V ARA)*VAR1;ML: (V AR9-V ARA)*VAR1;MODE: MO*VAR1, COLORSTICK;p1:=0,100,6p2:=0,100,8p3:=0,100,453,CYS盈亏指标V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);V ar4:=MA(V ar1,N3);V ar5:=DMA(CLOSE,VOL/CAPITAL);CYS5: 100*(CLOSE-V ar2)/V ar2;CYS13: 100*(CLOSE-V ar3)/V ar3;CYS34: 100*(CLOSE-V ar4)/V ar4;CYS无穷: 100*(CLOSE-V ar5)/V ar5;n1:=0,100,51n2:=0,100,13n3:=0,100,344,CYE市场趋势MAL:=MA(CLOSE,5);MAS:=MA(MA(CLOSE,20),5);CYEL:MAL-REF(MAL,1)/REF(MAL,1)*100;CYES:MAS-REF(MAS,1)/REF(MAS,1)*100;5,CYR市场强弱DIVE:=0.01*EMA(AMOUNT,N)/EMA(VOL,N);CYR:=DIVE/REF(DIVE,1)-1*100;MACYR:MA(CYR,M);n:=0,100,13m:=0,100,56,CYQKL博弈K线100*(WINNER(CLOSE)-WINNER(OPEN)), COLORSTICK;7,CYOBV优化累积能量NOBV1:SUM(IF(CLOSE&gt;REF(CLOSE,1),VOL,IF(CLOSE&lt;REF(CLOSE,1),0-VOL, 0)),N)/CAPITAL; n:=0,100,348,CYF市场能量HSL:=VOL/CAPITAL*100;CYF:100-100/(1+EMA(HSL,N)*100);n:=0,100,219,CYDD动态承接V ar1:=WINNER(CLOSE);V ar2:=DMA(V ar1,VOL/CAPITAL);V ar3:=DMA(VOL,VOL/CAPITAL)/CAPITAL;CYDD: V ar1/Var3;CYDD1: V ar2/Var3;1, POINTDOT;10,CYD2承接因子A:=WINNER(CLOSE )*CAPITAL;2承接因子:A/VOL;11,CYD承接因子CYDS:WINNER(CLOSE)/(VOL/CAPITAL);CYDN:WINNER(CLOSE)/MA(VOL/CAPITAL,N);n:=0,100,2112,CYC2成本均线CYC1:0.01*EMA(AMOUNT,n1)/EMA(VOL,n1);CYC2:0.01*EMA(AMOUNT,n2)/EMA(VOL,n2);CYC3:0.01*EMA(AMOUNT,n3)/EMA(VOL,n3);CYC∞:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE(7))); n1:=0,100,5n2:=0,100,13n3:=0,100,3413,CYC1成本均线V ar1:=AMOUNT/(100*VOL);短线成本均线: MA(V ar1,N1);中线成本均线: MA(V ar1,N2);长线成本均线: MA(V ar1,N3);无穷成本均线: DMA(CLOSE,VOL/CAPITAL);STICKLINE(open&gt;=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open&gt;=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open&gt;=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open&gt;=close ,close ,open,1.1,0 ),COLORdddddd;STICKLINE(close&gt;open,close,open,9,0 ),COLOr6666cc; STICKLINE(close&gt;open,close,open,6 ,0 ),COLOR7777dd; STICKLINE(close&gt;open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close&gt;open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close&gt;open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close&gt;open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open&gt;=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open&gt;=close,open,HIGH,0.5 ,0 ),COLORcccccc; n1:=0,100,5n2:=0,100,13n3:=0,100,34314,CYB优化布林线MB: MA(CLOSE,N);上轨: MB+STD(CLOSE,N);下轨: MB-STD(CLOSE,N);上极限: MB+2*STD(CLOSE,N);下极限: MB-2*STD(CLOSE,N);STICKLINE(open&gt;=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open&gt;=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open&gt;=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open&gt;=close ,close ,open,1.1,0 ),COLORdddddd;STICKLINE(close&gt;open,close,open,9,0 ),COLOr6666cc; STICKLINE(close&gt;open,close,open,6 ,0 ),COLOR7777dd;STICKLINE(close&gt;open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close&gt;open,close,open,1.1 ,0 ),COLOR9999ff;STICKLINE(close&gt;open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close&gt;open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open&gt;=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open&gt;=close,open,HIGH,0.5 ,0 ),COLORcccccc; n:=0,100,1315,CMACD指标V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);CMACD: 100*(V ar2-V ar3)/V ar3, COLORSTICK;n1:=0,100,5n2:=0,100,1316,CBXQD成本均线V ar1:=AMOUNT/(100*VOL);V ar2:=MA(V ar1,N1);V ar3:=MA(V ar1,N2);4V ar4:=MA(V ar1,N3);V ar5:=DMA(CLOSE,VOL/CAPITAL);CYR5: 100*(V ar2-REF(V ar2,N))/REF(V ar2,N);CYR13: 100*(V ar3-REF(V ar3,N))/REF(V ar3,N);CYR34: 100*(V ar4-REF(V ar4,N))/REF(V ar4,N);CYR无穷: 100*(V ar5-REF(V ar5,N))/REF(V ar5,1);n:=0,100,4n1:=0,100,5n2:=0,100,13n3:=0,100,3417,CBW成本带宽CBW: 100*(COST(N1)-COST(N2))/COST(N1);n1:=0,100,98n2:=0,100,218,CBAND布林线宽V ar1:=MA(CLOSE,N);V ar2:=V ar1+2*STD(CLOSE,N);变盘: 5, POINTDOT;布林宽度: (V ar2-V ar1)/V ar1*100;警戒: 30, POINTDOT;n;=5,100,3020,指南针CYE顶部: 4,COLORBLUE;强势: 1,COLORRED;弱势: -1,colorf00ff0;底部: -4,COLORWHITE;短期趋势:(MA(CLOSE,5)-REF(MA(CLOSE,5),1))/REF(MA(CLOSE,5),1)*100,COLORWH ITE,LINETHICK2; 中期趋势:(MA(MA(CLOSE,13),5)-REF(MA(MA(CLOSE,13),5),1))/REF(MA(MA(CLOSE, 13),5),1)*100,colorf00ff0,LINETHICK2;长期趋势:(MA(MA(CLOSE,34),5)-REF(MA(MA(CLOSE,34),5),1))/REF(MA(MA(CLOSE, 34),5),1)*100,COLORRED,LINETHICK2;521,0amaV ar1:=SMA(&quot;AMOUNT&quot;,10,1)/10000000;V ar2:=REF(V ar1,1);AA: STICKLINE(V ar1&gt;Var2,V ar1,V ar2,8,1),COLORRED; AD: STICKLINE(V ar1&lt;V ar2,V ar1,V ar2,8,0),COLORGREEN; C5: DMA(SMA(Var1,3,1),VOL/0.02/CAPITAL); C13: DMA(SMA(Var1,5,1),VOL/0.1/CAPITAL); C34: DMA(SMA(Var1,8,1),VOL/0.18/CAPITAL); ∞: DMA(V ar1,VOL/1.1/CAPITAL);6。

【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)

【股票指标公式下载】-【大智慧】全屏看盘(涨跌、行情、涨幅、量比)

【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式源码{画矩形}DRAWRECTABS(0,420,415,0,1),COLOR00FF00,layer1;{大智慧L2排序}DRAWTEXTABS(15,5,'<<行情>>'),ColorFFff00;昨收:=DYNAINFO(3);今开:=DYNAINFO(4);最低:=DYNAINFO(6);最高:=DYNAINFO(5);最新:=DYNAINFO(7);总手:=DYNAINFO(8);现手:=DYNAINFO(9);总额:=DYNAINFO(10);均价:=DYNAINFO(11);涨跌:=DYNAINFO(12);振幅:=DYNAINFO(13);涨幅:=DYNAINFO(14)*100;委比:=DYNAINFO(15);委差:=DYNAINFO(16);量比:=DYNAINFO(17);内盘:=DYNAINFO(22);外盘:=DYNAINFO(23);涨速:=DYNAINFO(24);买一:=DYNAINFO(28);卖一:=DYNAINFO(34);委买量:=DYNAINFO(89);委卖量:=DYNAINFO(90);外内比:=DYNAINFO(23)/DYNAINFO(22)*100;盘差:=(外盘-内盘);换手率:=(100*v/capital);DRAWTEXTABS(0,20,'■昨收:'+str(昨收)+''),Color00FF00; DRAWTEXTABS(0,40,'■今开:'+str(今开)+''),ColorffFF00; DRAWTEXTABS(0,60,'■最低:'+str(最低)+''),Color00FF00;DRAWTEXTABS(0,80,'■最高:'+str(最高)+''),ColorFFff00; DRAWTEXTABS(0,100,'■最新:'+str(最新)+''),Color0000FF; DRAWTEXTABS(0,120,'■涨跌:'+str(涨跌)+''),Color00FF00; DRAWTEXTABS(0,140,'■涨幅:'+str(涨幅)+''),Color0000FF; DRAWTEXTABS(0,160,'■现手:'+str(现手)+''),Color00ffFF; DRAWTEXTABS(0,180,'■量比:'+(量比)+''),ColorFFFF00; DRAWTEXTABS(0,200,'■换手率:'+(换手率)+''),Color000FFF; DRAWTEXTABS(0,220,'■外盘:'+str(外盘)+''),Colorffff00; DRAWTEXTABS(0,240,'■内盘:'+str(内盘)+''),Color0000ff; DRAWTEXTABS(0,260,'■盘差:'+str(盘差)+''),ColorFFFF00; DRAWTEXTABS(0,280,'■外内比:'+str(外内比)+''),Color00FFFF; DRAWTEXTABS(0,300,'■委比:'+(委比)+''),Colorff0000; DRAWTEXTABS(0,320,'■买一:'+(买一)+''),Color00ffFF; DRAWTEXTABS(0,340,'■卖一:'+(卖一)+''),Colorff0000; DRAWTEXTABS(0,360,'■委卖量:'+str(委卖量)+''),Color00FF00; DRAWTEXTABS(0,380,'■委买量:'+str(委买量)+''),Color0000FF; DRAWTEXTABS(0,400,'■买卖差:'+str(委卖量-委买量)+''),ColorFFff00; DRAWTEXTABS(130,5,'<<精灵>>'),ColorFFff00;买入单数:=DYNAINFO(91);卖出单数:=DYNAINFO(92);买卖单数差:=(买入单数-卖出单数);大笔买入:=DYNAINFO(94);大笔卖出:=DYNAINFO(97);大笔差:=(大笔买入-大笔卖出);特大买入:=DYNAINFO(95);特大卖出:=DYNAINFO(98);特大差:=(特大买入-特大卖出);机构买单吃货数:=DYNAINFO(99);机构卖单吐货数:=DYNAINFO(100);机构吃吐货数差:=(机构买单吃货数-机构卖单吐货数);机构单数差:=DYNAINFO(101);机构吃货数:=DYNAINFO(102);机构吐货数:=DYNAINFO(103);机构货数差:=(机构吃货数-机构吐货数);机构吃货量:=DYNAINFO(104);机构吐货量:=DYNAINFO(105);机构货量差:=(机构吃货量-机构吐货量);机构吃货均额:=DYNAINFO(106);机构吐货均额:=DYNAINFO(107);机构均额差:=(机构吃货均额-机构吐货均额);DRAWTEXTABS(100,20,'■买入单数:'+str(买入单数)+'' ),Color0000FF; DRAWTEXTABS(100,40,'■卖出单数:'+str(卖出单数)+'' ),Color00FF00; DRAWTEXTABS(100,60,'■大笔买入:'+str(大笔买入)+'' ),ColorffFF00; DRAWTEXTABS(100,80,'■大笔卖出:'+str(大笔卖出)+'' ),Color00FF00; DRAWTEXTABS(100,100,'■特大买入:'+str(特大买入)+'' ),ColorffFF00; DRAWTEXTABS(100,120,'■特大卖出:'+str(特大卖出)+'' ),Color00FF00; DRAWTEXTABS(100,140,'■机构买单吃货数:'+str(机构买单吃货数)+'' ),ColorffFF00;DRAWTEXTABS(100,160,'■机构卖单吐货数:'+str(机构卖单吐货数)+'' ),Color00FF00;DRAWTEXTABS(100,180,'■机构单数差:'+str(机构单数差)+'' ),ColorFFff00; DRAWTEXTABS(100,200,'■机构吃货数:'+str(机构吃货数)+'' ),ColorffFF00; DRAWTEXTABS(100,220,'■机构吐货数:'+str(机构吐货数)+'' ),Colorff0000; DRAWTEXTABS(100,260,'■机构吃货量:'+str(机构吃货量)+'' ),Color00ffFF; DRAWTEXTABS(100,280,'■机构吐货量:'+str(机构吐货量)+'' ),Colorff0000; DRAWTEXTABS(100,320,'■机构吃货均额:'+str(机构吃货均额)+'' ),Color00FFff;DRAWTEXTABS(100,340,'■机构吐货均额:'+str(机构吐货均额)+'' ),Colorff0000;DRAWTEXTABS(100,240,'■机构货数差:'+str(机构货数差)+'' ),Color00ffFF; DRAWTEXTABS(100,300,'■机构货量差:'+str(机构货量差)+'' ),Color00ffFF; DRAWTEXTABS(100,360,'■机构均额差:'+str(机构均额差)+'' ),ColorffFF00; DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; DRAWTEXTREL(300,5,'<<资金>>'),COLORffff00;zlV:=(BIGORDER(1,2)-BIGORDER(2,2))*vol;jgV:=(BIGORDER(1,3)-BIGORDER(2,3))*vol;dhV:=(BIGORDER(1,2)-BIGORDER(2,2)-BIGORDER(1,3)+BIGORDER(2,3))*vol; zhV:=(BIGORDER(1,1)-BIGORDER(2,1)-BIGORDER(1,2)+BIGORDER(2,2))*vol; shV:=(BIGORDER(2,1)-BIGORDER(1,1))*vol;tD:=COUNT(BIGORDER(1,0),0);myD:=min(tD,30);主力资金:=ema(zlV,myD)*myD/capital;超级资金:=ema(jgV,myD)*myD/capital;大户资金:=ema(dhV,myD)*myD/capital;中户资金:=ema(zhV,myD)*myD/capital;散户资金:=ema(shV,myD)*myD/capital;大单买:=BIGORDER(1,2)*V/CAPITAL;大单卖:=BIGORDER(2,2)*V/CAPITAL;大单动向:=(大单买-大单卖)*100;涨跌动因:=(ORDER(2)-ORDER(1))/CAPITAL*1000;大单分差:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200; DRAWTEXTREL(250,40,' ■主力资金:'+主力资金),COLOR00FFff; DRAWTEXTREL(250,80,' ■超级资金:'+超级资金),COLORffFF00; DRAWTEXTREL(250,120,' ■大户资金:'+大户资金),COLOR0000FF; DRAWTEXTREL(250,160,' ■中户资金:'+中户资金),COLORFFff00; DRAWTEXTREL(250,200,' ■散户资金:'+散户资金),COLOR00FF00; DRAWTEXTREL(250,240,' ■大单动向:'+大单动向),COLOR00FFff; DRAWTEXTREL(250,280,' ■涨跌动因:'+涨跌动因),COLORFFff00; DRAWTEXTREL(250,320,' ■大单分差:'+大单分差),COLORFFff00;DRAWTEXTABS(280,205 ,'<<财务>>'),colorFFFF00;DRAWTEXTABS(100,390,STKLABEL+' '+STKNAME+' '),ColorFF00ff,LINETHICK3; BEGIN DRAWTEXTREL(0,800,'■所属板块:'+BKNAME),LINETHICK1,COLORFF00Ff;end;总股本:=FINANCE2(35)/10000;DRAWTEXTABS(250,220,'■总股本:'+总股本+'亿 '),LINETHICK2,Color0080FF; DRAWTEXTABS(250,240,'■流通盘:'+capital/1000000+'亿'),Color0080FF,LINETHICK2;每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);每股公积金:=FINANCE2(7);每股未分配:=FINANCE2(8);DRAWTEXTABS(250 ,260,'■每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,280,'■每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),Color62FFFF;DRAWTEXTABS(250 ,300,'■每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORYELLOW;DRAWTEXTABS(250 ,320,'■销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),Color62FFFF;DRAWTEXTABS(250 ,340,'■主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,360,'■净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),ColorACFFFF;DRAWTEXTABS(250 ,380,'■每股公积金:'+NUMTOSTRN(每股公积金,2)+'元'),ColorFFFFFF;DRAWTEXTABS(250 ,400,'■每股未分配:'+NUMTOSTRN(每股未分配,2)+'元'),ColorFFFFFF;{}A3:MA(AMOUNT/(100*VOL),3);A5:MA(AMOUNT/(100*VOL),5);A10:MA(AMOUNT/(100*VOL),10);A20:MA(AMOUNT/(100*VOL),20);A30:MA(AMOUNT/(100*VOL),30);A60:MA(AMOUNT/(100*VOL),60);DRAWTEXT(CROSS(A3,A10),L-0.01,'?'),COLORYELLOW,LINETHICK4; DRAWTEXT(CROSS(A5,A3),h+0.05,'?'),COLORffffff,LINETHICK4;【大智慧】全屏看盘(涨跌、行情、涨幅、量比)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】高手划线(高点、低点)

【股票指标公式下载】-【大智慧】高手划线(高点、低点)

【大智慧】高手划线(高点、低点)-指标公式源码DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));A1:=REF(HIGH,3)=HHV(HIGH,2*3+1); B1:=FILTER(A1,3); C1:=BACKSET(B1,3+1); D1:=FILTER(C1,3);{高点}A2:=REF(LOW,3)=LLV(LOW,2*3+1); B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1); D2:=FILTER(C2,3);{低点}E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;E2:=(HIGH+LOW)/2;{高低点出现在同一K线上时可作取舍}H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; H2:=D1 AND NOT(D2 AND E1>=E2);L1:=D2 AND NOT(D1 AND E1=E2);X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 ANDCOUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点}L2:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 ANDCOUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高点} DRAWLINE(LD,L,HD,H,0),COLORWHITE,LINETHICK1,POINTDOT;DRAWLINE(HD,H,LD,L,0),COLORWHITE,LINETHICK1,POINTDOT;J1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HD),BARSLAST(LD))+1);J2:=J1>REF(J1,1);DRAWLINE(J2,IF(HD,H,L),BARSTATUS=2,IF(BARSLAST(HD)>BARSLAST(LD),H,L), 0),COLORWHITE,LINETHICK1,POINTDOT;A3:=H;B3:=REF(H,REF(BARSLAST(HD),1)+1)>REF(H,REF(BARSLAST(HD),1)+2+REF(BARS LAST(HD),REF(BARSLAST(HD),1)+2));D3:=A3 AND B3 AND HD; E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2);HH:=E3>REF(E3,1);{找出全部长期高点}A4:=L>REF(L,REF(BARSLAST(LD),1)+1);B4:=REF(L,REF(BARSLAST(LD),1)+1); D4:=A4 AND B4 AND LD;E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2); LL:=E4>REF(E4,1);{找出全部长期低点}DRAWICON(HH,H,5),ALIGN1; DRAWICON(LL,L,4),ALIGN1;H3:=HH OR BARSTATUS=2 OR BARSCOUNT(C)=1; {后面进行过滤,方法同前。

大智慧低点起爆+选股指标公式

大智慧低点起爆+选股指标公式

急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;{34日乖离率}当日收阳:=(h-l)/l>0.07{当天振幅大于7%}and (c-o)/o>0.07{当天的K线实体长度大于7%}and C/ref(C,1)>1.05{当日涨幅超过5%};CDSY:=急速超跌and 当日收阳;{自编*****}枯木逢春:STICKLINE(CDSY,0,99,8,1),ColorD8E5FF;DRAWTEXT(CDSY,98,' 枯木逢春97.36%'),ColorD8E5FF;{平均成功率:97.36%, 成功率达到50%的股票有:25.3%利润1总平均:35.87% 最大平均利润1:ST江纸168.89% 最小平均利润1:ST啤酒花4.48%}XL2:=llv(l,3)=llv(l,60) and c/ref(c,1)>=1.04; {爆点60.64%}XL3:=(c-Ema(c,21))/Ema(c,21)*100;XL4:=cross(XL3,-20);{爆破}XL5:=llv(l,3)=llv(l,120) and c/ref(c,1)>=1.06; {爆炸}XL6:=(c-ma(c,24))/ma(c,24)*100;Xl7:=cross(XL6,-20);{启爆}爆破:STICKLINE(XL4>0,0,70,4,0),Color004FFD;{红色}DRAWTEXT(XL4,68,' 爆破86.91'),Color004FFD;{XL4爆破:(2001.8.1--2005.1.22)902 20天10%成功率=86.91%且>50%=37% 最小=1.79%} 启爆:STICKLINE(XL7>0,0,52,4,0),ColorD9FFCD;{青色}DRAWTEXT(XL7,51,' 启爆81.97%'),ColorD9FFCD;{XL7启爆:(2001.8.1--2005.1.22)1818 20天10%成功率=81.97%且>50%=81.97% 最小=1.35%}爆炸:STICKLINE(XL5>0,0,35,8,0),ColorD9DBF1;{浅红}DRAWTEXT(XL5,34,' 爆炸68.22%'),ColorD9DBF1;{XL5爆炸:(2001.8.1--2005.1.22)3176 20天10%成功率=68.22%且>50%=71% 最小=1.04%}爆点:STICKLINE(XL2>0,0,20,4,0),Color008CFD;{橙色}DRAWTEXT(FILTER(XL2,5),18,' 爆点60.64%'),Color008CFD;{XL2爆点:(2001.8.1--2005.1.22)8332 20天10%成功率=60.64%且>50%=75.1% 最小=0} 0,POINTDOT,ColorFFFFFF;{选股公式:急速超跌:=(C-MA(C,34))/MA(C,34)*100<-14;{34日乖离率}当日收阳:=(H-L)/L>0.07{当天振幅大于7%}AND (C-O)/O>0.07{当天的K线实体长度大于7%}AND C/REF(C,1)>1.05{当日涨幅超过5%};CDSY:=急速超跌AND 当日收阳;{自编枯木逢春}XL2:=LLV(L,3)=LLV(L,60) AND C/REF(C,1)>=1.04; {爆点60.64%} XL3:=(C-EMA(C,21))/EMA(C,21)*100;XL4:=CROSS(XL3,-20);{爆破}XL5:=LLV(L,3)=LLV(L,120) AND C/REF(C,1)>=1.06; {爆炸}XL6:=(C-MA(C,24))/MA(C,24)*100;XL7:=CROSS(XL6,-20);{启爆}xg:CDSY OR XL2 OR XL4 OR XL5 OR XL7;}。

【股票指标公式下载】-【大智慧】绝对经典(能量线、大盘线、行业线)

【股票指标公式下载】-【大智慧】绝对经典(能量线、大盘线、行业线)

【大智慧】绝对经典(能量线、大盘线、行业线)-指标公式源码INPUT:N(70,1,999),M(5,1,120);ZSC:=IF(INBLOCK('工程建筑'),"991002$CLOSE",IF(INBLOCK('电力'),"991003$CLOSE",IF(INBLOCK('计算机'),"991004$CLOSE",IF(INBLOCK('电子信息'),"991006$CLOSE",IF(INBLOCK('房地产'),"991007$CLOSE",IF(INBLOCK('纺织服装'),"991008$CLOSE",IF(INBLOCK('钢铁'),"991009$CLOSE",IF(INBLOCK('供水供气'),"991010$CLOSE",IF(INBLOCK('化工化纤'),"991011$CLOSE",IF(INBLOCK('电器'),"991014$CLOSE",IF(INBLOCK('交通设施'),"991016$CLOSE",IF(INBLOCK('银行类'),"991017$CLOSE",IF(INBLOCK('旅游酒店'),"991018$CLOSE",IF(INBLOCK('煤炭石油'),"991019$CLOSE",IF(INBLOCK('酿酒食品'),"991020$CLOSE",IF(INBLOCK('农林牧渔'),"991021$CLOSE",IF(INBLOCK('商业连锁'),"991023$CLOSE",IF(INBLOCK('建材'),"991024$CLOSE",IF(INBLOCK('其他行业'),"991025$CLOSE",IF(INBLOCK('汽车类'),"991026$CLOSE",IF(INBLOCK('机械'),"991027$CLOSE",IF(INBLOCK('医药'),"991028$CLOSE",IF(INBLOCK('外贸'),"991031$CLOSE",IF(INBLOCK('教育传媒'),"991032$CLOSE",IF(INBLOCK('仪电仪表'),"991033$CLOSE",IF(INBLOCK('有色金属'),"991034$CLOSE",IF(INBLOCK('造纸印刷'),"991035$CLOSE",IF(INBLOCK('券商'),"991036$CLOSE",IF(INBLOCK('电力设备'),"991037$CLOSE",IF(INBLOCK('通信'),"991135$CLOSE",IF(INBLOCK('运输物流'),"991136$CLOSE",IF(INBLOCK('保险'),"991255$CLOSE",0))))))))))))))))))))))))))))))));ZSH:=IF(INBLOCK('工程建筑'),"991002$HIGH",IF(INBLOCK('电力'),"991003$HIGH",IF(INBLOCK('计算机'),"991004$HIGH",IF(INBLOCK('电子信息'),"991006$HIGH",IF(INBLOCK('房地产'),"991007$HIGH",IF(INBLOCK('纺织服装'),"991008$HIGH",IF(INBLOCK('钢铁'),"991009$HIGH",IF(INBLOCK('供水供气'),"991010$HIGH",IF(INBLOCK('化工化纤'),"991011$HIGH",IF(INBLOCK('电器'),"991014$HIGH",IF(INBLOCK('交通设施'),"991016$HIGH",IF(INBLOCK('银行类'),"991017$HIGH",IF(INBLOCK('旅游酒店'),"991018$HIGH",IF(INBLOCK('煤炭石油'),"991019$HIGH",IF(INBLOCK('酿酒食品'),"991020$HIGH", IF(INBLOCK('农林牧渔'),"991021$HIGH",IF(INBLOCK('商业连锁'),"991023$HIGH",IF(INBLOCK('建材'),"991024$HIGH",IF(INBLOCK('其他行业'),"991025$HIGH",IF(INBLOCK('汽车类'),"991026$HIGH",IF(INBLOCK('机械'),"991027$HIGH",IF(INBLOCK('医药'),"991028$HIGH",IF(INBLOCK('外贸'),"991031$HIGH",IF(INBLOCK('教育传媒'),"991032$HIGH", IF(INBLOCK('仪电仪表'),"991033$HIGH",IF(INBLOCK('有色金属'),"991034$HIGH",IF(INBLOCK('造纸印刷'),"991035$HIGH", IF(INBLOCK('券商'),"991036$HIGH",IF(INBLOCK('电力设备'),"991037$HIGH",IF(INBLOCK('通信'),"991135$HIGH",IF(INBLOCK('运输物流'),"991136$HIGH",IF(INBLOCK('保险'),"991255$HIGH",0)))))))))))))))))))))))))))))))); ZSL:=IF(INBLOCK('工程建筑'),"991002$LOW",IF(INBLOCK('电力'),"991003$LOW",IF(INBLOCK('计算机'),"991004$LOW",IF(INBLOCK('电子信息'),"991006$LOW",IF(INBLOCK('房地产'),"991007$LOW",IF(INBLOCK('纺织服装'),"991008$LOW",IF(INBLOCK('钢铁'),"991009$LOW",IF(INBLOCK('供水供气'),"991010$LOW",IF(INBLOCK('化工化纤'),"991011$LOW",IF(INBLOCK('电器'),"991014$LOW",IF(INBLOCK('交通设施'),"991016$LOW",IF(INBLOCK('银行类'),"991017$LOW",IF(INBLOCK('旅游酒店'),"991018$LOW",IF(INBLOCK('煤炭石油'),"991019$LOW",IF(INBLOCK('酿酒食品'),"991020$LOW",IF(INBLOCK('农林牧渔'),"991021$LOW",IF(INBLOCK('商业连锁'),"991023$LOW",IF(INBLOCK('建材'),"991024$LOW",IF(INBLOCK('其他行业'),"991025$LOW",IF(INBLOCK('汽车类'),"991026$LOW",IF(INBLOCK('机械'),"991027$LOW",IF(INBLOCK('医药'),"991028$LOW",IF(INBLOCK('外贸'),"991031$LOW",IF(INBLOCK('教育传媒'),"991032$LOW",IF(INBLOCK('仪电仪表'),"991033$LOW",IF(INBLOCK('有色金属'),"991034$LOW",IF(INBLOCK('造纸印刷'),"991035$LOW",IF(INBLOCK('券商'),"991036$LOW",IF(INBLOCK('电力设备'),"991037$LOW",IF(INBLOCK('通信'),"991135$LOW",IF(INBLOCK('运输物流'),"991136$LOW",IF(INBLOCK('保险'),"991255$LOW",0))))))))))))))))))))))))))))))));Var12:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100;能量线:SMA(Var12,3,1)*(-1)+100,colorRED,linethick2;KNX:=SMA(Var12,3,1);MK:=MA(KNX,M);买点:IF(KNX>N AND CROSS(MK , KNX),50,0),COLORWHITE,LINETHICK1;Var13:=(HHV(ZSH,34)-ZSC)/(HHV(ZSH,34)-LLV(ZSL,34))*100;行业线:SMA(Var13,3,1)*(-1)+100,colorgreen,linethick1;Var11:=(HHV(INDEXH,34)-INDEXC)/(HHV(INDEXH,34)-LLV(INDEXL,34))*100; 大盘线:SMA(Var11,3,1)*(-1)+100,colorYELLOW,linethick1;板块:=IFS(INBLOCK('工程建筑'),'工程建筑',IFS(INBLOCK('电力'),'电力',IFS(INBLOCK('计算机'),'计算机',IFS(INBLOCK('电子信息'),'电子信息', IFS(INBLOCK('房地产'),'房地产',IFS(INBLOCK('纺织服装'),'纺织服装',IFS(INBLOCK('钢铁'),'钢铁',IFS(INBLOCK('供水供气'),'供水供气',IFS(INBLOCK('化工化纤'),'化工化纤',IFS(INBLOCK('电器'),'电器',IFS(INBLOCK('交通设施'),'交通设施',IFS(INBLOCK('银行类'),'银行类', IFS(INBLOCK('旅游酒店'),'旅游酒店',IFS(INBLOCK('煤炭石油'),'煤炭石油',IFS(INBLOCK('酿酒食品'),'酿酒食品',IFS(INBLOCK('农林牧渔'),'农林牧渔',IFS(INBLOCK('商业连锁'),'商业连锁',IFS(INBLOCK('建材'),'建材',IFS(INBLOCK('其他行业'),'其他行业',IFS(INBLOCK('汽车类'),'汽车类', IFS(INBLOCK('机械'),'机械',IFS(INBLOCK('医药'),'医药',IFS(INBLOCK('外贸'),'外贸',IFS(INBLOCK('教育传媒'),'教育传媒',IFS(INBLOCK('仪电仪表'),'仪电仪表',IFS(INBLOCK('有色金属'),'有色金属',IFS(INBLOCK('造纸印刷'),'造纸印刷',IFS(INBLOCK('券商'),'券商',IFS(INBLOCK('电力设备'),'电力设备', IFS(INBLOCK('通信'),'通信',IFS(INBLOCK('运输物流'),'运输物流',IFS(INBLOCK('保险'),'保险','')))))))))))))))))))))))))))))))); DRAWTEXTABS(10,5,'所属: '+板块+'指数'),COLORYELLOW;【大智慧】绝对经典(能量线、大盘线、行业线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)

【股票指标公式下载】-【大智慧】预测收盘(预测当天最低价、预测收盘价)

【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式源码DRAWGBKLAST(1,STRIP(RgB(10,10,50),RGB(50,10,10),0)); MA3:MA(CLOSE,3); MA4:MA(CLOSE,4); MA5:MA(C,5),colorwhite;MA10:MA(C,10),COLORYELLOW; 警报:=CROSS(MA4,MA3);DRAWTEXT(警报,H*1.05,'↓'),LINETHICK6,ALIGN1,COLORFFFFFF;安全:=CROSS(MA3,MA4);DRAWTEXT(安全,L*0.95,'↑'),LINETHICK6,ALIGN1,colorRED; SD:=HHV(HIGH,13)=HIGH AND HIGH>REF(HIGH,1);{17}x9:FORCAST(c,9),Colorwhite,LINETHICK2;llx:=llv(FORCAST(c,9),2);PARTLINE(x9,x9=llx,rgb(255,205,0),x9<>llx,rgb(255,0,0)),linethick3; MA21:MA(C,21),LINETHICK1,COLORE66878;VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);DRAWTEXTABS(15,71,'明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),COLOR0000FF;DRAWTEXTABS(15,90,'明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),COLORffff00;HHVALL(HIGH)*1.1,COLOR000000;LLVALL(LOW)*0.9,COLOR000000;{预测当天最低价公式}A1:=REF(O,1);A2:=ABS((REF(C,1)-A1)/A1);A3:=ABS((REF(H,1)-A1)/A1);A4:=ABS((REF(L,1)-A1)/A1);B1:=ABS((A2+A3+A4)/3);B2:=O*B1;今日最高:=O+B2;预测低一:O-B2,linethick0;{预测当天收盘价公式}开盘价1:=open;开盘价2:=REF(open,1);最高价1:=high;最高价2:=REF(high,1);最低价1:=low;最低价2:=REF(low,1);收盘价1:=CLOSE;收盘价2:=REF(CLOSE,1);AA:=最高价2;BB:=最低价2;CC:=开盘价2;DD:=收盘价2;EE:=(AA+BB+CC+2*DD)/5;AAA:=EE+(AA-BB);BBB:=2*EE-BB;CCC:=2*EE-AA;DDD:=EE-(AA-BB);上升突破价:=AAA;上升阻力价:=BBB;下跌支撑价:=CCC;下跌反转价:=DDD;EEE:=(EE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5;心理价:=EEE;FFF:=(EEE+开盘价1)/2;GGG:=(预测低一+FFF)/2;预测低二:GGG,colorffffff,LINETHICK0;高:=今日最高;收:=FFF;DRAWTEXTABS(15,35,'预测低一: '+NUMTOSTRN(预测低一,2)+'元'),COLORWHITE ,linethick1;DRAWTEXTABS(15,53,'预测低二: '+NUMTOSTRN(预测低二,2)+'元'),COLORWHITE ,linethick1;a:="[email=LTFunc5@FORLT2]LTFunc5@FORLT2[/email]";s1:="[email=LTFunc5@LT_S1]LTFunc5@LT_S1[/email]";p1:="[email=LTFunc5@LT_P1]LTFunc5@LT_P1[/email]";drawbmp(p1=1 and ref(p1,1)=0,l,'buy1.bmp'),align1,valign0; drawbmp(p1=0 and ref(p1,1)=1,h,'sell1.bmp'),align1,valign2;drawbmp(s1=1 and ref(s1,1)=0 and(p1+ref(p1,1))<>1,l,'bs.bmp'),align1,valign0;drawbmp(s1=0 and ref(s1,1)=1 and(p1+ref(p1,1))<>1,h,'ss.bmp'),align1,valign2;{一品资料说明}WW:=BARSLAST(DISPSTATUS=1);低涨:(C/LLV(LOW,WW)-1)*100,COLOR0000FF,LINETHICK0,PRECIS2;天:BARSLAST(L=LLV(LOW,WW)),COLOR00FFFF,LINETHICK0,PRECIS0; DRAWTEXTABS(210,15,'◇低点至今上涨:'+NUMTOSTRN(低涨,2)+'%'+NUMTOSTRN(天,0)+'天'),COLOR0000FF;DRAWTEXTABS(210,32,'◇目前可见K线:'+NUMTOSTRN(WW+1,0)+'天'),COLORYELLOW;DRAWTEXTABS(15,15,'预测今日最高价: '+NUMTOSTRN(ref(今日最高,0),2)+'元'),COLORF00FF0,linethick1;DRAWTEXTREL(680,950,'预测今日收盘价: '+NUMTOSTRN(ref(FFF,0),2)+'元'),COLORF00FF0,linethick1;{43}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)ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);Var14:=ZIG(3,22)<REF(ZIG(3,22),1)ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2)ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);Var15:=ZIG(3,51)>REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);Var16:=ZIG(3,51)<REF(ZIG(3,51),1)ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2)ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);Var17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2)ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);Var18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2)ANDREF(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;{B} DRAWTEXT(买点2>0,L-0.25,{'B'}'买'),LINETHICK2,ALIGN1,COLOR00FFFF;{B} DRAWTEXT(卖点1>0,H+0.95,{'S'}'卖'),LINETHICK2,ALIGN1,COLOR33FF33;{S}闪:EMA(c+(h-l)*0.618,3),Color0099FF,LINETHICK0;进:EMA((o+h+l)/3,4),COLORCYAN,LINETHICK0;预测明日买点:=EMA((o+h+l)/3,4)+((h+l)/2-ref((o+h+l)/3,3))/4; DRAWTEXTREL(250,0,' ◇测今日低点:'+NUMTOSTRN(ref(预测明日买点,1),2 )),ColorGREEN,linethick1;预测明日卖点:=EMA(c+(h-l)*0.618,3)+(EMA(c+(h-l)*0.618,3)-进)*0.618; DRAWTEXTREL(15,0,'♂测今日高点:'+NUMTOSTRN(ref(预测明日卖点,1),2 )),Colorred,linethick1;{预测明日涨跌}C1:=REF(CLOSE,1);C2:=HHV(C1,2);C3:=LLV(C1,1);ET:=HHV(C1,2);ET1:=REF(ET,1);XB:=LLV(C1,1);XB1:=REF(XB,1);M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1)));M11:=REF(M,1);N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1)));N1:=REF(N9,1);M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1);N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1);ET2:=HHV(ET,M21);XB2:=LLV(XB,N2);A:=IF((((M - N9) > 0) AND (M11 <= N1)),1,IF((((N9 - M) > 0) AND (N1 <= M11)),0,2));H1:=IF(((M - N9) > 0),CLOSE,ET2);H2:=IF((A = 1),CLOSE,C2);H3:=IF(((M - N9) < 0),CLOSE,XB2);H4:=IF((A = 1),CLOSE,XB2);H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3);H6:=REF(H5,1);H7:=REF(H5,2);H8:=(H5 > H6);H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10);T9:=((H5 < H6) AND (H5 < REF(H5,2)));T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2)));T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1)));T12:=((H5 = REF(H5,1)) AND (H3 = H4));T13:=((H2 = REF(H2,1)) AND (H2 = H5));TW:=((((T9 OR T10) OR T11) OR T12) OR T13);PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4);PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); DRAWTEXT(((DISPSTATUS=2 AND W) AND (BBP < 96.5)),(H5 * 1.022),' 明日看涨'),MOVE1,colorFF00ff;DRAWTEXT(((DISPSTATUS=2 AND TW) AND (BBP > 1)),((H5 + H4) / 2),' 明日看跌'),MOVE0,colorffFF00;{支撑压力}gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); aRSV:=SMA(下档线,3,1);aK:=SMA(aRSV,3,1);aD:=((3 * aRSV) - (2 * aK));aJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); aRSV24:=SMA(aJ12,3,1);aK24:=SMA(aRSV24,3,1);aD24:=((3 * aRSV24) - (2 * aK24));撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD)))){,LINET HICK2,COLORFFFFFF};底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF; DRAWTEXT(BARSTATUS=2 ,撑压位,' 撑压'),COLORFFFFFF,VALIGN1; STICKLINE(BARSTATUS=2 ,底,底,30,1),COLOR00FF00,LINETHICK1;【大智慧】预测收盘(预测当天最低价、预测收盘价)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【大智慧】数字均线(量能饱和度、明日阻力、下档线)

【股票指标公式下载】-【大智慧】数字均线(量能饱和度、明日阻力、下档线)

【大智慧】数字均线(量能饱和度、明日阻力、下档线)-指标公式源码DRAWGBKLAST(DATE>900101,STRIP(RGB(15,125,125),RGB(0,50,0),0)); DRAWTEXTABS(10,8,STKLABEL+' '+STKNAME+' '+BKNAME),COLOR00FFFF;N:=20;SAT:=(AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N));量能饱和度:=IF(SAT>1,1,SAT)*100;DRAWTEXTABS(20,21,'量能饱和度:'+NUMTOSTRN(量能饱和度,2)+'%'),COLORred;DRAWRECTREL(1,83,18,382,RGB(30,30,30)),COLORWHITE;AAA:=量能饱和度<=10;BBB:=量能饱和度>10 AND 量能饱和度<=20;CCC:=量能饱和度>20 AND 量能饱和度<=30;DDD:=量能饱和度>30 AND 量能饱和度<=50;EEE:=量能饱和度>50 AND 量能饱和度<=70;FFF:=量能饱和度>70 AND 量能饱和度<=80;GGG:=量能饱和度>80 AND 量能饱和度<=90;HHH:=量能饱和度>90;IF BARSTATUS=2 AND AAA THEN BEGINDRAWRECTREL(3,350,16,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND BBB THEN BEGINDRAWRECTREL(3,320,16,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND CCC THEN BEGINDRAWRECTREL(3,290,16,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND DDD THEN BEGINDRAWRECTREL(3,230,16,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND EEE THEN BEGINDRAWRECTREL(3,170,16,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND FFF THEN BEGINDRAWRECTREL(3,140,16,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND GGG THEN BEGINDRAWRECTREL(3,110,16,380,RGB(255,0,0));ENDELSEIF BARSTATUS=2 AND HHH THEN BEGIN DRAWRECTREL(3,85,16,380,RGB(255,0,0)); END;gj:=if(c=INDEXC,(INDEXC+INDEXh+INDEXl+INDEXO)/4,AMOUNT/(v+0.01)/100); 明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);明日阻力:=l+(gj-l)+(c-l);明日支撑:=l+(c-gj);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);STICKLINE(DISPSTATUS=2 and c>=今日阻力,今日阻力,今日阻力,30,0),Color0000FF;STICKLINE(DISPSTATUS=2 and c<今日阻力,今日阻力,今日阻力,30,0),Color00FF00;STICKLINE(DISPSTATUS=2 and c>=今日支撑,今日支撑,今日支撑,30,0),ColorFF00FF;STICKLINE(DISPSTATUS=2 and c<今日支撑,今日支撑,今日支撑,30,0),ColorFF0000;DRAWTEXTREL(23,117,'--------------------------------'),ColorFFFFFF;IF BARSTATUS=2 and c>=今日支撑 THENDRAWTEXTREL(23,147,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )),ColorFF00FF; IF BARSTATUS=2 and c<今日支撑 THENDRAWTEXTREL(23,147,'今日支撑=:'+NUMTOSTRN(今日支撑 ,2 )),ColorFF0000; IF BARSTATUS=2 and c>=今日阻力 THENDRAWTEXTREL(23,197,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color0000FF; IF BARSTATUS=2 and c<今日阻力 THENDRAWTEXTREL(23,197,'今日阻力=:'+NUMTOSTRN(今日阻力 ,2 )),Color00FF00; IF BARSTATUS=2 and c>=明日支撑 THENDRAWTEXTREL(173,147,'明日支撑=:'+NUMTOSTRN(明日支撑 ,2 )),Color00FFFF;IF BARSTATUS=2 and c<明日阻力 THENDRAWTEXTREL(173,197,'明日阻力=:'+NUMTOSTRN(明日阻力 ,2 )),Color00FFFF;DRAWTEXTREL(23,227,'--------------------------------'),ColorFFFFFF;IF BARSTATUS=2 and v>ref(v,1) and ma(v,5)>ref(ma(v,5),1) THEN DRAWTEXTREL(360,87,'今日成交量大于昨日,且有继续增大趋势'),Color8285FF;IF BARSTATUS=2 and v<ref(v,1) and ma(v,5)>ref(ma(v,5),1) THEN DRAWTEXTREL(360,87,'今日成交量小于昨日,但有放大迹象'),Color8285FF;IF BARSTATUS=2 and v>ref(v,1)and ma(v,5)<ref(ma(v,5),1) THEN DRAWTEXTREL(360,87,'今日成交量大于昨日, 但有缩小迹象'),Color8285FF;IF BARSTATUS=2 and v<ref(v,1)and ma(v,5)<ref(ma(v,5),1) THEN DRAWTEXTREL(360,87,'今日成交量小于昨日,且有缩小迹象'),Color8285FF;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); aRSV:=SMA(下档线,3,1);aK:=SMA(aRSV,3,1);aD:=((3 * aRSV) - (2 * aK));aJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); aRSV24:=SMA(aJ12,3,1);aK24:=SMA(aRSV24,3,1);aD24:=((3 * aRSV24) - (2 * aK24));撑压位:=IF(CROSS(aD24,aD),HIGH,REF(HIGH,BARSLAST(CROSS(aD24,aD)))); 底:=LLV(HIGH,30){,COLOR00FF00,LINETHICK2};STICKLINE(BARSTATUS=2 ,撑压位,撑压位,30,1),LINETHICK1,COLORFFFFFF; DRAWTEXT(BARSTATUS=2 ,撑压位,' 撑压'),COLORFFFFFF,VALIGN1; STICKLINE(BARSTATUS=2 ,底,底,30,1),COLOR00FF00,LINETHICK1; DRAWTEXT(BARSTATUS=2 ,底,' 底线'),COLOR00FF00,VALIGN0;AA05:MA(C,5),colorff00ff,linethick1;五日乖离率:=(c-AA05)/AA05*100;BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416;速度5:=sma(ema((AA05-ref(AA05,1))/ref(AA05,1),3)*100,3,1);加速度5:ema((速度5-ref(速度5,1)),3),linethick0;{STICKLINE(BB05>30 and AA05>ref(AA05,1),AA05,REF(AA05,1),2,1),colorf00fF0;}PARTLINE(AA05,AA05>ref(AA05,1),RGB(250,0,0),AA05<ref(AA05,1),RGB(0,25 0,180),1,RGB(0,0,180));AA10:MA(C,10),coloryellow;AA20:=MA(c,20);BB10:=atan((aa10/ref(aa10,1)-1)*100)*180/3.1416;{STICKLINE(BB05<0 and AA05<ref(AA05,1),AA05,REF(AA05,1),2,1),colorF00F00;}AA30:MA(C,30),colorGREEN;三拾日乖离率:(c-AA30)/AA30*100,linethick0;Var1:=(AA20-AA30)>ref((AA20-AA30),1) and AA20>ref(aa20,1) andAA30>ref(AA30,1);Var2:=(AA30-AA20)<ref((AA30-AA20),1) and AA20<ref(aa20,1) andAA30<ref(AA30,1);BB30:=atan((aa30/ref(aa30,1)-1)*100)*180/3.1416;{STICKLINE(BB30>15 and AA30>ref(AA30,1),AA30,REF(AA30,1),2,1),colorRED;}PARTLINE(AA30,AA30>ref(AA30,1),RGB(250,0,0),AA30<ref(AA30,1),RGB(0,25 0,180),1,RGB(0,0,180));强势狙击:=filter(BB30>30 and BB10>45 and cross(BB05,60),10);加仓:=filter(count(cross(BB05,30),5)>=1 and AA05>ref(aa05,1) and 三拾日乖离率>ref(三拾日乖离率,1) and AA10>ref(AA10,1)and 加速度5>ref(加速度5,1) and 速度5>ref(速度5,1) ,10) ;清仓:=filter(count(cross(30,BB05),5)>=1 and (c>AA30 or O>AA30) and AA05<ref(aa05,1) and 三拾日乖离率<ref(三拾日乖离率,1) andAA10<ref(AA10,1),10);drawtext(加仓 ,low*0.98,'←加仓'),colorred;JC:=cross(0,五日乖离率) and 三拾日乖离率<ref(三拾日乖离率,1) andAA10>ref(AA10,1) ;减仓:=filter(JC,10);MR:=count(cross(五日乖离率,0),3)>=1 and 三拾日乖离率>ref(三拾日乖离率,1) and AA05>ref(AA05,1) and (c/ref(c,1)-1)*100>5 and ref(c,1)<AA30; 买入:=filter(MR,10);drawtext(减仓,high*1.02,'减'),colorcyan;drawtext(买入,low*0.98,'买'),coloryellow;drawtext(清仓 ,high*1.02,'清'),COLORGREEN;drawtext(强势狙击,LOW*0.98,'强'),coloryellow;Var21:=MAX(ABS(HIGH-AMOUNT/VOL/100),ABS(AMOUNT/VOL/100-LOW));Var3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100);MV:=(Var21+Var3)/AMOUNT*VOL*100*50;DRAWTEXT(MV>6 and l<=llv(l,10),l*0.96,'异'),colorcyan;aa:=if(c>=ref(c,3),1,0);bb:=if(c>=ref(c,5),1,0);cc:=if(c>=ref(c,7),1,0);dd:=if(c>=ref(c,8),1,0);ee:=if(c>=ref(c,13),1,0);ff:=if(c>=ref(c,21),1,0);gz2:=aa+bb+cc+dd+ee+ff;Var11:=EMA(CLOSE,3)-EMA(CLOSE,6)-(EMA(CLOSE,6)-EMA(CLOSE,12))*(-100); Var12:=EMA(Var11,3);Var5:=CROSS(Var11,Var12);Var6:=CROSS(Var12,Var11);STICKLINE(C>=O,l,H,0,0), COLOR0000FF,LAYER2;STICKLINE(C<O,l,H,0,0), COLORFFFF00,LAYER2;STICKLINE(C>=O,O,C,10,1), COLOR0000FF,LAYER2;STICKLINE(C<O,O,C,8,0), COLORFFFF00,LAYER2;STICKLINE(Var6,OPEN,CLOSE,8,0), COLORBLUE,LAYER0;{兰色熊K} STICKLINE(Var5,OPEN,CLOSE,5,0), COLORYELLOW,LAYER0;{彩色牛K} STICKLINE(Var5,OPEN,CLOSE-(CLOSE-OPEN)*0.33,5,0),COLORaaccdd,LAYER0;{彩色牛K}STICKLINE(Var5,OPEN,CLOSE-(CLOSE-OPEN)*0.66,5,0),COLORRED,LAYER0;{彩色牛K}DRAWTEXT(c>0,(O+C)/2,NUMTOSTRN(gz2 ,0 )),coloryellow,LAYER0,ALIGN1,VA LIGN0,LINETHICK1;{彩色牛K};早晨之星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);黄昏之星:=REF(CLOSE,2)/REF(OPEN,2)>1.03 AND REF(OPEN,1)>REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 ANDCLOSE/OPEN<0.97 AND CLOSE<REF(CLOSE,2);长十字:=CLOSE=OPEN AND HIGH/LOW >1.03;垂死十字:=CLOSE=OPEN AND CLOSE=LOW AND CLOSE<>HIGH;早晨十字星:=REF(CLOSE,2)/REF(OPEN,2)<0.95 AND REF(OPEN,1)<REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2);黄昏十字星:=REF(CLOSE,2)/REF(OPEN,2)>1.05 AND REF(OPEN,1)>REF(CLOSE,2) AND REF(OPEN,1)=REF(CLOSE,1) ANDCLOSE/OPEN<0.95 AND CLOSE<REF(CLOSE,2);射击之星:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE>MA(CLOSE,5);倒转锤头:=MIN(OPEN,CLOSE)=LOW AND HIGH-LOW>3*(MAX(OPEN,CLOSE)-LOW) AND CLOSE<MA(CLOSE,5);锤头:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE<MA(CLOSE,5);吊颈:=HIGH = MAX(OPEN,CLOSE) AND HIGH-LOW>3*(HIGH-MIN(OPEN,CLOSE)) AND CLOSE>MA(CLOSE,5);穿头破脚:=(REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.96 AND CLOSE<REF(OPEN,1) AND OPEN>REF(CLOSE,1))OR (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.04 ANDCLOSE>REF(OPEN,1) AND OPEN<REF(CLOSE,1));乌云盖顶:=REF(CLOSE,1)/REF(OPEN,1)>1.03 AND CLOSE/OPEN<0.97 AND OPEN>REF(CLOSE,1) AND CLOSE<REF(CLOSE,1);曙光初现:=REF(CLOSE,1)/REF(OPEN,1)<0.97 AND CLOSE/OPEN>1.03 AND OPEN<REF(CLOSE,1) AND CLOSE>REF(CLOSE,1);身怀六甲:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04 ANDABS(CLOSE-OPEN)/CLOSE<0.005 ANDMAX(CLOSE,OPEN)<MAX(REF(CLOSE,1),REF(OPEN,1)) ANDMIN(CLOSE,OPEN)>MIN(REF(CLOSE,1),REF(OPEN,1));十字胎:=ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1)>0.04 AND CLOSE=OPEN ANDCLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND CLOSE >MIN(REF(CLOSE,1),REF(OPEN,1));平顶:=ABS(HIGH-REF(HIGH,1))/HIGH<0.001;平底:=(ABS(LOW-REF(LOW,1))/LOW<0.001 ANDABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001);大阳烛:=CLOSE/OPEN>1.05 AND HIGH/LOW<CLOSE/OPEN+0.018;三个白武士:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) AND CLOSE>OPENAND REF(CLOSE,1)>REF(CLOSE,2) AND CLOSE>REF(CLOSE,1);双飞乌鸦:=REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND CLOSE/OPEN<0.98; 孕育线:=REF(CLOSE,2)>REF(OPEN,2) AND(REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=2/100 ANDREF(OPEN,1)>=REF(CLOSE,1) AND(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=2/100 ANDREF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND C>=OPEN AND (CLOSE-OPEN)/OPEN>=2/100 AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1) AND(MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2)) <=1/100;多方炮:=REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN;出水芙蓉:=(OPEN<EMA(C,20) OR OPEN<EMA(C,40) OR OPEN<EMA(C,60)) AND (C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))))AND (V/MA(V,30)>1.2 AND C/REF(C,1)>1.049);上升三部曲:=REF(CLOSE,4)/REF(OPEN,4)>1.03 AND REF(CLOSE,3)<REF(OPEN,3) AND REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) ANDREF(LOW,4)<REF(LOW,3) AND REF(LOW,4)<REF(LOW,2) ANDREF(LOW,4)<REF(LOW,1) AND REF(HIGH,4)>REF(HIGH,3) ANDREF(HIGH,4)>REF(HIGH,2) ANDREF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN>1.03 AND CLOSE>REF(CLOSE,4);下跌三部曲:= REF(CLOSE,4)/REF(OPEN,4)<0.97 AND REF(CLOSE,3)>REF(OPEN,3) AND REF(CLOSE,2)>REF(OPEN,2) AND REF(CLOSE,1)>REF(OPEN,1) ANDREF(LOW,4)<REF(LOW,3) ANDREF(LOW,4)<REF(LOW,2) AND REF(LOW,4)<REF(LOW,1) ANDREF(HIGH,4)>REF(HIGH,3) AND REF(HIGH,4)>REF(HIGH,2) ANDREF(HIGH,4)>REF(HIGH,1) AND CLOSE/OPEN<0.97 ANDCLOSE<REF(CLOSE,4);跳空缺口:=HIGH<REF(LOW,1) OR LOW>REF(HIGH,1);三只乌鸦:=REF(CLOSE,2)<REF(OPEN,2) AND REF(CLOSE,1)<REF(OPEN,1) AND CLOSE<OPEN AND REF(CLOSE,1)<REF(CLOSE,2) AND CLOSE<REF(CLOSE,1);光脚阴线:=LOW=CLOSE AND HIGH<>LOW;光头阳线:=HIGH=CLOSE AND HIGH<>LOW;分离:=OPEN=REF(OPEN,1) AND (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0; 长下影:=(MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667;长上影:=(HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667;十字星:=CLOSE=OPEN AND HIGH<>LOW;大阴烛:=OPEN/CLOSE > 1.05 AND HIGH/LOW < OPEN/CLOSE+0.018;好友反攻:=(REF(CLOSE,1)<REF(OPEN,1) AND CLOSE>OPEN ANDABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)OR (REF(CLOSE,1)>REF(OPEN,1) AND CLOSE<OPEN ANDABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002);倾盆大雨:=REF(C,1)/REF(O,1)>=1.03 AND O<REF(C,1) AND O>REF(O,1) ANDC<REF(O,1);解盘:='【K线形态解盘】'+IFs(倾盆大雨,'★倾盆大雨,见顶信号;','')+IFs(大阴烛,'★大阴烛,后市向淡,发生逆转;','')+IFs(好友反攻,'★好友反攻,底部反转;','')+IFs(跳空缺口,'★跳空缺口,注意向上还是向下跳空;','')+IFs(光脚阴线,'★光脚阴线,下跌信号;','')+IFs(光头阳线,'★光头阳线,后市看涨;','')+IFs(三只乌鸦,'★三只乌鸦,可能见顶回落;','')+IFs(分离,'★分离,注意看涨分离和看跌分离;','')+IFs(长下影,'★长下影,持续下跌后出现,有可能止跌回升;在升势末期出现,须多加留意;','')+IFs(长上影,'★长上影,表明行情上档压力沉重,升势受阻;','')+IFs(下跌三部曲,'★下跌三部曲,下跌信号;','')+IFs(上升三部曲,'★上升三部曲,上涨信号;','')+IFs(早晨之星,'★早晨之星,见底回升;','')+IFs(黄昏之星,'★黄昏之星,见顶回落;','')+IFs(十字星,'★十字星,有转向意味,注意股价位置在顶部还是底部;','')+ IFs(长十字,'★长十字,注意在顶部还是底部;','')+IFs(垂死十字,'★垂死十字,下跌信号;','')+IFs(早晨十字星,'★早晨十字星,上涨信号,见底回升;','')+IFs(黄昏十字星,'★黄昏十字星,下跌信号,见顶回落;','')+IFs(射击之星,'★射击之星,可能见顶回落,可靠性低;','')+IFs(倒转锤头,'★倒转锤头,可能见底回升;','')+IFs(锤头,'★锤头,可能见底回升,如有量配合,信号强烈;','')+IFs(吊颈,'★吊颈,上升行情中见顶回落,顶部出现,见顶信号;','')+IFs(平顶,'★平顶,温和的反转;','')+IFs(穿头破脚,'★穿头破脚,顶部出现,见顶回落信号;','')+IFs(乌云盖顶,'★乌云盖顶,见顶回落信号;','')+IFs(曙光初现,'★曙光初现,后市见底回升;','')+IFs(身怀六甲,'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号;','')+IFs(十字胎,'★十字胎;','')+IFs(平底,'★平底,温和的反转;','')+IFs(大阳烛,'★大阳烛,看涨;','')+IFs(三个白武士,'★三个白武士,每日收盘价上移,表示可能见底回升;','')+ IFs(双飞乌鸦,'★双飞乌鸦,行情将见顶回落;','')+IFs(孕育线,'★孕育线,注意股价位置;','')+IFs(多方炮,'★多方炮,在底部出现有上涨意味,在中间出现有可能是上涨中继,顶部出现是复合见顶信号;','')+IFs(出水芙蓉,'★出水芙蓉,见底回升;','');DRAWFLAGTEXT(倾盆大雨,c,'★倾盆大雨,见顶信号'),COLORGREEN; DRAWFLAGTEXT(大阴烛,c,'★大阴烛,后市向淡,发生逆转'),COLORGREEN; DRAWFLAGTEXT(好友反攻,c,'★好友反攻,底部反转'),COLORred; DRAWFLAGTEXT(跳空缺口,c,'★跳空缺口,注意向上还是向下跳空'),colorff00ff;DRAWFLAGTEXT(光脚阴线,c,'★光脚阴线,下跌信号'),COLORGREEN; DRAWFLAGTEXT(光头阳线,c,'★光头阳线,后市看涨'),COLORred; DRAWFLAGTEXT(三只乌鸦,c,'★三只乌鸦,小心见顶回落'),COLORGREEN; DRAWFLAGTEXT(分离,c,'★分离,注意看涨分离和看跌分离'),COLORGREEN;DRAWFLAGTEXT(长下影,c,'★长下影,持续下跌后出现,止跌回升;在升势末出现,多加留意'),colorff00ff;DRAWFLAGTEXT(长上影,c,'★长上影,行情上档压力沉重,升势受阻'),COLORGREEN;DRAWFLAGTEXT(下跌三部曲,c,'★下跌三部曲,下跌信号'),COLORGREEN; DRAWFLAGTEXT(上升三部曲,c,'★上升三部曲,上涨信号'),COLORred; DRAWFLAGTEXT(早晨之星,c,'★早晨之星,见底回升'),COLORred; DRAWFLAGTEXT(黄昏之星,c,'★黄昏之星,见顶回落'),COLORGREEN; DRAWFLAGTEXT(十字星,c,'★十字星,有转向意味,注意股价位置在顶部还是底部'),colorff00ff;DRAWFLAGTEXT(长十字,c,'★长十字,注意在顶部还是底部'),COLORGREEN; DRAWFLAGTEXT(垂死十字,c,'★垂死十字,下跌信号'),COLORGREEN; DRAWFLAGTEXT(早晨十字星,c,'★早晨十字星,上涨信号,见底回升'),COLORred; DRAWFLAGTEXT(黄昏十字星,c,'★黄昏十字星,下跌信号,见顶回落'),COLORGREEN;DRAWFLAGTEXT(射击之星,c,'★射击之星,可能见顶回落,可靠性低'),COLORGREEN;DRAWFLAGTEXT(倒转锤头,c,'★倒转锤头,可能见底回升'),COLORred; DRAWFLAGTEXT(锤头,c,'★锤头,可能见底回升,如有量配合,信号强烈'),COLORred;DRAWFLAGTEXT(吊颈,c,'★吊颈,上升行情中见顶回落,顶部出现,见顶信号'),colorff00ff;DRAWFLAGTEXT(平顶,c,'★平顶,温和的反转'),COLORred;DRAWFLAGTEXT(穿头破脚,c,'★穿头破脚,顶部出现,见顶回落信号'),COLORGREEN;DRAWFLAGTEXT(乌云盖顶,c,'★乌云盖顶,见顶回落信号'),COLORGREEN; DRAWFLAGTEXT(曙光初现,c,'★曙光初现,后市见底回升'),COLORred; DRAWFLAGTEXT(身怀六甲,c,'★身怀六甲,出现在底部,是见底回升信号;出现在顶部,是见顶回落信号'),colorff00ff;DRAWFLAGTEXT(十字胎,c,'★十字胎'),COLORred;DRAWFLAGTEXT(平底,c,'★平底,温和的反转'),COLORred;DRAWFLAGTEXT(大阳烛,c,'★大阳烛,看涨'),COLORred;DRAWFLAGTEXT(三个白武士,c,'★三个白武士,每日收盘价上移,表示可能见底回升'),COLORred;DRAWFLAGTEXT(双飞乌鸦,c,'★双飞乌鸦,小心见顶回落'),COLORGREEN;DRAWFLAGTEXT(孕育线,c,'★孕育线,注意股价位置'),COLORred; DRAWFLAGTEXT(多方炮,c,'★多方炮,配合量能确定顶底'),colorff00ff;{金印组合}QH:=REF(H,2);QL:=REF(L,2);QO:=REF(O,2);QC:=REF(C,2);ZO:=REF(O,1);ZC:=REF(C,1);JYZHK:= ABS(QO-QC)/QO<0.02 AND ZO/ZC>1.03 AND ABS(O-C)/O<0.02 AND C>MA(C,30);JYZHV:=V<REF(V,1) ;JYZH:=JYZHK AND JYZHV;DRAWTEXT(JYZH,L,'金'),linethick3,coloryellow;{以下定义坚决买进}var77:=ema(amount/vol/100,3);var88:=ema(var77,88);var99:=ema(var77,88)*0.85;varah:=var99*0.87;varbh:=low<varah and close>ref(close,1)*1.02;drawtext(filter(varbh,6),l-0.08,'坚'),linethick3,colorff00ff;获利:=WINNER(CLOSE)*100;十涨:=(c-ref(c,HHVBARS(c,10)))/ref(c,HHVBARS(c,10))*100; DRAWTEXTABS(15 ,65 ,'*股票状态:'+'★获利比例:'+NUMTOSTRN(获利,1)+'% '+ '★10日涨幅:'+NUMTOSTRN(十涨,1)+'% '+ifs("上涨.上涨"=1,' ★上涨',' ')+ifs("下跌.下跌"=1,' ★下跌','')+ifs(DYNAINFO(4)=0,'停牌',' ')+ifs("组合抄底.抄底组合"=1,' 抄底组合',' ')+ifs("三组抄底.三组抄底"=1,' 三组抄底',' ')+ifs("三组抄底.三组抄底"=1 and "双底低点.双底低点"=1,' 双底三组抄底',' ')+ifs("五组抄底.五组抄底"=1,' 五组极限抄底',' ')+ifs("五组抄底.五组抄底"=1 and "双底低点.双底低点"=1,' 双底五组极限抄底',' ')+ifs("双底低点.双底低点"=1,' 双底低点',' ')+ifs("组合抄底.抄底组合"=1 AND "双底低点.双底低点"=1,' 双底抄底',' ')+ifs("启动介入.启动介入"=1,' 启动介入',' ')+ifs("六指翻红.六指翻红"=1,' 六指翻红',' ')+ifs("风险高点.风险高点"=1,' 风险高点',' ')+ifs("量背急跌.量背急跌"=1,' 量背急跌',' ')),COLORYELLOW;【大智慧】数字均线(量能饱和度、明日阻力、下档线)-指标公式效果图(文档来源:若水财经社区)。

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

【大智慧】高手划线(高点、低点)-指标公式源码
DRAWGBKLAST(C>0,STRIP(RGB(90,90,90),RGB(0,0,0),0));
A1:=REF(HIGH,3)=HHV(HIGH,2*3+1); B1:=FILTER(A1,3); C1:=BACKSET(B1,3+1); D1:=FILTER(C1,3);{高点}
A2:=REF(LOW,3)=LLV(LOW,2*3+1); B2:=FILTER(A2,3); C2:=BACKSET(B2,3+1); D2:=FILTER(C2,3);{低点}
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;
E2:=(HIGH+LOW)/2;{高低点出现在同一K线上时可作取舍}
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1; H2:=D1 AND NOT(D2 AND E1>=E2);
L1:=D2 AND NOT(D1 AND E1=E2);
X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND
COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));
G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低点}
L2:=LD OR BARSTATUS=2 OR BARSCOUNT(CLOSE)=1;
X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND
COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));
G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高点} DRAWLINE(LD,L,HD,H,0),COLORWHITE,LINETHICK1,POINTDOT;
DRAWLINE(HD,H,LD,L,0),COLORWHITE,LINETHICK1,POINTDOT;
J1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HD),BARSLAST(LD))+1);
J2:=J1>REF(J1,1);
DRAWLINE(J2,IF(HD,H,L),BARSTATUS=2,IF(BARSLAST(HD)>BARSLAST(LD),H,L), 0),COLORWHITE,LINETHICK1,POINTDOT;
A3:=H;
B3:=REF(H,REF(BARSLAST(HD),1)+1)>REF(H,REF(BARSLAST(HD),1)+2+REF(BARS LAST(HD),REF(BARSLAST(HD),1)+2));
D3:=A3 AND B3 AND HD; E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2);
HH:=E3>REF(E3,1);{找出全部长期高点}
A4:=L>REF(L,REF(BARSLAST(LD),1)+1);
B4:=REF(L,REF(BARSLAST(LD),1)+1); D4:=A4 AND B4 AND LD;
E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2); LL:=E4>REF(E4,1);{找出全部长期低点}
DRAWICON(HH,H,5),ALIGN1; DRAWICON(LL,L,4),ALIGN1;
H3:=HH OR BARSTATUS=2 OR BARSCOUNT(C)=1; {后面进行过滤,方法同前。

只是不用考虑高低点出现在同一K线}
X3:=REF(BARSLAST(H3),1)+1; F3:=BACKSET(H3 AND
COUNT(LL,X3)>0,LLVBARS(IF(LL,L,POW(10,20)),X3));
G3:=F3>REF(F3,1); I3:=BACKSET(G3,2); LZ:=I3>REF(I3,1); {长期低点,也可供引用}
L4:=LZ OR BARSTATUS=2 OR BARSCOUNT(C)=1;
X4:=REF(BARSLAST(L4),1)+1; F4:=BACKSET(L4 AND
COUNT(HH,X4)>0,HHVBARS(IF(HH,H,-POW(10,20)),X4));
G4:=F4>REF(F4,1); I4:=BACKSET(G4,2); HZ:=I4>REF(I4,1);{长期高点,也可供引用}
DRAWLINE(HZ,H,LZ,L,0),COLORGREEN,LINETHICK1;
DRAWLINE(LZ,L,HZ,H,0),COLORGREEN,LINETHICK1;{长期连线}
K1:=BACKSET(BARSTATUS=2,MIN(BARSLAST(HZ),BARSLAST(LZ))+1);
K2:=K1>REF(K1,1);
DRAWLINE(K2,IF(HZ,H,L),BARSTATUS=2,C,0),COLORGREEN,LINETHICK1; {最后的长期连线,连在收盘价上}
UU:=BACKSET(BARSTATUS=2,BARSLAST(LD)+1);
VV:=UU>REF(UU,1);
WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);
XX:=WW>REF(WW,1);
DRAWLINE(XX,L,VV,L,1),COLORMAGENTA,LINETHICK1;
UU2:=BACKSET(BARSTATUS=2,BARSLAST(HD)+1);
VV2:=UU2>REF(UU2,1);
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);
XX2:=WW2>REF(WW2,1);
DRAWLINE(XX2,H,VV2,H,1),COLORMAGENTA,LINETHICK1;
前一低:REF(L,BARSLAST(VV)),COLOR99FF66,POINTDOT,LINETHICK3;
前二低:REF(L,BARSLAST(XX)),COLORFF66FF,POINTDOT,LINETHICK3;
前一高:REF(H,BARSLAST(VV2)),COLOR99FF66,POINTDOT,LINETHICK3;
前二高:REF(H,BARSLAST(XX2)),COLORFF66FF,POINTDOT,LINETHICK3;
短高:=REF(H,BARSLAST(VV2));
短低:=REF(L,BARSLAST(VV));
短比: (C-短低)/(短高-短低),LINETHICK0;
{以下语句为三角形部分}
底:REF(L,BARSLAST(VV)),COLORred,LINETHICK2;
頂:REF(H,BARSLAST(VV2)),COLORGreen,LINETHICK2;
{下迭三角形:藍色三角形畫完介入}
StickLine(VV,頂,底,0,0),Colorff6633,linethick3;{}
DRAWLINE(VV2,H,VV,L,0),Colorff6633,linethick3;{斜}
DRAWLINE(VV2,H,VV,頂,0),Colorff6633,linethick3;{?}
{DRAWLINE(c>0,H,VV,L,0),Colorcyan,linethick2;}{斜}
{DRAWLINE(c>1,H,VV,頂,0),Colorcyan,linethick2;}{?};
【大智慧】高手划线(高点、低点)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档