shangjing558 老师指标公式汇总之二 - 无洞长箫 - zaotuwang - . shangjing

2007(助)②波浪图

DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));

DEA:=EMA(DIFF,9);

MACD:=(2 * (DIFF - DEA));

RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);

K:=SMA(RSV,3,1);

XMACD:=SMA(K,3,1);

XKD:=(EMA(IF((DEA > REF(DEA,1)),1,(0 - 1)),14) * 14);

XGL:=((EMA(IF((XMACD > REF(XMACD,1)),1,(0 - 1)),14) * 14) * 2);

XAA:=(((MA(CLOSE,5) / MA(CLOSE,70)) - 1) * 100);

快:(((((XAA + XGL) + XKD) / 3) * 10));

100,POINTDOT;

(0 - 100),POINTDOT;

VAR18:=EMA((((CLOSE + HIGH) + LOW) / 3),5);

慢:((EMA(IF((VAR18 > REF(VAR18,1)),1,(0 - 1)),14) * 140) );

{可作参考,上升波浪吉,下降波浪凶,注意形态背离及高低位的转向!}

牛股见顶清仓(信号太频繁)

V1:=(C*2+H+L)/4*10;

V2:=EMA(V1,13)-EMA(V1,34);

V3:=EMA(V2,5);

V4:=2*(V2-V3)*5.5;

主力撤:=IF(V4<=0,V4,0);

主力撤:filter(V4<=0,144),COLORGREEN;

主力进: IF(V4>=0,V4,0);

V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;

V6:=EMA(3*V5-2*SMA(V5,18,1),5);

V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;

V8:=(INDEXC*2+INDEXH+INDEXL)/4;

V9:=EMA(V8,13)-EMA(V8,34);

VA:=EMA(V9,3);

VB:=(V9-VA)/2;

大盘资金进场: IF(VB>=0,VB,0),COLORYELLOW;

大盘资金撤走: IF(VB<=0,VB,0),COLORBLUE;

V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);

趋势线: EMA(V11,3);

V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;

准备现金: STICKLINE(趋势线<=13,0,20,5,0),COLORCC9900;

AA:=(趋势线<=13) AND FILTER((趋势线<=13),15);

DRAWTEXT (AA,30,'准备现金'),COLORCC9900;

买入股票: STICKLINE(趋势线<=13 AND V12>13,0,50,5,0),COLOR0099FF;

BB:= (趋势线<=13 AND V12>13) AND FILTER((趋势线<=13 AND V12>13),10) ;

DRAWTEXT (BB,60,'买入股票'),COLOR0099FF;

见顶清仓1:=STICKLINE(趋势线>=93 AND V12,0,30,5,0);

filter(趋势线>=93 AND V12,144),COLORGREEN;

CC:=(趋势线>=93 AND V12) AND FILTER((趋势线>=93 AND V12),144);

DRAWTEXT (CC,40,'见顶清仓'),COLORGREEN;

今天朋友送来精品指标,大开眼界,拓宽思维。深深佩服作者的睿智。高智商,妙!!

RSCD(同图显示RSI)

LC := REF(CLOSE,1);

RSI1:SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

RSI: MA(RSI1,10)-50;

RSEA : EMA(RSI,9);

RSCD:2*(RSI-RSEA),linethick0;

bbRSI:=RSI-ref(RSI,1);

bbRSEA:=RSEA-ref(RSEA,1);

bbRSCD:=RSCD-ref(RSCD,1);

STICKLINE(RSCD<ref(RSCD,1)and RSCD>0,0,RSCD,8,0),colorgreen;

STICKLINE(RSCD<ref(RSCD,1)and RSCD<0,0,RSCD,8,0),colorFFCC33;

STICKLINE(RSCD>ref(RSCD,1)and RSCD<0,0,RSCD,8,0),COLORyellow;

STICKLINE(RSCD>ref(RSCD,1)and RSCD>0,0,RSCD,8,0),COLORmagenta;

STICKLINE(RSCD=ref(RSCD,1),0,RSCD,8,0),colorwhite;

PARTLINE(bbRSI>0,RSI),color00CCFF,LINETHICK2;

PARTLINE(bbRSI<0,RSI),colorblue,LINETHICK2;

PARTLINE(bbRSI=0,RSI),colorwhite,LINETHICK2;

PARTLINE(bbRSEA>0,RSEA),color0066ff,LINETHICK2;

PARTLINE(bbRSEA<0,RSEA),color00ff33,LINETHICK2;

PARTLINE(bbRSEA=0,RSEA),colorwhite,LINETHICK2;

RSI速率:bbRSI*100,LINETHICK0;

RSEA速率:bbRSEA*100,LINETHICK0;

RSCD速率:bbRSCD*100,LINETHICK0;

小跋

把RSI指标趋向化的表达,可以同图显示RSI,也可以屏蔽RSI而只显示RSCD。

同图显示RSI可以对照CD的趋向指示对强弱进行综合判断。

RSCD与MACD有异曲同工之妙,可以代替MACD使用,也可以配合MACD使用。

需要注意的是,RSKD有高低位钝化现象。

试验选股

input:n(5,1,30);

CG:ma((LOW+HIGH+CLOSE*2)/4,n);

zlzc3:(hhv(h,144)-((hhv(h,144)-llv(l,144))*0.382));

cross(CG,zlzc3);

把这个设置成主图,加到分钟K线里即可

z:=sumbars(date/100<>ref(date/100,1),1);

sum(AMOUNT,z)/sum(v*100,z);

应网友创意而做-----两星夹一中阴选股(主图)

var1:=ref(c,2) and ref(CLOSE=OPEN AND HIGH<>LOW,2);

var2:=ref(c,1) and ref(OPEN/CLOSE > 1.02 AND HIGH/LOW,1)< ref(OPEN/CLOSE+0.018,1);

var3:=CLOSE=OPEN AND HIGH<>LOW;

选股:var1and var2 and var3;

{成交分析飞狐}

input:n(15,1,100);

DRAWGBK(C>0,COLORRGB(80,100,120),0,1);

V1:=TIME;

a1:=COUNT(BARSCOUNT(C)=1 and time<102000 ,0 );

开盘分:=if(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),

(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)));

V1:=TIME;

a1:=COUNT(BARSCOUNT(C)=1 and time<102000 ,0 );

开盘分:=if(V1<130000,(FLOOR(V1/10000)-9.5)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)),

(FLOOR(V1/10000)-11)*60+(FLOOR(V1/100)-100*FLOOR(V1/10000)));

aa:=BARSCOUNT(C);

人气:=if(a1>0,aa/开盘分,aa/(开盘分-60));

fsbs:=BARSCOUNT(CLOSE);

e:=BARSCOUNT(C)=SYSPARAM(2);

a:=BARSLAST(e);

总:=hhv(v,a);

DRAWTEXT(BARSTATUS=2,总,'成交分析 '),LINETHICK9,Coloryellow,ALIGN2;

DRAWTEXT(BARSTATUS=2,总,' '+STKLABEL+' '+STKNAME+' '+NUMTOSTR(date,0)+' '),LINETHICK6,ColorFFFF80,ALIGN2;yy:=DATE;

yy1:=WEEKDAY;

DRAWTEXT(BARSTATUS=2 and yy1=5,总,'星期五 '),LINETHICK6,COLORffef40,ALIGN2;

DRAWTEXT(BARSTATUS=2 and yy1=4,总,'星期四 '),LINETHICK6,COLORffef40,ALIGN2;

DRAWTEXT(BARSTATUS=2 and yy1=3,总,'星期三 '),LINETHICK6,COLORffef40,ALIGN2;

DRAWTEXT(BARSTATUS=2 and yy1=2,总,'星期二 '),LINETHICK6,COLORffef40,ALIGN2;

DRAWTEXT(BARSTATUS=2 and yy1=1,总,'星期一 '),LINETHICK6,COLORffef40,ALIGN2;

Var1:=IF(BUYVOL<=REF(ASKVOL(1),1) AND CLOSE=REF(ASKPRICE(1),1),BUYVOL,0);

Var2:=IF(BUYVOL<=(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)) AND CLOSE=REF(ASKPRICE(2),1),BUYVOL,0);

Var3:=IF(BUYVOL<=(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1)) AND CLOSE=REF(ASKPRICE(3),1),BUYVOL,0);

Var3A:=IF(BUYVOL>(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1)) AND REF(ASKPRICE(3),1)>0ANDCLOSE>REF(ASKPRICE(3),1),BUYVOL,0);

Var41:=IF(CLOSE<REF(ASKPRICE(1),1) AND REF(BIDVOL(1),1)>0 AND REF(ASKVOL(1),1)>0,BUYVOL,0);

Var42:=IF((BUYVOL>REF(ASKVOL(1),1) AND CLOSE=REF(ASKPRICE(1),1) AND REF(BIDVOL(1),1)>0){ or (CLOSE<REF(ASKPRICE(1),1) AND REF(BIDVOL(1),1)>0 AND REF(ASKVOL(1),1)>0)},BUYVOL,0);

Var42a:=IF(Var42>0,Var42-REF(ASKVOL(1),1),0);

Var4b:=Var41+Var42a;

Var4:=Var41+Var42;

Var51:=IF(BUYVOL>REF(ASKVOL(1),1) AND CLOSE>REF(ASKPRICE(1),1) AND CLOSE<REF(ASKPRICE(2),1),BUYVOL,0);

Var52:=IF(BUYVOL>(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)) AND CLOSE=REF(ASKPRICE(2),1) AND REF(BIDVOL(1),1)>0,BUYVOL,0);

Var52a:=IF(Var52>0,Var52-(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)),0);

Var5b:=Var51+Var52a;

Var5:=Var51+Var52;

Var61:=IF(BUYVOL>REF(ASKVOL(1),1)+REF(ASKVOL(2),1) AND CLOSE>REF(ASKPRICE(2),1) AND CLOSE<REF(ASKPRICE(3),1),BUYVOL,0);

Var62:=IF(BUYVOL>(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1)) AND CLOSE=REF(ASKPRICE(3),1) AND REF(BIDVOL(1),1)>0,BUYVOL,0);

Var62a:=IF( Var62>0,Var62-(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1)),0);

Var6b:=Var61+Var62a;

Var6:=Var61+Var62;

Var7:=IF(SELLVOL<=REF(BIDVOL(1),1) AND CLOSE=REF(BIDPRICE(1),1),SELLVOL,0);

Var8:=IF(SELLVOL<=(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)) AND CLOSE=REF(BIDPRICE(2),1),SELLVOL,0);

Var9:=IF(SELLVOL<=(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1)) AND CLOSE=REF(BIDPRICE(3),1),SELLVOL,0);

Var9A:=IF(SELLVOL>(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1)) AND REF(BIDPRICE(3),1)>0 AND CLOSE<REF(BIDPRICE(3),1),SELLVOL,0);

VarA1:=IF(CLOSE>REF(BIDPRICE(1),1) AND REF(ASKVOL(1),1)>0 AND REF(BIDVOL(1),1)>0,SELLVOL,0);

VarA2:=IF(SELLVOL>REF(BIDVOL(1),1) AND CLOSE=REF(BIDPRICE(1),1) AND REF(ASKVOL(1),1)>0,SELLVOL,0);

VarAa:=IF(VarA2>0,SELLVOL-REF(BIDVOL(1),1),0);

VarA:=VarA1+VarA2;

VarB1:=IF(SELLVOL>REF(BIDVOL(1),1) AND CLOSE<REF(BIDPRICE(1),1) AND CLOSE>REF(BIDPRICE(2),1),SELLVOL,0);

VarB2:=IF(SELLVOL>(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)) AND CLOSE=REF(BIDPRICE(2),1) AND REF(ASKVOL(1),1)>0,SELLVOL,0);

VarBa:=if(VarB2>0,SELLVOL-(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)),0);

VarAb:=VarB1+VarBa;

VarB:=VarB1+VarB2;

VarC1:=IF(SELLVOL>REF(BIDVOL(1),1)+REF(BIDVOL(2),1) AND CLOSE<REF(BIDPRICE(2),1) AND CLOSE>REF(BIDPRICE(3),1),SELLVOL,0);

VarC2:=IF(SELLVOL>(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1)) AND CLOSE=REF(BIDPRICE(3),1) AND REF(ASKVOL(1),1)>0,SELLVOL,0);

VarCa:=if(VarC2>0,SELLVOL-(REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1)),0);

VarAc:=VarC1+VarCa;

VarC:=VarC1+VarC2;

VarD:=if((ASKVOL(1)+ASKVOL(2)+ASKVOL(3))=0 AND REF((ASKVOL(1)+ASKVOL(2)+ASKVOL(3)),1 )=0 and REF(BIDVOL(1),1)>0,SELLVOL,0);

VarE:=if((BIDVOL(1)+BIDVOL(2)+BIDVOL(3))=0 AND REF((BIDVOL(1)+BIDVOL(2)+BIDVOL(3)),1 )=0 and REF(ASKVOL(1),1)>0,BUYVOL,0);

VarF:=IF(ASKVOL(1)<REF(ASKVOL(1),1) AND ASKPRICE(1)=REF(ASKPRICE(1),1) AND CLOSE<REF(ASKPRICE(1),1) AND (REF(ASKVOL(1),1)-ASKVOL(1))<>SELLVOL,REF(ASKVOL(1),1)-ASKVOL(1),0);

Var10:=IF(ASKVOL(3)<REF(ASKVOL(3),1) AND ASKPRICE(3)=REF(ASKPRICE(3),1) AND CLOSE<REF(ASKPRICE(3),1),REF(ASKVOL(3),1)-ASKVOL(3),0);

Var11:=IF((REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1))=0 AND REF(ASKVOL(1),1)>0 AND (REF(ASKVOL(1),1)-ASKVOL(1))<SELLVOL AND ASKVOL(1)<REF(ASKVOL(1),1) AND ASKPRICE(1)=REF(ASKPRICE(1),1) AND CLOSE<REF(ASKPRICE(1),1),REF(ASKVOL(1),1)-ASKVOL(1),0);

Var12:=IF(ASKVOL(2)<REF(ASKVOL(3),1) AND ASKPRICE(2)=REF(ASKPRICE(3),1) AND CLOSE<REF(ASKPRICE(3),1),REF(ASKVOL(3),1)-ASKVOL(2),0);

Var13:=IF(ASKVOL(3)<REF(ASKVOL(2),1) AND ASKPRICE(3)=REF(ASKPRICE(2),1) AND CLOSE<REF(ASKPRICE(2),1),REF(ASKVOL(2),1)-ASKVOL(3),0);

Var14:=IF(BIDVOL(1)<REF(BIDVOL(1),1) AND BIDPRICE(1)=REF(BIDPRICE(1),1) AND CLOSE>REF(BIDPRICE(1),1) AND REF(BIDVOL(1),1)-BIDVOL(1)<>BUYVOL,REF(BIDVOL(1),1)-BIDVOL(1),0);

Var15:=IF(BIDVOL(3)<REF(BIDVOL(3),1) AND BIDPRICE(3)=REF(BIDPRICE(3),1) AND CLOSE>REF(BIDPRICE(3),1),REF(BIDVOL(3),1)-BIDVOL(3),0);

Var16:=IF(REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1)=0 AND REF(BIDVOL(1),1)>0 AND REF(BIDVOL(1),1)-BIDVOL(1)<BUYVOL AND BIDVOL(1)<REF(BIDVOL(1),1) AND BIDPRICE(1)=REF(BIDPRICE(1),1) AND CLOSE=REF(BIDPRICE(1),1),REF(BIDVOL(1),1)-BIDVOL(1),0);

Var17:=IF(BIDVOL(2)<REF(BIDVOL(3),1) AND BIDPRICE(2)=REF(BIDPRICE(3),1) AND CLOSE>REF(BIDPRICE(3),1),REF(BIDVOL(3),1)-BIDVOL(2),0);

Var18:=IF(BIDVOL(3)<REF(BIDVOL(2),1) AND BIDPRICE(3)=REF(BIDPRICE(2),1) AND CLOSE>REF(BIDPRICE(2),1),REF(BIDVOL(2),1)-BIDVOL(3),0);

Var19:=IF(BUYVOL<=REF(ASKVOL(1),1)+REF(ASKVOL(2),1)+REF(ASKVOL(3),1) AND CLOSE>=REF(ASKPRICE(3),1),BUYVOL,0);

Var1A:=IF(SELLVOL<=REF(BIDVOL(1),1)+REF(BIDVOL(2),1)+REF(BIDVOL(3),1) AND CLOSE<=REF(BIDPRICE(3),1),SELLVOL,0);

量:V,PRECISION0,VOLSTICK;;

STICKLINE((Var1+Var2+Var3+Var3A)>0,0,(Var1+Var2+Var3+Var3A),8,1),Colorred;

敲买:=Var4+Var5+Var6;

买入:if((Var1+Var2+Var3+Var3A)>0,(Var1+Var2+Var3+Var3A)-(VarD+VarE),if(敲买>0,((Var4+Var5+Var6)-(Var4b+Var5b+Var6b)),0)),PRECISION0,Colorred,LINETHICK0;

对敲买:(Var4b+Var5b+Var6b),PRECISION0,COLORMAGENTA,LINETHICK0;

STICKLINE((Var4+Var5+Var6)>0,0,Var4+Var5+Var6,8,1),COLORMAGENTA;

STICKLINE(敲买>0,0,Var4b+Var5b+Var6b,4,0),COLORMAGENTA;

敲卖:=VarA+VarB+VarC;

卖出:if((Var7+Var8+Var9+Var9A)>0,(Var7+Var8+Var9+Var9A)-(VarD+VarE),if(敲卖>0,(VarA+VarB+VarC)-(VarAa+VarAb+VarAc),0)),PRECISION0,Color00ff00,LINETHICK0;;

STICKLINE((Var7+Var8+Var9+Var9A)>0,0,(Var7+Var8+Var9+Var9A),8,1), COLORGREEN;

对敲卖:(VarAa+VarAb+VarAc),PRECISION0,COLORCYAN,LINETHICK0;

STICKLINE((VarA+VarB+VarC)>0,0,VarA+VarB+VarC,8,1),COLORCYAN;

STICKLINE(敲卖>0,0,VarAa+VarAb+VarAc,4,0),COLORCYAN;

涨跌停:=VarD+VarE;

STICKLINE((VarD+VarE)>0,0,VarD+VarE,6,0),COLORff0000;

总买:sum(买入,0),Colorred,PRECISION0,LINETHICK0;

总敲买:sum(对敲买,0),COLORMAGENTA,PRECISION0,LINETHICK0;

总卖:sum(卖出,0),Color00ff00,PRECISION0,LINETHICK0;

总敲卖:sum(对敲卖,0),COLORCYAN,PRECISION0,LINETHICK0;

总涨跌停:sum(涨跌停,0),COLORff0000,LINETHICK0;

撤卖:IF((VarF+Var10+Var11+Var12+Var13)>BUYVOL,VarF+Var10+Var11+Var12+Var13-BUYVOL,0),PRECISION0,COLORffffff,LINETHICK0;

STICKLINE(撤卖>0,0,-撤卖,8,0),COLORffffff;

撤买:IF((Var14+Var15+Var16+Var17+Var18)>SELLVOL,Var14+Var15+Var16+Var17+Var18-SELLVOL,0),PRECISION0,COLOR0000ff,LINETHICK0;

STICKLINE(撤买>0,0,-撤买,4,0),COLOR0000ff;

DRAWTEXT(Var19>100 AND Var19<500,BUYVOL+5,'扫盘'),COLORff8888;

DRAWTEXT(Var19>=500,BUYVOL+5,'扫盘'),COLORff8888;

DRAWTEXT(Var1A>100 AND Var1A<500,SELLVOL+5,'扫盘'),COLORff8888;

DRAWTEXT(Var1A>=500,SELLVOL+5,'扫盘'),COLORff8888;

DRAWTEXT((Var3A>0 or Var9A) AND 涨跌停=0,量+10,'扫三'),COLORff8888;

DRAWTEXT(BARSTATUS=2,总*0.98,'总涨跌停=:'+NUMTOSTR(总涨跌停,0)+' '),COLORff8888,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.85,'---------------------------------'),LINETHICK1,Coloreeeeee,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.75,'总买=:'+NUMTOSTR(总买,0)+' '),Colorred,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.75,'总敲买=:'+NUMTOSTR(总敲买,0)+' '),COLORMAGENTA,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.60,'总卖=:'+NUMTOSTR(总卖,0)+' '),Color00ff00,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.60,'总敲卖=:'+NUMTOSTR(总敲卖,0)+' '),COLORCYAN,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.50,'---------------------------------'),LINETHICK1,Coloreeeeee,ALIGN2;

{=======下面大单分析部分,机子不良可省去}

XS:=10000*n/c/100;

大单买入:=if(买入>=xs ,买入,0);

大对敲买:=if(对敲买>=xs ,对敲买,0);

大单卖出:=if(卖出>=xs ,卖出,0);

大对敲卖:=if(对敲卖>=xs ,对敲卖,0);

大涨跌停:=if(涨跌停>=xs ,涨跌停,0);

{求和}

大单买:=sum(大单买入,0);

大对买:=sum(大对敲买,0);

大单卖:=sum(大单卖出,0);

大对卖:=sum(大对敲卖,0);

大停:=sum(大涨跌停,0);

DRAWTEXT(BARSTATUS=2,总*0.80,'总成交手:'+NUMTOSTR(DYNAINFO( 8),0)+' '),COLORffff54,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.80,'成交总笔数:'+NUMTOSTR(fsbs,0)+' '),COLORffff54,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.80,'人气(笔/分):'+NUMTOSTR(人气,3)+' '),COLORffff54,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.65,'大单买入:'+NUMTOSTR(大单买,0)+' '),COLOR0000ff,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.50,'大对敲买:'+NUMTOSTR(大对买,0)+' '),COLOR00cccc,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.35,'大单卖出:'+NUMTOSTR(大单买,0)+' '),COLOR00ff00,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.20,'大对敲卖:'+NUMTOSTR(大对卖,0)+' '),COLORcccc00,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.05,'大涨跌停:'+NUMTOSTR(大停,0)+' '),COLORff8888,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.65,'(买+对)占%:'+NUMTOSTR((大单买+大对买)/DYNAINFO(8)*100,2)+' '),COLOR0000ff,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.50,'(买+对)占%:'+NUMTOSTR((大单卖+大对卖)/DYNAINFO(8)*100,2)+' '),COLOR00ff00,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.35,'大涨跌停占%:'+NUMTOSTR(大停/DYNAINFO(8)*100,2)+' '),COLORff8888,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.65,'□■大单买卖净量:'+NUMTOSTR(((大单买+大对买)-(大单卖+大对卖)),2)+' '),COLORccffcc,ALIGN2;

DRAWTEXT(BARSTATUS=2,总*0.50,'□■占%:'+NUMTOSTR(((大单买+大对买)-(大单卖+大对卖))/DYNAINFO(8)*100,2)+' '),COLORccffcc,ALIGN2;

绝好的选股指标

春暖花开!

Var1:=(CLOSE-OPEN)/OPEN*100;

Var2:=REF(CLOSE,1);

Var3:=SMA(MAX(CLOSE-Var2,0),3,1)/SMA(ABS(CLOSE-Var2),3,1)*100;

Var4:=COUNT(Var3<13,18)>=1;

Var6:=O=l AND H=C;Var7:=V < MA(v,3) AND V < REF(V,1);

p1:=(c/ref(c,1)-1);

p2:=sum(p1,3)*sum(p1,5)*sum(p1,5)*sum(p1,8)*sum(p1,10)*sum(p1,13)*sum(p1,18);

p3:=3*p2;

p4:=sum(p2,18)+0.00005;

A:=c>ref(c,1);

B:=(c-ref(c,1))/l*100;

LC := REF(CLOSE,1);

RSI:= SMA(MAX(c-lc,0),5,1)/SMA(ABS(CLOSE-LC),3,1)*100;

A4 := COUNT(RSI<13,21)>=1;

春:Var6 AND Var7 AND COUNT(Var6 AND Var3,13)=3,color00ff00 ;

暖:Var1>4.88 AND Var4 AND cross(p3,p4),colorf00ff0;

花:A4 and b>7AND ref(l,1)

趋势主图指标源码,希望老师喜欢!!

input: N(5,1,100);

{DRAWGBKLAST(CLOSE>0,STRIP(RGB(95,95,95),RGB(0,0,0),0));}

DRAWGBK(C>0, COLORRGB(95,95,95),COLORRGB(0,0,0),0);

STICKLINE(C>O OR (C=O AND C>REF(C,1)),O,C,7,1),colorred;{画出红K实体}

STICKLINE((C>O AND C<>H) OR (C=O AND C>REF(C,1)),C,H,0.1,0),colorred;{画出红K上影线}

STICKLINE((C>O AND L<>O) OR (C=O AND C>REF(C,1)),L,O,0.1,0),colorred;{画出红K下影线}

STICKLINE(C<O OR (C=O AND C<=REF(C,1)),C,O,7,0),colorcyan;{画出青K实体}

STICKLINE(C<O OR (C=O AND C<=REF(C,1)),L,H,0.1,0),colorcyan;{画出青K影线。因为青K是实心的,所以影线从中穿过}

主筹估算:=EMA(WINNER(c)*70,3);

散筹估算:=EMA((WINNER((c)*1.1)-WINNER((c)*0.9))*70,3);

筹码锁定:=散筹估算-主筹估算 ;

动态底部:=EMA(IF(L<= LLV(l,60),SMA(ABS(L-REF(L,1)),60,1)/SMA(MAX(L-REF(l,1),0),99,1),0)*5,3);

涨:=CROSS(主筹估算,筹码锁定);

强:=CROSS(主筹估算,散筹估算);

STICKLINE(涨,O,C,8,0),COLORYELLOW;

STICKLINE(涨,O,H,0,0),COLORYELLOW;

STICKLINE(涨,L,C,0,0),COLORYELLOW;

STICKLINE(强, O,C,8,0),colormagenta;

STICKLINE(强,O,H,0,0),colormagenta;

STICKLINE(强,L,C,0,0),colormagenta;

STICKLINE(筹码锁定<-50,O,C,8,0),COLORred;

STICKLINE(筹码锁定<-50,O,H,0,0),COLORred;

STICKLINE(筹码锁定<-50,L,C,0,0),COLORred;

A1:=ref(h,N)=hhv(h,2*N+1);

B1:=filter(A1,N);

C1:=backset(B1,N+1);

D1:=filter(C1,n);{高点}

A2:=ref(l,N)=llv(l,2*N+1);

B2:=filter(A2,N);

C2:=backset(B2,N+1);

D2:=filter(C2,N);{低点}

E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))/2; E2:=(h+l)/2;{高低点出现在同一K线上时可作取舍}

H1:=(D1 AND not(D2 AND E1>=E2)) OR barstatus=2 OR barscount(c)=1;

L1:=(D2 AND not(D1 AND E1<E2));H2:=D1 AND not(D2 AND E1>=E2);

X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)>0,llvbars

(if(L1,l,10000),X1));

G1:=F1>ref(F1,1); I1:=backset(G1,2); LD:=I1>ref(I1,1);{过滤后低点}

L2:=LD OR barstatus=2 OR barscount(c)=1;

X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)>0,hhvbars

(if(H2,h,0),X2));

G2:=F2>ref(F2,1); I2:=backset(G2,2); HD:=I2>ref(I2,1);{过滤后高点}

R1:=backset(barstatus=2,barslast(HD)+1); S1:=R1>ref(R1,1); {前一高}

T1:=backset(barstatus=2,barslast(LD)+1); U1:=T1>ref(T1,1); {前一低}

R2:=backset(S1,ref(barslast(HD),1)+2); S2:=R2>ref(R2,1); {前二高}

T2:=backset(U1,ref(barslast(LD),1)+2); U2:=T2>ref(T2,1); {前二低}

T3:=backset(U2,ref(barslast(LD),1)+2); U3:=T3>ref(T3,1); {前三低}

T4:=backset(U3,ref(barslast(LD),1)+2); U4:=T4>ref(T4,1); {前四低}

R3:=backset(S2,ref(barslast(HD),1)+2); S3:=R3>ref(R3,1); {前三高}

R4:=backset(S3,ref(barslast(HD),1)+2); S4:=R4>ref(R4,1); {前四高}

短期压力:drawline(S2,h,S1,h,1),Colorred;

短期支撑:drawline(U2,l,U1,l,0),Colorgreen;

中期压力:drawline(S3,h,S2,h,1),Colorwhite;

中期支撑:drawline(U3,l,U2,l,0),Colorgreen;

长期压力:drawline(S4,h,S3,h,1),Coloryellow;

长期支撑:drawline(U4,l,U3,l,0),Colorgreen;

DRAWICON(S1,H*1.01,10);

DRAWICON(S2,H*1.01,10);

DRAWICON(S3,H*1.01,10);

DRAWICON(S4,H*1.01,10);

DRAWICON(U1,L*0.99,9);

DRAWICON(U2,L*0.99,9);

DRAWICON(U3,L*0.99,9);

DRAWICON(U4,L*0.99,9);

腾天

波峰波谷指标::em13:

input: N(5,1,100);

xA1:=REF(H,n)=HHV(H,2*n+1);

xB1:=FILTER(xA1,n);

xC1:=BACKSET(xB1,n+1);

xHD:=FILTER(xC1,n);

xA2:=REF(L,n)=LLV(L,2*n+1);

xB2:=FILTER(xA2,n);

xC2:=BACKSET(xB2,n+1);

xLD:=FILTER(xC2,n);

xA:=REF(h,BARSLAST(xHD));

xB:=REF(L,BARSLAST(xLD));

xT1:=BARSLAST(xHD)<BARSLAST(xLD) AND NOT(xHD);

顶:IF(xT1,xA,xA),POINTDOT,colorffff11;

底:IF(xT1,xB,xB),POINTDOT,color11ff11;

A1:=ref(h,N)=hhv(h,2*N+1);

B1:=filter(A1,N);

C1:=backset(B1,N+1);

D1:=filter(C1,n);{高点}

A2:=ref(l,N)=llv(l,2*N+1);

B2:=filter(A2,N);

C2:=backset(B2,N+1);

D2:=filter(C2,N);{低点}

E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))/2; E2:=(h+l)/2;{高低点出现在同一K线上时可作取舍}

H1:=(D1 AND not(D2 AND E1>=E2)) OR barstatus=2 OR barscount(c)=1;

L1:=(D2 AND not(D1 AND E1<E2));H2:=D1 AND not(D2 AND E1>=E2);

X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)>0,llvbars(if(L1,l,10000),X1));

G1:=F1>ref(F1,1); I1:=backset(G1,2); LD:=I1>ref(I1,1);{过滤后低点}

L2:=LD OR barstatus=2 OR barscount(c)=1;

X2:=ref(barslast(L2),1)+1;

F2:=backset(L2 AND count(H2,X2)>0,hhvbars(if(H2,h,0),X2));

G2:=F2>ref(F2,1);

I2:=backset(G2,2);

HD:=I2>ref(I2,1);{过滤后高点}

R1:=backset(barstatus=2,barslast(HD)+1);

S1:=R1>ref(R1,1); {前一高}

T1:=backset(barstatus=2,barslast(LD)+1);

U1:=T1>ref(T1,1); {前一低}

R2:=backset(S1,ref(barslast(HD),1)+2);

S2:=R2>ref(R2,1); {前二高}

T2:=backset(U1,ref(barslast(LD),1)+2);

U2:=T2>ref(T2,1); {前二低}

T3:=backset(U2,ref(barslast(LD),1)+2);

U3:=T3>ref(T3,1); {前三低}

T4:=backset(U3,ref(barslast(LD),1)+2);

U4:=T4>ref(T4,1); {前四低}

R3:=backset(S2,ref(barslast(HD),1)+2);

S3:=R3>ref(R3,1); {前三高}

R4:=backset(S3,ref(barslast(HD),1)+2);

S4:=R4>ref(R4,1); {前四高}

短期压力:drawline(S2,h,S1,h,1),Colorred;

短期支撑:drawline(U2,l,U1,l,1),Colorgreen;

中期压力:drawline(S3,h,S2,h,1),Colorwhite;

中期支撑:drawline(U3,l,U2,l,1),Colorgreen;

长期压力:drawline(S4,h,S3,h,1),Coloryellow;

长期支撑:drawline(U4,l,U3,l,1),Colorgreen;

{主散动态}

DRAWGBK(C>0, COLORRGB(100,160,0),COLORRGB(0,60,0),0);

VAR1:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,1);

主筹:EMA(WINNER(C)*70,1),COLORRED,LINETHICK2;

主筹月均:EMA(主筹,21),COLORFF9900,LINETHICK2;{主筹月均}

主散控值:VAR1-主筹,COLORWHITE;

STICKLINE(主散控值>0,0,主散控值,1,0),colorcccccc;

STICKLINE(主散控值<0,0,主散控值,6,0),color8700FF;

STICKLINE(主筹>主筹月均,主筹月均,主筹,1,0),color0000ff;

VAR2:=IF(C>=O,H,0);

VAR3:=IF(C<=O,REF(H,1),VAR2);

VAR4:=IF(C>=O,V,0);

VAR5:=IF(C<=O,REF(V,1),VAR4);

VAR6:=COUNT(VAR3>REF(VAR3,1) AND VAR5<REF(VAR5,1),3)>=2 AND C>O;

量价背离:VAR6*40,STICK,COLORGREEN,LINETHICK2;

EMA(IF(L<= LLV(l,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0)*5,3),STICK,COLORYELLOW,LINETHICK3;

机会关注:5,POINTDOT,COLORff00ff,LINETHICK1;

今日波幅:=100*(DYNAINFO(5)-DYNAINFO(6))/DYNAINFO(6);

今日价差:=DYNAINFO(5)-DYNAINFO(6);

DRAWTEXT(0,0,'今日最大波幅:+今日波幅+ %'),COLORFFFFFF;

DRAWTEXT(200,0,'今日高低价差:+今日价差+ 元'),colorFFFFFF;

即时换手率:VOL/CAPITAL*100;

DRAWTEXT(400,0,'EXTRASTRING(评级)'),COLORFF00FF;

今天的开场白是分享一个相当不错的理念

除杂念做三类

1、创年内新高的票(大盘涨,强势横盘)

2、长期跌-再急跌-止跌走平-转强(离上方套牢筹码远,大盘跟上反)

3、上升通道明显高抛低吸

做几组公式对应选股就行了!

非我创意。不敢掠人之美!!鸣谢原创,过人的睿智!!

RSCD(屏蔽了RSI)

LC := REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;

RSI: MA(RSI1,10)-50;

RSEA : EMA(RSI,9);

RSCD:2*(RSI-RSEA),linethick0;

bbRSI:=RSI-ref(RSI,1);

bbRSEA:=RSEA-ref(RSEA,1);

bbRSCD:=RSCD-ref(RSCD,1);

STICKLINE(RSCD<ref(RSCD,1)and RSCD>0,0,RSCD,8,0),colorgreen;

STICKLINE(RSCD<ref(RSCD,1)and RSCD<0,0,RSCD,8,0),colorFFCC33;

STICKLINE(RSCD>ref(RSCD,1)and RSCD<0,0,RSCD,8,0),COLORyellow;

STICKLINE(RSCD>ref(RSCD,1)and RSCD>0,0,RSCD,8,0),COLORmagenta;

STICKLINE(RSCD=ref(RSCD,1),0,RSCD,8,0),colorwhite;

PARTLINE(bbRSI>0,RSI),color00CCFF,LINETHICK2;

PARTLINE(bbRSI<0,RSI),colorblue,LINETHICK2;

PARTLINE(bbRSI=0,RSI),colorwhite,LINETHICK2;

PARTLINE(bbRSEA>0,RSEA),color0066ff,LINETHICK2;

PARTLINE(bbRSEA<0,RSEA),color00ff33,LINETHICK2;

PARTLINE(bbRSEA=0,RSEA),colorwhite,LINETHICK2;

RSI速率:bbRSI*100,LINETHICK0;

RSEA速率:bbRSEA*100,LINETHICK0;

RSCD速率:bbRSCD*100,LINETHICK0;

重指标不重理念,如同见树木不见森林。能走出这个层面,对于散户来说比较难

但必须走出来,这里面包含了仰视和俯视的战略区别。一个好理念价值万金,如果不能认同的股民,恐怕还要在苦海中扑腾几年,在下绝非是妄语。而是肺腑之言。

这个问题是分水岭,阴阳界碑。说得够分量了吧,呵呵,愿有缘人珍视!!

{MACD买入信号主图}

A3:MA(C,3);

A8:MA(C,8);

A34:MA(C,34);

DIFF := EMA(CLOSE,6) - EMA(CLOSE,10);

DEA:= EMA(DIFF,5);

MACD := 2*(DIFF-DEA), COLORSTICK;

MD金叉:=CROSS(MACD,0) AND C>A8;

买1:=C>A34 AND CROSS(A3,A8) AND CROSS(MACD,0) AND C>A8;

买2:=DIFF>0 AND C>A34 AND A3>A8 AND CROSS(MACD,0) AND C>A8;

买3:=CROSS(MACD,0) AND C>A8 AND C>A34;

DRAWICON(MD金叉,L,12);

DRAWICON(MD金叉,L-(H-L)*0.3,8);

DRAWICON(买1,L-(H-L)*0.6,12);

DRAWICON(买2,L-(H-L)*0.9,4);

DRAWICON(买3,L-(H-L)*1.18,1);

DRAWICON(买3,L-(H-L)*0.3,8);

鸣谢知版老师和戊辰老师的大力支持完成了一个很有价值的指标。不喜欢预测的朋友没有分享价值。我另外推荐一个好指标,表示谢忱!!看名字很普通,其实不普通,送给喜欢的朋友!!

换手率指标

换手率:V/CAPITAL*100,pointdot;

换手率1:stickline(换手率<1,0,换手率,8,0)colorffffff;

换手率1至3:stickline(3>换手率 and 换手率>=1,0,换手率,8,0)color00ffff;

stickline(3>换手率 and 换手率>=1,0,1,8,0)colorffffff;

换手率3至6:stickline(6>换手率 and 换手率>=3,0,换手率,8,0)color00aaff;

stickline(6>换手率 and 换手率>=3,1,3,8,0)color00ffff;

stickline(6>换手率 and 换手率>=3,0,1,8,0)colorffffff;

换手率6至10:stickline(10>换手率 and 换手率>=6,0,换手率,8,0)color0066ff;

stickline(10>换手率 and 换手率>=6,3,6,8,0)color00aaff;

stickline(10>换手率 and 换手率>=6,1,3,8,0)color00ffff;

stickline(10>换手率 and 换手率>=6,0,1,8,0)colorffffff;

换手率大于10:stickline(换手率>=10,0,换手率,8,0)color0000ff;

stickline(换手率>=10,6,10,8,0)color0066ff;

stickline(换手率>=10,3,6,8,0)color00aaff;

stickline(换手率>=10,1,3,8,0)color00ffff;

stickline(换手率>=10,0,1,8,0)colorffffff;

1;3;6;10;

指标原码

LC:=REF(CLOSE,1);

RSI5:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;

R:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

A:=SMA(R,3,1);

B:=SMA(A,3,1);

CCC:=(B/2+40)*1.1;

D:=SMA(CCC,3,1);

【逃顶至尊1】:if(CROSS(D,RSI5),50,0),STICK,linethick3,COLORf00ff0;

【逃顶至尊2】:if(CROSS(80,RSI5),-50,0),STICK,linethick3,COLOR00ff00;

一网友的创意很不错。做成选股公式成功率可观,喜欢的朋友可以取走了,感谢创意!

第一稿(暂时定型)

input:n(9,2,90),n1(20,1,20),m1(3,2,30),m2(3,2,30);

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:=SMA(RSV,M1,1);

D:=SMA(K,M2,1);

J:=3*K-2*D;

MA10:=MA(CLOSE,10);

aa:=EVERY(ma10<REF(ma10,1),n1);

COUNT(CROSS( k,d ) , n1)>=2 and CROSS(k , d) and d>REF( d,(REF(BARSLAST(CROSS(k ,d ) ) , 1))+1) and aa;

今日指标原码(此指标可能不适合大牛股市,我曾经在利走兀敖的帖子里,分享里一个理念,可是并没有多少人回应,这说明大部分散户还徘徊在一个固定的圈子里,当然从一个必然王国向自由王国的过渡需要有一个过程,甚至是一个痛苦的过程。老子曰,上士闻道,勤而习之,中士闻道,若存若亡,下士闻道,大笑之,不笑不足以为道,今天再次分享这个重要理念,即:第一阶段,指标选股,第二阶段,股选指标)

阶段买卖

Var1:=LLV(LOW,10);

Var2:=HHV(HIGH,25);

阶段卖出: 3.2,;

卖出: 3.5;

Var3:=EMA((CLOSE-Var1)/(Var2-Var1)*4,4);

STICKLINE(Var3>REF(Var3,1),Var3,REF(Var3,1),8,1);

STICKLINE(Var3<=REF(Var3,1),Var3,REF(Var3,1),8,1);

底部介入: 0.2,;

关注: 0.5,;

DRAWICON(FILTER(CROSS(Var3,关注),20),Var3+0.02,1);

DRAWICON(FILTER(CROSS(卖出,Var3),20),Var3+0.02,2);

DRAWICON(FILTER(CROSS(Var3,底部介入),20),Var3+0.02,1);

DRAWICON(FILTER(CROSS(阶段卖出,Var3),20),Var3+0.02,2);

KDJ金叉死叉价预测

input:p1(5,2,10);

VAR1:=IF(YEAR=1991 AND MONTH>7, 0, 1);

VAR2:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*VAR1;

VAR3:=(INDEXC-REF(INDEXC, 1))/REF(INDEXC, 1)*100*VAR1;

VAR4:=VAR2-VAR3;

VAR5:=(OPEN-REF(CLOSE, 1))/REF(CLOSE, 1)*100*VAR1;

VAR6:=(INDEXO-REF(INDEXC, 1))/REF(INDEXC, 1)*100*VAR1;

VAR7:=VAR5-VAR6;

STICKLINE(VAR4>=0, SUM(REF(VAR4, 1), 0)+100+VAR7, SUM(VAR4, 0)+100,2, 1), COLORRED;

STICKLINE(VAR4<0, SUM(REF(VAR4, 1), 0)+100+VAR7, SUM(VAR4, 0)+100,2, 1), COLOR00FF00;

EMA(SUM(REF(VAR4, 1), 0)+100+VAR7,5),COLORWHITE;

EMA(SUM(REF(VAR4, 1), 0)+100+VAR7,10),COLORFF00FF;

EMA(SUM(REF(VAR4, 1), 0)+100+VAR7,20),COLORYELLOW;

EMA(SUM(REF(VAR4, 1), 0)+100+VAR7,30),COLORFFFF33;

EMA(SUM(REF(VAR4, 1), 0)+100+VAR7,60),COLOR0099FF;

{顾比均线----创幻论坛祥云编写,大智慧版本主图指标}

{根据"修而不为"先生提供的原码改编在此鸣谢}

{P1:2,10,5;}

MA1:EMA(CLOSE,3);

MA2:EMA(CLOSE,5);

MA3:EMA(CLOSE,8);

MA4:EMA(CLOSE,10);

MA5:EMA(CLOSE,12);

MA6:EMA(CLOSE,35);

MA7:EMA(CLOSE,40);

MA8:EMA(CLOSE,45);

MA9:EMA(CLOSE,50);

MA10:EMA(CLOSE,60);

PH:=TROUGHBARS(2,P1,1);

LL:=HHV(H,PH);

TJ1:=LL=HIGH AND LL<REF(LL,1);

TS:=SUMBARS(TJ1,2);

TJ:=PEAKBARS(2,P1,1)=1 AND TS>=PH;

警告灯:DRAWICON(TJ,HIGH*1.01+0.02,2);

PL:=BARSLAST(TJ);

支撑:STICKLINE(BARSLAST(TJ1),REF(LOW,BARSLAST(TJ1)),REF(LOW,BARSLAST(TJ1)),4,0),POINTDOT,COLOREA91B5;

压力:STICKLINE(BARSLAST(TJ),REF(HIGH,PL),REF(HIGH,PL),4,0),POINTDOT,COLORYELLOW;

TJ_2:=LOW>REF(REF(LOW,TS),PL);

DRAWTEXT(COUNT(TJ_2,PL+1)=1,HIGH*1.005,'↓'),COLORFF00FF;{//向下的箭头表示出局点}

DRAWICON(BARSLAST(TJ1)=1,REF(LOW*0.995,BARSLAST(TJ1)),1);

指标原码

买入基础:=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 买入基础;

STICKLINE(VAR6,40,50,8,0),COLOR1068B4,LINETHICK2;

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;

STICKLINE(VAR11,60,70,1,0),COLORFFB5FF,LINETHICK2;

STICKLINE(VAR10,50,60,8,0),COLOR1055FF,LINETHICK2;

STICKLINE(VAR10,50,60,7,0),COLOR1066FF,LINETHICK2;

STICKLINE(VAR10,50,60,6,0),COLOR1077FF,LINETHICK2;

STICKLINE(VAR10,50,60,5,0),COLOR1088FF,LINETHICK2;

STICKLINE(VAR10,50,60,4,0),COLOR1099FF,LINETHICK2;

STICKLINE(VAR10,50,60,3,0),COLOR10AAFF,LINETHICK2;

STICKLINE(VAR10,50,60,2,0),COLOR10BBFF,LINETHICK2;

STICKLINE(VAR10,50,60,1,0),COLOR10CCFF,LINETHICK2;{大盘均量线}

{以下语句是股道趋势及其买卖点}

A1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;

A2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;

买入:=A1 AND A2;

A3:=REF(CLOSE,1);

A4:=SMA(MAX(CLOSE-A3,0),6,1)/SMA(ABS(CLOSE-A3),6,1)*100;

卖出:=CROSS(80,A4);

低吸线: 20,POINTDOT,COLOR1090FF;

强弱线: 50,POINTDOT,COLORBBBB00 ;

高抛线: 80,POINTDOT,COLOR109C10;

A5:=LLV(LOW,18);

A6:=HHV(HIGH,18);

A7:=EMA((CLOSE-A5)/(A6-A5)*100,13);

股道趋势:EMA(0.618*REF(A7,1)+0.382*A7,3),COLORYELLOW,LINETHICK2;

PARTLINE(股道趋势<=REF(股道趋势,1),股道趋势),COLORBLUE,LINETHICK2;

A8:=MA(C,1)/MA(REF(C,18),18)*100;

A9:=MA(FORCAST(A8,20),6);

攻击点:=IF(FILTER(CROSS(A8,A9),5)=1,50,0);{买1}

DRAWICON(攻击点,股道趋势*0.98,4);

DRAWICON(卖出,股道趋势,2);{卖}

DRAWICON(买入,股道趋势,1);{买2}

财富侦探大智慧的

横向参数: CLOSE/MA(CLOSE,13)-INDEXC/MA(INDEXC,13), ;

STICKLINE(横向参数>=0,REVERSE(横向参数)*30+5,5,3,0),LINETHICK2 ,colorred;

STICKLINE(横向参数<0,横向参数*30+5,5,3,0),LINETHICK2 ,colorwhite ;

Var1:=EMA(MA(IF(CLOSE>OPEN,(CLOSE-OPEN)*VOL,IF(CLOSE<OPEN,(CLOSE-OPEN)*VOL,0)),5),1);

Var2:=EMA(MA(IF(CLOSE>REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,IF(CLOSE<REF(CLOSE,1),(CLOSE-REF(CLOSE,1))*VOL,0)),5),1);

Var3:=EMA(MA(IF(OPEN>REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,IF(OPEN<REF(CLOSE,1),(OPEN-REF(CLOSE,1))*VOL,0)),5),1);

Var4:=EMA(MA(IF(CLOSE<OPEN,(OPEN-CLOSE)*VOL,IF(CLOSE>OPEN,(OPEN-CLOSE)*VOL,0)),10),1);

Var5:=EMA(MA(IF(CLOSE<REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,IF(CLOSE>REF(CLOSE,1),(REF(CLOSE,1)-CLOSE)*VOL,0)),10),1);

Var6:=EMA(MA(IF(OPEN<REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,IF(OPEN>REF(CLOSE,1),(REF(CLOSE,1)-OPEN)*VOL,0)),10),1);

Var7:=CLOSE>OPEN;

Var8:=CLOSE>REF(CLOSE,1);

Var9:=OPEN>REF(CLOSE,1);

VarA:=Var7 OR Var8 OR Var9;

VarB:=(Var1+Var2+Var3)/3/100;

VarC:=(Var4+Var5+Var6)/3/100;

VarD:=EMA((COUNT(Var8,12)/12+COUNT(Var7,12)/12+COUNT(Var9,12)/12)/3*MA(VarB,5)*2*1.1,2);

VarE:=VarC>0 OR VarB<VarD;

VarF:=VarC>0 AND VarB>VarD;

Var10:=VarC<0 AND CROSS(VarB,VarD);

Var11:=VarC>0 AND CROSS(VarB,VarD);

Var12:=VarC<0 AND VarB>VarD AND (CLOSE+OPEN)/2>MA(CLOSE,5);

Var13:=VarE AND (CLOSE+OPEN)/2<MA(CLOSE,5) OR CLOSE<MA(CLOSE,30);

Var14:=Var12 AND Var13;

Var15:=ABS(VarB-VarC);

Var16:=ABS(VarD-VarC);

Var17:=ABS(0-VarC);

Var18:=ABS(0-VarD);

Var19:=IF(VarC<0 AND VarB>VarD AND (CLOSE+OPEN)/2>MA(CLOSE,5),ABS(VarB-VarC),0);

Var1A:=IF(VarE AND (CLOSE+OPEN)/2<MA(CLOSE,5) OR CLOSE<MA(CLOSE,30),ABS(VarD-VarC),0);

Var1B:=IF(NOT(Var14),ABS(VarD-VarC),0);

Var1C:=MAX(Var1B,MAX(Var19,Var1A));

Var1D:=MAX(Var15,MAX(Var16,MAX(Var17,Var18)));

Var1E:=MIN(Var15,MIN(Var16,MIN(Var17,Var18)));

Var1F:=MAX(VarB,MAX(VarC,VarD));

Var20:=MIN(VarB,MIN(VarC,VarD));

Var21:=(VarB+VarC+VarD)/3;

Var22:=Var15 OR Var17 OR Var18;

Var23:=Var16 OR Var17;

Var24:=Var16;

Var25:=VarC<0 AND VarB>VarD AND (CLOSE+OPEN)/2>MA(CLOSE,5);

Var26:=VarE AND (CLOSE+OPEN)/2<MA(CLOSE,5) OR CLOSE<MA(CLOSE,30);

Var27:=IF(VarC<0 AND VarB>VarD AND (CLOSE+OPEN)/2>MA(CLOSE,5) AND REF(Var26,1),ABS(VarB-VarC),0);

Var28:=REF(Var1A,1)<>0 OR REF(Var1B,1)<>0;

Var29:=REF(Var1A,1)<>0 AND REF(Var1B,1)<>0;

Var2A:=Var1B=Var1C AND REF(Var19,1)<>0;

Var2B:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;

Var2C:=(15*Var2B+14*REF(Var2B,1)+13*REF(Var2B,2)+12*REF(Var2B,3)+11*REF(Var2B,4)+10*REF(Var2B,5)+9*REF(Var2B,6)+8*REF(Var2B,7)+7*REF(Var2B,8)+6*REF(Var2B,9)+5*REF(Var2B,10)+4*REF(Var2B,11)+3*REF(Var2B,12)+2*REF(Var2B,13)+REF(Var2B,14))/120;

Var2D:=(20*Var2C+19*REF(Var2C,1)+18*REF(Var2C,2)+17*REF(Var2C,3)+16*REF(Var2C,4)+15*REF(Var2C,5)+14*REF(Var2C,6)+13*REF(Var2C,7)+12*REF(Var2C,8)+11*REF(Var2C,9)+10*REF(Var2C,10)+9*REF(Var2C,11)+8*REF(Var2C,12)+7*REF(Var2C,13)+6*REF(Var2C,14)+5*REF(Var2C,15)+4*REF(Var2C,16)+3*REF(Var2C,17)+2*REF(Var2C,18)*REF(Var2C,19))/210;

Var2E:=3*Var2C-2*Var2D;

Var2F:=(5*Var2E+4*REF(Var2E,1)+3*REF(Var2E,2)+2*REF(Var2E,3)+REF(Var2E,4))/15/50+4-3;

多空量能: Var2F,POINTDOT ,LINETHICK0, colorwhite;

Var30:=EMA(0.667*REF(Var2F,1)+0.333*Var2F,2);

Var31:=Var2F*1;

Var32:=Var30*1;

Var33:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),10);

Var34:=HIGH-REF(HIGH,1);

Var35:=REF(LOW,1)-LOW;

Var36:=SUM(IF(Var34>0 AND Var34>Var35,Var34,0),10);

Var37:=SUM(IF(Var35>0 AND Var35>Var34,Var35,0),10);

Var38:=Var36*100/Var33;

Var39:=Var37*100/Var33;

Var3A:=(Var38-Var39)/30;

Var3B:=CLOSE/REF(EMA(CLOSE,30),30);

Var3C:=INDEXC/REF(EMA(INDEXC,30),30);

相对强度: Var3B/Var3C*10-10, ,COLORGRAY;

STICKLINE(Var3A>=0,Var3A-5,-5,3,0),LINETHICK2,colorred;

STICKLINE(Var3A<0,REVERSE(Var3A)-5,-5,3,0), LINETHICK2,colorf0f000;

Var3D:=(HIGH+LOW)/2;

Var3E:=SMA(Var3D,5,1)-SMA(Var3D,34,1);

Var3F:=SMA(Var3E-SMA(Var3E,5,1),5,1);

Var40:=Var3E>REF(Var3E,1) AND Var3F>REF(Var3F,1);

Var41:=Var3E<REF(Var3E,1) AND Var3F<REF(Var3F,1);

Var42:=Var3E>REF(Var3E,1) AND Var3F<REF(Var3F,1);

Var43:=Var3E<REF(Var3E,1) AND Var3F>REF(Var3F,1);

混沌多空: STICKLINE(Var40,Var2F,Var2F*1.1,3,0),LINETHICK3,colorf00ff0 ;

STICKLINE(Var41,Var2F,Var2F*1.1,3,0),LINETHICK3,COLOR00ff00;

STICKLINE(Var42,Var2F,Var2F*1.1,3,0),LINETHICK3,colorYELLOW;

STICKLINE(Var43,Var2F,Var2F*1.1,3,0),LINETHICK3;

STICKLINE(Var25,VarB/50,VarC/50,3,0),LINETHICK2,coloryellow;

STICKLINE(NOT(Var14),VarD/50,VarC/50,3,0), LINETHICK2,colorred ;

STICKLINE(Var26,VarD/50,VarC/50,3,0),LINETHICK2,colorFFB61B;

STICKLINE(Var26 AND NOT(Var14) AND REF(Var19,1),VarD/50,VarC/50,3,0),colorred ,LINETHICK2;

STICKLINE(Var12 AND CLOSE>MA(CLOSE,5),0,VarC/50,3,0),LINETHICK2,colorred ;

STICKLINE(VarF,0,VarD/50,3,0), LINETHICK2,colorFFB61B;

STICKLINE(Var2A,Var1F/50,Var20/50,3,0),LINETHICK2, colorwhite;

今日分享一个理念,对于成功的老股民来说,是轻车熟路,顺理成章的事情,对于很多新股民来说,就是如临鸿沟,止步不前。这个理念就是:买错卖错,及时纠正。能及时止损固然重要,能低抛高吸更是需要勇气。我曾经卖出一个股票之后,此股票飚升,我痛定思痛,在股票距我的卖出价上涨13个多点后追了回来。后收了一笔不小的小财。如何战胜自己,有一个简单办法,如果有兴趣,明天接着讲,如果没有兴趣,我就不用在您耳边恬噪了,呵呵!!

今日指标是向右画线指标。随机画线,随光标移动,十分方便,没有未来,是我求一位

大高手做的,希望您能喜欢

DRAWSL(SYSPARAM(1)=BARPOS,REF(L,SYSPARAM(1)=SUM(1,0)-1),0,0,0),COLORGREEN;

DRAWSL(SYSPARAM(1)=BARPOS,REF(H,SYSPARAM(1)=SUM(1,0)-1),0,0,0),COLORRED;

八卦变盘+百分线(飞狐版)刚出炉,趁热乎,好吃,呵呵!!

VERTLINE(COUNT(C=1,1));

VERTLINE(COUNT(C=64,1));VERTLINE(COUNT(C=128,1));VERTLINE(COUNT(C=192,1));

VERTLINE(COUNT(C=256,1));VERTLINE(COUNT(C=320,1));VERTLINE(COUNT(C=384,1));

VERTLINE(COUNT(C=448,1));VERTLINE(COUNT(C=512,1));VERTLINE(COUNT(C=576,0));

VERTLINE(COUNT(C=640,1));VERTLINE(COUNT(C=704,1));VERTLINE(COUNT(C=768,1));

VERTLINE(COUNT(C=832,1));VERTLINE(COUNT(C=896,1));VERTLINE(COUNT(C=960,1));

VERTLINE(COUNT(C=1024,1));VERTLINE(COUNT(C=1088,1));VERTLINE(COUNT(C=1152,1));

VERTLINE(COUNT(C=1216,1));VERTLINE(COUNT(C=1280,0));VERTLINE(COUNT(C=1344,1));

VERTLINE(COUNT(C=1408,1));VERTLINE(COUNT(C=1472,1));VERTLINE(COUNT(C=1536,1));

VERTLINE(COUNT(C=1600,1));VERTLINE(COUNT(C=1664,1));VERTLINE(COUNT(C=1728,1));

VERTLINE(COUNT(C=1792,1));VERTLINE(COUNT(C=1856,1));VERTLINE(COUNT(C=1920,1));

VERTLINE(COUNT(C=1984,0));VERTLINE(COUNT(C=2048,1));VERTLINE(COUNT(C=2112,1));

VERTLINE(COUNT(C=2176,1));VERTLINE(COUNT(C=2240,1));VERTLINE(COUNT(C=2304,1));

VERTLINE(COUNT(C=2368,1));VERTLINE(COUNT(C=2432,1));VERTLINE(COUNT(C=2496,1));

VERTLINE(COUNT(C=2560,1));VERTLINE(COUNT(C=2624,1));VERTLINE(COUNT(C=2688,0));

VERTLINE(COUNT(C=2752,1));VERTLINE(COUNT(C=2816,1));VERTLINE(COUNT(C=2880,1));

VERTLINE(COUNT(C=2944,1));VERTLINE(COUNT(C=3008,1));VERTLINE(COUNT(C=3072,1));

VERTLINE(COUNT(C=3136,1));VERTLINE(COUNT(C=3200,1));VERTLINE(COUNT(C=3264,1));

VERTLINE(COUNT(C=3328,0));VERTLINE(COUNT(C=3392,1));VERTLINE(COUNT(C=3456,1));

VERTLINE(COUNT(C=3520,1));VERTLINE(COUNT(C=3584,1));VERTLINE(COUNT(C=3648,1));

VERTLINE(COUNT(C=3712,1));VERTLINE(COUNT(C=3776,1));VERTLINE(COUNT(C=3840,1));

VERTLINE(COUNT(C=3904,0));VERTLINE(COUNT(C=3968,1));VERTLINE(COUNT(C=4032,1));

lhnh:=BARSLAST(BARSTATUS=1)+1;

nnl:=BARSTATUS=2;

hhhh:=HHV(h ,lhnh);

llll:=llV(l ,lhnh);

a:=hhhh-((hhhh-llll)*0.125);

a11:=hhhh-((hhhh-llll)*0.25);

a22:=hhhh-((hhhh-llll)*0.33);

a3:=hhhh-((hhhh-llll)*0.375);

a4:=hhhh-((hhhh-llll)*0.5);

a5:=hhhh-((hhhh-llll)*0.625);

a6:=hhhh-((hhhh-llll)*0.667);

a7:=hhhh-((hhhh-llll)*0.75);

lhnh:=BARSLAST(BARSTATUS=1)+1;

nnl:=BARSTATUS=2;

hhhh:=HHV(h ,lhnh);

llll:=llV(l ,lhnh);

a:=hhhh-((hhhh-llll)*0.125);

a11:=hhhh-((hhhh-llll)*0.25);

a22:=hhhh-((hhhh-llll)*0.33);

a3:=hhhh-((hhhh-llll)*0.375);

a4:=hhhh-((hhhh-llll)*0.5);

a5:=hhhh-((hhhh-llll)*0.625);

a6:=hhhh-((hhhh-llll)*0.667);

a7:=hhhh-((hhhh-llll)*0.75);

a8:=hhhh-((hhhh-llll)*0.875);

DRAWTEXT(nnl,hhhh,'最高价:+hhhh '),ALIGN2,Color00FFFF;

DRAWTEXT(nnl,a,'0.125:+a '),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a11,' 0.25:+a11'),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a22,'0.33:+a22'),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a3,' 0.375:+a3'),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a4,'0.5:+a4 '),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a5,'0.625:+a5'),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a6,'0.667:+a6 '),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a7,' 0.75:+a7 '),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,a8,'0.875:+a8 '),ALIGN1,Color00FFFF;

DRAWTEXT(nnl,llll,'最低价:+llll '),ALIGN2,Color00FFFF;

DRAWTEXT(nnl,hhhh,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,colorred,LINETHICK7;

DRAWTEXT(nnl,a,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORFFAA66;

DRAWTEXT(nnl,a11,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORFFAA66;

DRAWTEXT(nnl,a22,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORcccc66;

DRAWTEXT(nnl,a3,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORcccc66;

DRAWTEXT(nnl,a4,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,colorred,LINETHICK7;

DRAWTEXT(nnl,a5,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORcccc66;

DRAWTEXT(nnl,a6,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORcccc66;

DRAWTEXT(nnl,a7,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORFFAA66;

DRAWTEXT(nnl,a8,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,COLORFFAA66;

DRAWTEXT(nnl,llll,' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),ALIGN2,colorred,LINETHICK7;

带有大盘因素的赛马指标

A1:=((indexc)-REF(indexc,1))/REF(indexc,1)*100;

B1:=(C-REF(C,1))/REF(C,1)*100;

X1:=SUM(B1,21);

X2:=SMA(X1,3,1);

X3:=SMA(X2,3,1);

X4:=SMA(X3,3,1);

汗血宝马:X1,colorred,linethick2;

白龙马:X2,COLORWHITE,linethick2;

赤兔马:X3,color0099ff,linethick2;

赛马场:0,coloryellow,linethick2;

x5:=cross(汗血宝马,赛马场);

x6:=x5 and filter(x5,10);

DRAWICON(cross(赤兔马,赛马场) and 汗血宝马>白龙马 and 白龙马>赤兔马,20,1);

{黄金分割-无价位-查反弹幅度 主图指标}

历史最高价:=HHV(HIGH,0);

历史最低价:=(LLV(LOW,0));

反弹幅度:=((HIGH-历史最低价)/(历史最高价-历史最低价))*100;

历史最高:HHV(HIGH,0),linethick0;

c2:((HHV(HIGH,0)-LLV(LOW,0))/100*19.1+LLV(LOW,0)),linethick0;

c3:((HHV(HIGH,0)-LLV(LOW,0))/100*38.2+LLV(LOW,0)),linethick0;

c4:((HHV(HIGH,0)-LLV(LOW,0))/100*50+LLV(LOW,0)),linethick0;

c5:((HHV(HIGH,0)-LLV(LOW,0))/100*61.8+LLV(LOW,0)),linethick0;

c6:((HHV(HIGH,0)-LLV(LOW,0))/100*80.9+LLV(LOW,0)),linethick0;

历史最低:(LLV(LOW,0)),linethick0;

partline(barpos>sysparam(2),历史最高[sysparam(1)]);

partline(barpos>sysparam(2),C2[sysparam(1)]);

partline(barpos>sysparam(2),C3[sysparam(1)]);

partline(barpos>sysparam(2),C4[sysparam(1)]);

partline(barpos>sysparam(2),C5[sysparam(1)]);

partline(barpos>sysparam(2),C6[sysparam(1)]);

partline(barpos>sysparam(2),历史最低[sysparam(1)]);//or

drawtext(barpos=sysparam(2),历史最高[sysparam(1)],'历史最高:'+numtostr(历史最高[sysparam(1)],2));

drawtext(barpos=sysparam(2),c2[sysparam(1)],'19.1%:'+numtostr(c2[sysparam(1)],2));

drawtext(barpos=sysparam(2),c3[sysparam(1)],'38.2%:'+numtostr(c3[sysparam(1)],2));

drawtext(barpos=sysparam(2),c4[sysparam(1)],'50%:'+numtostr(c4[sysparam(1)],2));

drawtext(barpos=sysparam(2),c5[sysparam(1)],'61.8%:'+numtostr(c5[sysparam(1)],2));

drawtext(barpos=sysparam(2),c6[sysparam(1)],'80.9%:'+numtostr(c6[sysparam(1)],2));

drawtext(barpos=sysparam(2),历史最低[sysparam(1)],'历史最低:'+numtostr(历史最低[sysparam(1)],2));

另一个版本的通达信

参数:n 2.9 3 3

n113.9 14 14

REFLINE: 0, 30, 50,70,100;

LC := REF(CLOSE,1);

shangjing558 老师指标公式汇总之二 - 无洞长箫 - zaotuwang - . shangjing
RSI1:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;

TY:=RSI1;

A1:=REF(TY,N)=HHV(TY,2*N+1); B1:=FILTER(A1,N); C1:=BACKSET(B1,N+1); D1:=FILTER(C1,N);{高?}

A2:=REF(TY,N)=LLV(TY,2*N+1); B2:=FILTER(A2,N); C2:=BACKSET(B2,N+1); D2:=FILTER(C2,N);{低?}

H1:=(D1 AND NOT(D2)) OR ISLASTBAR OR BARSCOUNT(C)=1;

L1:=(D2 AND NOT(D1));H2:=D1 AND NOT(D2);

X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));

G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);{过滤后低麮}

L2:=LD OR ISLASTBAR OR BARSCOUNT(C)=1;

X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2));

G2:=F2>REF(F2,1); I2:=BACKSET(G2,2); HD:=I2>REF(I2,1);{过滤后高麮}

R1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1); S1:=R1>REF(R1,1); {前一高}

T1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1); U1:=T1>REF(T1,1); {前一低}

R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2); S2:=R2>REF(R2,1); {前二高}

T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2); U2:=T2>REF(T2,1); {前二低}

T3:=BACKSET(U2,REF(BARSLAST(LD),1)+2); U3:=T3>REF(T3,1); {前三低}

T4:=BACKSET(U3,REF(BARSLAST(LD),1)+2); U4:=T4>REF(T4,1); {前四低}

R3:=BACKSET(S2,REF(BARSLAST(HD),1)+2); S3:=R3>REF(R3,1); {前三高}

R4:=BACKSET(S3,REF(BARSLAST(HD),1)+2); S4:=R4>REF(R4,1); {前四高}

压一:DRAWLINE(S2,TY,S1,TY,1),COLOR80FFFF; {★压力1:}

撑一:DRAWLINE(U2,TY,U1,TY,1),POINTDOT,COLOR00FFFF,LINETHICK2;{★支撑1:}

压二:DRAWLINE(S3,TY,S2,TY,1),COLORFF8000; {★压力2:}

撑二:DRAWLINE(U3,TY,U2,TY,1),POINTDOT,COLORFF8000;{★支撑2:}

压三:DRAWLINE(S4,TY,S3,TY,1),COLOR0000FF;{★压力3:}

撑三:DRAWLINE(U4,TY,U3,TY,1),POINTDOT,COLOR0000FF;{★支撑3:};

QS:=HHV(RSI1,13);

RS:=LLV(RSI1,13);

VAR1:=BACKSET(REF(QS,2)=HHV(QS,5),3);

VAR2:=CROSS(VAR1,0.9);

VAR3:=BACKSET(REF(RS,2)=LLV(RS,5),3);

VAR4:=CROSS(VAR3,0.9);

压力:REF(QS,BARSLAST(VAR2)),POINTDOT,COLOR00FF00;

STICKLINE(RSI1,REF(QS,BARSLAST(VAR2)),REF(QS,BARSLAST(VAR2)),5,0),COLOR00FF00;

支撑:REF(RS,BARSLAST(VAR4)),POINTDOT,COLOR0087FF;

STICKLINE(RSI1,REF(RS,BARSLAST(VAR4)),REF(RS,BARSLAST(VAR4)),5,0),COLOR0087FF;

一品茶缘

使用指标,请先熟悉指标!如果大家都能这样,那么,相信你会在股市很快成长的!

例如以下{赛马指标},其实其中有些语句是没有任何显示的----也是没有任何作用的!一品尝试简化、优化,大家参考:(仅为一品思路,也许你会觉得不一定好哦^-^)

{赛马指标}

B1:=(C-REF(C,1))/REF(C,1)*100;

X1:=SUM(B1,21);

X2:=SMA(X1,3,1);

X3:=SMA(X2,3,1);

X4:=SMA(X3,3,1);

汗血宝马:X1,colorred,linethick2;

白龙马:X2,COLORWHITE,linethick2;

赤兔马:X3,color0099ff,linethick2;

赛马场:0,coloryellow,linethick2;

选马:filter(cross(X1,X2) and X1>0,3)*10,colorff00ff,linethick2;

DRAWICON(cross(X3,0) and X1>X2 and X2>X3,20,1);

jj25

多漂亮的量图,只可惜是加密的——

var1:=vol/CAPITAl*100;

换手率:var1,POINTDOT,Color0000A8;

var2:=var1>1;

var3:=var1<2;

var4:=var1>2;

var5:=var1<3;

var6:=var1>=3;

var7:=var1<5;

var8:=var1>=5;

var9:=var1<8;

var10:=var1>=8;

var11:=var1<15;

var12:=var1>=15;

var13:=var1<25;

var14:=var1>=25;

绝对地量:STICKLINE(vol/CAPITAl*100<1 ,0,Var1,8,0),Color00aa00;

STICKLINE(vol/CAPITAl*100<1 ,0,Var1,6.6,0),Color00bb00;

STICKLINE(vol/CAPITAl*100<1 ,0,Var1,4.4,0),Color00cc00;

STICKLINE(vol/CAPITAl*100<1 ,0,Var1,3.3,0),Color00dd00;

STICKLINE(vol/CAPITAl*100<1 ,0,Var1,2.2,0),Color00ee00;

STICKLINE(vol/CAPITAl*100<1 ,0,Var1,1.1,0),Color00ff00;

成交低靡:STICKLINE(var2 and var3 ,0,var1,8,0 ),COLOraa00bb;

STICKLINE(var2 and var3 ,0,var1,6.6 ,0 ),COLORbb11bb;

STICKLINE(var2 and var3 ,0,var1,4.4,0 ),COLOrcc22bb;

STICKLINE(var2 and var3 ,0,var1,3.3,0 ),COLORdd33bb;

STICKLINE(var2 and var3 ,0,var1,2.2 ,0 ),COLORee44bb;

STICKLINE(var2 and var3 ,0,var1,1.1 ,0 ),COLORff55bb;

成交温和:STICKLINE(var4 and var5,0,var1,8,0),COLOR0000AA;

STICKLINE(var4 and var5,0,var1,6.6,0),COLOR0000bb;

STICKLINE(var4 and var5,0,var1,4.4,0),COLOR0000cc;

STICKLINE(var4 and var5,0,var1,3.3,0),COLOR0000dd;

STICKLINE(var4 and var5,0,var1,2.2,0),COLOR0000ee;

STICKLINE(var4 and var5,0,var1,1.1,0),COLOR0000ff;

成交活跃:STICKLINE(var6 and var7,0,var1 ,8,0),COLORFFaa00;

STICKLINE(var6 and var7,0,var1 ,6.6,0),COLORFFbb00;

STICKLINE(var6 and var7,0,var1 ,4.4,0),COLORFFcc00;

STICKLINE(var6 and var7,0,var1 ,3.3,0),COLORFFdd00;

STICKLINE(var6 and var7,0,var1 ,2.2,0),COLORFFee00;

STICKLINE(var6 and var7,0,var1 ,1.1,0),COLORFFff00;

带量:STICKLINE(var8 and var9,0,var1,8 ,0 ),COLOR00aaff;

STICKLINE(var8 and var9,0,var1,6.6 ,0 ),COLOR00bbff;

STICKLINE(var8 and var9,0,var1,4.4,0 ),COLOR00ccff;

STICKLINE(var8 and var9,0,var1,3.3 ,0 ),COLOR00ddff;

STICKLINE(var8 and var9,0,var1,2.2 ,0 ),COLOR00eeff;

STICKLINE(var8 and var9,0,var1,1.1 ,0 ),COLOR00ffff;

放量:STICKLINE(var10 and var11, 0,var1 , 8,0 ),coloraaaaCC;

STICKLINE(var10 and var11, 0,var1 , 6.6,0 ),colorbbbbCC;

STICKLINE(var10 and var11, 0,var1 , 4.4,0 ),colorccccCC;

STICKLINE(var10 and var11, 0,var1 , 3.3,0 ),colorddddCC;

STICKLINE(var10 and var11, 0,var1 , 2.2,0 ),coloreeeeCC;

STICKLINE(var10 and var11, 0,var1 , 1.1,0 ),colorFFffCC;

巨量:STICKLINE(var12 and var13, 0,var1 , 8,0 ),color66aa33;

STICKLINE(var12 and var13, 0,var1 ,6.6,0 ),color66bb33;

STICKLINE(var12 and var13, 0,var1 , 4.4,0 ),color66cc33;

STICKLINE(var12 and var13, 0,var1 , 3.3,0 ),color66dd33;

STICKLINE(var12 and var13, 0,var1 , 2.2,0 ),color66ee33;

STICKLINE(var12 and var13, 0,var1 , 1.1,0 ),color66ff33;

成交怪异:STICKLINE(var14, 0,var1 , 8,0 ),coloraa66FF;

STICKLINE(var14, 0,var1 , 6.6,0 ),colorbb66FF;

STICKLINE(var14, 0,var1 , 4.4,0 ),colorcc66FF;

STICKLINE(var14, 0,var1 , 3.3,0 ),colordd66FF;

STICKLINE(var14, 0,var1 , 2.2,0 ),coloree66FF;

STICKLINE(var14, 0,var1 , 1.1,0 ),colorff66FF;

底部活跃:DRAWICON(LLV(vol,250)>ref(LLV(vol,250),1),Var1,10);

底部清淡:DRAWICON(LLV(vol,250)<ref(LLV(vol,250),1),Var1*2,11);

“MACD”K线

input:SHORT(12,2.60),LONG(26,2,90),MID(9,2.60);

DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);

DEA:EMA(DIF,MID);

MACD:(DIF-DEA)*2,COLORSTICK;

D1:=EMA(C,3)-EMA(C,8);

D2:=EMA(O,3)-EMA(O,8);

D3:=EMA(H,3)-EMA(H,8);

D4:=EMA(L,3)-EMA(L,8);

DRAWICON(CROSS(D1,DIF) AND DIF<0 ,D4-0.1,10);

STICKLINE(D1>=D2,D1,D2,8,0),COLOR0055AA;

STICKLINE(D1<=D2,D1,D2,8,0),COLOR006600;

STICKLINE(D1>=D2,D1,D2,5,0),COLOR0077CC;

STICKLINE(D1>=D2,D1,D2,3,0),COLOR0099DD;

STICKLINE(D1>=D2,D3,D4,0,0),COLOR00BBFF;

STICKLINE(D1<=D2,D1,D2,5,0),COLOR009900;

STICKLINE(D1<=D2,D1,D2,3,0),COLOR00BB00;

STICKLINE(D1<=D2,D3,D4,0,0),COLOR00EE00;

用耒抄权证不错!

今天与大家分享的理念名字就叫《庄家的天平》吧?!

有时候我们刚刚卖掉股票,股价却扶摇直上,当我们刚刚买入股票,股价却一泻千里。

令人懊悔不及,诚然是我们的买卖点有问题,这是大路边上的话,还有更深层的含义

就是庄家的天平。有的点是多空平衡点,僵持的时候,谁都不愿意先发起攻击。如果你在此点介入,可能。我说的是可能,不是一定(我怕人钻空子)会引发天平的倾斜。稳健的操盘手会等到趋势明朗后再介入,我的忠告。永远不要想买在最低点和卖在最高点

,即使遇到过,也是偶然。切不可追求,否则就是入了邪路,会遭遇惨败!!有个朋友

(股友)向我诉苦。庄家好象有望远镜。我刚买了,股价就大幅下落。刚卖掉,就腾空而起。。。,我与他分析说:股市是庄家的晒谷场,一两只麻雀,庄家是不会看到眼里

的,不能因为驱赶几只小麻雀,而让一群肥鸭胖鹅撑得翻白眼,如果你恰恰与一群麻雀或肥鸭胖鹅进去,庄家会怎么做?!(明天再续)

洗不掉的筹码

Var1:=(IF(WINNER(1.1*CLOSE)<0,0,WINNER(1.1*CLOSE))-IF(WINNER(0.9*CLOSE)<0,0,WINNER(0.9*CLOSE)))*100;

洗不掉的筹码: IF(DATE<1500501,IF(Var1<0,0,Var1),0),,linethick2;

Var2:=EMA(洗不掉的筹码,7);

Var3:=EMA(洗不掉的筹码,44);

20;

50;

70;

90;

推荐一个指标(通达信)

通达信的自带指标,名称:PAV(筹码引力)。此指标在指示行情的启动点上具有独到之处。 用法简单,DIFF线形成拐点就是买点指示。 此指标没有源码,高手若能破解,勿忘发个源码给我。 谢谢大家

pav

n=3,n1=10,n2=20,n3=30

GV: WINNER(CLOSE)*100, LINETHICK2,COLORYELLOW;

CV: EMA(100-GV,3)*(-1), STICK;

MGV: MA(GV,9),LINETHICK2,COLORGREEN;

MCV: MA(CV,13), ,LINETHICK2,COLORRED;

DIFF: MGV+MCV,LINETHICK2,COLORWHITE;

STICKLINE(GV>OPEN,0,GV*1,2,0), COLOR0066FF;

STICKLINE(GV>OPEN,0,GV*0.8,2,0),COLOR0000FF ;

STICKLINE(GV>OPEN,0,GV*0.6,2,0),COLOR0099FF;

STICKLINE(GV>OPEN,0,GV*0.4,2,0), COLOR00CCFF, ;

STICKLINE(GV>OPEN,0,GV*0.2,2,0),COLOR00FFFF ;

STICKLINE(CV<0,0,CV*1,2,0), COLORGREEN;

STICKLINE(CV<0,0,CV*0.8,2,0),COLOR33CC00 ;

STICKLINE(CV<0,0,CV*0.6,2,0),COLOR339900 ;

STICKLINE(CV<0,0,CV*0.4,2,0),COLOR337700 ;

STICKLINE(CV<0,0,CV*0.2,2,0),COLOR337700 ;

{公式名称: 大般若线}

VAR1:=EMA(CLOSE,3);

VAR2:=EMA(CLOSE,8);

MA21:=EMA(CLOSE,21);

STICKLINE((VAR1 < MA21),CLOSE,OPEN,8,0),color10A111;

STICKLINE((VAR1 < MA21),CLOSE,OPEN,6,0),color10B222;

STICKLINE((VAR1 < MA21),CLOSE,OPEN,4,0),color10C333;

STICKLINE((VAR1 < MA21),CLOSE,OPEN,2,0),color10D444;

STICKLINE((VAR1 < MA21),HIGH,LOW,0,0),color10E555;

STICKLINE((VAR1 > MA21),CLOSE,OPEN,8,0),colorAAFF;

STICKLINE((VAR1 > MA21),CLOSE,OPEN,6,0),color11BBFF;

STICKLINE((VAR1 > MA21),CLOSE,OPEN,4,0),color22CCFF;

STICKLINE((VAR1 > MA21),CLOSE,OPEN,2,0),color33DDFF;

STICKLINE((VAR1 > MA21),HIGH,LOW,0,0),color44EEFF;

STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,8,0),colorBBBBBB;

STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,6,0),colorCCCCCC;

STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,4,0),colorDDDDDD;

STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),CLOSE,OPEN,2,0),colorEEEEEE;

STICKLINE(((VAR1 < VAR2) AND (VAR1 > MA21)),HIGH,LOW,0,0),colorFFFFFF;

STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,8,0),colorFF00FF;

STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,6,0),colorFF22FF;

STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,4,0),colorFF44FF;

STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),CLOSE,OPEN,2,0),colorFF66FF;

STICKLINE(((VAR1 > VAR2) AND (VAR1 < MA21)),HIGH,LOW,0,0),colorFF77FF;

A1:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),3) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),6)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),9)) / 3);

A2:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),5) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),10)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),20)) / 3);

A3:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),7) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),14)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),28)) / 3);

A4:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),9) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),18)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),36)) / 3);

A5:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),11) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),22)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),44)) / 3);

A6:=(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),13) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),26)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),52)) / 3);

A:(((EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),21) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),34)) + EMA(((((OPEN + HIGH) + LOW) + CLOSE) / 4),55)) / 3);

PARTLINE((A1 > REF(A1,1)),A1),colorFF00FF;

PARTLINE((A1 < REF(A1,1)),A1),colorFF00;

PARTLINE((A2 > REF(A2,1)),A2),colorFF00FF;

PARTLINE((A2 < REF(A2,1)),A2),colorFF00;

PARTLINE((A3 > REF(A3,1)),A3),colorFF00FF;

PARTLINE((A3 < REF(A3,1)),A3),colorFF00;

PARTLINE((A4 > REF(A4,1)),A4),colorFF00FF;

PARTLINE((A4 < REF(A4,1)),A4),colorFF00;

PARTLINE((A5 > REF(A5,1)),A5),colorFF00FF;

PARTLINE((A5 < REF(A5,1)),A5),colorFF00;

PARTLINE((A6 > REF(A6,1)),A6),colorFF00FF;

PARTLINE((A6 < REF(A6,1)),A6),colorFF00;

PARTLINE((A > REF(A,1)),A),LINETHICK3,colorFF00FF;

PARTLINE((A < REF(A,1)),A),LINETHICK3,colorFF00;

刚才为网友做的指标转眼找不到创意者了,只好放到自留地里来,等人认领!!

很好的创意,先谢谢了!!{N日内,KDJ发生金叉的次数怎么才选出,比如,30日内金叉的次数,大于5次,请大大侠做个选股公式,谢谢了,谢谢!!}

input:n(9,2,100),n1(10,5,100),m1(3,2,100),m2(3,2,100);

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

K:=SMA(RSV,M1,1);

D:=SMA(K,M2,1);

J:=3*K-2*D;

count(cross(k,d),n1);

戊辰

笑傲股林

BIAS1:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100;

BIAS2:=(CLOSE-MA(CLOSE,20))/MA(CLOSE,20)*100;

BIAS3:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;

BBB:=(BIAS1+BIAS2+BIAS3)/3;

风云: WINNER(AMOUNT/VOL/100)*100;

琼顶: (100-ABS(BBB));

活筹线:EMA((WINNER(C*1.1)-WINNER(C*0.9))*100,1) linethick1,COLORRED;

探底: ABS((COST(50)-CLOSE)/CLOSE*100);

底部:= IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>琼顶,100,0), COLORSTICK,COLORRED; {IF(Var1>5,IF(Var1<100,Var1,Var2-10),0), COLORSTICK;}

大底:IF(REF(底部,1)>0 AND 底部=0,100,0)STICK, ,COLORRED;

趋强: 25, POINTDOT;

强势: 75, POINTDOT;

中位线: 50,POINTDOT;

Var1:=1/WINNER(CLOSE);

AA:=IF(Var1<REF(Var1,1) AND REF(Var1,1)>REF(Var1,2),120,0);

DBGC:IF(1/WINNER(CLOSE)>100 AND 探底>50 AND AA,60,0),STICK,COLORRED;

IF(1/WINNER(CLOSE)>100 AND 探底>25 AND AA,20,0), STICK,COLORRED;

{Var2:=100-ABS((CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100);

IF(Var1>5,IF(Var1<100,Var1,Var2-10),0), COLORSTICK;}

STICKLINE(REF(底部,1)>0 AND 底部=0,100,0,4,0),COLORRED;

{IF(REF(PP,1) AND PP=0,60,0), COLORSTICK;

IF(REF(PPP,1) AND PPP=0,30,0), COLORSTICK;};//不知道是不是这个

得到导师的提示,又做出了一个绝好指标,心里真高兴,今天发一个好指标,来庆贺!

来 钱 了

Var1:=88;

Var2:=68;

Var3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

Var4:=SMA(Var3,3,1);

Var5:=SMA(Var4,3,1);

Var6:=3*Var4-2*Var5;

Var7:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;

Var8:=SMA(CLOSE/HHV(HIGH,120),3,1)*100;

Var9:=Var7>REF(Var7,20) AND Var7>75 AND FILTER(Var7/REF(LLV(LOW,20),10)>1.18,20);

VarA:=IF(Var7>70 AND Var7<75,1,0);

DRAWTEXT(COUNT(VarA,20)>3 AND Var7/HHV(HIGH,30)<1,Var7,'调整到位');

VarB:=REF(CLOSE,1);

VarC:=SMA(MAX(CLOSE-VarB,0),6,1)/SMA(ABS(CLOSE-VarB),6,1)*100;

调整:Var7,COLORGREEN;

aa:=stickline((Var7<68 AND BARSLAST(CROSS(Var2,调整))>2 AND CROSS(Var6,Var5)

AND Var5<30),70,50,0.5,1),,COLORwhite;

来抢钱吧:if((Var7<68 AND BARSLAST(CROSS(Var2,调整))>2 AND CROSS(Var6,Var5)

AND Var5<30),70,50),POINTDOT;

DRAWICON(来抢钱吧>50,70,1 );

DRAWTEXT(来抢钱吧>50,62, '★来抢钱吧')COLORWHITE ;

顶区:IF(Var7>Var1,Var7,Var1),COLORRED;

底区:IF(Var8<Var2,Var8,Var2),COLORYELLOW;

DRAWTEXT(Var9 AND Var7<88,调整,'短期获利风险'),COLORMAGENTA;

DRAWTEXT(Var7>88 AND CROSS(84,VarC),调整,'高风险-跑') ,COLORYELLOW;

bb:=stickline((FILTER(调整<52,10)),75,50,0.5,1),colorblue;

都疯了我没疯:IF(FILTER(调整<52,10),75,50)colorblue,POINTDOT;

DRAWICON(都疯了我没疯>50,75,1 );

DRAWTEXT(FILTER(调整<52,10),调整,'都疯了-我没疯'),COLORYELLOW ;

排序1:if(来抢钱吧>50 or 都疯了我没疯>50,60,50)COLORCYAN,POINTDOT;

60,POINTDOT;

100,POINTDOT;

发现一个好创意,放回自留地,呵呵

input:n(30,10,100);

var1:=(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100,LINETHICK;

SUM(var1,n);

N日首次涨停

input:n(60,30,100);

A:=COUNT(REF(C,1)*1.1-C<0.005,N)>0;

A AND SUM(A,N)=1;

戊辰

贝塔系数

input:n(10,1,100),m(40,1,100);

vr1:=(indexc-ref(indexc,1))/ref(indexc,1);

vr2:=(c-ref(c,1))*ref(c,1);

k:if(vr1>0.01,0.9,if(vr1<-0.01,1.2,1));

b1:k*(vr2-vr1)*100,linethick;

b:sum(b1,n);

m5:=sma(b,m,1);

FILLRGN(b>0,0,b),COLORMAGENTA;

fillrgn(b<0,0,b),COLORCYAN;//据说这是高手石开的指标,因此而获利,得名,上了电视台

《庄家的天平》续

我们临盘时可能遇到过,明明刚进去一大手,股票价格却连续下跌,明明是刚刚跑了一

大手,股票价格却突然飚升,不要疑惑不解。那是庄家的障眼法。上证交易所每分钟成交14笔左右不等。但有价格优先,大资金优先和专线优先的成交原则。用主帐户卖出大单,子帐户买入(数个小单)就造成买大单假象,反之亦然。好多网友不明白其中的道理,对内外盘苦思冥想,想找出一条捷径。实在可悲。本来浑浑,何来清清。(待续)

不亏均线-稳健型 原码{不亏均线-稳健型}

M0:EMA(C,7),COLOR00FF00;

M3:EMA(C,30),COLORFFCC66;

M5:EMA(C,43),COLORYELLOW;

M6:EMA(C,60),COLORRED;

M7:MA(C,78),COLORFFCC66;

M8:EMA(M7,3),COLORFFCC66;

M9:EMA(M8,3),COLORFF00FF;

M11:EMA(M9,3),COLORFF00FF;

MA17:EMA(C,17),COLORWHITE;

MA23:EMA(C,23),COLORD3D3FF;

MA30:EMA(CLOSE,30),COLORGREEN;

MA47:EMA(CLOSE,46),COLORYELLOW;

MA60:EMA(CLOSE,60),COLORRED,LINETHICK2;

Y:=(H+L)/2;

AO:=MA(Y,5)-MA(Y,34 );

DU0:=CROSS(AO,0);

UD0:=CROSS(0,AO);

TDU0:=BARSLAST(DU0);

TUD0:=BARSLAST(UD0);

DU3:=REF(DU0,1);

UD3:=REF(UD0,1);

TDU3:=BARSLAST(DU3);

TUD3:=BARSLAST(UD3);

UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)),COLORYELLOW;

JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0;

JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0;

JDU1:=JDU0 AND COUNT(JDU0,TDU0)=1;

JUD1:=JUD0 AND COUNT(JUD0,TUD0)=1;

JDU2:=JDU1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);

JUD2:=JUD1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);

JDU3:=JDU1 AND REF(BARSLAST(JUD1),1)>REF(BARSLAST(JDU1),1);

JUD3:=JUD1 AND REF(BARSLAST(JUD1),1)<REF(BARSLAST(JDU1),1);

DRAWTEXT(JDU2,M9*0.987,'空转多'),COLORYELLOW;

DRAWTEXT(CROSS(M6,M9),M9*0.95,'空转多'),COLORWHITE;

贝塔系数飞狐改造版

贝塔:=C/REF(C,1)/(INDEXC/REF(INDEXC,1));

贝塔系数1:FORCAST(SMA(贝塔,8,1),18)*100-100;

贝塔长线1:EMA(贝塔系数1,13);

贝塔差1:2*(贝塔系数1-贝塔长线1),COLORSTICK;

0,POINTDOT,COLOR888888;

个股和大盘联动K线

input:n(30,1,300),m(1,0,1);

AA:=SUM( 1 , 0 ) ;

BB:=IF( AA=1 , 1 , 0 ) ;

TT:=ISLASTBAR ;

DD:=BACKSET( TT=1 , N + 1 ) ;

EE:=BACKSET( TT=1 , N ) , LINETHICK0 ;

FF:=IF( DD>EE , 1 , 0 ) ;

GG:=IF( M=1 , FF , BB ) ;

PP:=BARSLAST( GG=1 ) , LINETHICK0; ;

X:=REF( INDEXC , PP ) ;

Y:=REF( CLOSE , PP ) ;

OO:( INDEXO / X ) * Y , LINETHICK0 ;

HH:( INDEXH / X ) * Y , LINETHICK0 ;

LL:( INDEXL / X ) * Y , LINETHICK0 ;

CC:( INDEXC / X ) * Y , LINETHICK0 ;

CC%:( INDEXC / X ) - 1 , LINETHICK0 ; { 基准日至今,大盘总报酬率 }

DC%:( CLOSE / Y ) - 1 , LINETHICK0 ; { 基准日至今,个股总报酬率 }

STICKLINE( CC>OO , HH , LL , 0.1 , 0 ) , COLORRED ;

STICKLINE( CC>OO , CC , OO , 7 , 1 ) , COLORRED ;

STICKLINE( CC<=OO , HH , LL , 0.1 , 0 ) , COLORCYAN ;

STICKLINE( CC<=OO , CC , OO , 7 , 0 ) , COLORCYAN;

指标原码

input:n1(5),n2(13),n3(34),n4(250);

DRAWGBK(c>0 , COLORRgb(0,0,0), COLORRGB(0,0,0),1);

DRAWGBK(CLOSE>0, COLORRGB(1,8888,8888), COLORRGB(1,3333,6666),3);

Var1:=SMA("1a0002$AMOUNT"+"399107$AMOUNT",10,1)/1000000;

Var2:=REF(Var1,1);

Var3:=MA("1a0002$CLOSE"+"399107$CLOSE"*3,5);

收盘:=Var1*("1a0002$CLOSE"+"399107$CLOSE"*3)/Var3*1/10,POINTDOT;

开盘:=Var1*("1a0002$OPEN"+"399107$OPEN"*3)/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;

最高:=Var1*("1a0002$HIGH"+"399107$HIGH"*3)/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;

最低:=Var1*("1a0002$LOW"+"399107$LOW"*3)/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;

昨收盘:=REF(收盘,1),POINTDOT,COLOR009900,LINETHICK0;

涨跌:=(收盘-REF(收盘,1))/REF(收盘,1)*100,POINTDOT,COLOR009900,LINETHICK0;

大盘生命线:=EMA(收盘,N1),;

xx2:=EMA(收盘,N2),COLOR00FF00;

xx3:=EMA(收盘,N3),COLORblue,linethick2;

xx4:=EMA(收盘,N4),COLORred;

生命禁区:1.15,colorred,linethick2;

0.88,coloryellow,linethick2;

股价泥潭:0,colorgreen,linethick2;

-0.25,colorffef40,linethick2;

FILLRGN(n1>0,生命禁区,0.88),COLORRED;

FILLRGN(n1>0,股价泥潭,-0.25),COLORBLUE;

大盘温度计:(收盘-xx3)/xx3,coloryellow,linethick3;

drawicon(cross(大盘温度计,0),0,8);

送给戊辰老师,算是赔罪,希望能够喜欢,我刚编写的分笔指标

input:n(100,100,100);

BUYVOL;

SELLVOL;

var1:=SELLVOL/BUYVOL,LINETHICK;

SUM(var1,n);

通达信指标(飞狐通用)

M1:=(CLOSE-OPEN)/(HIGH-LOW)*VOL;

WVAD:=SUM(M1,24);

强弱趋势:WVAD,COLORYELLOW;

均线:MA(WVAD,15),COLORFFFFFF;

多空分界:0,COLORFF8080;

老师说得很透彻,很精辟。可谓言简意赅。我十分欣赏和赞成。不过作为好朋友我还要多说几句,切勿嫌烦,呵呵!!根据概率来说,涨停跌停毕竟是极少数,能连续拉涨停的个股更是凤毛麟角。没有内幕消息,早就提前下车了。千万不要把极端当一般。还是一句老话,看大趋势赚大钱,看小趋势赚小钱,不看趋势不赚钱。即使赚了钱也会得而复失,现在已经不能算

大牛市,顶多算个大鹿市。资金进进出出,就象我在帖子里说的:股市就象围城。每天许多人亟亟而入,每天有人惶惶而出

,正所谓有人看跌,有人看涨。现在这个阶段追涨并不可取,除非您真看准了。好多人喜欢看图说话,以成败论英雄。我就近举一个例子。我三哥刚卖掉了某股,而后该股连涨两个涨停,他懊悔不迭。我却对他说,事情并不能这样看,假使你(与你同时有许多散户)不出局,该股连着两个跌停怎么办?你不要认为当时就你自己出来了,与你同时可能有成百上千个散户出局,庄家才决定向上做。正是你等的出局,庄家轻装上行。这就是庄家的天平,因为你等的出局,才使天平向做多倾斜。

作为短线操手,获利即出,不能后悔。你今天假使满仓杀入601588的话,也许庄家来两个跌停,你就不会说进得太少了。永远不要想就你一人这样做,因为股市的股民太多了。我喜欢打桥牌,更喜欢复式安全打法。不要拿真金白银去赌博。安全获利最重要。。。,罗嗦了一通,不知有无帮助,逆耳忠言

指标原码(通达信通用)

能量:=SQRT(VOL)*(((C-(H+L)/2))/((H+L)/2));

平滑能量:=EMA(能量,16);

能量惯性:EMA(平滑能量,16) ;

STICKLINE(能量惯性>=0,(能量惯性-能量惯性*0.05),(能量惯性-能量惯性*0.15),5,0) COLOR0000CC;

STICKLINE(能量惯性>=0,(能量惯性-能量惯性*0.2),(能量惯性-能量惯性*0.35),5,0) COLOR0066FF;

STICKLINE(能量惯性>=0,(能量惯性-能量惯性*0.4),(能量惯性-能量惯性*0.55),5,0) COLOR0099FF;

STICKLINE(能量惯性>=0,(能量惯性-能量惯性*0.6),(能量惯性-能量惯性*0.75),5,0) COLOR00CCFF;

STICKLINE(能量惯性>=0,(能量惯性-能量惯性*0.8),(能量惯性-能量惯性*0.95),5,0) COLOR00FFFF;

STICKLINE(能量惯性<0,(能量惯性-能量惯性*0.05),(能量惯性-能量惯性*0.15),5,0) COLORFF3300;

STICKLINE(能量惯性<0,(能量惯性-能量惯性*0.2),(能量惯性-能量惯性*0.35),5,0) COLORFF6600;

STICKLINE(能量惯性<0,(能量惯性-能量惯性*0.4),(能量惯性-能量惯性*0.55),5,0) COLORFF9900;

STICKLINE(能量惯性<0,(能量惯性-能量惯性*0.6),(能量惯性-能量惯性*0.75),5,0) COLORFFCC00;

STICKLINE(能量惯性<0,(能量惯性-能量惯性*0.8),(能量惯性-能量惯性*0.95),5,0);

原码

M1:=(CLOSE-OPEN)/(HIGH-LOW)*VOL;

WVAD:=SUM(M1,24);

强弱趋势:WVAD,COLORYELLOW;

均线:MA(WVAD,15),COLORFFFFFF;

多空分界:0,COLORFF8080;

fillrgn(强弱趋势>均线,强弱趋势,均线),colorred;

fillrgn(均线>强弱趋势,均线,强弱趋势),colorgreen;

{【敢死队操盘】分析家/飞狐(副图) }鸣谢提供者

Var1:=1;

操盘线:((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;

Var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;

Var3:=LLV(LOW,34);

Var4:=HHV(HIGH,34);

SK: EMA((Var2-Var3)/(Var4-Var3)*100,13)*Var1,colorwhite;

SD: EMA(SK,2)*Var1,coloryellow;

Var5:=EMA(CLOSE,12)-EMA(CLOSE,26);

Var6:=EMA(Var5,9);

Var7:=Var1*CLOSE*1.236<MA(CLOSE,60);

Var8:=CLOSE/REF(CLOSE,1)>1.021;

Var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;

VarA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;

VarB:=ABS(Var5-Var6);

VarC:=STD(CLOSE,90)*10;

VarD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);

买: Var1*Var7 AND Var8 AND Var9 AND VarC<25 AND CLOSE<8 AND VarA<114 AND VarB<=0.23*40,colorred;

VarE:=SLOPE(CLOSE,40);

VarF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);

Var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;

Var11:=Var1*STD(CLOSE,63)*10;

Var12:=Var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);

Var13:=Var1*MA((CLOSE-Var12)/Var12,1);

买1:=Var1*IF(CROSS(Var13,-0.008) AND VarE>-0.618 AND Var10<114 AND Var11<23.6 AND VarF<8 AND LOW/REF(HIGH,1)<1.145 OR REF(Var13,2)=LLV(Var13,20) AND REF(Var13,2)<0.042 AND VarF<8 AND REF(Var13,2)<REF(Var13,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND Var13>-0.368 AND CLOSE>REF(CLOSE,1),68,0);

Var14:=MA(CLOSE,5);

Var15:=MA(CLOSE,10);

Var16:=MA(CLOSE,20);

Var17:=MA(CLOSE,30);

Var18:=MA(CLOSE,60);

Var19:=MA(CLOSE,150);

Var1A:=MA(CLOSE,250);

Var1B:=Var1*VOL/CAPITAL*100;

Var1C:=(CLOSE-Var1A)/Var1A*100;

Var1D:=(CLOSE/REF(CLOSE,1)-1)*100;

Var1E:=PWINNER(1,CLOSE);

Var1F:=IF(Var1>0.75 AND Var1<0.901,0.618,1);

牛: IF(Var14>Var15 AND Var15>Var16 AND Var16>Var17 AND Var16>Var18 AND Var19>Var1A AND (Var1E>=0.9 OR Var1E>0.76 AND Var1E<0.901 AND Var1D>5 AND Var1B>5) AND Var1D>1.8 AND Var1C<40 AND CLOSE>3 AND (CLOSE-Var18)/Var18<0.25 AND Var1B<=6 AND Var4*Var1B>=1 AND CLOSE<18.5,76,0), colormagenta;

Var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

Var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;

Var22:=Var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;

Var23:=Var1*MA(CLOSE,250);

Var24:=MA(CLOSE,125);

牛:=IF(SD>18 AND SK<75 AND CROSS(Var20,Var21) AND (Var22-Var23)/Var23<0.161 AND REF(SK,3)<SK AND REF(Var22,1)<Var22,95,0);

Var25:=CLOSE/MA(CLOSE,3)>=1.05 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);

Var26:=REF(CLOSE,1);

Var27:=SMA(MAX(CLOSE-Var26,0),5,1)/SMA(ABS(CLOSE-Var26),5,1)*100;

Var28:=Var1*COUNT(Var27<25,20)>=1;

Var29:=(HIGH-LOW)/HIGH*100+(CLOSE-Var26)/Var26*100;

Var2A:=EMA(MA(Var29,41),6);

Var2B:=Var2A>LLV(Var2A,6)*1.02 AND REF(Var2A,1)<REF(LLV(Var2A,6),1)*1.02 AND LLV(Var2A,29)=LLV(Var2A,6);

Var2C:=Var1*LLV(LOW,6)=LLV(LOW,41) AND LLV(LOW,6)<HHV(LOW,41)*71/100;

Var2D:=HIGH>LOW*1.033;

敢死: Var1*(Var2C>0 AND Var2D*16+81.5)*Var1,Color80FFFF ;

买入: IF(CROSS(操盘线,21),50,18.5);

卖出: IF(CROSS(87,操盘线),50,81.5),colorFFAA00;

DRAWTEXT(Var2C>0 AND Var2D,88,'↑');

Var2E:=IF(CROSS(SK,SD),25,18.5);

Var2F:=IF(CROSS(SD,SK),75,81.5);

卖线: Var2F, colorwhite;

买线: Var2E,colorred;

Var13<0.06*(-10)+81.5,colorwhite;

Var30:0-SQRT(SQRT(FLOOR(SQRT(MA(1/WINNER(CLOSE)*100,4)/10000))))*5;

STICKLINE(Var30<-2,0,Var30,1.5,1), coloryellow;

反击图

LC:=REF(CLOSE,1);

R1:=((SMA(MAX((CLOSE - LC),0),6,1) / SMA(ABS((CLOSE - LC)),6,1)) * 100);

R2:=((SMA(MAX((CLOSE - LC),0),12,1) / SMA(ABS((CLOSE - LC)),12,1)) * 100);

R3:=((SMA(MAX((CLOSE - LC),0),24,1) / SMA(ABS((CLOSE - LC)),24,1)) * 100);

B1:=IF((R1 < 20),1,0);

B2:=IF((R2 < 20),1,0);

B3:=IF((R3 < 20),1,0);

B4:=BARSSINCE((CLOSE > 0));

BB:=IF((B4 > 100),((B1 + B2) + B3),0);

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));

SA1:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);

SA2:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);

SA3:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);

SA4:=IF((SA1 < (0 - 8)),1,0);

SA5:=IF((SA2 < (0 - 8)),1,0);

SA6:=IF((SA3 < (0 - 8)),1,0);

DD:=((SA4 + SA5) + SA6);

E1:=WINNER(CLOSE);

E2:=PWINNER(60,CLOSE);

E3:=PWINNER(150,CLOSE);

E4:=(((E1 + E2) + E3) / 3);

E5:=IF((E4 < 0.0382),1,0);

狼:(IF((((E5 > 0) AND (BB > 1)) AND (DD > 1)),2,0) ),STICK,colorFFFF;

EXPLAIN((狼 > 0),'狼终于来了,矛准备好了吗?'),colorFFFF;

DRAWICON((狼 > 0),2,7);

X:=1;

VAR1:=1;

VAR2:=((((CLOSE / REF(CLOSE,1)) >= 1.062) AND ((HIGH / CLOSE) < 1.005)) AND ((MA(CLOSE,90) / CLOSE) >= 1.15));

VAR3:=((VAR2 AND (COUNT(VAR2,20) = 1)) AND (VAR1 * X));

VAR4:=((INDEXC - REF(INDEXC,1)) / REF(INDEXC,1));

VAR5:=((CLOSE - REF(CLOSE,1)) / REF(CLOSE,1));

VAR6:=(IF((VAR4 > 0.01),0.9,1) AND IF((VAR4 > (0 - 0.025)),1,1.2));

VAR7:=((VAR6 * (VAR5 - VAR4)) * 100);

VAR8:=(SUM(VAR7,10) * X);

VAR9:=SMA(VAR8,40,1);

VAR10:=(VAR8 > 20);

VAR11:=(((CROSS(CLOSE,MA((CLOSE * 1.055),3)) AND (CLOSE > (OPEN * 1.06))) AND (VOL >= (REF(VOL,1) * 1.5))) AND (CLOSE >= MA(CLOSE,10)));

VAR12:=((VAR10 AND VAR11) AND VAR1);

VAR13:=(((0 - 100) * (HHV(HIGH,3) - CLOSE)) / (HHV(HIGH,3) - LLV(LOW,3)));

VAR14:=(((((VAR1 AND CROSS(VAR13,(0 - 87))) AND (OPEN < MA(CLOSE,5))) AND (CLOSE >= (1.09 * REF(CLOSE,1)))) AND (INDEXC > (0.98 * REF(INDEXC,1)))) AND (CLOSE <= (1.47 * LLV(CLOSE,58))));

VAR15:=(EMA(CLOSE,12) - EMA(CLOSE,26));

VAR16:=(EMA(VAR15,9) * X);

VAR17:=(2 * (VAR15 - VAR16));

VAR18:=((((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * X) * 100);

VAR19:=SMA(VAR18,3,1);

VAR20:=SMA(VAR19,3,1);

VAR21:=(EMA(IF((VAR16 > REF(VAR16,1)),1,(0 - 1)),14) * 14);

VAR22:=((EMA(IF((VAR20 > REF(VAR20,1)),1,(0 - 1)),14) * 14) * 2);

VAR23:=(((MA(CLOSE,5) / MA(CLOSE,70)) - 1) * 100);

VAR24:=(((VAR23 + VAR22) + VAR21) / 3);

VAR25:=(MA(CLOSE,80) - ((MA(CLOSE,10) / 3) * X));

VAR26:=IF(((((CLOSE < VAR25) AND ((VOL / 240) > (MA(VOL,5) / 240))) AND (CLOSE > (REF(CLOSE,1) * 1.062))) AND (CLOSE < (MA(CLOSE,13) * 1.13))),88,0);

VAR27:=IF(((((((CLOSE / REF(CLOSE,1)) > 1.05) AND (((VOL / CAPITAL) * 100) < 6)) AND (CLOSE < 17)) AND ((HIGH / CLOSE) < 1.01)) AND (VAR26 > 0)),91,0);

VAR28:=IF((((((VAR24 > REF(VAR24,1)) AND (REF(VAR24,1) < REF(VAR24,2))) AND ((VAR3 OR VAR12) OR VAR14)) OR (VAR26 > 0)) OR (VAR27 > 0)),85,0);

高级:=IF((VAR27 > 0),95,0);

中级:=IF(((VAR26 > 0) OR (VAR27 > 0)),91,0);

初级:=IF((((VAR28 > 0) OR (VAR27 > 0)) OR (VAR26 > 0)),88,0);

兔子:(IF((((高级 > 0) OR (中级 > 0)) OR (初级 > 0)),1,0) ),STICK,colorFFFFFF;

EXPLAIN((兔子 > 0),'兔子出现,放箭!'),colorFFFFFF;

DRAWICON((兔子 > 0),1,8);

LGL:=IF((((((EMA(CLOSE,5) / EMA(EMA(CLOSE,9),16)) <= 0.85) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),50,0);

WR1:=((0 - ((100 * (HHV(HIGH,34) - CLOSE)) / (HHV(HIGH,34) - LLV(LOW,34)))) + (100 * X));

WR2:=((0 - ((100 * (HHV(HIGH,50) - CLOSE)) / (HHV(HIGH,50) - LLV(LOW,50)))) + 100);

WR3:=((0 - ((100 * (HHV(HIGH,70) - CLOSE)) / (HHV(HIGH,70) - LLV(LOW,70)))) + (100 * X));

BIAS1:=(((((CLOSE - MA(CLOSE,34)) / MA(CLOSE,34)) * 100) + 10) * 5);

BIAS2:=(((((CLOSE - MA(CLOSE,50)) / MA(CLOSE,50)) * 100) + 10) * 5);

BIAS3:=(((((CLOSE - MA(CLOSE,70)) / MA(CLOSE,70)) * 100) + 10) * 5);

S1:=(((((((WR1 + WR2) + WR3) + BIAS1) + BIAS2) + BIAS3) / 6) * X);

S2:=EMA(S1,3);

S3:=ABS((BIAS1 - BIAS3));

SX:=((S1 + S3) / 2);

XC1:=(((0 - 1) * (EMA((100 * (1 - WINNER(CLOSE))),1) - 50)) + 50);

CCC:=(XC1 + SX);

ZJZ:=(IF(((LGL > 0) AND (CCC < 0)),200,0) * X);

LXL:=IF((((((SX < 0) AND (CLOSE = LLV(CLOSE,5))) AND ((CLOSE / REF(CLOSE,1)) > 0.905)) AND ((CLOSE / REF(CLOSE,1)) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),(0 - 50),0);

JBJ:=(IF(((CCC < 0) AND (LXL = (0 - 50))),100,0) * X);

MA3:=MA(CLOSE,3);

C0:=(REF(CLOSE,2) * 0.865);

C1:=(REF(CLOSE,13) * 0.772);

BOT:=MIN(C0,C1);

HSL:=(((100 * VOL) / CAPITAL) * X);

MA13:=(MA(CLOSE,13) * X);

CXC:=IF(((((CLOSE - BOT) / CLOSE) < (3 / 100)) AND ((SUM(HSL,5) / 5) < 1.8)),1,0);

VMC:=IF(((CXC > 0) AND ((LXL < 0) OR (LGL > 0))),100,0);

V满仓:=VMC;

V半仓A:=IF((((((ZJZ > 0) AND (JBJ > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR ((CXC > 0) AND ((REF(CLOSE,1) / REF(CLOSE,2)) > 0.902))) OR ((((((ZJZ > 0) AND (JBJ > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR (CXC > 0)) AND ((LXL < 0) OR (LGL > 0))) AND (VMC < 10))),50,0);

V93:=(((((ZJZ > 0) AND (JBJ > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR (CXC > 0)) AND ((LXL < 0) OR (LGL > 0)));

V90:=((((ZJZ > 0) AND (JBJ > 0)) AND ((SUM(((VOL / CAPITAL) * 100),5) / 5) < 1)) OR ((CXC > 0) AND ((REF(CLOSE,1) / REF(CLOSE,2)) > 0.902)));

V半仓:=(V93 OR V90);

XMM87:=(V满仓 OR V半仓);

XMM91:=VMC;

G:=(MA(CLOSE,80) - ((MA(CLOSE,10) / 3) * X));

初:=IF((XMM87 > 0),87,0);

中:=IF((XMM91 > 0),91,0);

高:=IF(((VMC > 0) AND (CLOSE < G)),97,0);

终结者:=(MAX(MAX(高,初),中));

北极熊:IF((终结者 > 0),3,0),STICK,colorFFFF00;

EXPLAIN((北极熊 > 0),'北极熊?猎枪瞄准!'),colorFF;

DRAWICON((北极熊 > 0),3,13);

{

主要用于弱势股短炒,注意等待信号出现!}

股市公式的定义

经典:

1.越常用的技术指标其使用价值越差。

2.优化修改后的技术指标其使用将增高。

3.技术指标公开化程度越高其使用价值越低。

4.技术指标公开化程度越低其使用价值越高。

有了一把好剑也要您用心把剑谱

精确预测涨停请老师改成通达信选股公式

参数ws ( 0,9,3)

RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;

K:=(SMA(RSV,10,1));

D:=(SMA(K,5,1));

KK:=INTPART(SMA(RSV,10,1));

DD:=INTPART(SMA(K,5,1));

N:=KK+DD,LINETHICK2,COLORMAGENTA;

精确涨停:CROSS(N,50);

{智能解盘 N 34 M 5 专家会诊副图}改造版

input:n(34),m(5);

Var1:=EMA(CLOSE,N)-EMA(CLOSE,M);

Var2:=EMA(Var1,5);

趋势: (-3)*(Var1-Var2), COLORSTICK;长期趋势:EMA(Var1,10)*(-1);

趋势;

DIFF : EMA(CLOSE,12) - EMA(CLOSE,26),COLORSTICK;

DEA: EMA(DIFF,9);

AA:=BARSLAST(CROSS(DIFF,DEA) AND DEA<-0.1)<=8;

DEA<-0.1 AND CROSS(DIFF,DEA) AND IF(AA=1,1,0);

EXPLAIN(AA,'MACD最佳买入时机'),linethick2,COLORYELLOW;

EXPLAIN(趋势>0,'Z线趋势上升中n');

EXPLAIN(趋势<0,'Z线趋势下降中n');

EXPLAIN(cross(趋势,0),'Z线考虑买入n');

EXPLAIN(cross(0,趋势),'Z线考虑卖出n');

Var11:=ma((v/(h-l)),4);

Var33:=abs(c-o);Var44:=v/(h-l);

EXPLAIN(Var44<var11 AND Var33<ma(Var33,4),'资金无入场意愿,萎缩中n');

EXPLAIN(Var44<var11 AND Var33>ma(Var33,4),'场内资金运作行为n');

EXPLAIN(Var44>var11 AND Var33<ma(Var33,4),'多空双方激烈争夺中n');

EXPLAIN(Var44>var11 AND Var33>ma(Var33,4),'场外资金介入(或出局)意愿强烈n');

TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);

HD := HIGH-REF(HIGH,1);

LD := REF(LOW,1)-LOW;

DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);

DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);

PDI:= DMP*100/TR;

MDI:= DMM*100/TR;

ADX:= MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);

ADXR:=(ADX+REF(ADX,6))/2;

EXPLAIN(cross(pdi,mdi),'PDI线从下向上突破MDI线,显示有新多头进场,为买进信号n');

EXPLAIN(cross(mdi,pdi),'PDI线从上向下跌破MDI线,显示有新空头进场,为卖出信号n');

EXPLAIN(adx>ref(adx,1),'ADX值持续高于前一日,行情将维持原趋势n');

EXPLAIN(adx<ref(adx,1) and adx<20,'ADX值递减,降到20以下,且横向行进时,市场气氛为盘整n');

EXPLAIN(adx<ref(adx,1) and ref(adx,1)<ref(adx,2) and ref(adx,2)>ref(adx,3) and ref(adx,3)>ref(adx,4),'ADX值从上升倾向转为下降时,表明行情即将反转n');

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;

EXPLAIN(1=1,'※※※※※※※※※n下面为KDJ,CCI,W&R,RSI,MTM等指标的判断 n※※※※※※※※※n');

EXPLAIN(cross(j,k) and k<50,'KDJ金叉n');

EXPLAIN(cross(k,j) and k>50,'KDJ死叉n');

EXPLAIN(j>84,'KDJ指标高位');

EXPLAIN(j<16,'KDJ指标低位n');

TYP := (HIGH + LOW + CLOSE)/3;

cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));

EXPLAIN(cci<-100,'CCI指标底位,买入机会n');

EXPLAIN(cci>100,'CCI指标高位,卖出机会n');

wr:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));

EXPLAIN(wr>-20,'W&R超买,即将见顶,应及时卖出n');

EXPLAIN(wr<-80,'W&R超卖,即将见底,应伺机买进n');

MTM := CLOSE-REF(CLOSE,6);

MTMMA := MA(MTM,6);

EXPLAIN(CROSS(MTM,MTMMA),'MTM从下向上突破MTMMA,买入信号n');

EXPLAIN(CROSS(MTMMA,MTM),'MTM从上向下跌破MTMMA,卖出信号n');

LC := REF(CLOSE,1);

RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;

RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;

EXPLAIN(RSI1>85,'6日RSI向上突破85,超买,考虑卖出n');

EXPLAIN(RSI1<15,'6日RSI向下跌破15,超卖,考虑买入n');

EXPLAIN(CROSS(RSI1,RSI2),'6日RSI向上突破12日RSI,买进信号n');

EXPLAIN(CROSS(RSI2,RSI1),'6日RSI向下跌破12日RSI,卖出信号n');

psy:=COUNT(CLOSE>REF(CLOSE,1),12)/12*100;

EXPLAIN(1=1,'换手率=');

EXPLAIN(1=1,'12天心理线,PSY=');

EXPLAIN(1=1,'获利盘比例=');

EXPLAIN(1=1,'套牢盘比例=');

简单易看—神密线〈实用〉===请老师做一个通达信选股公式。谢谢!!!

X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;

X2:=(EMA(C,5)-EMA(C,34))/EMA(C,13)*100;

X3:=(EMA(C,5)-EMA(C,60))/EMA(C,13)*100;

X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;

X5:=V/CAPITAL*(C+O+L+H)/4;

x6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));

x7:=IF(x6>0,X5,0-X5);

x8:=H-MAX(C,O)-(MIN(C,O)-L);

x9:=(x7+x8)/2+C-REF(C,1);

x10:=SUM(x9,0)+100;

x11:=EMA(x10,5)+100;

x12:=EMA(x10,13)+100;

x13:=EMA(x10,34)+100;

x14:=EMA(x10,60)+100;

x15:=EMA(x10,120)+100;

x16:=(x11-x12)/EMA(C,13)*100;

x17:=(x11-x13)/EMA(C,13)*100;

x18:=(x11-x14)/EMA(C,13)*100;

x19:=(x11-x15)/EMA(C,13)*100;

x20:=(x19-x16);

x21:=(x19-x17);

x22:=(x19-x18);

y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);

y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);

y3:=y1-y2;

y4:=100-y3;

y5:=(0-(EMA(y4,1)-50))+50;

y6:=(0-(EMA(y4,12)-50))+50;

Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);

Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);

Z3:=(Z1-Z2-50)*1.032+50;

Z4:=(2*C+H+L+O)/5;

Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);

P0:X4-X1+x20+y5-y6,COLORYELLOW;

P4:(Z3-Z5)/2+P0,COLORGREEN;

{筹码}

bb1:=SMA(ABS(L-REF(L,1)),3,1);

bb2:=SMA(MAX((L-REF(L,1)),0),3,1);

bb3:=bb1/bb2*100;

bb4:=EMA(IF(C*1.2,bb3*10,bb3/10),3);

bb5:=LLV(L,38);

bb6:=HHV(bb4,38);

bb7:=IF(LLV(L,90),1,0);

bb8:=IF(L<=bb5,(bb4+bb6*2)/2,0);

bb9:=EMA(bb8,3)/618*bb7;

drawtext(cross(p4,p0) and p4<40,(p4-10),'△'),colorred;

通达信选股

X1:=(EMA(C,5)-EMA(C,13))/EMA(C,13)*100;

X4:=(EMA(C,5)-EMA(C,120))/EMA(C,13)*100;

Y1:=3*SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1);

Y2:=2*SMA(SMA((C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);

Y3:=Y1-Y2;

Y4:=100-Y3;

Y5:=(0-(EMA(Y4,1)-50))+50;

Y6:=(0-(EMA(Y4,12)-50))+50;

X5:=V/CAPITAL*(C+O+L+H)/4;

X6:=(H-MAX(C,O))-(MIN(C,O)-L)+(C-REF(C,1));

X7:=IF(X6>0,X5,0-X5);

X8:=H-MAX(C,O)-(MIN(C,O)-L);

X9:=(X7+X8)/2+C-REF(C,1);

X10:=SUM(X9,0)+100;

X11:=EMA(X10,5)+100;

X12:=EMA(X10,13)+100;

X15:=EMA(X10,120)+100;

X16:=(X11-X12)/EMA(C,13)*100;

X19:=(X11-X15)/EMA(C,13)*100;

X20:=(X19-X16);

Z1:=3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1);

Z2:=2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1);

Z3:=(Z1-Z2-50)*1.032+50;

Z4:=(2*C+H+L+O)/5;

Z5:=EMA((Z4-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100,13);

P0:=X4-X1+X20+Y5-Y6,COLORYELLOW;

P4:=(Z3-Z5)/2+P0,COLORGREEN;

CROSS(P4,P0) AND P4<40;

{耶稣的路}

阿门1:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;

阿门2:=SMA(阿门1,13,8);

耶稣传道:CEILING(SMA(阿门2,13,8)),LINETHICK0,COLOR0000FF;

耶稣说道:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK0,COLORbbffcc;

阿门3:=BARSLAST(ref(cross(耶稣传道,耶稣说道),1));

阿门4:=ref(c,阿门3+1)>c and ref(耶稣传道,阿门3+1)<耶稣传道 and cross(耶稣传道,耶稣说道);

DRAWTEXT(FILTER(阿门4>0,5),耶稣传道,'★'),colorwhite;

DRAWTEXT(FILTER(阿门4>0,5),耶稣传道*1.5,'底背离'),coloryellow;

阿门5:=(((((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);

入教堂:IF(CROSS(阿门5,21),50,18.5),LINETHICK1,colorwhite;

出教堂:IF(CROSS(87,阿门5),50,81.5),LINETHICK1,colorFf8080;

阿门6:=(HIGH+LOW+CLOSE+open)/4;

阿门7:=(阿门6-MA(阿门6,14))/(0.015*AVEDEV(阿门6,14));

阿门8:=(阿门6-MA(阿门6,70))/(0.015*AVEDEV(阿门6,70));

阿门9:=IF(阿门7>=150 AND 阿门7<200 AND 阿门8>=150 AND 阿门8<200,10,0);

阿门10:=IF(阿门7<=-150 AND 阿门7>-200 AND 阿门8<=-150 AND 阿门8>-200,-10,阿门9);

祈祷:(IF(阿门8>=200 AND 阿门7>=150,15,IF(阿门8<=-200 AND 阿门7<=-150,-15,阿门10))+50),colorcc9900 ,linethick2 ,crossdot;

门徒1 :=(C-EMA(C,5))/EMA(C,5)*100;

门徒2 :=(C-EMA(C,10))/EMA(C,10)*100;

门徒3 :=(C-EMA(C,21))/EMA(C,21)*100;

信众1 :=-(C-EMA(C,5))/EMA(C,5)*100;

信众2 :=-(C-EMA(C,10))/EMA(C,10)*100;

信众3 :=-(C-EMA(C,21))/EMA(C,21)*100;

得救:IF(EMA((信众1+2*信众2+3*信众3)/6,4)<-3.3,100,81),color00ff00;

起信:IF(EMA((门徒1+2*门徒2+3*门徒3)/6,4)<-3.3,0,18),coloryellow;

阿门11:=LLV(L,34);

阿门12:=EMA(((3*C+H+L+O)/6-阿门11)/(HHV(H,34)-阿门11)*100,8);

阿门13:=EMA(阿门12,5);

阿门14:=TROUGHBARS( 3,13,1);

阿门15:=PEAKBARS(3 ,13,1);

阿门16:=BARSLAST(阿门15>阿门14);

阿门17:=PEAK(3 ,13,1);

阿门18:=(C-阿门17)/阿门17*100<-13 AND REF(C,2)>=REF(C,1) AND C>REF(C,1);

阿门19:=IF(阿门18 AND REF(C,1)=LLV(C,阿门16) OR 阿门14=1,35,45);

耶稣显现:IF(阿门12<10 AND (阿门13-阿门12)*10<15 AND (阿门19=35 OR REF(阿门19,1)=35),10,阿门19),colorff00ff;

睡醒了买,睡醒了就卖

此公式用于超级短线,30分钟K线,上午10:30睡醒后,随便找一只个股出现买点买入,第二天睡醒了就卖。

VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

B:SMA(VAR1,7,1);

VAR2:SMA(B,5,1);

睡醒了就买:IF(CROSS(B,VAR2) AND B<40,50,0);

睡醒了就买公式优化版

公式如下:

版本一:

梦乡:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;

初醒:SMA(梦乡,7,1);

清醒:SMA(初醒,5,1);

挣开眼就买吧:IF(CROSS(初醒,清醒) AND 清醒<20,50,10);

睡醒了就卖吧:IF(CROSS(清醒,初醒) AND)清醒>40,50,10);

地板:8,COLORRED,LINETHICK2;

房顶:75,COLORGREEN,LINETHICK2;

版本二:

梦乡:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*89;

初醒:SMA(梦乡,7,1);

清醒:SMA(初醒,5,1);

挣开眼就买吧:IF(CROSS(初醒,清醒) AND 清醒<20,50,10);

睡醒了就卖吧:IF(CROSS(清醒,初醒) AND 清醒>40,50,10);

地板:8,COLORRED,LINETHICK2;

房顶:75,COLORGREEN,LINETHICK2;

版本三:

梦乡:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,34))*89;

初醒:SMA(梦乡,7,1);

清醒:SMA(初醒,5,1);

挣开眼就买吧:IF(CROSS(初醒,清醒) AND 清醒<20,50,10);

睡醒了就卖吧:IF(CROSS(清醒,初醒) AND 清醒>40,50,10);

地板:8,COLORRED,LINETHICK2;

房顶:75,COLORGREEN,LINETHICK2;

{江南鹰眼原飞狐源码}

江南鹰眼F:=EMA(CLOSE,3)-EMA(CLOSE,5)-(EMA(CLOSE,7)-EMA(CLOSE,9))*(-100);

江南鹰眼G:=EMA(江南鹰眼F,5);

江南鹰眼K:=CROSS(江南鹰眼F,江南鹰眼G);

江南鹰眼Y:=CROSS(江南鹰眼G,江南鹰眼F);

V5:=EMA(CLOSE,1);主线:=EMA(V5,5), , ;

本:EMA(HHV(主线,5),1),color0099cc,,SHIFT0,linethick1;

PARTLINE(本<REF(本,1),本),COLORgreen,linethick1;

急进:EMA(HHV(本,17),1),SHIFT0, COLORbbbbbb;

稳健:EMA(HHV(急进,17),2),SHIFT0, COLORccccff;

投资:EMA(HHV(稳健,17),3),SHIFT0, COLORcyan;

散:EMA(HHV(投资,17),4),SHIFT0, COLORffffff;

集:EMA(HHV(散,17),5), SHIFT0,COLORyellow;

界:=MA(CLOSE,60)LINETHICK2,colorblue;

底:=LLV(LOW,120),LINETHICK1,colorred;

DRAWTEXT(SYSPARAM(2)=BARSCOUNT(底),集,''),ALIGN4,COLORred;

DRAWTEXT(SYSPARAM(2)=BARSCOUNT(底),集,''),ALIGN5,COLORffffff;

做空:=EMA(CLOSE,5),colorcyan,linethick2;

【粘与发】:=EMA(CLOSE,21);

主线:=EMA(【粘与发】,20);

骑手:=EMA(HHV(主线,13),1),coloryellow,linethick1;

骑师:=EMA(HHV(主线,5),1),colorred,linethick1;

跑马场:EMA(HHV(集,21),6) colorff99cc,SHIFT0,,POINTDOT;

PARTLINE(急进>REF(急进,1),急进),color33bbff,linethick1;

PARTLINE(稳健>REF(稳健,1),稳健),color3399cc,linethick1;

PARTLINE(投资>REF(投资,1),投资),color6699cc,linethick1;

PARTLINE(散>REF(散,1),散),color9999cc,linethick1;

PARTLINE(集>REF(集,1),集),colorcc99cc,linethick1;

PARTLINE(跑马场>REF(跑马场,1),跑马场),colorff99cc,linethick1;

STICKLINE(江南鹰眼Y,OPEN,CLOSE,6,0),linethick2, COLORFFFFFF;

STICKLINE(江南鹰眼K,OPEN,CLOSE,6,0),linethick2, COLORRED;

STICKLINE(江南鹰眼K,OPEN,CLOSE-(CLOSE-OPEN)*0.35,6,0),linethick2,colorff00ff;

{江南鹰眼分折家}

江南鹰眼F:=EMA(CLOSE,3)-EMA(CLOSE,5)-(EMA(CLOSE,7)-EMA(CLOSE,9))*(-100);

江南鹰眼G:=EMA(江南鹰眼F,5);

江南鹰眼K:=CROSS(江南鹰眼F,江南鹰眼G);

江南鹰眼Y:=CROSS(江南鹰眼G,江南鹰眼F);

V5:=EMA(CLOSE,1);

主线:=EMA(V5,5);

本:EMA(HHV(主线,5),1),color0099cc,linethick1;

PARTLINE(本,本<REF(本,1)),COLORgreen,linethick1;

急进:EMA(HHV(本,17),1), COLORbbbbbb;

稳健:EMA(HHV(急进,17),2), COLORccccff;

投资:EMA(HHV(稳健,17),3), COLORcyan;

散:EMA(HHV(投资,17),4), COLORffffff;

集:EMA(HHV(散,17),5),COLORyellow;

界:=MA(CLOSE,60);

底:=LLV(LOW,120);

跑马场:EMA(HHV(集,21),6), colorff99cc,MOVE0,POINTDOT;

PARTLINE(急进,急进>REF(急进,1)),color33bbff,linethick1;

PARTLINE(稳健,稳健>REF(稳健,1)),color3399cc,linethick1;

PARTLINE(投资,投资>REF(投资,1)),color6699cc,linethick1;

PARTLINE(散,散>REF(散,1)),color9999cc,linethick1;

PARTLINE(集,集>REF(集,1)),colorcc99cc,linethick1;

PARTLINE(跑马场,跑马场>REF(跑马场,1)),colorff99cc,linethick1;

STICKLINE(江南鹰眼Y,OPEN,CLOSE,6,0),linethick2, COLORFFFFFF;

STICKLINE(江南鹰眼K,OPEN,CLOSE,6,0),linethick2, COLORRED;

STICKLINE(江南鹰眼K,OPEN,CLOSE-(CLOSE-OPEN)*0.35,6,0),linethick2,colorff00ff;

大智慧精品指标公式==七级浮屠--纵横股海不用愁

STICKLINE(CLOSE>0,h*9.0,l*0.01,8,0),color7d7f0f;

MA20:=MA(CLOSE,20);

MA120:=MA(CLOSE,120);

MA30:=MA(CLOSE,37);

MAP:=MA(CLOSE,8);

AA5:=MA(CLOSE,21);

AA10:=MA(CLOSE,8),color0000FF;

AA12:=MA(CLOSE,12),color0000FF;

BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);

BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);

MA13:=MA(CLOSE,13);

VVAR1:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);

底部3:LLV(LOW,30),colorCDFFBB;

{短期底部:=LLV(HIGH,30); }

底部:=LLV(HIGH,36);

短底:=EMA(VVAR1,5);

支撑:=HHV(短底,60);

压力1:HHV(LOW,20),colorFAABEC,linethick2;

压力:=SMA(LOW,5,1);

中线:=MA(CLOSE,3);

A1:=SUM(AMOUNT,3)/SUM(VOL,3)/100;

A2:=SUM(AMOUNT,8)/SUM(VOL,8)/100;

A3:=SUM(AMOUNT,21)/SUM(VOL,21)/100;

DIFF:= EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;

DEA:=EMA(DIFF,9),coloryellow;

MACD:= 2*(DIFF-DEA), COLORSTICK ;

V1:=c-(a1+ma(c,3))/2;

V2:=c-(a2+ma(c,8))/2;

V3:=c-(a3+ma(c,21))/2;

Va1:=(C+v3-v1+macd);

Va4:=(C+v2-v1+macd);

动力线:EMA(Va1,6),linethick3,Colorred;

XY:=MA(CLOSE,5);

MA5:=MA(CLOSE,80);

底部4:(LLV(HIGH,30) * 0.93),color0000FF;

MA80:=LLV(HIGH,30);

短期底部2:=SMA(CLOSE,2,1);

趋势:=(MA(LOW,10) * 0.96);

趋:=(EMA(OPEN,107) * 0.897);

超跌位2:=MA(CLOSE,15);

GF:=MA(CLOSE,10);

MAN:=(SMA(HIGH,21,2) * 1.05);

上1:=(HHV(短底,60) * 0.92);

压力2:=(SMA(HIGH,21,2) * 1.035);

阻挡线:=(SMA(LOW,21,2) * 0.96);

下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);

RSV:=SMA(下档线,3,1);

K:=SMA(RSV,3,1);

D:=((3 * RSV) - (2 * K));

J:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);

VAR2P:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);

VAR3P:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);

VAR4P:=(((J + (2 * VAR2P)) + (3 * VAR3P)) / 6);

VAR5P:=MA(VAR4P,3);

VAR6P:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);

RSV12:=SMA(VAR6P,3,1);

K12:=SMA(RSV12,3,1);

D12:=((3 * RSV12) - (2 * K12));

J12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);

RSV24:=SMA(J12,3,1);

K24:=SMA(RSV24,3,1);

D24:=((3 * RSV24) - (2 * K24));

J24:=IF(CROSS(D,D24),LOW,REF(LOW,BARSLAST(CROSS(D,D24))));

压力位:IF(CROSS(D24,D),HIGH,REF(HIGH,BARSLAST(CROSS(D24,D)))),colorFFFFFF;

压力位1:压力位*1.05,colorabcdef;

支撑位:=IF((CLOSE >= MA(CLOSE,20)),80,50);

U2L:=IF((CLOSE >= MA(CLOSE,20)),50,20);

L2L:=IF(((D < 支撑位) AND (REF(D,1) >= 支撑位)),HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),REF(HHV(REF(HIGH,1),(BARSLAST(((D >= 支撑位) AND (REF(D,1) < 支撑位))) - 1)),BARSLAST(((D < 支撑位) AND REF(D,1)))));

RH1:=IF((HIGH > L2L),LOW,REF(LOW,BARSLAST((HIGH > L2L))));

RH4:=IF((HIGH > L2L),D,REF(D,BARSLAST((HIGH > L2L))));

RH42:=IF((((HIGH > RH1) AND (D < RH4)) AND (D < D24)),HIGH,REF(HIGH,BARSLAST((((HIGH > RH1) AND (D < RH4)) AND (D < D24)))));

RH5:=IF(((D > U2L) AND (REF(D,1) <= U2L)),LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),REF(LLV(REF(LOW,1),(BARSLAST(((D <= U2L) AND (REF(D,1) > U2L))) - 1)),BARSLAST(((D > U2L) AND REF(D,1)))));

RL1:=IF((LOW < RH5),HIGH,REF(HIGH,BARSLAST((LOW < RH5))));

RL4:=IF((LOW < RH5),D,REF(D,BARSLAST((LOW < RH5))));

RL42:=IF((((LOW < RL1) AND (D > RL4)) AND (D > D24)),LOW,REF(LOW,BARSLAST((((LOW < RL1) AND (D > RL4)) AND (D > D24)))));

底部2:LLV(HIGH,30),color00FFff;

底部1:LLV(HIGH,30)*1.05,colorffFF00,linethick2;

逃遁:=(SMA(HIGH,21,2) * 1.05);

STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),colorFF5B00;

STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,5,0),colorFF6C00;

STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),colorFF7B00;

STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,3,0),colorFF9C00;

STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),colorFFBE00;

STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,2,0),colorFFCC00;

STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color070084;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,5,0),color0000A3;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),color0000B7;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0000CD;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0000E9;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,3,0),color0754E9;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1.5,0),color076EF3;

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,1,0),color077BF3;

STICKLINE((CLOSE > OPEN),OPEN,LOW,1,0),color0726CA;

STICKLINE((CLOSE > OPEN),CLOSE,HIGH,1,0),color0726CA;

STICKLINE((OPEN > CLOSE),CLOSE,LOW,1,0),colorDE9100;

STICKLINE((OPEN > CLOSE),OPEN,HIGH,1,0),colorDE9100;

STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 逃遁)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,6,0),color0090FF;

STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 逃遁)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,5,0),color009FFF;

STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 逃遁)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,3,0),color00B5FF;

STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 逃遁)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,OPEN,2,0),color00E4FF;

STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 逃遁)) AND ((CLOSE - REF(CLOSE,1)) > 0)),OPEN,LOW,0.4,0),color00FFFF;

STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 逃遁)) AND ((CLOSE - REF(CLOSE,1)) > 0)),CLOSE,HIGH,0.4,0),color00FFFF;

STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 逃遁)) AND (CLOSE < 逃遁)),OPEN,LOW,0.7,0),colorFF76FF;

  

爱华网本文地址 » http://www.aihuau.com/a/25101011/71450.html

更多阅读

Excel各种条件求和的公式汇总 excel多条件求和公式

经常和Execl打交道的人肯定觉得求和公式是大家时常用到的。Excel里有哪几路求和公式呢?他们的使用方式又是怎样?我为大家汇总一下。Excel各种条件求和的公式汇总——步骤/方法Excel各种条件求和的公式汇总 1、使用SUMIF()公式的单条件

2014年山东省高考语文试题浅析之二 山东省春季高考试题

2014年山东省高考语文试题浅析之二关于诗歌鉴赏题首先我把近三年来的诗歌鉴赏题置于一处:2011年阅读下面这首唐诗,回答问题。咏山泉储光羲山中有流水,借问不知名。映地为天色,飞空作雨声。转来深涧满,分出小池平。恬澹无人见,年年长

寿光圣都中学复读周年记之二 寿光圣都中学杀人案

寿光圣都中学复读周年记(之二)第一次寿光圣都之行7月2日,在女儿知道高考成绩仅一周后,我们全家去了趟寿光,准备全面了解一下学校的情况,如果满意就直接报名,不满意再想别的办法,当时该校已招生三百多人,计划招生一千五。寿光是潍坊最西边的

湖南花鼓戏《刘海砍樵》曲谱之二 湖南花鼓戏刘海砍樵

湖南花鼓戏《刘海砍樵》曲谱之二我用CAD软件把湖南花鼓戏《刘海砍樵》写下来,再转换成JPG格式,共11张图片,但博客文档一次只能插入8张图片,我在博文《湖南花鼓戏的情缘》里发了第1-7页的7张曲谱图片,为了让喜欢湖南花鼓戏的网友能完整的

声明:《shangjing558 老师指标公式汇总之二 - 无洞长箫 - zaotuwang - . shangjing》为网友闲言碎语分享!如侵犯到您的合法权益请联系我们删除