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

合集下载

天禄公式大智慧通用

天禄公式大智慧通用

一技术指标1 EMA选股a: 0;b: 10;乖离: (CLOSE-EMA(CLOSE,N))/EMA(CLOSE,N)*100;五天涨幅: (REF(CLOSE,1)-REF(CLOSE,5))/REF(CLOSE,5)*100;2 M3+1a: 0;b: 10;乖离: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;五天涨幅: (REF(CLOSE,1)-REF(CLOSE,5))/REF(CLOSE,5)*100;3 M3boll攻击线: MA(CLOSE,P1),LINETHICK2;防守线: MA(CLOSE,P2),LINETHICK2;生命线:MA(CLOSE,P3) ,COLORGREEN,LINETHICK3;partline(生命线, 生命线>ref(生命线,1),rgb(255,0,0)),linethick3; 主力前沿: EMA(CLOSE,153),COLORc8FFFF,linethick1;EMA9: EMA(CLOSE,173),COLOR96FFFF;EMA10: EMA(CLOSE,193),COLOR64FFFF;EMA11: EMA(CLOSE,213),COLOR28FDFD;主力后方: EMA(CLOSE,233),Color00ffff;MID : MA(CLOSE,N);UPPER: MID + P*STD(CLOSE,N),LINETHICK2; LOWER: MID - P*STD(CLOSE,N),LINETHICK2;SA:=SAR(N1,STEP,MAXP);PARTLINE(SA,SA<C ),CIRCLEDOT,COLORFF5FFF; PARTLINE(SA,SA>C ),CIRCLEDOT,COLOR00FF00;3a MA3+1攻击线: MA(CLOSE,P1),LINETHICK2;防守线: MA(CLOSE,P2),LINETHICK2;生命线: MA(CLOSE,P3),LINETHICK2;主力前沿: EMA(CLOSE,153),COLORc8FFFF,linethick1; EMA9: EMA(CLOSE,173),COLOR96FFFF;EMA10: EMA(CLOSE,193),COLOR64FFFF;EMA11: EMA(CLOSE,213),COLOR28FDFD;主力后方: EMA(CLOSE,233),Color00ffff;5 MACD新L21S13M8DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG);DEA : EMA(DIFF,M);MACD : 2*(DIFF-DEA), COLORSTICK;6 ZHXG{N:1,10,3;}MA5:=MA(C,5); MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);短线多头:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;中线多头:=MA30>MA120 AND MA60>MA120;均线粘合:=(HHV(MA5,HHV(MA10,MA20))/LLV(MA5,LLV(MA10,MA20))-1)*100<=N;均线拐点:=COUNT(短线多头,10) AND COUNT(MA5<REF(MA5,1),3) AND MA5>REF(MA5,1);XG:=中线多头 AND 均线粘合 AND 均线拐点 AND C>REF(C,1);选股:XG AND NOT(REF(XG,1)),COLORYELLOW,linethick2;均线粘合2:=(MAX(MA5,MAX(MA10,MA20))/MIN(MA5,MIN(MA10,MA20))-1)*100<=N;XG2:=中线多头 AND 均线粘合2 AND 均线拐点 AND C>REF(C,1);7近0金叉DIF:=EMA(CLOSE,12) - EMA(CLOSE,26); DEA:=EMA(DIF,9);靠近:=BETWEEN(DEA,0.012,-0.025);金叉:CROSS(DIF,DEA) AND 靠近,COLORFF00FF;8 均线拐头MA20趋势线:MA(CLOSE,N) ,COLORGREEN,LINETHICK2;partline(MA20趋势线,MA20趋势线>ref(MA20趋势线,1),rgb(255,0,0)),linethick2;9趋势直观DRAWGBKLAST((CLOSE > 0),STRIP(RGB(90,90,90),RGB(0,0,0),0));DIF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIF,9);多头:=COUNT(MA(CLOSE,20)>MA(CLOSE,10),10)=10;GX:=MAX(MA(CLOSE,5),MAX(MA(CLOSE,20),MA(CLOSE,10)));DX:=MIN(MA(CLOSE,5),MIN(MA(CLOSE,20),MA(CLOSE,10)));粘合:=ABS(GX/DX-1)*100<=15;MACD:=2*(DIF-DEA);庄股:=COUNT(MACD<0,10)=10;目标:IF(多头 AND 粘合 AND 庄股,1,0),LINETHICK0;STICKLINE(CROSS(0.1,目标) AND CROSS(MACD,0),10,40,3,0),COLORWHITE; RSV:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*100;短K:=SMA(RSV,3,1);短D:=SMA(短K,3,1);RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;中K:=SMA(RSV1,5,1); 中D:=SMA(中K,10,1);FILLRGN(中K,中D,(((中D <= 中K) ) )),COLOR0000FF,LAYER7; FILLRGN(中K,中D,(((中D >= 中K) ) )),ColorFF8000,LAYER7; STICKLINE(短K>短D,短K,短D,4,1),COLORYELLOW;STICKLINE(短K<=短D,短K,短D,4,1),COLORCCDD33;DRAWTEXTREL(800,950,' '+STKLABEL+' '+STKNAME),Color007171,LAYER7;10 突破均线COUNT(C>MA(C,N),X)=X;11终极黄金流通盘大小:=FINANCE2(37)/10000;DRAWTEXTABS(20,25,'流通盘大小:'+流通盘大小+'亿'),LINETHICK1,Colorffffff;净资产收益率:=FINANCE2(5);DRAWTEXTABS(220,25,'净资产收益率:'+净资产收益率+'%'),LINETHICK1,Colorffffff;上证指数:=indexc;DRAWTEXTABS(360,25,'上证指数:'+上证指数),LINETHICK1,Colorffffff;DRAWGBKLAST(L,STRIP(RGB(0,0,205),RGB(47,79,79),0));n:=20;n1:=7;n2:=49;Var1:=(CLOSE+HIGH+LOW)/3;Var2:=EMA(Var1,10);Var3:=REF(Var2,1);PARTLINE(Var2,Var2>Var3),pointdot,linethick7, COLORYELLOW;PARTLINE(Var3,Var2<Var3),pointdot,linethick7 , COLORBLUE;终极黄金: if(Var2>Var3,Var2,0), pointdot,linethick0, COLORYELLOW;一卸千里: if(Var2<Var3,Var3,0),pointdot,linethick0 , COLORBLUE;M1: EMA(CLOSE,5); M2: EMA(CLOSE,8); M3: EMA(M2,10); M4: EMA(M2,55);Var4:=EMA(M3,55);M5: EMA(M4,81);M6: EMA(Var4,144), colorff00ff;Var5:=(REF(HIGH,1)+REF(LOW,1))/2; Var6:=MA(CLOSE,N)+2*STD(CLOS E,N);Var7:=REF(CLOSE,1);Var8:=SMA(MAX(CLOSE-Var7,0),N1,1)/SMA(ABS(CLOSE-Var7),N1,1)*100;Var9:=CROSS(N2,Var8); VarA:=FILTER(Var9,4);VarB:=(2*CLOSE+HIGH+LOW)/4; VarC:=LLV(LOW,34); VarD :=HHV(HIGH,34);VarE:=EMA((VarB-Var4)/(Var5-Var4)*100,7);VarF:=EMA(0.667*REF(VarE,1)+0.333*VarE,5);PARTLINE(HIGH*1.02,IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.6 AND VOL>=1.5*MA(VOL,5) AND COUNT(VarE>=VarF,3) ANDREF(LOW,1)=LLV(LOW,120),1,0)) , COLORYELLOW;PARTLINE(HIGH*1.02,IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>0.6 AND COUNT(VarE>VarF,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0)), COLORf00ff0;买进1:if(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.6 ANDVOL>=1.5*MA(VOL,5) AND COUNT(VarE>=VarF,3) ANDREF(LOW,1)=LLV(LOW,120),1,0),HIGH*1.02,0) , COLORYELLOW,LINETHICK0;买进2:if(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>0.6 ANDCOUNT(VarE>VarF,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),HIGH*1.02,0), COLORf00ff0,LINETHICK0;Var10:=MA(CLOSE,80)-MA(CLOSE,10)/3;PARTLINE(HIGH*1.02,IF(CLOSE<Var10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0)), COLORred;12阻支线A:=H=HHV(H,N);B:=L=LLV(L,N);DRAWLINE(A,H,REF(A,1),REF(H,1),1),COLORGREEN;DRAWLINE(B,L,REF(B,1),REF(L,1),1),COLORRED;二条件选股1 11{N:1,10,3;}MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);短线多头:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;中线多头:=MA30>MA120 AND MA60>MA120;均线粘合:=(HHV(MA5,HHV(MA10,MA20))/LLV(MA5,LLV(MA10,MA20))-1)*100<=N;均线拐点:=COUNT(短线多头,10) AND COUNT(MA5<REF(MA5,1),3) AND MA5>REF(MA5,1);XG:=中线多头 AND 均线粘合 AND 均线拐点 AND C>REF(C,1);选股:XG AND NOT(REF(XG,1)),COLORYELLOW,linethick2;均线粘合2:=(MAX(MA5,MAX(MA10,MA20))/MIN(MA5,MIN(MA10,MA20))-1)*100<=N;XG2:=中线多头 AND 均线粘合2 AND 均线拐点 AND C>REF(C,1);2KDJ金叉RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;xg: cross(k,d);3KD低位选股:cross("kdj.k","kdj.d") and "kdj.k"<N and "kdj.d"<N;3a M2金叉DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);A0:=CROSS(DIFF,DEA);A:=A0 AND DIFF<0;FT:=BARSLAST(A);B:=COUNT(A0,FT);第二个金叉:DIFF>0 AND DEA>0 AND A0 AND B<2;5 MA叉EMAcross(ref(ma(c,X),1),ref(ema(c,Y),1));6 MA刚多头REF(MA(C,5),2)>REF(MA(C,5),1) AND MA(C,5)>REF(MA(C,5),1) ANDREF(MA(C,10),2)>REF(MA(C,10),1) AND MA(C,10)>REF(MA(C,10),1) AND REF(MA(C,20),2)>REF(MA(C,20),1) AND MA(C,20)>REF(MA(C,20),1) AND REF(MA(C,30),2)>REF(MA(C,30),1) AND MA(C,30)>REF(MA(C,30),1) ANDREF(MA(C,60),2)>REF(MA(C,60),1) AND MA(C,60)>REF(MA(C,60),1) ;{分析周期:5分钟};7 SAR选N:=20;M1:=5;M2:=13;M3:=34;MID:=REF(HIGH+LOW,1)/2;CR:=SUM(MAX(0,HIGH-MID),N)/SUM(MAX(0,MID-LOW),N)*100; MA1:=REF(MA(CR,M1),1+M1/2.5);MA2:=REF(MA(CR,M2),1+M2/2.5);MA3:=REF(MA(CR,M3),1+M3/2.5);CROSS(CR,MAX(MAX(MA1,MA2),MA3));8 创新高hhv(high,n)=hhv(high,0) and barscount(c)>=n;9大量窜涨xg:v/capital*100>X and (c/ref(c,1)>Y);9 当日换手Var1:=100*VOL/CAPITAL;w1:=var1>X;w2:=var1<Y;xg:w1 and w2;10 低价选股Var1:=100*VOL/CAPITAL;w1:=var1>X;w2:=var1<Y;xg:w1 and w2;11跌幅选股(hhv(c,X)-c)/hhv(c,X)>N;12放量上攻v>=ref(v,1)*X;13 放量选股xg:v>ma(v,X)*N;14过upN:=20;P:=2;MID:=MA(CLOSE,N);UPPER:=MID+P*STD(CLOSE,N); CROSS(C,UPPER);15 横盘REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(X/100)and ref(v,1)<ref(ma(v,5),1) and cross(v,ma(v,5)) andcross(v,ma(v,10));16回踩均线xg:abs(c-ma(c,N))/ma(c,N)<0.01 AND ma(c,N)>ref(ma(c,N),1);17 阶段换手sum(VOL/CAPITAL*100,N)>X;18 金价托MAN:=MA(C,N);MAN1:=MA(C,N1);MAN2:=MA(C,N2);金叉1:=CROSS(MAN,MAN1);金叉2:=CROSS(MAN,MAN2);金叉3:=CROSS(MAN1,MAN2);COUNT(金叉1,X)=1 AND COUNT(金叉2,X)=1 AND COUNT(金叉3,X)=1 ;19均线角度AA05:=MA(C,N);BB05:=atan((aa05/ref(aa05,1)-1)*100)*180/3.1416; XG:(BB05>X AND BB05<Y);20 均线上叉xg:count(cross(ma(c,X),ma(c,Y)),N);21 均线上下abs(l-ma(c,N))<0.005 and c>ma(c,N);22 均线向上COUNT(MA(C,N)>REF(MA(C,N),1),X)=X;23 均线粘合m1:=ma(close,5);m2:=ma(close,10);m3:=ma(close,20);m4:=ma(close,30);y1:=max(max(max(m1,m2),m3),m4);x1:=min(min(min(m1,m2),m3),m4);黏合:y1/x1<n;23 连日收阳XG:COUNT(C>o,N)>=N;24蚂蚁上树EMA13:=EMA(C,13);EMA34:=EMA(C,34);EMA55:=EMA(C,55);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));蚂蚁上树:BR1 AND BR2 AND BR3;25 爬均线w1:=ma(c,N);w2:=abs(c-w1)/w1<0.01;xg:count(w1>ref(w1,1),5)=5 and w2;26 爬均线2abs(l-ma(c,N))<0.10 and c>ma(c,X);27 三线多头A1:=MA(CLOSE,N);A2:=MA(CLOSE,N1);A3:=MA(CLOSE,N2);XG:A1>A2 AND A2>A3 AND A1>A3;28 十字星A1:=MA(CLOSE,N);A2:=MA(CLOSE,N1);A3:=MA(CLOSE,N2);XG:A1>A2 AND A2>A3 AND A1>A3;29 四线粘合X1:=ABS(MA(C,N1)/MA(C,N2)-1)<0.01;{取1%振幅内粘合}X2:=ABS(MA(C,N)/MA(C,N1)-1)<0.01;X3:=ABS(MA(C,N)/MA(C,N2)-1)<0.01;X4:=ABS(MA(C,N)/MA(C,N3)-1)<0.01;AA:=MA(C,N)>REF(MA(C,N),1);BB:=MA(C,N1)>REF(MA(C,N1),1);CC:=MA(C,N) >MA(C,N1);{均线勾头向上}MA(C,N)>REF(MA(C,N),1) AND X1 AND X2 AND X3 AND X4AND AA AND BB AND CC;30 突破平台XG:C>REF(HHV(H,N),1) AND C>REF(C,1)*X AND V>REF(HHV(V,N),1); 31五线多头N:=5;N1:=7;N2:=10;N3:=30;N4:=60;A1:=ma(close,n);A2:=ma(close,n1);A3:=ma(close,n2);A4:=ma(close,n3);A5:=ma(close,n4);Count(a1>a2 and a2>a3 and a3>a4 and a4>a5,4)=4 and isup;32小阳连续UP:=CLOSE>OPEN;COUNT(UP,N)>=N;33 携量突破cross(c,ma(c,N)) and v>ref(v,1)*X;34选股aa:=100*(c-llv(l,5))/(hhv(h,5)-llv(l,5));bb:=100*(c-llv(l,10))/(hhv(h,10)-llv(l,10));cc:=100*(c-llv(l,20))/(hhv(h,20)-llv(l,20));dd:=100*(c-llv(l,30))/(hhv(h,30)-llv(l,30));候鸟:=barslast(cross(30,aa))<2 and barslast(cross(aa,50))<2 andbarslast(cross(dd,aa))<2 and aa>dd and dd>70 and isup;候鸟888:=c>max(ma(c,5),ma(c,10)) and c>ma(c,30) and c>o and count(c>=o,10)>4 and count(c/ref(c,1)>1.097,120) and ma(c,30)>ma(c,60) andma(c,60)>ma(c,120) and ma(c,120)>ma(c,250);候鸟拐点买入:候鸟 and 候鸟888;35 阳线比例count(open<close,n)/n>X;36阳线连续up:=close>open;count(up,n)>=n;37 一阳穿MAxg:cross(c,ma(c,N)) and cross(c,ma(c,N1)) and cross(c,ma(c,N2)) and v>ref(v,1)*X;38 影线选股(c-l)>(h-c)*X;39 远离均线(c-l)>(h-c)*X;40 站稳MAa1:=abs((c-ma(c,N))/ma(c,N))<Y;xg:count(a1,X)>=X;41 站稳均线count(c>ma(c,N),X)>=Y;42周线拐头"MA.MA1#WEEK">REF("MA.MA1#WEEK",1) AND REF("MA.MA1#WEEK",1)<REF("MA.MA1#WEEK",2);43综合选股{N:1,10,3;}MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);短线多头:=MA5>MA10 AND MA10>MA20 AND MA20>MA30;中线多头:=MA30>MA120 AND MA60>MA120;均线粘合:=(HHV(MA5,HHV(MA10,MA20))/LLV(MA5,LLV(MA10,MA20))-1)*100<=N;均线拐点:=COUNT(短线多头,10) AND COUNT(MA5<REF(MA5,1),3) AND MA5>REF(MA5,1);XG:=中线多头 AND 均线粘合 AND 均线拐点 AND C>REF(C,1);选股:XG AND NOT(REF(XG,1)),COLORYELLOW,linethick2;均线粘合2:=(MAX(MA5,MAX(MA10,MA20))/MIN(MA5,MIN(MA10,MA20))-1)*100<=N;XG2:=中线多头 AND 均线粘合2 AND 均线拐点 AND C>REF(C,1);。

道氏理论 炒股 公式

道氏理论  炒股 公式

道氏理论炒股公式之技术指标1、CHDXTCHDXT指标程序(大智慧),其中参数P 缺省255 最小102 最大255 。

{第一部分主力控盘}A1:=EMA(EMA(CLOSE,P),5);A2:=100*WINNER(CLOSE);A3:=(A1-REF(A1,1))*400/REF(A1,1);{散户行为}STICKLINE( A3>REF(A3,1) AND A3<0, A3,0,8,1),COLORGREEN; STICKLINE( A3<REF(A3,1) AND A3<0, A3,0,8,0),COLORGREEN;{主力开始控盘}STICKLINE(A3>REF(A3,1) AND A3>0 ,A3,0,8,0),COLORRED;{{主力高度控盘}STICKLINE(A2>50 AND COST(85)<CLOSE AND A3>0,A3,0,8,0),COLORFF00FF;{黄柱信号}STICKLINE(A3<REF(A3,1) AND A3>0,A3,0,8,0),COLORYELLOW;{第二部分趋势信号}{动能}V1:=IF(CLOSE>REF(CLOSE,1),VOL,0);V2:=IF(CLOSE<REF(CLOSE,1),-VOL,0);V3:=V1+V2;V4:=SUM(V3,P);WPH0:=EMA(V4,5);WPH1:=EMA(V4,17);WPH2:=EMA(V4,102);WPH3:=EMA(V4,255);{道氏线}CHD1:=EMA(CLOSE,17);CHD2:=EMA(CLOSE,102);CHD3:=EMA(CLOSE,255);{开始}{大趋势}IF( A3>0 AND REF(CHD1,1)<REF(CHD3,1) AND CHD1>CHD3AND CHD1>CHD2 AND WPH1>REF(WPH1,1) AND P=255,5,0),COLORRED;DRAWTEXT( A3>0 AND REF(CHD1,1)<REF(CHD3,1) AND CHD1>CHD3 AND CHD1>CHD2 AND WPH1>REF(WPH1,1) AND P=255,3,'开始'),COLORRED;{中趋势}IF( A3>0 AND REF(CHD1,1)<REF(CHD2,1) AND CHD1>CHD2AND CHD2<CHD3 AND WPH1>REF(WPH1,1)AND P=102,5,0),COLORRED;DRAWTEXT( A3>0 AND REF(CHD1,1)<REF(CHD2,1) AND CHD1>CHD2AND CHD2<CHD3 AND WPH1>REF(WPH1,1)AND P=102,3,'开始'),COLORRED;{结束}{中级趋势结束}A00:=(REF(CHD1,1)>REF(CHD2,1) AND CHD1<CHD2 AND P=102 );IF(FILTER(A00 ,1),0,5),COLORYELLOW;DRAWTEXT(A00,5,'结束'),COLORYELLOW;{大趋势结束}A11:=(REF(CHD1,1)>REF(CHD3,1) AND CHD1<CHD3 AND P=255);IF(FILTER(A11 ,1),0,5),COLORYELLOW;DRAWTEXT(A11,5,'结束'),COLORYELLOW;{第四部分警报信号}{动能不足报警}A22:=(A3>0 AND REF(WPH1,1)>REF(WPH2,1) AND WPH1<WPH2 );IF(FILTER(A22 ,1),0,5),COLORYELLOW;DRAWTEXT(A22,4,'能减!'),COLORYELLOW;A33:=(A3>0 AND REF(WPH1,1)>REF(WPH3,1) AND WPH1<WPH3 );IF(FILTER(A33 ,1),0,5),COLORYELLOW;DRAWTEXT(A33,3,'能减!!'),COLORYELLOW;{趋势信号交易程序}C1:=ZIG(3,15);C2:=ZIG(3,35);C3:=ZIG(3,70);C33:=ZIG(3,85);C4:=ZIG(3,150);{追随大趋势}{大趋势开始}{建仓:跌幅>70%}C5:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1)AND REF(C3,2)>REF(C3,1)AND REF(C1,1)<C1 AND REF(C2,1)<C2 AND REF(C3,1)<C3AND ( REF(C3,1)>REF(C33,1) OR REF(C3,1)<REF(C33,1) ) );IF( C5,5,0),COLORGREEN;DRAWTEXT( C5,3,'建仓!!'),COLORRED;DRAWTEXT( C5,1,'大底'),COLORRED;{鉄底建仓:绝对底部跌幅>85%}C55:=( REF(C1,2)>REF(C1,1) AND REF(C2,2)>REF(C2,1) AND REF(C3,2)>REF(C3,1) AND REF(C33,2)>REF(C33,1)AND REF(C3,1)=REF(C33,1) AND REF(C1,1)<C1 AND REF(C2,1)<C2AND REF(C3,1)<C3 AND REF(C33,1)<C33 );IF( C55,5,0),COLORGREEN;DRAWTEXT( C55,3,'建仓!!'),COLORRED;DRAWTEXT( C55,1,'鉄底'),COLORRED;{高抛低吸}{高抛}C6:=( REF(C1,2)<REF(C1,1) AND REF(C1,1)>C1AND ( REF(C1,1)>REF(C2,1) OR REF(C1,1)<REF(C2,1) ) );IF(FILTER(C6,1),0,5),COLORFF00FF;DRAWTEXT(C6,4,'高抛'),COLORYELLOW;{低吸}C7:=( REF(C1,2)>REF(C1,1) AND REF(C1,1)<C1AND ( REF(C1,1)>REF(C2,1) OR REF(C1,1)<REF(C2,1) ) );IF( C7,5,0),COLORGREEN;DRAWTEXT( C7,3,'低吸'),COLORRED;{规避次级调整风险}{减仓}C8:=( ( REF(C2,2)<REF(C2,1) AND REF(C2,1)>C2AND ( REF(C2,1)>REF(C3,1) OR REF(C2,1)<REF(C3,1)) ) OR ( REF(C3,2)<REF(C3,1) AND REF(C3,1)>C3AND ( REF(C3,1)>REF(C4,1) OR REF(C3,1)<REF(C4,1)) )); IF(FILTER(C8,1),0,5),COLORFF00FF;DRAWTEXT(C8,3,'次级调整'),COLORYELLOW; DRAWTEXT(C8,4,'减仓'),COLORYELLOW;{加仓}C9:=( REF(C2,2)>REF(C2,1) AND REF(C2,1)<C2AND ( REF(C2,1)>REF(C3,1) OR REF(C2,1)<REF(C3,1) ) ); IF( C9,5,0),COLORRED;DRAWTEXT( C9,3,'加仓'),COLORRED;DRAWTEXT( C9,1,'中底'),COLORRED;{大趋势结束}{熊期风险}C10:=( REF(C4,2)<REF(C4,1) AND REF(C4,1)>C4 );IF(FILTER(C10,1),0,5),COLORFF00FF;DRAWTEXT(C10,4,'清仓!!'),COLORYELLOW; DRAWTEXT(C10,2,'进入熊期'),COLORYELLOW;{有效突破横盘255天}VV1:=EMA(VOL,5);VV2:=VOL/REF(VV1,1)>2;PZ1:=EMA(CLOSE,255);PZ2:=HHV(HIGH,255);PZ3:=LLV(LOW,255);PZ4:=(PZ2-PZ1)/PZ1;PZ5:=(PZ1-PZ3)/PZ1;PZ:=(REF(PZ4,1)<0.20 AND REF(PZ5,1)<0.20);TP:=(HIGH=PZ2);C11:=(VV2 AND PZ AND TP);IF( C11,5,0),COLORBLUE;DRAWTEXT( C11,4.5,'突破前高'),COLORYELLOW;DRAWTEXT( C11,2,'255天'),COLORYELLOW;{有效突破横盘150天}PZ11:=EMA(CLOSE,150);PZ21:=HHV(HIGH,150);PZ31:=LLV(LOW,150);PZ41:=(PZ2-PZ1)/PZ1;PZ51:=(PZ1-PZ3)/PZ1;PZZ1:=(REF(PZ41,1)<0.50 AND REF(PZ51,1)<0.50);TPP1:=(HIGH=PZ21);C12:=(VV2 AND PZZ1 AND TPP1 AND HIGH<PZ2);IF( C12,5,0),COLORBLUE;DRAWTEXT( C12,4.5,'突破前高'),COLORYELLOW;DRAWTEXT( C12,2,'150天'),COLORYELLOW;{有效突破横盘90天}PZ12:=EMA(CLOSE,90);PZ22:=HHV(HIGH,90);PZ32:=LLV(LOW,90);PZ42:=(PZ2-PZ1)/PZ1;PZ52:=(PZ1-PZ3)/PZ1;PZZ2:=(REF(PZ41,1)<0.50 AND REF(PZ51,1)<0.50);TPP2:=(HIGH=PZ21);C13:=(VV2 AND PZZ1 AND TPP1 AND HIGH<PZ21 );IF( C13,5,0),COLORBLUE;DRAWTEXT( C13,4.5,'突破前高'),COLORYELLOW;DRAWTEXT( C13,2,'90天'),COLORYELLOW;——————说有程序文字说明,即带{}的在同花顺中去掉{}加上;表示或者直接在程序中删除说明文字2、名称:WPH(0)((大智慧))描述:短线投资参考在(分时)附图中V1:=IF(CLOSE>REF(CLOSE,1),VOL,0);V2:=IF(CLOSE<REF(CLOSE,1),-VOL,0);V3:=SUM(V1+V2,0);WPH1:EMA(V3,17);WPH2:EMA(V3,102);WPH3:EMA(V3,255);资金柱:MA(V3,5),COLORSTICK;名称:WPH其中参数P 缺省255 最小 1 最大9999,步长1 。

大智慧VIP公式集

大智慧VIP公式集

二、屠龙刀varA1:=amount/vol;varA2:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5); VarA111:="h000001$VOL"*"h000001$CLOSE";VarA21:=EMA(VarA111,5)/EMA("h000001$VOL",5); CYS:=("h000001$CLOSE"-VarA21)/VarA21*100;A1:=varA1/100;A2:=MA(A1,5);A3:=MA(A1,20);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:=IF(VAR9>100,VAR9-100,0);VAR11:=HHV(HIGH,34);VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13);VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2);VAR14:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF (INDEXC,1))/INDEXC,8,1)*100-25;VAR15:=MA(Var14,3);VAR16:=REF(VAR15,1);STICKLINE(VAR12-VAR13>0,VAR12,VAR13,8,0),COLORRED;STICKLINE(VAR12-VAR13<0,VAR12,VAR13,8,0),COLORgreen;生命线:=EMA(VAR13,5);STICKLINE(cross(VAR13,VAR12) and VAR12>60,80,100,8,0),COLOR00ff00;绿灯亮卖:0,color00ff00;STICKLINE(cross(VAR12,VAR13) and VAR12>VAR13 and VAR12<18,20,0,8,0),COLORRED; 红灯亮买:0,colorred;Var21:=INDEXC;Var22:=MA(Var21,6);Var23:=MA(Var21,24);Var24:=MA(Var21,32);Var25:=MA(Var21,62);Var26:=MA(Var21,105);Var27:=Var25<REF(Var25,1) AND Var26<REF(Var26,1) AND Var25<Var26*0.98;Var28:=Var24>Var22*1.11 AND Var23>Var22*1.095;Var29:=Var22>Var21*0.95;抄底A:= Var27 AND Var28 AND Var29 AND CLOSE/COST(8)<=0.8 AND CLOSE<OPEN;{抄底1:}STICKLINE(抄底A,40,60,1,1),colorff00ff;抄底1:0,colorff00ff;Var2A:=CLOSE/MA(CLOSE,40)*100<78;Var2B:=CLOSE/MA(CLOSE,60)*100<74;Var2C:=HIGH>LOW*1.051;Var2D:=Var2C AND COUNT(Var2C,5)>1;Var2E:=Var2D AND (Var2A OR Var2B);Var2F:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Var30:=(CLOSE-Var2F)/Var2F*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Var31:=(CLOSE-REF(CLOSE,5))/CLOSE*100<-9;Var32:=WINNER(CLOSE);Var33:=EMA((INDEXC-MA(INDEXC,10))/INDEXC*100,14)<-4.9;Var34:=(MA(VOL,5)-VOL)/CAPITAL*100<0.8;Var35:=(VOL-MA(VOL,21))/VOL*100;抄底B:= Var33 AND Var31 AND Var32<0.12 AND Var34 AND Var35>18;{抄底2:}STICKLINE(抄底B,40,60,3,1),coloryellow;抄底2:0,coloryellow;Var36:=(REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/5;VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100, 20,1),15,1);VE:=REF(L,1)*0.9;VF:=L*0.9;V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;V11:=EMA(V10,30);V12:=V11-C;V13:=REF(C,1);V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;V16:=BARSCOUNT(C);V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;V1A:=(SMA(V19,4,1)-50)*2;V1B:=SMA(V1A,3,1);V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;V1D:=SMA(V1C,4,1);V1E:=SMA(V1D,3,1);V1F:=(HHV(H,30)-C)/C*100;V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);大趋势: V3;顶线: IF(VB<90,VB,100);多方: IF(V1>0,V1,0),LINESTICK;空方: -IF(V1<0,V2,0),LINESTICK;抄底: V20,colorred,linethick2;预警系统: (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200AND V6<=-150,-15,V9))+65);STICKLINE(V3<=REF(V4,1),V3,V4,8,0),colorwhite;STICKLINE(V3>REF(V4,1),V3,V4,8,0),colorred;t1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);t2:=C; t3:=多方>60 AND 预警系统>65 AND 顶线=100;t4:=多方>48 AND 预警系统>65 AND 顶线<100;t5:=空方<-38 AND 预警系统<65;t6:=抄底>50 AND 顶线<90;t7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);t8:=V3<=REF(V4,1) AND C AND 空方>=REF(空方,1) AND VC; DRAWTEXT(t1 and count(t1,30)=1,10,'上升通道!'),COLOR00FFFF;B2:=DRAWTEXT(t2 and count(t2,30)=1,55,'下降通道!'),COLOR00FFFF;B3:=DRAWTEXT(t3 and count(t3,30)=1,55,'上涨过急!'),COLOR00FFFF;B4:=DRAWTEXT(t4 and count(t4,30)=1,75,'庄家出货!'),COLOR00FFFF;B5:=DRAWTEXT(t5 and count(t5,30)=1,50,'有小反弹!'),COLOR00FFFF;Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(S MA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(S MA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var5:=(HIGH+LOW+CLOSE)/3;Var6:=(Var5-MA(Var5,14))/(0.015*AVEDEV(Var5,14));Var7:=(Var5-MA(Var5,70))/(0.015*AVEDEV(Var5,70));Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VarB:=100-ABS(VarA);VarC:=3*SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*S MA(SMA((INDEXC-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VarD:=3*SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1)-2*S MA(SMA((INDEXO-LLV(INDEXL,75))/(HHV(INDEXH,75)-LLV(INDEXL,75))*100,20,1),15,1); VarE:=REF(LOW,1)*0.9;VarF:=LOW*0.9;Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;Var11:=EMA(Var10,30);Var12:=Var11-CLOSE;Var13:=REF(CLOSE,1);Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;Var16:=BARSCOUNT(CLOSE);Var17:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*10 0;Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;Var1A:=(SMA(Var19,4,1)-50)*2;Var1B:=SMA(Var1A,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:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);情报: Var3;天线: IF(VarB<90,VarB,100);红军: IF(Var1>0,Var1,0),colorred, LINESTICK;绿军: IF(Var1<0,Var2,0),colorgreen,LINESTICK;导弹: Var20;预警系统: IF(Var7>=200 AND Var6>=150,15,IF(Var7<=-200 AND Var6<=-150,-15,Var9))+60;STICKLINE(VAR6,40,50,7,0),COLOR1078B4,LINETHICK2; STICKLINE(VAR6,40,50,6,0),COLOR1088B4,LINETHICK2; STICKLINE(VAR6,40,50,5,0),COLOR1098B4,LINETHICK2; STICKLINE(VAR6,40,50,4,0),COLOR10A8B4,LINETHICK2; STICKLINE(VAR6,40,50,3,0),COLOR10B8B4,LINETHICK2; STICKLINE(VAR6,40,50,2,0),COLOR10C8B4,LINETHICK2; STICKLINE(VAR6,40,50,1,0),COLOR10D8B4,LINETHICK2; STICKLINE(VAR5,30,40,8,0),COLOR102070,LINETHICK2; STICKLINE(VAR5,30,40,7,0),COLOR102080,LINETHICK2; STICKLINE(VAR5,30,40,6,0),COLOR102090,LINETHICK2; STICKLINE(VAR5,30,40,5,0),COLOR1020A0,LINETHICK2; STICKLINE(VAR5,30,40,4,0),COLOR1020B0,LINETHICK2; STICKLINE(VAR5,30,40,3,0),COLOR1020C0,LINETHICK2; STICKLINE(VAR5,30,40,2,0),COLOR1020D0,LINETHICK2; STICKLINE(VAR5,30,40,1,0),COLOR1020E0,LINETHICK2; STICKLINE(VAR4,20,30,8,0),COLOR105510,LINETHICK2; STICKLINE(VAR4,20,30,7,0),COLOR106610,LINETHICK2; STICKLINE(VAR4,20,30,6,0),COLOR107710,LINETHICK2; STICKLINE(VAR4,20,30,5,0),COLOR108810,LINETHICK2; STICKLINE(VAR4,20,30,4,0),COLOR109910,LINETHICK2; STICKLINE(VAR4,20,30,3,0),COLOR10AA10,LINETHICK2; STICKLINE(VAR4,20,30,2,0),COLOR10BB10,LINETHICK2; STICKLINE(VAR4,20,30,1,0),COLOR10CC10,LINETHICK2;{大盘均线} VAR7:=EMA(INDEXV,5);VAR8:=EMA(INDEXV,10);VAR9:=EMA(INDEXV,20);VAR10:=VAR7>=REF(VAR7,1) AND 买入基础;VAR11:=VAR8>=REF(VAR8,1) AND 买入基础;VAR12:=VAR9>=REF(VAR9,1) AND 买入基础;STICKLINE(VAR12,70,80,8,0),COLOR108010,LINETHICK2; STICKLINE(VAR12,70,80,7,0),COLOR109010,LINETHICK2; STICKLINE(VAR12,70,80,6,0),COLOR10A010,LINETHICK2; STICKLINE(VAR12,70,80,5,0),COLOR10B010,LINETHICK2; STICKLINE(VAR12,70,80,4,0),COLOR10C010,LINETHICK2; STICKLINE(VAR12,70,80,3,0),COLOR10D010,LINETHICK2; STICKLINE(VAR12,70,80,2,0),COLOR10E010,LINETHICK2; STICKLINE(VAR12,70,80,1,0),COLOR10F010,LINETHICK2; STICKLINE(VAR11,60,70,8,0),COLORFF45FF,LINETHICK2; STICKLINE(VAR11,60,70,7,0),COLORFF55FF,LINETHICK2; STICKLINE(VAR11,60,70,6,0),COLORFF65FF,LINETHICK2; STICKLINE(VAR11,60,70,5,0),COLORFF75FF,LINETHICK2; STICKLINE(VAR11,60,70,4,0),COLORFF85FF,LINETHICK2; STICKLINE(VAR11,60,70,3,0),COLORFF95FF,LINETHICK2; STICKLINE(VAR11,60,70,2,0),COLORFFA5FF,LINETHICK2;Var17:EMA((Var11-Var13)/(Var16-Var13)*100,8);巫修全制: Var17, ,coloryellow ;Var18:=EMA(Var17,5);STICKLINE(Var17>0 AND Var17-Var18>=0,79,80,6,0), ,colorred ;STICKLINE(Var17>0 AND Var17-Var18<0,79,80,6,1), ,color00ff00 ;STICKLINE(Var17>0 AND Var17-Var18>=0,19,20,6,0),colorred, ;STICKLINE(Var17>0 AND Var17-Var18<0,19,20,6,1), ,color00ff00 ;STICKLINE(Var17-Var18>0,Var17,Var18,8,1), ,colorred ;STICKLINE(Var17-Var18<0,Var17,Var18,8,1), ,color00ff00 ;Var22:=REF(LOW,1);Var23:=SMA(ABS(LOW-Var22),3,1)/SMA(MAX(LOW-Var22,0),3,1)*100;Var24:=EMA(IF(CLOSE*1.3,Var23*10,Var23/10),3);Var25:=LLV(LOW,30);Var26:=HHV(Var24,30);Var27:=IF(MA(CLOSE,58),1,0);Var28:=EMA(IF(LOW<=Var25,(Var24+Var26*2)/2,0),3)/618*Var27;Var29:=IF(Var28>100,100,Var28);STICKLINE(Var29>-150,0,Var29,3,0), , colorff00ff;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , color00ff00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , colorffffff;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , colorff00ff;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , colorffffff;Vark1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Vark2:=REVERSE(Vark1);Vark3:=SMA(Vark1,3,1);波段王:=SMA(Vark3,3,1), , COLORRED,linethick2;波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2;趋势线: 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), ,COLORff6666,linethick2;卖:IF((CROSS(波段鬼,波段王) or CROSS(波段鬼,趋势线) or CROSS(波段王,趋势线) ) AND 波段鬼>65,90,0),stick, ,colorffff00 ,linethick3;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORyellow;DRAWICON(出手就赢>0,50 ,1);散户:=MA(WINNER(CLOSE*0.95)*100,3);新庄:=(100-IF(Var2>5,IF(Var2<100,Var2,Var4-10),0));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;Var21:=(HIGH+LOW+CLOSE)/3;Var22:=(Var21-MA(Var21,14))/(0.015*AVEDEV(Var21,14));Var23:=(Var21-MA(Var21,70))/(0.015*AVEDEV(Var21,70));Var24:=IF(Var22>=150 AND Var22<200 AND Var23>=150 AND Var23<200,10,0);Var25:=IF(Var22<=-150 AND Var22>-200 AND Var23<=-150 AND Var23>-200,-10,Var24);断子绝生:= IF(Var23>=200 AND Var22>=150,15,IF(Var23<=-200 AND Var22<=-150,-15,Var25))+50;drawicon(VarD,high,2);drawtext(Var20,c,'★'),coloryellow;DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,c*1.01,'有钱不赚傻'), COLORYELLOW;DRAWTEXT(CROSS(VarD,0.5) AND COUNT(VarD=1,10)=1,high*1.01,'赚钱我走啦'),color00ff00;Var26:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;Var27:=REVERSE(Var26);Var28:=SMA(Var26,3,1);波段王:= SMA(Var28,3,1);波段鬼:= SMA(波段王,3,1);地狱:drawicon(CROSS(波段王,波段鬼) AND 波段王<40,low,1);天堂: drawicon(CROSS(波段鬼,波段王) AND 波段鬼>75,high,2);DRAWTEXT(CROSS(波段王,波段鬼) AND 波段王<40,low*1.01,'低吸做波段'), COLORWHITE;。

大智慧会员极品公式大全

大智慧会员极品公式大全

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

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

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

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

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)

大智慧七种技术指标主图指标公式(MACD KDJ CCI RSI DMI DMA 主图)INPUT:AM(1,0,1),AJ(1,0,1),AC(1,0,1),AR(1,0,1),AD(1,0,1),DM(1,0,1),ZL(1,0,1); DRAWGBKlast(c>0,strip(RGB(0,0,0),RGB(0,0,120),0));{1.K线}STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8.5,0) ,COLOR000011;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000033;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000055;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),HIGH,LOW,1,0),color0000FF;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8.5,0),color006600;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,7,0),color008800;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),color00AA00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),color00BB00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),color00CC00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),color00DD00;STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),color00EE00;STICKLINE((OPEN > CLOSE),HIGH,LOW,1,0),color00FF00;LC:=REF(C,1);卖黄金:((SMA(MAX((C - LC),0),3,1) / SMA(ABS((C - LC)),3,1)) * 100),LINETHICK0; DRAWTEXT(CROSS(80,卖黄金) ,high*1.04,'顶'),COLOR00ffFF,ALIGN1,LINETHICK1; STICKLINE(CROSS(80,卖黄金) AND C<O,H,L,2,0),COLOR00ffff,LAYER0;STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,12,0 ),COLOR007777,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,8,0 ),COLOR009999,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,6,0 ),COLOR00BBBB,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,4,0 ),COLOR00DDDD,LAYER0; STICKLINE(CROSS(80,卖黄金) AND C<O,C,O,2 ,0 ),COLOR00ffff,LAYER0; DRAWTEXTABS(5,5,'基本指标:MA5波段'),Color00FFff,LINETHICK3;BC:=(3*C+H+L)/5;MA5:EMA(MA(BC,5),5);PARTLINE(MA5,(MA5>REF(MA5,1))-1,rgb(0,255,0),1,rgb(255,0,0) ),LINETHICK2,LAYE R0;XL:=BARSLAST(DISPSTATUS=1)+1;E:=llvall(llv(L,XL))*0.95;IF AM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:MACD'),Color0000ff,LINETHICK4;DIFF:=EMA( EMA(CLOSE,12) - EMA(CLOSE,26),3);DEA:=EMA(DIFF,9);MACD:2*(DIFF-DEA),Color0598FF,LINETHICK0;;STICKLINE(MACD>0,E+MACD*2,E,12,0),Color0598FF;STICKLINE(MACD<0,E+MACD*2,E,12,0),ColorFF5500;END;IF AJ=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:KDJ'),Colorff00ff,LINETHICK4;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:(3*K-2*D),Color05FFFF,LINETHICK0;if(CROSS(K,D) AND BARSLAST(CROSS(D,K))<3,E*1.09,E),ColorFF9910 ; STICKLINE(K>D,E+(K-D)/50,E,12,0),Color0000FF;STICKLINE(K<D,E+(K-D)/50,E,12,0),Color00FF00;END;IF AC=1 THEN BEGINDRAWTEXTABS(200,5,'指标:CCI'),Color00ffff,LINETHICK4;TYP := (HIGH + LOW + CLOSE)/3;CCI:(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),Color05FF00,LINETHICK0;; STICKLINE(CCI>0,E+CCI/350,E,12,0),Color0077FF;STICKLINE(CCI<0,E+CCI/350,E,12,0),ColorFF9900;END;IF AR=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:RSI'),Color00ff00,LINETHICK4;LC := REF(CLOSE,1);RSI:SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,ColorFF05FF,LINE THICK0;CRSI:="RSI.RSI3#WEEK";金叉RSI:STICKLINE(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E,E*1.1,0.6,0),ColorFF 00FF;DRAWTEXT(CROSS("RSI.RSI2#WEEK","RSI.RSI3#WEEK"),E*1.1,'金叉'),COLOR0000FF;STICKLINE(RSI>CRSI,E+(RSI-CRSI)/50,E,12,0),Color0000FF;STICKLINE(RSI<CRSI,E+(RSI-CRSI)/50,E,12,0),Color00FF00;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:=EMA(VAR1,13)-EMA(VAR1,73);SD:=EMA(SK,2);XG:=((CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 )OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) OR 金叉RSI);STICKLINE(XG,E,E*1.15,0.6,0),COLOR00FFFF;DRAWTEXT(XG,E*1.15,'突破'),COLOR00FFBB;END;IF AD=1 THEN BEGIN{DMI新编}DRAWTEXTABS(250,5,'技术指标:DMI'),Color0598ff,LINETHICK4;N:=21;M:=6;M1:=20;TR1:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LO W)),N);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),N);DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),N);PDI:= DMP*100/TR1;MDI:DMM*100/TR1,Color05FFFF,LINETHICK0;ADX:= EMA((PDI-MDI)/(MDI+PDI)*100,M)*2;ADXR:=EMA(ADX,M);ADMA:=EMA(ADX,M1);OMD:=(ADX-2*ADMA+ADXR)/2;STICKLINE( OMD>0,E,E+OMD/100,12,0),COLORRED;STICKLINE(OMD<0,E,E+OMD/100,12,0),COLORGREEN;END;IF DM=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:DMA'),ColorFF55ff,LINETHICK4;DDD:=(MA(CLOSE,10)-MA(CLOSE,50));AMA:=MA(DDD,10);STICKLINE( DDD>AMA,E,E+(DDD-AMA),12,0),COLORFF22FF;STICKLINE(DDD<AMA,E,E+(DDD-AMA),12,0),COLOR99FF99;END;IF ZL=1 THEN BEGINDRAWTEXTABS(250,5,'技术指标:主力进出'),ColorFF55ff,LINETHICK4;jcs:=ZLSHORT;jcm:=ma(zlshort ,12);STICKLINE(jcs>jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLOR222299; STICKLINE(jcs<jcm,E,E+(jcs-jcm)/CAPITAL*5000,12,0),COLORFFee00; END;。

股票-大智慧保赚不赔买卖提示指标公式

股票-大智慧保赚不赔买卖提示指标公式

大智慧保赚不赔买卖提示指标公式回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;经典K:=SMA(经典RL,3,1);经典D:=SMA(经典K,3,1);经典J:=3*经典K-2*经典D;MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA( H,20)-EMA(L,20)))/(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L, 20))));MAHL2:=IF(EMA(C,2)回归斜率线AANDMAHL10,EMA(C,3),LLV(EMA((H+L)/2,5),30));{A}MAHL3:=IF(EMA(C,2)回归斜率线AANDMAHL10,LLV(EMA((H+L)/2,5),30),EMA(C,5));{A}上线:=SMA(C,6.5,1);支撑线:SMA(C,14.5,1);上线1:=SMA(C,3,1);一号支撑线1:=SMA(C,8,1);上线2:=SMA(C,3.5,1);DRAWTEXTREL(610,20,重点看支撑线与操作线),COLORFF00FF;DRAWTEXTREL(720,20,趋势角度方向,),COLORYELLOW;DRAWTEXTREL(800,20,结合均线及资金流向和OAMV活筹动态。

),COLOR0000FF;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,2 5))/4;UPR:=BBI+3*STD(BBI,13);DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,55);LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(82,RSI)ANDCLOSE上线1,HIGH*1.04,减仓),COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作线:MA(A7,5),COLORRED,LINETHICK2;操作1:=MA(A7,5)*1.03;操作2:=MA(A7,5)*0.97;PARTLINE(操作线,操作线=REF(操作线,1),RGB(255,0,0),操作线REF(操作线,1),RGB(0,255,0)),Linethick2;a38:=BIGORDER(1,2);a39:=BIGORDER(2,2);a40:=(((a38-a39)*VOL)/CAPITAL)*500;a16:=REF(CLOSE,1);DRAWTEXT(((((OPEN/a16)1.03)AND(CLOSEOPEN))AND(a400)),H IGH,出货),colorMagenta;DRAWTEXT(CROSS(上线1,上线)AND上线1操作线,LOW*0.95,买进),COLORYELLOW;DRAWTEXT(CROSS(操作线,支撑线),LOW*0.95,做多),COLORRED;箱底:LLV(A7,21);箱顶:HHV(A7,30);DRAWTEXT(CROSS(支撑线,操作线),H*1.06,注意仓位),COLOR00FF00;DRAWTEXT(CROSS(上线1,操作线)AND上线1支撑线AND上线1一号支撑线1AND上线1上线ANDCLOSE箱底,LOW*0.99,见底),COLORYELLOW;YCX:=操作线=REF(操作线,1);H1:=MAX(MAX(上线,一号支撑线1),支撑线);L1:=MIN(MIN(上线,一号支撑线1),支撑线);DRAWTEXT(CROSS(上线1,一号支撑线1)AND上线1操作线,LOW*0.98,全仓),COLORFF00FF;SK:=EMA((A7-箱底)/(箱顶-箱底)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);M1:=1000*操作线/支撑线=1015AND1000*操作线/支撑线=975;M2:=1000*一号支撑线1/支撑线=1020AND一号支撑线1/支撑线=980;M3:=1000*上线/支撑线=1015AND上线/支撑线=985;DRAWTEXT(IF(COUNT(CLOSEREF(CLOSE,1),13)/136/10ANDCOU NT(SKSD,6)ANDREF(LOW,5)=LLV(LOW,120)ANDREF(CLOSE=OPE N,4)ANDREF(CLOSEOPEN,3)ANDREF(CLOSEOPEN,2)ANDREF(OP ENCLOSE,1)ANDOPENREF(CLOSE,1),1,0),LOW*0.94,买进),COLORYELLOW;D:=MA(CLOSE,89)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSEDANDVOL/240MA(VOL,5)/240ANDCLOSER EF(CLOSE,1)*1.08ANDCLOSEMA(CLOSE,13)*1.3,1,0),LOW*0.88,抄底),COLORBROWN;RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100; K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:=3*K-2*D1;VAR3:=(2*CLOSE+HIGH+LOW)/3;{可将3该为4,信号少点}VAR4:=EMA(EMA(EMA(VAR3,4),4),4);{可将3该为4,信号少点}E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;F:=MA(E,3)+0.03;G:=MA(E,1);DRAWICON(CROSS(F,G)ANDJ65,HIGH*1.02,15),COLORGREEN; DRAWICON(CROSS(G,F),LOW*1.01,12),COLORYELLOW;DRAWTEXT(CLOSEOPENANDH1CANDOL1ANDYCXANDCROSS(上线1,操作线)ANDLOW箱底AND上线1支撑线ANDJ90,LOW*0.9,主升),COLORRED;DRAWTEXT(CROSS(上线1,操作线)ANDM1ANDM2ANDM3,LOW*0.94,买进),COLORYELLOW;DRAWTEXT(CLOSEOPENAND上线一号支撑线1AND一号支撑线1支撑线ANDCLOSEMA(CLOSE,支撑线)AND操作线=REF(CLOSE,操作线)ANDCROSS(上线1,操作线)ANDLOW箱底ANDJ90,LOW*0.9,主升),COLORRED;STICKLINE(CLOSEREF(CLOSE,1),HIGH,LOW,0,0),COLORRED; STICKLINE(COANDCREF(C,1),C,O,3,0),COLORFFCC00;STICKLINE(CLOSEREF(CLOSE,1)ANDCO,OPEN,CLOSE,3,0),COLORr ed;{红K};STICKLINE(CLOSEREF(CLOSE,1)ANDCO,OPEN,CLOSE,2.7,0),COLO Rred;{红K};R000099;STICKLINE(CLOSEREF(CLOSE,1),OPEN,CLOSE,1.5,0),COLOR0000B B;STICKLINE(CLOSEREF(CLOSE,1),OPEN,CLOSE,0.9,0),COLOR0000D D;STICKLINE(CLOSEREF(CLOSE,1),OPEN,CLOSE,0.3,0),COLOR0000F F;STICKLINE(CLOSE=REF(CLOSE,1),H,L,3,1),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,0),COLORWHITE;STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,3,0),COLOR55555 5;STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.7,0),COLOR7777 77;STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,2.1,0),COLOR9999 99;STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,1.5,0),COLORBBBB BB;DDD;STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,0.3,0),COLORFFFF FF;STICKLINE(CLOSEREF(CLOSE,1),HIGH,LOW,0,1),COLORCYAN;STICKLINE(CREF(C,1)ANDCO,C,O,3,0),COLORFFCC00;STICKLINE(CREF(C,1)ANDCO,OPEN,CLOSE,3,0),COLOR990000;STICKLINE(CREF(C,1)ANDCO,OPEN,CLOSE,2.7,0),COLORCC0000;STICKLINE(CLOSEREF(C,1),OPEN,CLOSE,2.1,0),COLORFF4400;STICKLINE(CLOSEREF(C,1),OPEN,CLOSE,1.5,0),COLORFF8800;STICKLINE(CLOSEREF(C,1),OPEN,CLOSE,0.9,0),COLORFFCC00;A11:=3*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55) )*100,5,1)-2*SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LO W,55))*100,5,1);黑马线:=EMA(A11,5);A12:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;A4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;趋势线3:=MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2);大黑马:=CROSS(趋势线3,0)AND黑马线DRAWTEXT(大黑马,LOW*0.97,大黑马),COLORdddddd;STICKLINE(CROSS(J,D1)ANDJ70,CLOSE,OPEN,3.2,0),COLORBB00 FF;STICKLINE(CROSS(J,D1)ANDJ70,CLOSE,OPEN,2.7,0),COLORFF33F F;STICKLINE(CROSS(J,D1)ANDJ70,CLOSE,OPEN,2.1,0),COLORFF66F F;STICKLINE(CROSS(J,D1)ANDJ70,CLOSE,OPEN,1.5,0),COLORFF99F F;STICKLINE(CROSS(J,D1)ANDJ70,CLOSE,OPEN,0.9,0),COLORFFBBF F;STICKLINE(CROSS(J,D1)ANDJ70,CLOSE,OPEN,0.3,0),COLORFFDD FF;大智慧保赚不赔买卖提示指标公式实例图解:大智慧保赚不赔买卖提示指标公式。

大智慧量化公式

大智慧量化公式

大智慧量化公式
以下是大智慧股票指标公式:
1. 做空95:HHV((HIGH+LOW+OPEN+2CLOSE)/5+H-L,5),颜色为蓝色。

2. 做空68:HHV((HIGH+LOW+OPEN+2CLOSE)/52-L,5),颜色为红色。

3. 平衡点:LLV((HIGH+LOW+OPEN+2CLOSE)/5,3),颜色为灰色,DOTLINE。

4. 做多68:LLV((HIGH+LOW+OPEN+2CLOSE)/52-H,8),颜色为绿色。

5. 做多95:LLV((HIGH+LOW+OPEN+2CLOSE)/5-H+L,8),颜色为浅绿色。

6. F:=100(C-REF(C,1))/REF(C,1),表示当前收盘价与前一日收盘价的差值
占前一日收盘价的百分比。

7. 今小昨:IF(C<REF(O,1) AND f<0,1,0),表示当前收盘价小于前一日开
盘价且当前差值小于0时为1,否则为0。

8. 今小前:IF(C<REF(O,2) AND f<0,1,0),表示当前收盘价小于前两日开
盘价且当前差值小于0时为1,否则为0。

9. 真实波动范围(TR)的计算公式为TR=Max(H-L,H-PDC,PDC-L),其中
H表示当日的最高价,L表示当日的最低价,PDC表示前一日的收盘价。

以上是大智慧股票指标公式的部分示例,如需更多信息,建议查阅大智慧股票软件官网或咨询专业金融分析师。

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

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

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

大智慧指标公式- 特牛 强烈推荐

大智慧指标公式- 特牛 强烈推荐

1、超级短线:使用方法是:当操作线(红线)自下向上穿越阻力线时,买入;操作线走平或拐头向下趋势时卖出;两条线互不交叉时持股或空仓,不予操作。

结合大势操作更好。

逃顶:白柱变短卖出现白柱买(配合操作线)Var11:=HHV(HIGH,25);Var12:=LLV(LOW,25);阻力线:EMA((CLOSE-Var12)/(Var11-Var12)*100,20)/2,colorf0f000,Linethick2;突破线:= EMA((CLOSE-Var12)/(Var11-Var12)*100,5);操作线:突破线/2,colorred, Linethick2;Var1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;Var2:=SMA(Var1,9,1)+100;Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;Var4:=SMA(Var3,3,1);Var5:=SMA(Var4,3,1)+100;Var6:=Var5-Var2;S: IF(Var6>100,Var6-100,0);STICKLINE(REF(S,1)<S,S,REF(S,1),5,0);STICKLINE(REF(S,1)>S,S,REF(S,1),5,0);2、买卖奇准安全买:=MA(CLOSE,1);卖:=(LOW+HIGH+CLOSE)/3;奇:= MA(卖,5);准:= HHV(奇,10);急卖奇准:IF(HHV((买<准),5),100,50),COLORFF6699;短卖奇准:IF(HHV((买<准),10),100,50),COLORGREEN;奇准:= MA(卖,5);买卖:=LLV(奇准,10);急买奇准:IF(LLV((买<买卖),5),50,0),COLORRED;短买奇准:IF(LLV((买<买卖),10),50,0),COLORWHITE;TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);动向趋势线:=(MA(((ABS((辅助线- 神偷线)) / (辅助线+ 神偷线)) * 100),3));ADXR:=((动向趋势线+ REF(动向趋势线,3)) / 2);V AR1:=MA(LOW,1);V AR2:=MA(HIGH,2);V AR3:=MA(CLOSE,2);V AR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((V AR3 - V AR7),0),5,1) / SMA(ABS((V AR3 - V AR7)),5,1)) * 100);底部关注:IF(((动向趋势线> 88) AND (神偷线< 5.8)),80,0),LINETHICK3,COLORFF00FF;3、Var22:=REF(LOW,1);Var23:=SMA(ABS(LOW-Var22),3,1)/SMA(MAX(LOW-Var22,0),3,1)*100;Var24:=EMA(IF(CLOSE*1.3,Var23*10,Var23/10),3);Var25:=LLV(LOW,30);Var26:=HHV(Var24,30);Var27:=IF(MA(CLOSE,58),1,0);Var28:=EMA(IF(LOW<=V ar25,(Var24+Var26*2)/2,0),3)/618*Var27;Var29:=IF(Var28>100,100,Var28);STICKLINE(Var29>-150,0,Var29,3,0), , colorff00ff;底部吸筹指标: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, , color00ff00;STICKLINE(CROSS(底部吸筹指标,-24),100,0,6,0), , colorffffff;先知: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, , colorff00ff;可能放量拉升: IF(CROSS(底部吸筹指标,-24),1,0), , colorffffff;Vark1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;Vark2:=REVERSE(Vark1);Vark3:=SMA(Vark1,3,1);波段王:=SMA(Vark3,3,1), , COLORRED,linethick2;波段鬼:=SMA(波段王,2.5,1),coloryellow,linethick2;趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CL OSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), ,COLORff6666,linethick2; 卖:IF((CROSS(波段鬼,波段王) or CROSS(波段鬼,趋势线) or CROSS(波段王,趋势线) ) AND 波段鬼>65,90,0),stick, ,colorffff00 ,linethick3;RSV9:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1),COLORSTICK;出手就赢:IF(DK1>7 AND REF(DK1,1)<0 AND (DK1-REF(DK1,1))>9,50,0), STICK,COLORyellow;DRAWICON(出手就赢>0,50 ,1);买点准备:IF(趋势线<=10,0,10), colorff9933,linethick3;STICKLINE( CROSS(趋势线,10),0,73,6,0), COLOR3366ff,; DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORWHITE ; DRAWTEXT(IF(CROSS(10,趋势线),1,0), 10,'$备钱'),COLOR33ffcc,;4、超级短买RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;DRAWTEXT(REF(J,1)<0 AND J>0,50,'短买'),colorred ;短线获利:STICKLINE(REF(J,1)<0 AND J>0,60,0,2,0),color0000ff;目前位置:K;技术低位:20;技术中位:50,POINTDOT;技术高位:80;。

大智慧绝对厉害的主图指标公式源码编程思路破译

大智慧绝对厉害的主图指标公式源码编程思路破译

大智慧绝对厉害的主图指标公式源码编程思路破译编程思路破译R1赋值:收盘价的1日简单移动平均R2赋值:收盘价的3日简单移动平均R3赋值:(R2的1日简单移动平均*1)R4赋值:(R2的3日简单移动平均*1)X1赋值:(收盘价+最低价+最高价)/3DD赋值:FINANCE2(35)SS赋值:FINANCE2(37)GG赋值:FINANCE2(3)TH赋值:市盈(动)A51赋值:3*(收盘价-55日内最低价的最低值)/(55日内最高价的最高值-55日内最低价的最低值)*100的5日[1日权重]移动平均-2*(收盘价-55日内最低价的最低值)/(55日内最高价的最高值-55日内最低价的最低值)*100的5日[1日权重]移动平均LC赋值:1日前的收盘价RSI赋值:(((收盘价-LC)和0的较大值的3日[1日权重]移动平均/ (收盘价-LC)的绝对值的3日[1日权重]移动平均) * 100)FF赋值:收盘价的3日指数移动平均MA15赋值:收盘价的21日指数移动平均A1赋值:如果(收盘价<800),返回((成交额(元)/成交量(手))/100),否则返回((((收盘价*2)+最高价)+最低价)/4)A2赋值:((15日内最高价的最高值) + (30日内最低价的最低值)) / 2A3赋值:(A1的5日简单移动平均)的10日指数移动平均A4赋值:(A1的15日简单移动平均)的10日指数移动平均A5赋值:(A1的13日简单移动平均)的21日指数移动平均A6赋值:((A3 + A4) + A5) / 3输出决策线:(收盘价的5日简单移动平均)的3日指数移动平均,线宽为2,COLORFF0000PARTLINE(决策线,决策线> (3日前的决策线),自定色),线宽为2,COLOR3300FF当满足条件((收盘价>0)AND(DISPSTATUS=2))时,在(决策线*0.95)位置书写文字,MOVE10,ALIGN2,线宽为2,画红色VAR1111赋值:若2日前的最高价=5日内最高价的最高值则将最近3周期置为1VAR2222赋值:VAR1111上穿0.9VAR3333赋值:若2日前的最低价=5日内最低价的最低值则将最近3周期置为1VAR4444赋值:VAR3333上穿0.9输出压力: 上次VAR2222距今天数日前的最高价, POINTDOT,COLOREA91B5当满足条件收盘价时,在上次VAR2222距今天数日前的最高价和上次VAR2222距今天数日前的最高价位置之间画柱状线,宽度为5,0不为0则画空心柱.,线宽为3,COLOREA91B5输出支撑: 上次VAR4444距今天数日前的最低价, POINTDOT,COLOR00B4FF,线宽为3当满足条件收盘价时,在上次VAR4444距今天数日前的最低价和上次VAR4444距今天数日前的最低价位置之间画柱状线,宽度为5,0不为0则画空心柱.,线宽为3,COLOR00B4FF输出弱势双线持币:2日内最高价的(3)日简单移动平均的最高值,线宽为2,COLOR00FF00输出强势单线持股:1日内最高价的(3)日简单移动平均的最低值,线宽为2,COLORFF00FFAA1赋值:成交额(元)/成交量(手)BB1赋值:最低价<AA1*0.9CC1赋值:(收盘价-1日前的收盘价)/1日前的收盘价*100>1.2DD1赋值:最低价<收盘价的5日简单移动平均*0.921EE1赋值:成交量(手)<成交量(手)的5日简单移动平均*1.5输出老鼠仓:BB1 AND CC1 AND DD1 AND EE1,线宽为0当满足条件老鼠仓时,在(最低价*0.99)位置书写文字,线宽为3,COLOR40CCFFA74赋值:收盘价的20日简单移动平均A75赋值:(收盘价 > 收盘价的5日简单移动平均)A76赋值:(收盘价的5日简单移动平均 > 收盘价的10日简单移动平均)A77赋值:(收盘价 > 收盘价的10日简单移动平均)A78赋值:(收盘价的5日简单移动平均 > 收盘价的20日简单移动平均)A79赋值:(收盘价 > 收盘价的20日简单移动平均)A710赋值:1日前的A74A711赋值:(A74 > A710)AVX赋值:(((((如果A75,返回10,否则返回(0-10) + 如果A76,返回10,否则返回(0-10)) + 如果A77,返回10,否则返回(0-10)) + 如果A78,返回10,否则返回(0-10)) + 如果A79,返回10,否则返回(0-10)) + 如果A711,返回10,否则返回(0-10))DSLX赋值:(收盘价 / 大盘的收盘价)DSLX1赋值:DSLX的5日简单移动平均DSLX2赋值:DSLX的10日简单移动平均V1赋值:成交量(手)的5日简单移动平均V2赋值:成交量(手)的10日简单移动平均赋值: 上次DISPSTATUS=1距今天数+1赋值: 上次DISPSTATUS=1距今天数+1赋值: T日内最高价的最高值赋值: T日内最低价的最低值条件判断数据位置状态=2 AND 收盘价<200 AND ((AVX上穿1 AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTABS(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。

大智慧指标公式编写1

大智慧指标公式编写1

大智慧指标公式编写1大智慧指标公式编写创新高创新高指当日最高价是最近一段时间的最高价:HIGH=HHV(HIGH,N)其中的HIGH为当期最高价,HHV(X,N)是求N周期内X最高值。

因此该公式的含义是当日最高价创N日新高时返回值为1,否则为0。

横盘整理横盘整理指最近一段时期价格在一定幅度之内摆动:(HHV(CLOSE,10)-LLV(CLOSE,10))/CLOSE<0.05其中的LLV(X,N)是求N周期内X最低值。

因此该公式表示10日收盘价振幅振幅在5%以内。

区间统计例如,要取得2002年2月1日到2002年12月30日间的最低价。

思考一下,一段时间的最低价必然是该段时间内每个分析周期的最低价中最小的那个。

所以我们要引用的数据是该段时间各分析周期的最低价,而不需要用到开盘价、收盘价或最高价;还要将不需要的数据,即区间外的数据设为0。

语句为:LL:=IF(YEAR=2002 AND MONTH>=2 AND MONTH<=12,LOW,0)该语句用一个条件函数来判断时间是否处于规定区间,若是则返回最低价,否则返回0。

我们再用LLV函数,就可求得该段时间最低的最低价:LLV(LL,0)技术指标公式技术指标公式用于绘制技术指标线。

以KDJ指标为例,右键点击KDJ,选择“编辑公式”后打开公式算法编辑器,显示出KDJ指标公式的内容。

参数名称:最小值,最大值,缺省值N: 1 10O 9M1: 2 40 3M2: 2 40 3RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:SMA(RSV,M1,1);D:SMA(K,M2,1);J:3*K-2*D该公式绘制K、D、J两条指标线。

RSV行是一个中间语句,计算当期收盘价与N天内最低价之差除以N内最高价与最低价之差的比值,再乘以系数100。

K线为RSV的M1天移动平均线,D线为线K的M2天移动平均线,J线为K线与J线的差值。

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧技术指标公式源码在股票交易中,技术指标是投资者们用来预测股价走势以及作出买卖决策的重要工具之一、大智慧技术指标公式是一种非常受欢迎的股票技术指标计算方法,可以帮助投资者更好地理解和分析股票市场。

```pythonimport pandas as pdimport numpy as np#计算移动平均线def moving_average(data, n):ma = pd.Series(data['close'].rolling(n).mean(, name='MA_' + str(n))return pd.concat([data, ma], axis=1)#计算相对强弱指标(RSI)def rsi(data, n):delta = data['close'].diffup = delta.copydown = delta.copyup[up < 0] = 0down[down > 0] = 0avg_gain = up.rolling(n).meanavg_loss = abs(down.rolling(n).mean()rs = avg_gain / avg_lossrsi = 100 - (100 / (1 + rs))return pd.concat([data, rsi], axis=1)#计算随机震荡指标(KD指标)def stochastic_oscillator(data, n):low_min = data['low'].rolling(window=n).minhigh_max = data['high'].rolling(window=n).maxdata['%K'] = (data['close'] - low_min) / (high_max - low_min) * 100data['%D'] = data['%K'].rolling(window=3).meanreturn data#示例:计算并打印移动平均线、RSI和KD指标def calculate_indicators(data):data = moving_average(data, 15)data = rsi(data, 14)data = stochastic_oscillator(data, 14)print(data)#测试if __name__ == '__main__':# 假设data是一个pandas DataFrame对象,包含股票交易数据,如开盘价、收盘价、最高价、最低价等data = pd.read_csv('stock_data.csv')#调用指标计算函数calculate_indicators(data)```以上代码实现了移动平均线、RSI以及KD指标的计算方法。

【信息化物联网】大智慧技术指标公式非常重要绝不删除

【信息化物联网】大智慧技术指标公式非常重要绝不删除

【物联网】大智慧技术指标公式非常重要绝不删除1钱龙长线:LON,colorwhite;ma(lon,10),coloryellow;lon,colorstick2钱龙短线:sho,colorwhite;ma(sho,10),coloryellow;sho,colorstick;3主力轨迹:mtm:=c-ref(c,1);ZLGJ:100*ema(ema(mtm,n1),n1)/ema(ema(abs(mtm),n1),n1),colorwhite; MAZL:MA(ZLGJ,N2),coloryellow4大智慧一根线追:BY20:=MA(C,5);五月持币线:MA(C,20),LINETHICK2,COLOR00FFFF;五月持股线:IF(BY20>五月持币线,五月持币线,BY20),LINETHICK2,COLOR808080; VAR1:=ZIG(3,10)<REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG有未来}VAR2:=ZIG(3,10)>REF(ZIG(3,10),1)ANDREF(ZIG(3,10),1)<REF(ZIG(3,10),2); STICKLINE(VAR1,C,O,8,0),COLORYELLOW,LINETHICK2;{高位黄色}STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;{高位黄色}STICKLINE(VAR1,H,L,1,0),COLORYELLOW,LINETHICK2;{高位黄色}STICKLINE(VAR2,C,O,8,0),COLORFF00FF,LINETHICK2;{底位红色}STICKLINE(VAR2,C,O,3,0),COLORFF00FF,LINETHICK2;{底位红色} STICKLINE(VAR2,H,L,1,0),COLORFF00FF,LINETHICK2;{底位红色} 5笑脸买卖点指标:A:(ema(c,5)-ema(c,55))*30,colorred,linethick3;stickline(a>=0,a,0,5,0),colorred,linethick2;stickline(a<0,a,0,5,0),colorblue,linethick2;stickline(a>=0anda>=ref(a,1),a,0,5,0),coloryellow,linethick2; stickline(a<0anda>=ref(a,1),a,0,5,0),colorff9900,linethick2; 0,color4080ff,linethick3;DRAWICON(CROSS(ZIG(3,10),REF(ZIG(3,10),1)),0,1); DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),0,2);6指示强势股:{多空}RSV:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50;Kv:=SMA(RSV,3,1);Dv:=SMA(Kv,3,1);Jv:=3*Kv-2*Dv;zdzk1:=EMA(Jv,6);zdzk2:=REF(zdzk1,1);做多:IF(zdzk1>=zdzk2,zdzk1+2,zdzk2),,COLORRED;做空:IF(zdzk2-zdzk1,zdzk2,zdzk1),,COLOR334499;xw1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1))));xw2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1))));xw3:=SUM(xw1,21);xw4:=SUM(xw2,21);xw5:=IF(xw3>xw4,(xw3-xw4)/xw3,IF(xw3=xw4,0,(xw3-xw4)/xw4)); {14天强弱}RS:=SMA(MAX(C-REF(C,1),0),14,1)/SMA(ABS(C-REF(C,1)),14,1)*100; ZD:=EMA(EMA(EMA(RS,7),3),3);ZD1:=(ZD-REF(ZD,1))/REF(ZD,1)*15;STICKLINE(ZD1>=0,0,ZD1*50,4,0),Color0000BE;STICKLINE(ZD1<=0,0,ZD1*50,4,0),COLORCdff88;y1:=AMOUNT/V/100;y2:=(3*H+L+O+2*C)/7;y3:=100*(WINNER(1.1*C)-WINNER(0.9*C));y4:=SUM(AMOUNT,13)/y1/100;y5:=DMA(y2,V/y4);y6:=(C-y5)/y5*100;y7:=(y3<10)AND(y6<=-10);y8:=SMA(MAX(C-REF(C,1.5),0),6,1)/SMA(ABS(C-REF(C,1.5)),6,1)*100; 重亏:STICKLINE(y6<=-10andZD1<0,ZD1*55,ZD1*45,6,0),ColorFF89B2; 全亏:STICKLINE(y6<=-16andZD1<0,ZD1*60,ZD1*55,6,1),COLORBLUE; 超跌:STICKLINE(y7andZD1<0,ZD1*65,ZD1*60,6,0),ColorFFFFFF;Jct:=100*(c-cost(10))/cost(10);if(C,if(Jct<0,Jct,0)*3,0),COLORWHITE;{备战区1}ZDD1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10;ZDD2:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;ZDD3:=SMA(ZDD2,13,8);ZDD4:=CEILING(SMA(ZDD3,13,8));ZDD5:=SMA(ZDD1,21,8);Xh1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100; Xh2:=ZDD4-ZDD5<-65andXh1<12;备战区:dRAWICON(Xh2,0,12),Color006EFF;STICKLINE(Xh2,0,ZD1*20,4,0),Color006EFF;{备战区2}Xx1:=MA(LOW,2)*0.96;Xx2:=MA(LOW,26)*0.85;Xx3:=REF(Xx1,1)<Xx2ANDREF(Xx1,1)<Xx1ANDREF(Xx1,1)<REF(Xx1,2); STICKLINE(Xx3,0,ZD1*16,4,0),Color006EFF;DRAWICON(Xx3,0,12);{备战区3}C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;DSY:=100*vol/CApitAl;STICKLINE((C-MIN(C0,C1))/C<0.1ANDSUM(DSY,5)/5<1.8,0,ZD1*25,4,0),Color006EF F;DRAWICON((C-MIN(C0,C1))/C<0.1ANDSUM(DSY,5)/5<1.8,0,12);{备战区4}Ww1:=sum(ma(c,10),9)/10.110;Ww2:=cross(c,Ww1);STICKLINE(Ww2,0,ZD1*26,4,0),Color006EFF;{40}DRAWICON(Ww2,0,12);{买1}Vw1:=DMA(EMA(C,12),SUM(V,5)/3/CAPITAL);Vw2:=REF(H,10)/C>1.35;Vw3:=(COST(20)-C)/C>0.15;Vw4:=H>L*1.051;Vw5:=Vw4ANDCOUNT(Vw4,5)>1;Vw6:=(((C-Vw1)/Vw1*100<-30)orVw2)andVw3andVw5;STICKLINE(Vw6,0,ZD1*40,4,0),Color0000FF;{48}DRAWICON(Vw6,0,6);{买2}XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2ANDREF(XL1,1)<XL1ANDREF(XL1,1)<REF(XL1,2); STICKLINE(XL3,0,15,4,0),ColorF8B7F0;DRAWTEXT(XL3,25,'←买'),ColorF8B7F0;{井喷}jjp1:=REF(INDEXC,1);jjp2:=FILTER((INDEXC-jjp1)/jjp1>0.03andzdzk1>=zdzk2,7);STICKLINE(jjp2,0,-15,4,0),ColorFF00FF;DRAWTEXT(jjp2,-15,'←井喷买'),ColorFF00FF;7一年二十倍指标:R:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);K:=EMA(R,3);D:=EMA(K,3);一年十二倍:20,colorred;陡峭度:=IF((BARSCOUNT(CLOSE)>7),(100)*((MA(CLOSE,7))/(LLV(MA(CLOSE,7),7))-1),1); N:=IF((陡峭度>0.35),6,65);VAR1:=((-((100)*(HHV(HIGH,N)-CLOSE))/(HHV(HIGH,N)-LLV(LOW,N))))*((DATE<20 070110));VAR1A:=((-((100)*(HHV(HIGH,N)-CLOSE))/(HHV(HIGH,N)-LLV(LOW,N)))+100)*((DA TE<20070110));获利盘:=(WINNER(CLOSE))*(100);获利线:=FORCAST(获利盘,7);线:=(FORCAST(VAR1A,7))*((DATE<20070110));满仓:=((线>REF(线,1))and(线<25)and(COUNT((线>REF(线,1)),5)=1)andIF((N=6),(获利盘<60),(获利盘<40))and(COUNT((获利线>20),20)>0))*(40);STICKLINE(满仓,0,40,5,0),Color008000;DRAWTEXT(满仓,45,'满仓'),ColorWHITE;轻仓:=IF((获利盘>=60)and(线>REF(线,1))and(REF(线,1)<20)and(线<40)and(COUNT((线>REF(线,1)),5)=1)and(REF(N,1)=6),1,0);STICKLINE(轻仓,20,D,4,1),ColorFF00FF;DRAWTEXT(轻仓,45,'轻仓'),ColorFF00FF;出击:=CROSS(线,20)andIF((COUNT(CROSS(K,D),3)=1)and(D<40),1,(线>D)or(K>D)and( D<60))andIF((N=6),(获利盘<70),(获利盘<40))and(COUNT((获利线>20),20)>0); STICKLINE(出击,0,50,3,1),Color44BB00;DRAWTEXT(出击,55,'出击'),colorred;进一:CROSS(线,D)and(D>30)and(D>REF(D,1))and(D<80);进二:CROSS(线,获利线)and(D>30)and(获利线>25)and(D>REF(D,1));低进:=IF(进一and(D>获利线),进二,进一);DRAWTEXT(低进,30,'低进'),ColorWHITE;STICKLINE(低进,20,30,3,1),Color000080;DRAWTEXT(进二,50,'高进'),Color800080;STICKLINE(进二,30,50,3,1),coloryellow;狂喜:=(30)*(CROSS(VAR1,(-2)));STICKLINE(狂喜,0,20,3,1),coloryellow;DRAWTEXT(狂喜,(-5),'要涨停'),coloryellow;狂喜过望:=(50)*((VAR1=0));恐慌:=(20)*(VAR1<-94);STICKLINE(恐慌,0,(-20),5,0),ColorC1C1C1;DRAWTEXT(恐慌,(-25),'恐慌'),ColorC1C1C1;极度恐慌:=(-40)*(VAR1=(-100));STICKLINE(极度恐慌,0,(-40),7,1),Color800000;DRAWTEXT(极度恐慌,(-45),'极度恐慌'),ColorGREEN;半仓:=(30)*(CROSS(VAR1,(-94))and(COUNT(恐慌,5)>0)and(N=REF(N,1))andIF((N=6),(获利盘<60),(获利盘<40))and(COUNT((获利线>20),20)>0));STICKLINE(半仓,0,30,4,1),ColorFFFF00;DRAWTEXT(半仓,35,'半仓'),ColorFFFF00;加仓:=(30)*(CROSS(K,20)and(COUNT(半仓,5)>0));STICKLINE(加仓,0,20,6,1),Color808080;DRAWTEXT(加仓,25,'加仓'),Color808080;背离:=(COUNT(恐慌,2)>0)and(CLOSE<REF(CLOSE,1))and(VAR1>REF(VAR1,1)); DRAWICON(背离,0,1),ColorFFFFFF;8买入涨停:{买入涨停}{参数:N51009LC510024}MA5:MA(C,5),COLOR00FF00;MA10:MA(C,10),COLORFFFFFF;ZX:=(MA5+MA10)/2;MA24:MA(C,24),COLORFF00FF;{24日指数平滑均线,是真正大资金运作的主要参考和支撑线}MA30:MA(C,30),COLORYELLOW;QSXS:=MA5>=MA30ANDMA30>REF(MA30,1);GD:=ZX>=REF(ZX,1)ANDREF(ZX,1)<REF(ZX,2);YB:=C>REF((O-C)/2+C,2);买:CROSS(C,ZX)AND(GDORYB)ANDQSXS,COLOR00FF00,POINTDOT,LINETHICK0; 买入易涨停:买ANDMA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0; STICKLINE(买,h,l,0,0),COLOR00FF00,linethick2;STICKLINE(买,o,c,0,0),COLOR00FF00,linethick2;STICKLINE(买入易涨停,h,l,0,0),COLORYELLOW,linethick2;STICKLINE(买入易涨停,o,c,4,0),COLORYELLOW,linethick2;DRAWTEXT(买,L*0.99,'买'),COLOR00FF00;DRAWICON(买入易涨停,L,1);上线:=sma(c,6.5,1);下线:=sma(c,13.5,1);上线1:=sma(c,3,1);下线1:=sma(c,8,1);DRAWTEXT(cross(上线,下线),low*0.98,'▲全仓买'),color00ff00;D:=MA(CLOSE,80)-MA(CLOSE,10)/3;。

大智慧指标公式集

大智慧指标公式集

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

大智慧买入基础主图指标公式

大智慧买入基础主图指标公式

大智慧买入基础主图指标公式VA:=EMA(C,2);VA1:=EMA(REF(C,3),5);J:=SUM(AMOUNT/100,2)/SUM(V,2);VOK:=IF(CROSS(VA,VA1),1,0);VOK1:=IF(REF(C,1)<REF(C,2) AND O>REF(C,1) AND L>REF(L,1) AND C>REF(C,1)OR REF(C,1)<REF(O,1) AND O>REF(C,1) AND L>REF(L,1) AND C>REF(C,1),1,0);VSJ1:=BARSLAST(VOK=1 OR VOK1=1);MMA2:SUM(AMOUNT/100,2)/SUM(VOL,2),COLORRED,LINE THICK0;ZS:IF(VOK=1 OR VOK1=1,L,REF(L,VSJ1)),COLORRED,LINETHICK3;多:EMA(C,3),COLORYELLOW;空:EMA(C,5),COLOR00FF00;均衡:EMA(空,5),COLORWHITE;中:HHV(MA(H,13),13),COLORGREEN,LINETHICK1;VAR4A:=(LOW+HIGH+CLOSE)/3;操作:MA(VAR4A,5),COLORRED,LINETHICK2;拉升:=HHV(操作,13);拉升买:HHV(操作,13)*1,COLORYELLOW,LINETHICK0;强弱分界:EMA(CLOSE,60),COLOR438200,LINETHICK3;F0:EMA(C,20),LINETHICK0;F1:=SMA(F0,3,1);F2:=SMA(F0,5,1);DRAWICON(F0>F2,F2,10);STICKLINE(拉升买,拉升买+0.05,拉升买,3,0),COLORGREEN,LINETHICK2;STICKLINE(操作=拉升买,操作,操作+0.05,3,0),COLORRED,LINETHICK3;STICKLINE(操作<拉升买,操作,拉升买,6,1),COLORGREEN;STICKLINE(中>拉升买,拉升,拉升+0.05,6,1),COLORGREEN;STICKLINE(拉升>REF(拉升,1),拉升,拉升*1.02,3,0),COLORYELLOW,LINETHICK4;STICKLINE(F0<F2,H,L,1,1),COLORGREEN;STICKLINE(F0<F2,O,C,6,1),COLORGREEN;STICKLINE(操作=拉升买AND C>拉升买,操作,ZS,3,0),COLORRED,LINETHICK1;买入基础:=EMA(C,5)>REF(EMA(C,5),1) AND EMA(C,10)>=REF(EMA(C,10),1);VAR1:=EMA(INDEXC,5);VAR2:=EMA(INDEXC,10);VAR3:=EMA(INDEXC,20);VAR4:=VAR1>=REF(VAR1,1) AND 买入基础;VAR5:=VAR2>=REF(VAR2,1) AND 买入基础;VAR6:=VAR3>=REF(VAR3,1) AND 买入基础;VAR7:=EMA(INDEXV,5);VAR8:=EMA(INDEXV,10);VAR9:=EMA(INDEXV,20);VAR10:=VAR7>=REF(VAR7,1) AND 买入基础;VAR11:=VAR8>=REF(VAR8,1) AND 买入基础;VAR12:=VAR9>=REF(VAR9,1) AND 买入基础;GG:=ABS(O/F0-1);STICKLINE(VAR4 AND VAR5 AND VAR6 AND VAR10 AND VAR11 AND VAR12 AND 买入基础AND GG<0.05 AND 操作>REF(操作,1),操作,操作*1.03,6,0),COLORRED,LINETHICK1;。

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧技术指标公式源码

很牛很好用的大智慧公式源码奉献给大家,共享(方法是只要你复制以下公式到大智慧公式编辑器即可):一、专吸庄血(公式源码)N:=5;VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),,1),COLORYELLOW,LINETHICK0; VAR2:8,COLORGREEN,LINETHICK0;上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;0,LINETHICK2 ,COLORFFCC00;二、资金判牛(公式源码)做空能量线:SMA((HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100,2,1),COLORGREEN,LINETHICK3;做多能量线: SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,5,1)-8,COLORRED,LINETHICK3; 短线通道:15,COLORGREEN;强弱分界:45,COLOR00FFFF;短线顶部:85,COLORFF00FF;FILLRGN(做多能量线,短线通道,做多能量线<=短线通道),COLORRED;FILLRGN(做空能量线,短线顶部,做空能量线>=短线顶部),COLORRED;FILLRGN(做空能量线,短线通道,做空能量线<=短线通道),COLORBLUE;FILLRGN(做多能量线,短线顶部,做多能量线>=短线顶部),COLORBLUE;3、主力进场(公式源码)VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);VAR3:=EMA(VAR2,10);VAR4:=LLV(LOW,33);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK0,COLORRED; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,6,0 ),COLORRED;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,5,0 ),COLOR000055; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,4,0 ),COLOR000077; STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR000099;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR0000BB;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,,0 ),COLOR0000DD;STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLOR0000FF;洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK0,COLORGREEN; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,6,0),COLORGREEN;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,5,0),COLOR005500;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,4,0),COLOR007700; STICKLINE(VAR5<REF(VAR5,1),0,VAR5,3,0),COLOR009900;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,,0),COLOR00BB00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,,0),COLOR00DD00;STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLOR00FF00;VAR12:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);VAR13:=EMA(VAR12,10);VAR14:=HHV(H,33);VAR15:=EMA(IF(H>=VAR14,VAR13,0),3);冲顶:IF(VAR15>REF(VAR15,1),VAR15,0),LINETHICK0,COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,6,0),COLORFF00FF; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,5,0 ),COLOR550055; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,4,0 ),COLOR770077; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,3,0 ),COLOR990099; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,,0 ),COLORBB00BB; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,,0 ),COLORDD00DD; STICKLINE(VAR15>REF(VAR15,1),0,VAR15,1,0 ),COLORFF00FF;主力出场:IF(VAR15<REF(VAR15,1),VAR15,0),LINETHICK0,COLORYELLOW;STICKLINE(VAR15<REF(VAR15,1),0,VAR15,6,0 ),COLORYELLOW; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,5,0),COLOR005555; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,4,0),COLOR007777; STICKLINE(VAR15<REF(VAR5,1),0,VAR15,3,0),COLOR009999; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,,0),COLOR00BBBB; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,,0),COLOR00DDDD; STICKLINE(VAR15<REF(VAR15,1),0,VAR15,1,0),COLOR00FFFF;A1:=REF(CLOSE,2);A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100; 波段介入点:IF(A2<19,19,0),COLORWHITE;4、新VOL(公式源码)当日:VOL;量5:MA(VOL,5),colorred;量10:MA(VOL,10);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),Color0 000FF,STICK;主动卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),Color0 0E521,STICK;买卖盘比:主动买盘/主动卖盘;WJ:=(HIGH+LOW+CLOSE)/3;VD1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));VD2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-WJ);VD3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);VD4:=IF(HIGH=LOW,1,WJ-MIN(CLOSE,OPEN));VD5:=VOL/IF(HIGH=LOW,4,HIGH-LOW);VD6:=(VD1*VD5);VD7:=(VD2*VD5);VD8:=(VD3*VD5);VD9:=(VD4*VD5);买入量:=(VD9+VD8);卖出量:=(VD6+VD7);买入资金:=买入量*close/100;卖出资金:=卖出量*close/100;资金进出:=买入资金-卖出资金;买卖资金比:=买入资金/卖出资金;挂单买盘:=MA(主动买盘,3);挂单卖盘:=(MA(主动卖盘,3));STICKLINE((主动买盘 > 0),0,主动买盘,8,0),color0000FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0018FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color001BFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0022FF;STICKLINE((主动买盘 > 0),0,主动买盘,7,0),color0035FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0041FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0050FF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color0059FF;STICKLINE((主动买盘 > 0),0,主动买盘,6,0),color0062FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color006CFF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color007AFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0080FF;STICKLINE((主动买盘 > 0),0,主动买盘,5,0),color0089FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color0095FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color009CFF;STICKLINE((主动买盘 > 0),0,主动买盘,3,0),color00ABFF;STICKLINE((主动买盘> 0),0,主动买盘,,0),color00C0FF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color00D1FF;STICKLINE((主动买盘> 0),0,主动买盘,1,0),color00EAFF;STICKLINE((主动买盘 > 0),0,主动买盘,,0),color00FFFF;STICKLINE((主动卖盘 > 0),0,主动卖盘,8,0),color006800;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color007F00;STICKLINE((主动卖盘 > 0),0,主动卖盘,7,5),color008B00;STICKLINE((主动卖盘 > 0),0,主动卖盘,7,3),color008B00;STICKLINE((主动卖盘> 0),0,主动卖盘,7,0),color009000;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color009500;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color009C00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00A300;STICKLINE((主动卖盘 > 0),0,主动卖盘,6,0),color00AB00;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00AF00;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00B900;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00C000;STICKLINE((主动卖盘 > 0),0,主动卖盘,5,0),color00C100;STICKLINE((主动卖盘 > 0),0,主动卖盘,,0),color00CA00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00D300;STICKLINE((主动卖盘> 0),0,主动卖盘,3,0),color00DB00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00EA00;STICKLINE((主动卖盘> 0),0,主动卖盘,,0),color00FF00;DRAWTEXTABS(1,1,'【买卖盘解量(手)】');DRAWTEXTABS(1,30,'┃当日买卖量='+NUMTOSTR(VOL)),ColorFF00FF;DRAWTEXTABS(1,60,'┃当日主动买量='+NUMTOSTR(主动买盘)),Color00ff00; DRAWTEXTABS(1,90,'┃当日主动卖量='+NUMTOSTR(主动卖盘)),Coloryellow; DRAWTEXTABS(1,120,'┃当日买卖盘比='+NUMTOSTR(买卖盘比)),ColorFF00FF; DRAWTEXTABS(250,30,'┃买入资金累计万元: '+NUMTOSTR(买入资金)),Colorred,LINETHICK1;DRAWTEXTABS(250,60,'┃卖出资金累计万元: '+NUMTOSTR(卖出资金)),Color00ff00,LINETHICK1; DRAWTEXTABS(250,90,'┃资金进出万元: '+NUMTOSTR(资金进出)),Coloryellow,LINETHICK1; DRAWTEXTABS(250,120,'┃买卖资金比: '+NUMTOSTR(买卖资金比)),Coloryellow,LINETHICK1; DRAWTEXTABS(1,150,'┃当日挂单买盘: '+NUMTOSTR(挂单买盘)),Colorred,LINETHICK1; DRAWTEXTABS(250,500,'┃当日挂单卖盘: '+NUMTOSTR(挂单卖盘)),Color00ff00,LINETHICK1;5、猎庄端窝(公式源码)DRAWTEXTREL(10,900,'..'),linethick1,COLOR00EEff;DRAWGBKLAST(1,STRIP(RGB(4,1,28),RGB(4,1,35),0));N:=5;N1:=21;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N) )/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),,1);小试牛刀: IF(CROSS(VAR1,8),8,0),STICK,COLORRED;DRAWICON(小试牛刀>0,8,7);发现庄迹: IF(VAR1<=8,15,0),STICK,COLORCYAN,LINETHICK2;VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),100,118) ,COLOR00CCFF,LINETHICK1;CD1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(L,9));CD2:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9));CD3:=SMA(SMA(CD2,3,1),3,1);CD4:=(CD3-SMA(CD1,9,1));CD5:=IF(CD4>,CD4,;CD6:=REF(CD5,1);VAR81:=MA(C,9);空头1:=IF(CD6-CD5,CD6,CD5);VAR1A:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2A:=SMA(VAR1A,9,1)+100;VAR3A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4A:=SMA(VAR3A,3,1);VAR5A:=SMA(VAR4A,3,1)+100;VAR6A:=VAR5A-VAR2A;端庄窝:IF(VAR6A>N1,VAR6A-N1,0),COLORRED;果断出击:IF(CROSS(端庄窝,,18,0),STICK,COLOR0000CC,LINETHICK2;DRAWICON(果断出击>0,18,7);XG:=CROSS(端庄窝,;选底:IF(XG=1,16,0),STICK,LINETHICK3;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;E:=CROSS(83,RSI);减仓空仓:10*(CROSS(CD6,CD5) OR E),COLORGREEN;DRAWICON(减仓空仓>0,113,8);STICKLINE(REF(端庄窝,1)<端庄窝,端庄窝,REF(端庄窝,1),7,0),COLORRED;STICKLINE(REF(端庄窝,1)>端庄窝,端庄窝,REF(端庄窝,1),7,0),COLOR00FF00;红持绿空:0,COLORGREEN;6、买点决策(公式源码)input:N(60,1,111);a1:=INDEXC;a2:=INDEXO;a3:=DISPSTATUS=1;a4:=BARSLAST(a3);a5:=(REF(a1,a4))/(REF(CLOSE,a4));a6:=IF(a3,CLOSE,(REF(CLOSE,a4)));a7:=IF(a3,(a1/a5),(REF((a1/a5),a4))); a8:=a6-a7;a9:=a2/a5;a10:=INDEXH/a5;a11:=INDEXL/a5;a12:=(CLOSE>OPEN)OR((CLOSE=OPEN)AND(CLOSE>(REF(CLOSE,1))));a13:=(a1>a2)OR((a1=a2)AND(a1>(REF(a1,1))));大盘:STICKLINE(a13,(a10 +a8),(a11 +a8),0,0),colorRed;STICKLINE(a13,((a1/a5) +a8),(a9 +a8),5,0),colorRed;STICKLINE(NOT(a13),(a11+a8),(a10+a8),0,0),colorGreen;STICKLINE(NOT(a13),((a1/a5)+a8),(a9+a8),5,0),colorGreen;PARTLINE(CLOSE,CLOSE>(a1/a5),RGB(255,0,0)),linethick2,colorRed;PARTLINE(CLOSE,CLOSE>(a1/a5)AND(CLOSE<(REF(CLOSE,1))),RGB(255,0,255)),linethick2,colorMagent a;PARTLINE(CLOSE,(CLOSE>(a1/a5)AND((MA(CLOSE,30))>(REF((MA(CLOSE,30)),1))))AND((MA((a1/a5),30) )<(REF((MA((a1/a5),30)),1))),RGB(255,255,0)),linethick2,colorYellow;STICKLINE((((REF(a1,1))<(REF(a2,1)))AND(a1>(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060;STICKLINE((((REF(a1,1))>(REF(a2,1)))AND(a1<(REF(a1,1)))),((a1/a5)+a8),CLOSE,1,1),Color606060 ;a14:=MA(CLOSE,10);a15:=(((EMA(CLOSE,5))*7)+((EMA(CLOSE,10))* 3))/10;a16:=((SMA((MAX((CLOSE-(REF(CLOSE,1))),0)),6,1))/(SMA(ABS((CLOSE-(REF(CLOSE,1)))),6,1)))* 100;DRAWTEXT(((DATE >700101)AND(CROSS(84,a16))),HIGH,'▼'),colorGreen;a17:=(((2*CLOSE)+HIGH)+LOW)/4;a18:=LLV(LOW,34);a19:=HHV(HIGH,34);a20:=EMA((((a17-a18)/(a19-a18))*100),6);a21:=EMA((*(REF(a20,1)))+*a20)),4);a22:=LLV(LOW,120);a23:=HHV(HIGH,120);a24:=a23-a22;a25:=HHVBARS(CLOSE,N);REF(CLOSE,a25),POINTDOT,ColorFF0000;突破:FILTER(((CROSS(CLOSE,((REF(REF(CLOSE,a25),1))*))AND(REF((a25>=5),1))),10),POINTDOT,linethick0;STICKLINE(突破,(CLOSE*,CLOSE,5,0),ColorF600A9;DRAWTEXT((((SUM((突破>0),0))=1)AND 突破),(CLOSE*,'最佳买点'),colorWhite;DRAWTEXT((((SUM((突破>0),0))=2)AND 突破),(CLOSE*,'次佳买点'),colorWhite;DRAWTEXT((((SUM((突破>0),0))=3)AND 突破),(CLOSE*,'理想买点'),colorWhite;DRAWTEXT((((SUM((突破> 0),0))=4)AND 突破),(CLOSE * ,'及格买点'),colorWhite;DRAWTEXT((((SUM((突破> 0),0))>=5) AND 突破),(CLOSE * ,'突破'),colorWhite;a26:=(CLOSE<(a1/a5))AND(CROSS(80,a16));DRAWICON(a26,CLOSE,8);DRAWICON((CLOSE>(a1/a5)AND(CROSS(a16,17))),CLOSE,7);DRAWICON((CROSS(a16,10)),CLOSE,7);DRAWICON((CROSS(90,a16)),CLOSE,8);DRAWICON((CROSS(CLOSE,(a1/a5))),CLOSE,11);DRAWTEXT(((IF(((((((COUNT((CLOSE<(REF(CLOSE,1))),8))/8)>AND(COUNT((a20>a21),3)))AND((REF(LOW,1))=a22))AND(CLOSE>OPEN)),1,0))AND(CROSS(a16,15))),LOW, '★小底'),ColorFF8080;a27:=DYNAINFO(3);a28:=SMA(CLOSE,2,1);a29:=SMA(CLOSE,6,1);a30:=2*(a28-a29);DRAWTEXTABS(10,200,'■所属板块:'+BKNAME),ColorYELLOW,linethick1;流通盘大小:=FINANCE2(37)/1000000*100;DRAWTEXTABS(280,220,'流通盘大小:'+NUMTOSTRN(流通盘大小,2)+'亿'),LINETHICK1,ColorYELLOW; 每股收益:=FINANCE2(3);每股市盈率:=DYNAINFO(39);每股净资产:=FINANCE2(4);销售毛利率:=FINANCE2(12);主营收入同比:=FINANCE2(11);净利润同比增长:=FINANCE2(10);DRAWTEXTABS(170,220,'每股收益:'+NUMTOSTRN(每股收益,2)+'元'),COLOR00FF00;DRAWTEXTABS(170,240,'每股市盈率:'+NUMTOSTRN(每股市盈率,1)+'倍'),COLORRED;DRAWTEXTABS(170,260,'每股净资产:'+NUMTOSTRN(每股净资产,2)+'元'),COLORRED;DRAWTEXTABS(20,220,'销售毛利率:'+NUMTOSTRN(销售毛利率,2)+'%'),LINETHICK1,COLOR00FF00; DRAWTEXTABS(20,240,'主营收入同比增长:'+NUMTOSTRN(主营收入同比,2)+'%'),LINETHICK1,COLOR00FF00;DRAWTEXTABS(20,260,'净利润同比增长:'+NUMTOSTRN(净利润同比增长,2)+'%'),LINETHICK1,COLOR00FF00;7、数据投机(指标源码){计算股价}input:股数(0,0,),买入价(0,0,500),预期涨幅(0,0,100),服务费(0,0,100){根据各证券所收费不同,自行调节};预卖价位:=买入价*(预期涨幅*+1);买入收费:=买入价*股数*{各证券所收费不同,自行调节}+服务费;卖出收费:=预卖价位*股数*{各证券所收费不同,自行调节}+服务费;预期盈利:=预卖价位*股数-买入价*股数-买入收费-卖出收费;DRAWTEXTREL(320,850,'¤预卖价位: '+NUMTOSTRN(预卖价位,2)+' 元'),LINETHICK5,COLORAFAFAF; DRAWTEXTREL(540,850,'¤预期盈利: '+NUMTOSTRN(预期盈利,2)+' 元'),LINETHICK5,COLORAFAFAF; {庄家实力}cyc0:=MAXCYC;庄家实力:c/cyc0,precis2,LINETHICK0,COLORC68CFF;DRAWTEXTREL(100,70,'☆庄家实力: '+NUMTOSTRN(庄家实力,2)+' 级'),LINETHICK5,COLORC68CFF;{精确风险系数}rsv:=(c-llv(l,15))/(hhv(h,15)-llv(l,15))*100;kk:=sma(rsv,10,1);dd:=sma(kk,5,1);zlcm:=intpart(sma(rsv,10,1));shcm:=intpart(sma(kk,5,1));风险系数:zlcm+shcm-70,precis0,LINETHICK0,COLOR66FFFF;DRAWTEXTREL(320,70,'※风险系数: '+NUMTOSTRN(风险系数,2)+' 级'),LINETHICK5,COLOR66FFFF;{历史价位系数}历史价位:(c-llv(l,0))/(hhv(h,0)-llv(l,0))*100,precis0,LINETHICK0,COLORFFBB77; DRAWTEXTREL(755,70,'⊙历史价位: '+NUMTOSTRN(历史价位,2)+' %'),LINETHICK5,COLORFFBB77;{量能饱和度}饱和量度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20) )*100),precis0,LINETHICK0,COLORE07EAA;DRAWTEXTREL(60,270,'§饱和量度: '+NUMTOSTRN(饱和量度,2)+' ℃'),LINETHICK5,COLORE07EAA;{股价倾斜系数}hot:=ma(c,13);倾斜系数:atan(hot-ref(hot,1))**100,precis0,LINETHICK0,COLORFFCC62;DRAWTEXTREL(245,270,'∥倾斜系数: '+NUMTOSTRN(倾斜系数,2)+' 度'),LINETHICK5,COLORFFCC62; {获利比例}获利比例:WINNER(CLOSE)*100,precis0,LINETHICK0,COLOR79A5FF;浮筹比例:(winner(c*-winner(c*)/winner(hhv(h,0))*100,precis0,LINETHICK0,COLORFFCC62; DRAWTEXTREL(430,270,'◇获利比例: '+NUMTOSTRN(获利比例,2)+' %'),LINETHICK5,COLOR79A5FF; DRAWTEXTREL(615,270,'□浮筹比例: '+NUMTOSTRN(浮筹比例,2)+' %'),LINETHICK5,COLORFFCC62;{人均持股}人均持股:=INTPART(FINANCE2(36)/extradata('散户线')*10000);DRAWTEXTREL(800,270,'〓人均持股: '+NUMTOSTRN(人均持股,0)+' 股'),LINETHICK5,COLOR79A5FF; {止损价位}LC:=REF(CLOSE,1);止损价位:=(LC**97+/;DRAWTEXTREL(100,850,'☆止损价位: '+NUMTOSTRN(止损价位,2)+' 元'),LINETHICK5,colorWHITE;{成本预测}建仓成本:MAXCYC,precis2,LINETHICK0,COLORFFBB77;心理价位:DMA(AMOUNT/(100*VOL),VOL/(100*FINANCE2(37)))*,precis2,LINETHICK0,COLORC78EFF; DRAWTEXTREL(60,470,'○建仓成本: '+NUMTOSTRN(建仓成本,2)+' 元'),LINETHICK5,COLORFFBB77; DRAWTEXTREL(60,660,'◎心理价位: '+NUMTOSTRN(心理价位,2)+' 元'),LINETHICK5,COLORC78EFF; {上升空间}上升空间:100-c/(心理价位-建仓成本)*10,precis0,LINETHICK0,COLOR79A5FF;DRAWTEXTREL(540,70,'‖上升空间: '+NUMTOSTRN(上升空间,2)+' %'),LINETHICK5,COLOR79A5FF; {股价预测}VC:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日阻力:=2*VC-LOW;明日支撑:=2*VC-HIGH;明日突破:=VC+(HIGH-LOW);明日反转:=VC-(HIGH-LOW);今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);今日突破:=REF(明日突破 , 1);今日反转:=REF(明日反转 , 1);DRAWTEXTREL(245,470,'↑今日支撑: '+NUMTOSTRN(今日支撑,2)+' 元'),LINETHICK5,COLOR5959FF; DRAWTEXTREL(430,470,'↓今日阻力: '+NUMTOSTRN(今日阻力,2)+' 元'),LINETHICK5,COLOR61FE78; DRAWTEXTREL(615,470,'♂今日突破: '+NUMTOSTRN(今日突破,2)+' 元'),LINETHICK5,COLOR66FFFF; DRAWTEXTREL(800,470,'♀今日反转: '+NUMTOSTRN(今日反转,2)+' 元'),LINETHICK5,COLORFC878F; DRAWTEXTREL(245,660,'↑明日支撑: '+NUMTOSTRN(明日支撑,2)+' 元'),LINETHICK5,COLOR5959FF; DRAWTEXTREL(430,660,'↓明日阻力: '+NUMTOSTRN(明日阻力,2)+' 元'),LINETHICK5,COLOR61FE78; DRAWTEXTREL(615,660,'♂明日突破: '+NUMTOSTRN(明日突破,2)+' 元'),LINETHICK5,COLOR66FFFF; DRAWTEXTREL(800,660,'♀明日反转: '+NUMTOSTRN(明日反转,2)+' 元'),LINETHICK5,COLORFC878F; {实际盈亏}实际盈亏:c*股数-买入价*股数-买入收费-卖出收费,precis2,LINETHICK0,colorWHITE; DRAWTEXTREL(755,850,'¥实际盈亏: '+NUMTOSTRN(实际盈亏,2)+' 元'),LINETHICK5,colorWHITE;。

大智慧绝对厉害的主图指标公式

大智慧绝对厉害的主图指标公式

大智慧绝对厉害的主图指标公式R1:=MA(CLOSE,1);R2:=MA(CLOSE,3);R3:=(MA(R2,1)*1);R4:=(MA(R2,3)*1);X1:=(C+L+H)/3;DD:=FINANCE2(35);SS:=FINANCE2(37);GG:=FINANCE2(3);TH:=DYNAINFO(39);A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);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);a1:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));a2:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;a3:=EMA((MA(a1,5)),10);a4:=EMA((MA(a1,15)),10);a5:=EMA((MA(a1,13)),21);a6:=((a3 + a4) + a5) / 3;决策线:EMA((MA(CLOSE,5)),3),linethick2,colorFF0000;PARTLINE(决策线,决策线> (REF(决策线,3)),RGB(255,0,0)),linethick2,Color3300FF;DRAWTEXT(((CLOSE > 0) AND (DISPSTATUS = 2)),(决策线* 0.95),'决策价:'+决策线),MOVE10,ALIGN2,linethick2,colorRed;{支撑}VAR1111:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2222:=CROSS(VAR1111,0.9);VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4444:=CROSS(VAR3333,0.9);压力: REF(HIGH,BARSLAST(Var2222)), POINTDOT,ColorEA91B5;STICKLINE(CLOSE,REF(HIGH,BARSLAST(Var2222)),REF(HIGH, BARSLAST(Var2222)),5,0),LINETHICK3,ColorEA91B5;支撑: REF(LOW,BARSLAST(Var4444)), POINTDOT,Color00b4ff,linethick3;STICKLINE(CLOSE,REF(LOW,BARSLAST(Var4444)),REF(LOW,B ARSLAST(Var4444)),5,0),LINETHICK3,Color00b4ff;弱势双线持币:HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00;强势单线持股:LLV(MA(HIGH,(3)),1),LINETHICK2,ColorFF00FF;{老鼠仓}AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1,linethick0;DRAWTEXT(老鼠仓, (LOW* 0.99),'老鼠仓'),LINETHICK3,Color40CCFF;A74:=MA(CLOSE,20);A75:=(CLOSE > MA(CLOSE,5));A76:=(MA(CLOSE,5) > MA(CLOSE,10));A77:=(CLOSE > MA(CLOSE,10));A78:=(MA(CLOSE,5) > MA(CLOSE,20));A79:=(CLOSE > MA(CLOSE,20));A710:=REF(A74,1);A711:=(A74 > A710);AVX:=(((((IF(A75,10,(0 - 10)) + IF(A76,10,(0 - 10))) + IF(A77,10,(0 - 10))) + IF(A78,10,(0 - 10))) + IF(A79,10,(0 - 10))) + IF(A711,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;T := BARSLAST(DISPSTATUS=1)+1;HHg := HHV(H, T);ddg := LLV(L, T);{Hk := LL-HH; G12 := LL-HK*1.55; }IF BARSTATUS=2 and c<200 and ((CROSS(AVX,1) AND (V1 >= V2)) AND (DSLX >= DSLX1)) THENDRAWTEXTABS(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。

大智慧缺口画线主图指标公式

大智慧缺口画线主图指标公式

大智慧缺口画线主图指标公式大智慧缺口画线主图指标公式2011-01-14 股旁网分类:大智慧公式标签: 主图画线缺口n:=5;{缺口}LL:=REF(L,1);HH:=REF(H,1);SQK:=L>HH;XQK:=H<LL;DRAWTEXT(SQK,L*0.92,' 向上跳空'),COLORRED; DRAWTEXT(XQK,H*1.08,' 逃命跳空'),COLORYELLOW; STICKLINE(SQK,L,HH,4*N,1),COLORRED;STICKLINE(XQK,H,LL,4*N,2),COLORYELLOW;MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA60:MA(CLOSE,60);BB:=REF(INDEXC,1)<REF(INDEXC,2) ANDREF(C,2)*0.95>=REF(C,1) ANDREF(O,1)/REF(C,1)>=1.05AND REF(C,1)<REF(O,1) AND C>O ANDC/O>=1.05 AND C>REF(O,1)AND REF(VOL,1)<REF(VOL,2);STICKLINE(BB,O,C,4,0),COLORRED;STICKLINE(BB,O,H,0,0),COLORRED;STICKLINE(BB,L,C,0,0),COLORRED;DRAWTEXT(BB,L*0.98,'○追'),COLORYELLOW;V AR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV( LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);V AR2:=8;CC:=CROSS(V AR1,V AR2);DRAWTEXT(CC,L*0.98,'◎买'),COLOR0099FF;TYP:=(H+L+C)/3;TYP1:=(TYP-MA(TYP,14))/(0.015*A VEDEV(TYP,14))<=2 0 ANDREF(MA(C,21),1)<MA(C,21);TJ1:=O<MAX(REF(C,1),REF(O,1));TJ2:=REF(C,1)>=MA(C,21) AND L/MA(C,21)>=1.015 ANDMA(C,144)>MA(C,250) AND V<MA(V,10) ANDTJ3:=REF(MA(C,250),90)<REF(MA(C,144),90) ANDMA(C,144)>MA(C,250) AND O>MA(C,250);TJ4:=MAX(REF(H,10)AND REF(H,9)AND REF(H,8)AND REF(H,7), REF(H,6));TOUJI:=TYP1 AND TJ1 AND TJ2 ANDREF(C,2)/REF(O,2)<1.06 AND C/O<=1.05 ANDHHV(H,5)/LLV(L,30)>=1.65 ANDREF(H,5)/REF(L,1)>=1.15 ANDREF(C,1)/REF(O,1)<=0.995 AND (L<REF(L,2) OR (REF(H,2)-REF(L,2))/(H-L)>=2) ANDO/REF(L,1)<=1.04OR TYP1 AND TJ1 AND O/REF(L,1)<1.05 ANDREF(L,1)/REF(O,4)<=0.85 ANDREF(C,1)/REF(O,1)<=1.03 AND O<REF(C,1) AND HHV(H,5)/LLV(L,35)>1.35 AND V<MA(V,10);TOUJI2:=TYP1 AND TJ1 AND TJ2 AND O/REF(L,1)<1.05 AND O/LLV(L,3)<1.1 AND REF(C,1)/REF(0,1)<=1.05 AND HHV(H,4)/LLV(L,16)>=1.35 ANDREF(O,4)/REF(C,2)>=1.08 ANDREF(C,2)/REF(O,2)<=0.995 AND (REF(L,2)<REF(L,3) OR (REF(H,3)-REF(L,3))/(REF(H,1)-REF(L,1))>=2) ANDOR TYP1 AND TJ1 AND HHV(H,10)/LLV(L,25)>=1.3 AND REF(C,5)<REF(H,5) AND REF(C,4)<REF(C,5) AND REF(C,3)<REF(C,4) AND REF(C,2)<REF(C,3) AND REF(C,1)<REF(C,2) AND L<REF(L,1) ANDMA5/O<1.1;DATOUJI:=TYP1 AND TJ3 AND O<REF(C,5) ANDO<=REF(C,1) AND REF(H,10)/O>=1.17 ANDHHV(H,10)/LLV(L,30)>1.4 AND(MA(V,10)/HHV(V,10)>0.5 AND V/HHV(V,10)>0.2 AND V/HHV(V,10)<0.4 OR REF(V,3)>REF(V,2) AND REF(V,2)>REF(V,1)) AND REF(C,1)/REF(C,2)<=1.02; DATOUJI1:=TYP1 AND TJ3 AND O<REF(L,6) ANDO<MIN(REF(C,5)AND REF(O,5),5) ;DRAWTEXT(TOUJI OR TOUJI2 OR DATOUJI ORDATOUJI1,L*0.98,'△'),COLORYELLOW;DRAWTEXT(CROSS(MA(VOL,10),MA(VOL,20)) AND MA(VOL,5)>MA(VOL,10) AND L<MA(C,20) ANDC>=MA(C,20),L*0.98,'量托'),COLORWHITE;卖出:=CROSS(90,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/S MA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100);DRAWTEXT(卖出,H*1.05,'◎短卖'),COLORGREEN; C3:=REF(C,1);涨停:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(涨停,OPEN,CLOSE,2,0),COLORRED;跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0); STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN; W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));突破盘整:=W4 AND COUNT(W4,5)=1; DRAWICON(突破盘整,L-0.10,1);{画线高低}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);{低点} DRAWTEXTABS(5,5,'股旁网。

大智慧未来成交量指标公式

大智慧未来成交量指标公式

大智慧未来成交量指标公式M1:=5;M2:=10;M3:=20;成交量:VOL,LINETHICK0;五日均量:MA(VOL,M1);十日均量:MA(VOL,M2);廿日均量:MA(VOL,M3);预估今日成交量:IF((DYNAINFO(7)=CLOSE), DYNAINFO(38)*DYNAINFO(17),成交量),Color0000FF,LINETHICK0;{如果最新价=收盘价,选五日均量*量比,否则就选成交量}FILLRGN(五日均量,十日均量,五日均量>=十日均量,RGB(255,0,0),五日均量<=十日均量,RGB(0,255,0));{当五日均量>=十日均量时为红色飘带,反之为绿色飘带}AAA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));{系数=成交量/((最高价-最低价)*2-绝对值(收盘价-开盘价))} 主买:=IF(CLOSE>OPEN,AAA*(HIGH-LOW),IF(CLOSE<OPEN,AAA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));主卖:=-IF(CLOSE>OPEN,0-AAA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AAA*(HIGH-LOW),0-成交量/2));STICKLINE(主买>=主卖,成交量,0,7.5,0),Color0E96A9;{黄色柱表示主力的净买量}STICKLINE(主买>=主卖,成交量,0,7,0),Color10A7BC;{黄色框2} STICKLINE(主买>=主卖,成交量,0,6,0),Color11B5CC;{黄色框3} STICKLINE(主买>=主卖,成交量,0,5,0),Color13C6DF;{黄色框4} STICKLINE(主买>=主卖,成交量,0,4,0),Color1CD2EC;{黄色框5} STICKLINE(主买>=主卖,成交量,0,2,0),Color39D8EE;{黄色框6} STICKLINE(主买>=主卖,成交量,0,0.5,0),ColorFFFFFF;{黄色框7}STICKLINE(主买<主卖,成交量,0,7.5,0),ColorCA6500;{蓝色柱主力的净卖量}STICKLINE(主买<主卖,成交量,0,7,0),ColorE17100;{蓝色框2}STICKLINE(主买<主卖,成交量,0,6,0),ColorF27900;{蓝色框3}STICKLINE(主买<主卖,成交量,0,5,0),ColorFF850B;{蓝色框4}STICKLINE(主买<主卖,成交量,0,4,0),ColorFF9326;{蓝色框5}STICKLINE(主买<主卖,成交量,0,2,0),ColorFFA042;{蓝色框6}STICKLINE(主买<主卖,成交量,0,0.5,0),colorFFFF00;{蓝色框7} STICKLINE(1>0,0,主买,7.5,0),ColorA200A2;{玫红柱1}STICKLINE(1>0,0,主买,7,0),ColorB700B7;{玫红柱2}STICKLINE(1>0,0,主买,6,0),ColorCE00CE;{玫红柱3}STICKLINE(1>0,0,主买,5,0),ColorE800E8;{玫红柱4}STICKLINE(1>0,0,主买,4,0),ColorFF00FF;{玫红柱5}STICKLINE(1>0,0,主买,2,0),ColorFF60FF;{玫红柱6}STICKLINE(1>0,0,主买,0.5,0),ColorFFD2FF;{玫红柱7}BBB:=LONGCROSS(成交量,五日均量,4);{全红柱表示今天的成交量超过五日均量}STICKLINE(BBB,0,成交量,7.5,0),color070084;{全红柱1}STICKLINE(BBB,0,成交量,7,0),color0000A3;{全红柱2}STICKLINE(BBB,0,成交量,6,0),color0000B7;{全红柱3}STICKLINE(BBB,0,成交量,5,0),color0000CD;{全红柱4}STICKLINE(BBB,0,成交量,4,0),color0000E9;{全红柱5}STICKLINE(BBB,0,成交量,2,0),color0754E9;{全红柱6}STICKLINE(BBB,0,成交量,0.5,0),Color68B8FF;{全红柱7}DL:=FILTER(成交量=LLV(成交量,20),5);{全绿柱表示今天是最近5天的成交量中是20日均量的最低量}STICKLINE(DL,0,成交量,7.5,0),Color006400;{全绿柱1}STICKLINE(DL,0,成交量,7,0),Color007500;{全绿柱2}STICKLINE(DL,0,成交量,6,0),Color008400;{全绿柱3}STICKLINE(DL,0,成交量,5,0),Color009900;{全绿柱4}STICKLINE(DL,0,成交量,4,0),Color00AE00;{全绿柱5}STICKLINE(DL,0,成交量,2,0),Color00BD00;{全绿柱6}STICKLINE(DL,0,成交量,0.5,0),Color8EFF8E;{全绿柱7}DRAWTEXTREL(0,0,'成交量'),COLORYELLOW;{DRAWTEXTREL(600,900,'证券代码: '+STKLABEL+' 证券名称: '+STKNAME+''),ColorFFAA00;}{预计今天成交量}今天成交额:=AMOUNT/10000;昨天成交额:=REF(今天成交额,1);交易分钟数:=if(CURRENTTIME>93000 and CURRENTTIME<150000 and DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,if(CURRENTTIME<113000,(TIMETOT0(CURRENTTIME)-34200)/60,if(CURRENTTIME>130000,(TIMETOT0(CURRENTTIME)-39600)/60,120)),240);预测今天:=今天成交额/交易分钟数*240;交易分时:=FRACPART( 交易分钟数/60);剩余分时:=交易分时*60;剩余秒:=FRACPART( 剩余分时);剩余秒时:=剩余秒*60;交易小时:=交易分钟数/60 ;{显示文字}DRAWTEXTABS(125,0,'昨天金额:'+NUMTOSTRN(昨天成交额/10000,2)+'亿'),ColorF5FF00,LINETHICK1;DRAWTEXTABS(125,13,'预计今天:'+NUMTOSTRN(预测今天/10000,2)+'亿'),COLOR00FFFF,LINETHICK1;DRAWTEXTABS(450,2,'交易时间:'+INTPART(交易小时)+'小时'+NUMTOSTRN(剩余分时,0)+'分'+NUMTOSTRN(剩余秒时,0)+'秒'+' 已成交金额'+':'+NUMTOSTRN(今天成交额/10000,2)+'亿元'),ColorF5FF00,LINETHICK2,PRECIS2;{柱图}图长度像素:=230*0.5;昨天图长度:=230+图长度像素;预测今天图:=(预测今天/昨天成交额)*图长度像素+230;目前成交图:=(今天成交额/昨天成交额)*图长度像素+230;DRAWRECTABS(230,1,昨天图长度,9 ,RGB(0,255,150));DRAWRECTABS(230,13,目前成交图, 23 ,RGB(255,73,20));DRAWRECTABS(230,16,预测今天图,20 ,RGB(255,255,0));{立柱说明}DRAWRECTREL( 0,140,115,860,RGB(20,20,20));DRAWRECTREL( 0,140,15,280,RGB(255,255,0));DRAWTEXTREL(20,140,'主力的净买量'),COLORYELLOW;DRAWRECTREL( 0,280,15,420,RGB(0,255,255));DRAWTEXTREL(20,280,'主力的净卖量'),COLORFFFF00;DRAWRECTREL( 0,420,15,560,RGB(255,25,0));DRAWTEXTREL(20,420,'超过五日均量'),COLOR0025FF;DRAWRECTREL( 0,560,15,700,RGB(0,255,0));DRAWTEXTREL(20,560,'低于廿日均量'),COLOR00FF00;DRAWRECTREL( 0,700,15,840,RGB(200,0,200));DRAWTEXTREL(20,700,'主力外成交量'),COLORFF00FF;。

大智慧公式集锦之主图

大智慧公式集锦之主图

大智慧公式集锦之主图{三线玄机}MA3:MA(CLOSE,5),colorred;MA4:MA(CLOSE,6),colorred;MA5:MA(CLOSE,7),colorred;MA6:MA(CLOSE,8),colorred;MA7:MA(CLOSE,9),colorred;MA8:MA(CLOSE,10),colorred;MA9:MA(CLOSE,11),colorred;MA10:MA(CLOSE,12),colorred;MA11:MA(CLOSE,13),colorred;MA12:MA(CLOSE,14),colorred;MA13:MA(CLOSE,15),colorred;MA14:MA(CLOSE,21);洼: IF(MA14>MA3,MA3,MA14),coloryellow;洼1: IF(MA14>MA4,MA4,MA14),coloryellow;洼2: IF(MA14>MA5,MA5,MA14),coloryellow;洼3: IF(MA14>MA6,MA6,MA14),coloryellow;洼4: IF(MA14>MA7,MA7,MA14),coloryellow;洼5: IF(MA14>MA8,MA8,MA14),coloryellow;洼6: IF(MA14>MA9,MA9,MA14),coloryellow;洼7: IF(MA14>MA10,MA10,MA14),coloryellow; 洼8: IF(MA14>MA11,MA11,MA14),coloryellow; 洼9: IF(MA14>MA12,MA12,MA14),coloryellow; 洼10: IF(MA14>MA13,MA13,MA14),coloryellow; {可取之处在于运用IF引用函数将均线变色}====================={三线开花趋势王}线A1:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,25))/3,COLOR00F F00;线A2:=(MA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,20)+MA(CLOSE,3 0)+MA(CLOSE,60)+MA(CLOSE,120))/6,COLOR00FF00;线A3:=(MA(CLOSE,20)+MA(CLOSE,60)+MA(CLOSE,120))/3,COLOR 00FF00,linethick2;线A4:=(MA(CLOSE,13)+MA(CLOSE,34)+MA(CLOSE,55))/3;Stickline(线A1>线A4,线A1,线A4,0.1,1),ColorFF0080;Stickline(线A1<线A4,线A1,线A4,0.1,1),COLOR00FF00;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));t1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;t2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);STICKLINE(t1,A,A,9,0),ColorFF00FF;STICKLINE(t2,B,B,9,0),Color80FF00;STICKLINE(C>O OR (C=O AND C>REF(C,1)),H,L,0.1,0),COLORRED;STICKLINE(C>O OR (C=O AND C>REF(C,1)),O,C,4,1),COLORRED;STICKLINE(C<O OR (C=O AND C<=REF(C,1)),H,L,0.1,0),COLORFFEEAF;STICKLINE(C<O OR (C=O AND C<=REF(C,1)),O,C,4,0),COLORFFEEAF;线1:IF(线A1<线A3,线A1,线A3),COLOR00FF00;IF(线A1<线A3,线A3,线A1),COLORRED;线2:IF(线A2<线A3,线A2,线A3),COLOR00FF00;IF(线A2<线A3,线A3,线A2),COLORRED;线3:IF(线A3<线A1,线A3,线A3),COLOR00FF00,LINETHICK2;IF(线A1<线A3,线A3,线A3),COLORRED,linethick2;DRAWICON(CROSS(线A1,线A4),线A1,1);ss1:=(LOW+HIGH+CLOSE*2)/4;ss2:= MA(ss1,4);ss3:=HHV(ss2,10);ss4:=ma(ss3,3);ss5:=1.25*ss4-0.25*ss3;kki:=if(ss5>ss3,ss3,ss5);ff1:=LLV(ss2,10);ff2:=ma(ff1,3);ff3:=1.25*ff2-0.25*ff1;kkj:=if(ff3<ff1,ff1,ff3);ma13:=ma(c,13);zdhm:=cross(c,kkj) and cross(c,ma13) and cross(c,kki);zhm:=cross(c,ma13) and cross(c,kki);黑马:if(zdhm or zhm,l,h),colorwhite,pointdot;STICKLINE(zdhm or zhm,h,l,0,1),colorwhite,linethick2;STICKLINE(zdhm or zhm,o,c,4,1),colorwhite,linethick2;======================--------------------------------------------------------------------------------{乾坤线主图 AA:1 10 5 BB:1 100 15 M2:1 100 3 M22:1 100 8} MID:=MA(CLOSE,20);UPPER:=MID+2*STD(CLOSE,20);LOWER:=MID-2*STD(CLOSE,20);V1:=(CLOSE-LOWER)/(UPPER-LOWER)*100;V2:=V1-EMA(V1,5);K1:=SUM(LLV(V2,4),4)/4;V3:=EMA(V2,64)*10;V4:=EMA(0.4*V2*(-1),3);V5:=-1*EMA(V2,39)*10;A:=V3>10;B:=V2>V4;D:=V5>10;E:=V3<=10 OR V2<=V4 OR V5<=10;KS:=(CLOSE-SMA(CLOSE,13,1))/SMA(CLOSE,13,1)*(-100);RKS:=REF(KS,1);MLS:=RKS/KS>1.23 AND RKS>13 AND CLOSE/REF(CLOSE,1)>1.03;STICKLINE(C>=O AND E,H,L,0,0),COLORRED;STICKLINE(C>=O AND E,C,O,4,0),COLORRED;STICKLINE(C<O AND E,H,L,0,0),COLOR00FF00;STICKLINE(C<O AND E,C,O,4,0),COLOR00FF00;STICKLINE(O>C AND A,L,H,0,0),COLORYELLOW;STICKLINE(O>C AND A,C,O,4,0),COLORYELLOW;STICKLINE(O<=C AND A,L,H,0,0),COLORYELLOW;STICKLINE(O<=C AND A,C,O,4,1),COLORYELLOW;STICKLINE(O>C AND B,L,H,0,0),COLORRED;STICKLINE(O>C AND B,C,O,4,0),COLORRED;STICKLINE(O<=C AND B,L,H,0,0),COLORRED;STICKLINE(O<=C AND B,C,O,4,1),COLORRED;STICKLINE(O>C AND D,L,H,0,0),COLORFFCC66;STICKLINE(O>C AND D,C,O,4,0),COLORFFCC66;STICKLINE(O<=C AND D,L,H,0,0),COLORFFCC66;STICKLINE(O<=C AND D,C,O,4,1),COLORFFCC66;超跌:IF(KS>13,低,高),COLORWHITE,POINTDOT;STICKLINE(KS>13,高,低,0,1),colorwhite,linethick2;反弹:IF(MLS=1,高,低),COLORFF00FF,POINTDOT;STICKLINE(MLS=1,高,低,0,1),colorff00ff,linethick2;STICKLINE(KS>13,开,收,4,1),colorwhite,linethick2;STICKLINE(MLS=1,开,收,4,1),colorff00ff,linethick2;tj1:=SLOPE(EMA(CLOSE,2),aa)*bb+CLOSE ;s:=EMA(SLOPE(CLOSE,5)/REF(CLOSE,14),3)*302 ;t1:=BARSLAST(CROSS(CLOSE,KS));t2:=BARSLAST(CROSS(KS,CLOSE));红跟入:IF(CLOSE>KS ,REF(CLOSE,t1),REF(CLOSE,t1)),COLORRED,POIN TDOT;STICKLINE(CLOSE>KS ,REF(CLOSE,t1),REF(CLOSE,t1),1,0),line thick6,colorred;黄洗盘:IF(CLOSE>KS and CLOSE<REF(CLOSE,t1),REF(CLOSE,t1),REF(CLOSE,t1)),COLORYELL OW,POINTDOT;STICKLINE(CLOSE>KS and CLOSE<REF(CLOSE,t1),REF(CLOSE,t1),REF(CLOSE,t1),1,0),linethick 6,coloryellow;灰下跌:IF(CLOSE<KS,REF(CLOSE,t2),REF(CLOSE,t2)),COLORFFCC66,PO INTDOT;STICKLINE(CLOSE<KS,REF(CLOSE,t2),REF(CLOSE,t2),1,0),linet hick6,COLORFFCC66;鄂:REF(CLOSE,t1),linethick1,colorblue;圆圈:REF(CLOSE,t2),linethick1,colorwhite;================================{黄金箱 n1:0 100 4}上收:=c;上开:=o;上高:=h;上低:=l;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,N1);B:=REF(A,1);智能黄金线:A,POINTDOT,COLORYELLOW;B,POINTDOT,COLORYELLOW;STICKLINE(A>B,A,B,5,0),COLORYELLOW;STICKLINE(A<B,A,B,5,0),COLORBLUE;VA1:=EMA(上收,8);VA2:=EMA(上收,20);DRAWTEXT(CROSS(VA2,VA1),h,''★''),COLORYELLOW;DRAWTEXT(CROSS(VA2,VA1),h+0.09,''止损''),COLORYELLOW;DRAWTEXT(CROSS(VA1,VA2),L,''★''),COLORWHITE;DRAWTEXT(CROSS(VA1,VA2),L-0.09,''买入''),COLORWHITE;选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3);箱底A:=MA(REF(LLV(上收,3),1),3);t1:=MA(上收,20)>=REF(MA(上收,20),1);t2:=CROSS(选手A,箱底A) AND 箱顶A/箱底A>100/100 AND t1;t3:=CROSS(箱顶A,选手A) AND 箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;t4:=CROSS(选手,箱底) AND 箱顶/箱底>110/100;t5:=CROSS(箱顶,选手) AND 箱顶/箱底>110/100;DRAWICON(t2 OR t4,l,1);DRAWICON(t3 OR t5,h,2);Var1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=SMA(Var3,3,1);DRAWTEXT(CROSS(Var3,Var4) AND Var3<40,箱底,''逢低吸呐''),COLORf00ff0;DRAWTEXT(CROSS(Var4,Var3) AND Var4>75 ,箱顶*1.02,''逢高减磅''),COLORf0f000;======================={垂帘听股主图}MA5:=MA(C,5);a:=(3*c+l+o+h)/6;垂帘:(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref( a,5)+14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10) +9*ref(a,11)+8*ref(a,12)+7*ref(a,13)+6*ref(a,14)+5*ref(a,15) +4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ref(a,20))/210,COLORR ED,POINTDOT;听股:ma(垂帘,13),colorffcccc,circledot;zar1:=SLOPE(EMA(CLOSE,2),5)*15+C;zar2:=EMA(zar1,5);zarA:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(zar2,5),5), 5),5),5),5),5),5);zarB:=BARSLAST(CROSS(CLOSE,zarA));zarC:=BARSLAST(CROSS(zarA,CLOSE));STICKLINE(CLOSE<zarA,REF(CLOSE,zarC),REF(CLOSE,zarC),1 2,0),linethick2,colorFFCCCC;上涨:if(CLOSE>zarA ANDCLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB)),COL ORFFC8FF,pointdot;STICKLINE(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),垂帘,1,0),colorFFC8FF;STICKLINE(CLOSE>zarA AND CLOSE>REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB),12,0), COLORFFC8FF,LINETHICK2;止盈止损:IF(CLOSE<zarA AND CLOSE<REF(CLOSE,zarC),REF(CLOSE,zarC),REF(CLOSE,zarC)),COL OR00FF00,POINTDOT;STICKLINE(CLOSE<zarA AND CLOSE<REF(CLOSE,zarC),REF(CLOSE,zarC),垂帘,1,0),COLOR00FF00;VAR41:= EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);VAR42:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);VAR4A:=REF(VAR41,1)>92 AND VAR41<92;DRAWTEXT(VAR4A,H+0.12,''短卖''),COLOR00FF00;DRAWTEXT(VAR4A,H+0.05,''●''),COLOR00FF00;STICKLINE(C>=O,H,L,0,0),colorred;STICKLINE(C<O,H,L,0,0),colorFFFF52;STICKLINE(C>=O,C,O,4,1),colorred;STICKLINE(C<O,C,O,4,0),colorFFFF52;MA13:MA(C,13),COLORWHITE,LINETHICK2;MA55:MA(C,55),COLORFF00FF;MA125:MA(C,125),COLORFFCC66;MA250:MA(C,250),COLORBLUE;STICKLINE(cross(ma5,听股) and ma5>听股and c>o,ma13,ma13-0.09,4,0),coloryellow;DRAWTEXT(cross(ma5,听股) and ma5>听股and c>o,ma13-0.12,''垂帘听股''),coloryellow;{这个指标的图形比较形象,当浅粉色帘低垂时正是阳光普照之时,反映在股票上就是一波阳多阴少开始上升的趋势,如果出现垂帘听股信号,这个时候买入再加上有浅粉色垂帘相映一定会心情不错吧!当绿色帘低垂时,预示着明媚的阳光即将被乌云遮盖,随之而来的阴雨绵绵,反映在股票上就是阴多阳少或者连续阴跌,这可不是踏青赏绿的时候,而是止盈止损保住钱袋子,这才是英明的选择,此时应该结束垂帘听股.}==============================={卷帘操作}Var2:=EMA(SLOPE(EMA(CLOSE,20),10)*34+CLOSE,30);Var3:=EMA(Var2,3);Var4:=EMA(Var3,3);Var5:=EMA(Var4,3);Var6:=EMA(Var5,3);Va7:=EMA(Var6,3);VAR7:=EMA(Va7,3);VA8:=EMA(VAR7,3);Var8:=EMA(VA8,3);Var9:=EMA(Var8,3);VarA:=BARSLAST(CROSS(CLOSE,Var9));VarB:=BARSLAST(CROSS(Var9,CLOSE));卷帘操作:IF(CLOSE>Var9 AND CLOSE>REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),CO LORFFC8FF,POINTDOT;STICKLINE(CLOSE>Var9 AND CLOSE>REF(CLOSE,VarA),REF(CLOSE,VarA),LOW*1,00,1),COLORF FC8FF;强:IF(CLOSE<Var9 ANDCLOSE<REF(CLOSE,VarB),REF(CLOSE,VarB),REF(CLOSE,VarB)),COL OR0099FF,POINTDOT;STICKLINE(CLOSE<Var9 AND CLOSE<REF(CLOSE,VarB),REF(CLOSE,VarB),HIGH*1,0,1),COLOR00 FF00;势:IF(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),CO LORWHITE,POINTDOT;STICKLINE(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),LOW*1.02,0,1),COLOR FFCCCC;垂帘休息:IF(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA)),CO LOR00ff00,POINTDOT;STICKLINE(CLOSE>Var9 AND CLOSE<REF(CLOSE,VarA),REF(CLOSE,VarA),REF(CLOSE,VarA),6,1), COLOR00FF00;沉:IF(CLOSE<Var9,REF(CLOSE,VarB),REF(CLOSE,VarB)),ColorB 3B3B3,POINTDOT;STICKLINE(CLOSE<Var9,REF(CLOSE,VarB),REF(CLOSE,VarB),1 6,0),ColorB3B3B3,linethick2;STICKLINE(CLOSE>Var9,REF(CLOSE,VarA),REF(CLOSE,VarA),1 6,0),COLORBLUE,linethick2;STICKLINE(C>=O,H,L,0,0),colorred;STICKLINE(C<O,H,L,0,0),colorFFFF52;STICKLINE(C>=O,C,O,4,1),colorred;STICKLINE(C<O,C,O,4,0),colorFFFF52;x5:HHV((REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CL OSE,4))/4,5),COLOR00FF00;x10:HHV((REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/4,10),COLORyellow;x20:HHV((REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(C LOSE,6))/4,20),COLORFF00FF;BY:=CROSS(C,X5) AND CROSS(C,X10) AND CROSS(C,X20) AND C/REF(C,1)>1.015;BH:=CROSS(X5,X10) AND C>O;STICKLINE(BY OR BH,L,L-0.09,4,0),COLORYELLOW;DRAWTEXT(BY OR BH,L-0.12,''操作''),COLORYELLOW;DDC:=CROSS(X5,C) AND CROSS(X10,C) AND CROSS(X20,C);DRAWTEXT(DDC,H+0.15,''●''),COLOR00FF00;{指标要点:卷帘操作,垂帘休息.指标原理:X5、X10、X20均线依次取前4天平均值的5、10、20天最高值,通过运算显示出不同于其它均线运行的趋势,当三条均线由下或由上发散粘合时,股价在不同周期内的最高值趋于一致,股价变动的几率比较大。

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

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

相关文档
最新文档