【股票指标公式下载】-【通达信】决胜操盘线(不惑线、生命线)

合集下载

【股票指标公式下载】-【通达信】仿智策操盘(牛线、马线)

【股票指标公式下载】-【通达信】仿智策操盘(牛线、马线)

【通达信】仿智策操盘(牛线、马线)-指标公式源码LJL07:=C;牛线:=(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF( LJL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07,8)+11*RE F(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7*REF(LJL07,13)+6*RE F(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF(LJL07,17)+2*REF(LJL07,18)+REF(L JL07,20))/214,COLORRED,LINETHICK1;马线:=MA(牛线,2)*1.02,COLOR00FF00,LINETHICK1;AA20:=EMA(((C+O)/2),6)*1;M3:= EMA(CLOSE,3);M8:= EMA(CLOSE,8),COLORGREEN;M13: EMA(M8,8),COLORRED;VAR1:=EMA(M13,62);VAR2:=(CLOSE+HIGH+LOW)/3;VAR3:=EMA(VAR2,10);VAR4:=REF(VAR3,1);IF(M8>=REF(M13,1),M13,DRAWNULL),COLORRED,LINETHICK2;IF(M8<=REF(M13,1),M13,DRAWNULL),COLOR00FF00,LINETHICK1;QW1:=(HIGH+LOW+CLOSE*2)/4;QW3:=EMA(QW1,10);QW4:=STD(QW1,10);QW5:=(QW1-QW3)*100/QW4;QW6:=EMA(QW5,5);RK7:=EMA(QW6,10);涨:=(EMA(QW6,10)+100/2-5)/5,LINETHICK1,COLORRED;跌:=EMA(涨,4),LINETHICK1,COLORFFFF34;多线:=IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF;空线:=IF(CROSS(跌,80),70,100),COLOR0099FF,LINETHICK1;买1:=EMA(跌,4),COLORWHITE;买2:=EMA(买1,4),COLORGREEN;买M3:=EMA(买2,4);买M4:=EMA(买M3,4);势区:=IF((EVERY(M13>=REF(M13,1),1)),5,0)COLOR0000FF,LINETHICK3; STICKLINE(涨<REF(涨,1),VAR3,VAR4,2,0 ),COLORFFFF00;STICKLINE(涨> REF(涨,1),VAR3,VAR4,2,1) ,COLORRED;今日柱高度:=EMA(AA20,1);长强势区:=IF((EVERY(今日柱高度>=REF(今日柱高度,1),1)),20,0)COLOR0000FF,LINETHICK3;昨日柱高度:=REF(AA20,1);前日柱高度:=REF(AA20,2);XG:=IF((今日柱高度-昨日柱高度)>=(昨日柱高度-前日柱高度)*2 AND 今日柱高度>马线 AND EMA(VOL,0)> REF(VOL,2) AND 长强势区=20 ,26,25);OK2:STICKLINE(XG=26 , H*1.01,H*1.05 ,3 ,0 ),COLORFF00FF;{得到启动点};【通达信】仿智策操盘(牛线、马线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】操盘组合系统(单线变色、抢反弹)

【股票指标公式下载】-【通达信】操盘组合系统(单线变色、抢反弹)

【通达信】操盘组合系统(单线变色、抢反弹)-指标公式源码VAR1:="KDJ.K#DAY"(9,3,3);VAR2:="KDJ.D#DAY"(9,3,3);RJ:="KDJ.J#DAY"(9,3,3);STICKLINE(RJ<REF(RJ,1),98,94,2,0),COLOR00AA00;STICKLINE(RJ>=REF(RJ,1),100,92,3,0),COLORFF00FF;STICKLINE(VAR1<=20,100,97,4,0),COLOR0000FF;STICKLINE(VAR1>VAR2,82 ,90 ,6 ,0 ),COLOR0000FF;STICKLINE(VAR1<VAR2,82 ,90 ,6 ,0 ),COLOR00FF00;DRAWTEXT(CURRBARSCOUNT=5,88,'日KDJ'),COLORFF0000;DRAWTEXT(CURRBARSCOUNT=5,98,'日J拐点'),COLORFFFF00;VAR3:="KDJ.K#WEEK"(9,3,3);VAR4:="KDJ.D#WEEK"(9,3,3);ZJ:="KDJ.J#WEEK"(9,3,3);STICKLINE(ZJ>=REF(ZJ,1),80,72,3,0),COLORDD00DD;STICKLINE(ZJ<REF(ZJ,1),74,78,2,0),COLOR00AA00;STICKLINE(VAR3>VAR4,70 ,62 ,6 ,0 ),COLOR0000DD;STICKLINE(VAR3<VAR4,70,62 ,6 ,0 ),COLOR00BB00;DRAWTEXT(CURRBARSCOUNT=5,68,'周KDJ'),COLORFFFF00;DRAWTEXT(CURRBARSCOUNT=5,78,'周J拐点'),COLORFFFF00;VAR5:="KDJ.K#MONTH"(9,3,3);VAR6:="KDJ.D#MONTH"(9,3,3);YJ:="KDJ.J#MONTH"(9,3,3);STICKLINE(YJ<REF(YJ,1),58,54,2,0),COLOR00AA00;STICKLINE(YJ>=REF(YJ,1),60,52,3,0),COLORBB00BB;STICKLINE(VAR5>VAR6,50 ,42 ,6 ,0 ),COLOR0000BB;STICKLINE(VAR5<VAR6,50,42 ,6 ,0 ),COLOR009900;DRAWTEXT(CURRBARSCOUNT=5,48,'月KDJ'),COLORFFFF00;DRAWTEXT(CURRBARSCOUNT=5,58,'月J拐点'),COLORFFFF00;STICKLINE( CLOSE>0,81,81 ,10 ,0 ),COLORBLACK;STICKLINE( CLOSE>0,61,61,10,0 ),COLORBLACK;VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);MAOBV:=MA(OBV,30);STICKLINE(OBV>=MAOBV,40,32,4,0),COLORFF00FF;STICKLINE(OBV<MAOBV,38,34,2,0),COLOR00AAAA;DRAWTEXT(CURRBARSCOUNT=5,38,'OBV'),COLORFFFF00;DX:=MA(MA(CLOSE,3),1);STICKLINE(C>0,28,24,2,0),COLOR00AAAA;STICKLINE(DX>=REF(DX,1),30,22,4,0),COLORDD00DD;DRAWTEXT(CURRBARSCOUNT=7,28,'单线变色'),COLORFFFF00;VARA1:=1;VARA2:=((((2*CLOSE)+HIGH)+LOW) / 4);VARA4:=LLV(LOW,5);VARA5:=HHV(HIGH,4);C1:=(EMA((((VARA2-VARA4)/(VARA5-VARA4))*100),4)*VARA1);C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VARA1);STICKLINE(C>0,18,14,2,0),COLOR00AAAA;STICKLINE(C1>C2,20,12,4,0),COLORAA00AA;DRAWTEXT(CURRBARSCOUNT=7,19,'抢反弹'),COLORFFFF00;VAR22:=(HIGH+LOW+CLOSE*2)/4;VAR32:=EMA(VAR22,7);VAR42:=STD(VAR22,7);VAR52:=(VAR22-VAR32)*100/VAR42;VAR62:=EMA(VAR52,3);WW:=(EMA(VAR62,5)+100)/2-3,COLORFF00FF,LINETHICK2;MM:=HHV(WW,3),COLORFF00FF,LINETHICK2;AAA:=MM,COLOR00FFFF,LINETHICK2;BBA:=WW,COLOR0000FF,LINETHICK2;STICKLINE(WW>=REF(WW,1) ,10,2,4,0),COLOR990099;STICKLINE(REF(WW,1)>WW,8,4,2,0),COLOR00AAAA;DRAWTEXT(CURRBARSCOUNT=7,8,'开天辟地'),COLORFFFF00;R1:=(CLOSE-LLV(LOW,90))/(HHV(HIGH,90)-LLV(LOW,90))*200;R2:=EMA((CLOSE-(LLV(LOW,5)))/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2; R3:=EMA(0.618*REF(R2,1)+0.382*R2,2);R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);R5:=POW(MA(LOW,5),2)+MA(LOW,5);R6:=POW(MA(HIGH,5),2)+MA(HIGH,5);R7:=(R4-LLV(R5,64))/(HHV(R6,64)-LLV(R5,64))*150+65-10;R8:=SMA((SMA(R7,3,1)*1.5-100),3,1);R9:=3*(SMA(R7,3,1)*1.5-100)-2*R8;R10:=(HIGH+LOW+CLOSE*2)/4;R11:=(R10-(EMA(R10,13)))*100/(STD(R10,13));R12:=EMA((EMA(R11,5)),13)+200-100;R13:=(SMA(R1,3,1))+R2+(SMA(R7,3,1)*1.5-100)+R12;R14:=(SMA((SMA(R1,3,1)),3,1))+R3+R8+(EMA(R12,10));R15:=(3*(SMA(R1,3,1))-2*(SMA((SMA(R1,3,1)),3,1)))+(3*R12-2*(EMA(R12,1 0)))+R9+(3*R12-2*(EMA(R12,10)));R16:=(HIGH+LOW+CLOSE)/3;R17:=(R16-MA(R16,34))/(0.015*AVEDEV(R16,34));R18:=(HIGH+LOW+CLOSE+R16)/4;R19:=(R18-(EMA(R18,24)))/(STD(R18,24))*100;R20:=(R16-MA(R16,24))/(0.015*AVEDEV(R16,24));R21:=(((EMA(R19,5))+R20+R17)/3+165)/4;R22:=(R13+R14+R15*30)/32/5-15;AA:=EMA(((R21+R22)/2/1.1),1);BB:=MA(AA,3);STICKLINE(C>0,-2,-6,2,0),COLOR00AAAA;STICKLINE(AA>=BB,0,-8,4,0),COLOR770077;STICKLINE(AA>=REF(AA,1),-3,-5,4,0),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=7,-2,'简洁操盘'),COLORFFFF00;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:SMA(RSV,3,1),COLORFFFFFF,LINETHICK1;D:SMA(K,3,1),COLORYELLOW,LINETHICK1;J:(3*K-2*D),COLORFFFF00,LINETHICK2;IF(RJ>=REF(RJ,1),RJ,DRAWNULL),COLORFF0000,LINETHICK2;【通达信】操盘组合系统(单线变色、抢反弹)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】向阳操盘一号(买线、卖线、动平衡、双线持币)

【股票指标公式下载】-【通达信】向阳操盘一号(买线、卖线、动平衡、双线持币)

【通达信】向阳操盘一号(买线、卖线、动平衡、双线持币)-指标公式源码买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWICON(BU,L-0.1,1);DRAWICON(SEL,H+0.1,2);STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORLIRED;STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORLIRED;STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORLIBLUE;STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORLIBLUE;空:=EMA(CLOSE,5);动平衡:EMA(空,34),COLORYELLOW,LINETHICK2;双线持币:HHV(MA(HIGH,3),2),COLORGREEN,LINETHICK2;单线持股:LLV(MA(HIGH,3),1),COLORRED,LINETHICK2;VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'买入');VARC:=(SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1 )),6,1))*100;VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;VAR2:=REF(VAR1,1);VAR3:=(SMA(MAX(VAR1-VAR2,0),10,1))/(SMA(ABS(VAR1-VAR2),10,1))*100; VAR4:=FILTER(IF((COUNT(VAR3<20,5))>=1 AND(COUNT(VAR1=LLV(VAR1,10),10))>=1 AND CLOSE>=OPEN*1.038 ANDVOL>MA(VOL,5)*1.2,1,0),5);VAR5:=FILTER(动平衡>REF(动平衡,1) AND 双线持币<REF(双线持币,1) AND CLOSE>REF(CLOSE,1),11);VAR6:=REF(CLOSE,1);VAR7:=(SMA(MAX(CLOSE-VAR6,0),6,1))/(SMA(ABS(CLOSE-VAR6),6,1))*100;【通达信】向阳操盘一号(买线、卖线、动平衡、双线持币)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】工作区(出击、休假、工作线、止盈线、生命线)

【股票指标公式下载】-【通达信】工作区(出击、休假、工作线、止盈线、生命线)

【通达信】工作区(出击、休假、工作线、止盈线、生命线)-指标公式源码A1:=EMA(C,14)COLORWHITE,LINETHICK1;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)COLORRE D,LINETHICK1;休假:IF(A1X<0,REF(EMA(C,14),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)COLORGRE EN,LINETHICK1;STICKLINE(CROSS(A1X,0),C,O,2,0)COLORYELLOW;STICKLINE(CROSS(0,A1X),C,O,2,0)COLORGREEN;STICKLINE(CROSS(A1X,0)ORCROSS(0,A1X),REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,2,0)COLORWHITE; STICKLINE(ISLASTBAR,REF(EMA(C,14),1),REF(EMA(C,14),1)*0.998,5,0)COLOR WHITE;工作线:=EMA(C,14);止盈线:EMA(C,7),LINETHICK1,COLORGRAY;工作区:IF(C>=工作线 AND EMA(C,14)>=EMA(C,25),工作线,DRAWNULL), COLORRED,LINETHICK2;准备区:IF(C>=工作线 AND EMA(C,14)<EMA(C,25),工作线,DRAWNULL), COLORMAGENTA;休息区:IF(C<工作线,工作线,DRAWNULL), COLORGREEN;生命线:EMA(C,25),COLORYELLOW;{DRAWICON(CROSS(工作线,生命线),工作线*0.95,5);原句}IF(CROSS(工作线,生命线),工作线*0.975,DRAWNULL),CIRCLEDOT,COLORRED; DRAWICON(CROSS(C,生命线) AND C>EMA(C,14),L*0.99,1);DRAWICON(COUNT(C<EMA(C,7),2)=2 AND EMA(C,7)>EMA(C,14) AND COUNT(C>止盈线,6)>=3,H*1.03,2);DRAWICON(CROSS(工作线,C) AND EMA(C,14)>EMA(C,25),H*1.01,8);{止损位} IF(CROSS(生命线,工作线),HIGH*1.04,DRAWNULL),CIRCLEDOT,COLORGREEN;【通达信】工作区(出击、休假、工作线、止盈线、生命线)-指标公式效果图(文档来源:若水财经社区)。

【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】

【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】

通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】工作线:(EMA(C,14)),POINTDOT,LINETHICK3,COLOR22ACDE;生命线:(MA(C,25)),LINETHICK1,COLORMAGENTA;不惑线:(MA(C,40)),COLORCYAN,LINETHICK1;姊妹线:(EMA(C,56)),POINTDOT,COLOR33CCDD,LINETHICK1;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(L/1.015),1),LINETHICK2,COLORMAGENTA;DRAWTEXT(CROSS(A4,A3),L,'线上阴线买停板'),LINETHICK4,COLOR22ACDE; STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED;STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED;STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;七天线:MA(C,7),COLORGRAY,LINETHICK2; 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);STICKLINE(涨停,O,C,1,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;VAR2S:=(2*CLOSE+HIGH+LOW)/4;VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4);散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←吸'),COLORRED;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);DRAWICON(VAR7,HIGH*1.035,2);DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;。

【股票指标公式下载】-【通达信】突破重围(空仓、持股、搏杀生命线、启动线)

【股票指标公式下载】-【通达信】突破重围(空仓、持股、搏杀生命线、启动线)

【通达信】突破重围(空仓、持股、搏杀生命线、启动线)-指标公式源码{参数 M 30/240/90}N:=89;HH:=CONST(HHV(H,N));LL:=CONST(LLV(L,N));MM:=CONST(HH/2+LL/2);CC:=CONST(C),CROSSDOT;YY:=CONST(IF(CC>=MM,LL-(HH-LL)*0.2,HH+(HH-LL)*0.2)),POINTDOT;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2,COLORSTICK;MHH:=CONST(HHV(MACD,N));MLL:=CONST(LLV(MACD,N));MMM0:=MHH/2-MLL/2; MMM:=IF(MMM0<(HH-LL)*0.1,(HH-LL)*0.1,MMM0); STICKLINE(0=0,YY+MMM,YY-MMM,5,0),COLOR444444;STICKLINE(MACD>=0 AND MACD>REF(MACD,1),YY,YY+MACD,0.2,0),COLORRED; STICKLINE(MACD>=0 AND MACD<REF(MACD,1),YY,YY+MACD,0.2,0),COLORFFFF00; STICKLINE(MACD<0 AND MACD<REF(MACD,1), YY,YY+MACD,0.2,0),COLOR00FF00; STICKLINE(MACD<0 AND MACD>REF(MACD,1), YY,YY+MACD,0.2,0),COLOR00FFFF; RSVZ:=((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))-0.5)/100;KX:=SMA(RSVZ,4,1);DX:=SMA(KX,4,1);JX:=3*KX-2*DX;JJ:=(JX/0.005)*MMM;STICKLINE(JX>REF(JX,1),YY+REF(JJ,1),YY+JJ,2.0,0),COLORMAGENTA; STICKLINE(JX<REF(JX,1),YY+REF(JJ,1),YY+JJ,2.0,0),COLORGREEN;SAR1:=IF(CLOSE<SAR(2,3,10),SAR(2,3,10),0);SAR2:=IF(CLOSE<SAR(4,2,20),SAR(4,2,20),0);SARE:=IF(CLOSE>SAR(3,3,20),SAR(3,3,20),0);SARA:=IF(CLOSE>SAR(4,2,10),SAR(4,2,10),0);空仓:IF(MIN(SAR1,SAR2)>0,(SAR1+SAR2)/2,IF(SAR1+SAR2=0,DRAWNULL,SAR1+SAR 2)){,CIRCLEDOT},COLORGREEN,LINETHICK5;持股:IF(MIN(SARE,SARA)>0,(SARE+SARA)/2,IF(SARE+SARA=0,DRAWNULL,SARE+SAR A)){,CIRCLEDOT},COLORMAGENTA,LINETHICK5;MA1:C,COLORYELLOW,NODRAW;MA3:MA(((3*C+L+O+H)/6),3),COLORYELLOW,NODRAW;BBI:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORWHITE;BB5:(MA(C,15)+MA(C,30)+MA(C,60)+MA(C,120))/4,COLORWHITE;IF(C>BB5,BB5,DRAWNULL),COLORRED;IF(C<BB5,BB5,DRAWNULL),COLORCYAN;MH:=IF(MACD<0,-MACD,0);ML:=IF(MACD>0,-MACD,0);JJH:=IF(REF(JJ,1)>JJ,REF(JJ,1),JJ);JJL:=IF(REF(JJ,1)<JJ,REF(JJ,1),JJ);Z1:=IF(JJH>ML AND JJH<MH,JJH,IF(JJH>=MH,MH,DRAWNULL));Z2:=IF(JJL>ML AND JJL<MH,JJL,IF(JJL<=ML,ML,DRAWNULL));STICKLINE(0=0,YY+Z1,YY+Z2,0.1,0),COLORBLUE;DRAWTEXT(CURRBARSCOUNT=16 AND BACKSET(C>BB5,CURRBARSCOUNT)=1 AND BACKSET(CROSS(MA1,BBI)=1,CURRBARSCOUNT)=1,IF(CC>MM,LL,HH),'收BB5上,上穿BBI'),COLORRED;DRAWICON(CROSS(DIF,DEA), YY-MMM,1);DRAWICON(CROSS(DEA,DIF), YY+MMM,2);RSV:=(CLOSE - LLV(LOW,18))/(HHV(HIGH,18) - LLV(LOW,18))*100;K:=EMA(RSV,3);D:=EMA(K,3);J:=(3*K-2*D);KDJ1:=REF(COUNT(J<REF(J,1),5)>=3,1) AND REF(J,1)<20;KDJ2:=J>REF(J,1);反转:=IF(FILTER(KDJ1 AND KDJ2,3),50,0),COLORRED;VAR22:=REF(LOW,1);VAR33:=SMA(ABS(LOW-VAR22),3,1)/SMA(MAX(LOW-VAR22,0),3,1)*100;VAR44:=EMA(IF(CLOSE*1.3,VAR33*10,VAR33/10),3);VAR55:=LLV(LOW,13);VAR66:=HHV(VAR44,13);VAR77:=IF(MA(CLOSE,34),1,0);VAR888:=EMA(IF(LOW<=VAR55,(VAR44+VAR66*2)/2,0),3)/618*VAR77;VAR999:=IF(VAR888>100,100,VAR888);吸筹:=VAR999,LINETHICK1,COLORCD7F32 ;HHZ:=CONST(HHV(C,120))*1;LLZ:=CONST(LLV(C,120))*1;HL:=CONST(IF(CONST((HHZ+LLZ)/2)<CONST(C),LLZ-(HHZ-LLZ)*0.4,HHZ+(HHZ-L LZ)*0.4));HH1:=IF(CONST((HHZ+LLZ)/2)>CONST(C),HHZ,HL);LL1:=IF(CONST((HHZ+LLZ)/2)<CONST(C),LLZ,HL);HLMAX:=MAX(HH1,LL1);HLMIN:=MIN(HH1,LL1);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=(100-0)/2;HLMN4:=100-0;(50-50)*HLMN2/100+HLMN1,COLOR555555;(20-50)*HLMN2/100+HLMN1,COLOR555555;(80-50)*HLMN2/100+HLMN1,COLOR555555;(100-50)*HLMN2/100+HLMN1,COLOR555555;STICKLINE(吸筹,(0-50)*HLMN2/100+HLMN1,(VAR999-50)*HLMN2/100+HLMN1,2,10),COLORFF00FF;STICKLINE(J<=0,(90-50)*HLMN2/100+HLMN1,(100-50)*HLMN2/100+HLMN1,4,0),COLORYELLOW;IF(反转=50,(50-50)*HLMN2/100+HLMN1,(0-50)*HLMN2/100+HLMN1),COLORRED;KZ:(K-50)*HLMN2/100+HLMN1,COLORFFFFFF;DZ:(D-50)*HLMN2/100+HLMN1,COLOR00FFFF;JZ:(J-50)*HLMN2/100+HLMN1,COLOR00FF00;VL:=REF(LOW,1);VAR12Z:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;VAR14Z:=MA(VAR12Z,13);VAR15Z:=LLV(LOW,34);VAR18Z:=EMA(IF(LOW<=VAR15Z,VAR14Z,0),3);VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7, 1),5,1);VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*1 6.18-VAR110*10.9;T:=FILTER(IF(VAR111<=VAR110 AND VAR18Z>REF(VAR18Z,1),VAR18Z*8,0),20); DRAWTEXT(T,LOW-0.4,'←洗盘结束'),COLORFF00FF;DRAWTEXT(T,LOW-0.2,'★'),COLORFF00FF;VAR21:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR22X:=SMA(VAR21,3,1);VAR23:=SMA(VAR22X,3,1);VAR24:=SMA(VAR23,3,1);VAR25:=CROSS(VAR23,VAR24) AND VAR23<20;DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.4,'←抄底'),COLORRED;DRAWTEXT(FILTER(VAR25,10)=1,LOW-0.2,'★'),COLORRED;VAR29:=CROSS(VAR24,VAR23) AND VAR23>80;DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.4,'←逃顶');DRAWTEXT(FILTER(VAR29,5)=1,HIGH+0.2,'★');DIFZ:=EMA(C,12)-EMA(C,26);DEAZ:=EMA(DIFZ,9);MACDZ:=8*(DIFZ-DEAZ);TYNNN:=60;A1:=REF(HIGH,TYNNN)=HHV(HIGH,2*TYNNN+1); B1:=FILTER(A1,TYNNN);C1:=BACKSET(B1,TYNNN+1); D1:=FILTER(C1,TYNNN);A2:=REF(LOW,TYNNN)=LLV(LOW,2*TYNNN+1); B2:=FILTER(A2,TYNNN);C2:=BACKSET(B2,TYNNN+1); D2:=FILTER(C2,TYNNN);E1:=(REF(LLV(LOW,2*TYNNN),1)+REF(HHV(HIGH,2*TYNNN),1))/2;E2:=(HIGH+LOW)/2;H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1; L1:=(D2 AND NOT(D1 AND E1<E2));X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 ANDCOUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));G1:=F1>REF(F1,1); I1:=BACKSET(G1,2); LD:=I1>REF(I1,1);UU:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);VV:=UU>REF(UU,1);RCC:=REF(L,BARSLAST(VV));DRAWBAND(DIFZ*4+RCC,RGB(155,50,50),EMA(DIFZ*4+RCC,9),RGB(0,50,150)); STICKLINE((RCC+MACDZ)>RCC AND(RCC+MACDZ)<=REF(RCC+MACDZ,1),RCC,RCC+MACDZ,1,0),COLOR400080; STICKLINE((RCC+MACDZ)>RCC AND(RCC+MACDZ)>REF(RCC+MACDZ,1),RCC,RCC+MACDZ,1,0),COLOR00FFFF; STICKLINE((RCC+MACDZ)<=RCC AND(RCC+MACDZ)<=REF(RCC+MACDZ,1),RCC,RCC+MACDZ,1,0),COLOR008080; STICKLINE((RCC+MACDZ)<=RCC AND(RCC+MACDZ)>REF(RCC+MACDZ,1),RCC,RCC+MACDZ,1,0),COLORC080FF;IF(C,EMA(DIFZ*4+RCC,9),DRAWNULL),COLORFFFFFF,LINETHICK1;IF(C,DIFZ*4+RCC,DRAWNULL),COLORRED,LINETHICK1;IF(DIFZ<=REF(DIFZ,1),DIFZ*4+RCC,DRAWNULL),COLORFFF000;JJV:=(H+L+C)/3;QJ0:=VOL/IF(H=L,4,H-L);QJ1:=IF(CAPITAL=0,QJ0*(JJV-MIN(C,O)),QJ0*(MIN(O,C)-L));QJ2:=IF(CAPITAL=0,QJ0*(MIN(O,C)-L),QJ0*(JJV-MIN(C,O)));QJ3:=QJ0*(H-MAX(O,C));QJ4:=QJ0*(MAX(C,O)-JJV);QJ5:=QJ1+QJ2;QJ6:=QJ3+QJ4;DD:=(QJ5-QJ6)/(QJ5+QJ6)*100;DDX:=((QJ1+QJ2)-(QJ3+QJ4))/SUM(VOL,10)*100;DDZ:=DD*17;DDY:=((QJ2+QJ4)-(QJ1+QJ3))/SUM(VOL,10)*100;BB:=(CROSS(J,0)AND ((DDX>0 AND DDY>0) OR DDZ>400));DRAWTEXT(BB,L*0.98,'★斋主赚点钱玩'),COLOR00FFFF;MA18:=MA(CLOSE,18);MTM:=C-REF(C,1);DX1:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买:=LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1<0,2) AND CROSS(DX1,MA(DX1,2)); DRAWTEXT(FILTER(买=1,5),LOW,'★买一'),COLORRED;加1:=MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18);DRAWTEXT(加1,LOW*0.99,'★加一'),COLORCC66FF;卖一:=HHV(DX1,2)=HHV(DX1,7) AND COUNT(DX1>50,2) ANDCROSS(MA(DX1,2),DX1);DRAWTEXT(FILTER(卖一=1,1),HIGH*1.01,'★卖一'),COLORGREEN;AA1:=MA(C,5);BB1:=MA(C,15);AF:=CROSS(AA1,BB1);STICKLINE(AF,LLV(L,4),LLV(L,4),80,1),COLORRED,LINETHICK3; DRAWTEXT(AF,LLV(L,4),'止损启动线'),COLORYELLOW;VAR1:=VOL*(OPEN+CLOSE)/2;搏杀生命线:SUM(VAR1,88)/SUM(VOL,88),LINETHICK3,COLORYELLOW;【通达信】突破重围(空仓、持股、搏杀生命线、启动线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】三合一(安全线、撑价、神奇均线、DDE金指、箱体)

【股票指标公式下载】-【通达信】三合一(安全线、撑价、神奇均线、DDE金指、箱体)

【通达信】三合一(安全线、撑价、神奇均线、DDE金指、箱体)-指标公式源码VAR1:=(2*CLOSE+HIGH+LOW+OPEN)/5;A1: (EMA(VAR1,3)+EMA(VAR1,6)+EMA(VAR1,12)+EMA(VAR1,24))/4;A2: EMA(A1,2);A3: EMA(A2,2);A4: EMA(A3,2);A5: EMA(A4,2);A6: EMA(A5,2);A7: EMA(A6,2);A8: EMA(VAR1,2.78)*1.028;A9: MA(OPEN,3.2)*1.028;安全线: EMA(CLOSE,55),COLORGREEN, POINTDOT,LINETHICK4;MCST:DMA((AMOUNT/(VOL*100)),VOL/CAPITAL),COLORRED,POINTDOT,LINETHICK4 ;{xs2}{V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);V2:=(1-7/100)*(DMA(CLOSE,V1));V3:=(1+7/100)*(DMA(CLOSE,V1));撑价:REFDATE(V2,DATE),POINTDOT,LINETHICK3,COLORCDCDCD;阻价:REFDATE(V3,DATE),POINTDOT,LINETHICK3,COLORYELLOW;}{箱体}阻力:PEAK(CLOSE,10,1)*0.98,COLORWHITE;支撑:TROUGH(CLOSE,10,1)*1.02,COLORYELLOW;WW1:=FILTER(O<REF(L,1) AND C>O AND VOL>REF(V,1),13);JH:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;SZ:=FILTER(CROSS(JH,35),13);SX:=FILTER(CROSS(JH,30),7);SQ:=FILTER(CROSS(71,JH),74);SD:=FILTER(CROSS(80,JH),74);AA:=IF(CAPITAL<1,SZ,SX);BB:=IF(CAPITAL<1,SQ,SD);CC:=REF(HHV(CLOSE,120),1);DD:=REF(LLV(CLOSE,120),1);WW:=((100 * (CLOSE - DD)) / (CC - DD));EE:=AMOUNT;FF:=(EMA(EE,5) / REF(EMA(EE,5),5));霸占:=FILTER(((((((FF >= 2)) AND (WW < 35))) AND (BARSCOUNT(CLOSE) > 30)) OR (((((FF >= 2)) AND (WW < 100))) AND (BARSCOUNT(CLOSE) < 50))),90); STICKLINE(C>REF(C,1),C,O,3.2,0),COLOR0000AA;STICKLINE(C>REF(C,1),C,O,2.7,0),COLOR0000DD;STICKLINE(C>REF(C,1),C,O,2.1,0),COLOR0022FF;STICKLINE(C>REF(C,1),C,O,1.5,0),COLOR0066FF;STICKLINE(C>REF(C,1),C,O,0.9,0),COLOR0099FF;{STICKLINE(C>REF(C,1),C,O,0.3,0),COLOR00DDFF;}STICKLINE(C<REF(C,1),C,O,3.2,0),COLOR990000;STICKLINE(C<REF(C,1),C,O,2.7,0),COLORCC0000;STICKLINE(C<REF(C,1),C,O,2.1,0),COLORFF4400;STICKLINE(C<REF(C,1),C,O,1.5,0),COLORFF8800;STICKLINE(C<REF(C,1),C,O,0.9,0),COLORFFCC00;{STICKLINE(C<REF(C,1),C,O,0.3,0),COLORFFDD00;}STICKLINE(C=REF(C,1),C,O,3.2,0),COLOR555555;STICKLINE(C=REF(C,1),C,O,2.7,0),COLOR777777;STICKLINE(C=REF(C,1),C,O,2.1,0),COLOR999999;STICKLINE(C=REF(C,1),C,O,1.5,0),COLORBBBBBB;STICKLINE(C=REF(C,1),C,O,0.9,0),COLORDDDDDD;{STICKLINE(C=REF(C,1),C,O,0.3,0),COLORFFFFFF;}STICKLINE(霸占,C,O,3,2),COLOR000055;STICKLINE(霸占,C,O,2.7,0),COLOR000077;STICKLINE(霸占,C,O,2.1,0),COLOR000099;STICKLINE(霸占,C,O,1.5,0),COLOR0000BB;STICKLINE(霸占,C,O,0.9,0),COLOR0000DD;{STICKLINE(霸占,C,O,0.3,0),COLOR0000FF;}STICKLINE(WW1,CLOSE,OPEN,3.2,0),COLORBB00FF;STICKLINE(WW1,CLOSE,OPEN,2.7,0),COLORFF33FF;STICKLINE(WW1,CLOSE,OPEN,2.1,0), COLORFF66FF;STICKLINE(WW1,CLOSE,OPEN,1.5,0),COLORFF99FF;STICKLINE(WW1,CLOSE,OPEN,0.9,0),COLORFFBBFF;{STICKLINE(WW1,CLOSE,OPEN,0.3,0),COLORFFDDFF;}STICKLINE(AA,CLOSE,OPEN,3.2,0),COLOR0088FF;STICKLINE(AA,CLOSE,OPEN,2.7,0),COLOR00AAFF;STICKLINE(AA,CLOSE,OPEN,2.1,0),COLOR00CCFF;STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR22FFFF;STICKLINE(AA,CLOSE,OPEN,0.9,0),COLOR66FFFF;{STICKLINE(AA,CLOSE,OPEN,0.3,0),COLOR99FFFF;}STICKLINE(BB,CLOSE,OPEN,3.2,0),COLOR005500;STICKLINE(BB,CLOSE,OPEN,2.7,0),COLOR007700;STICKLINE(BB,CLOSE,OPEN,2.1,0),COLOR009900;STICKLINE(BB,CLOSE,OPEN,1.5,0),COLOR00BB00;STICKLINE(BB,CLOSE,OPEN,0.9,0),COLOR00DD00;{STICKLINE(BB,CLOSE,OPEN,0.3,0),COLOR00FF00;};{涨跌提示}涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(涨停,OPEN,CLOSE,1.5,0),COLORYELLOW;跌停:=IF((REF(C,1)-C)*100/REF(C,1)>=(10-0.01*100/REF(C,1)),1,0); STICKLINE(跌停,OPEN,CLOSE,1.5,0),COLORWHITE;【通达信】三合一(安全线、撑价、神奇均线、DDE金指、箱体)-指标公式效果图(文档来源:若水财经社区)。

通达信决胜千里主图指标公式和说明【换手动态移动、成交量动态移动、出击、高点压力、低点支撑、全流通】

通达信决胜千里主图指标公式和说明【换手动态移动、成交量动态移动、出击、高点压力、低点支撑、全流通】

通达信决胜千里主图指标公式和说明【换手动态移动、成交量动态移动、出击、高点压力、低点支撑、全流通】主图上你所需要的资料全有了,为你省事省力,不用再查F10了(财务数据、板块资料等;主图K线上:止损点、压力与支撑、通道画线等一应俱全,别的主图可以不看了。

七天线:EMA(CLOSE,7);持股15:EMA(CLOSE,13),COLORRED,LINETHICK2;生命25:EMA(CLOSE,25),COLORYELLOW,LINETHICK3;初月34:EMA(CLOSE,34),COLORRED,LINETHICK5;换手动态移动:DMA(C,(VOL/CAPITAL)),COLORBLUE,LINETHICK3;成交量动态移动:DMA(C,VOL),COLORMAGENTA;MAH55:MA(换手动态移动,55),LINETHICK3;A1X:=(持股15-REF(持股15,1))/REF(持股15,1)*100,NODRAW;出击:IF(A1X>=0,REF(EMA(C,14),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)POINTDOT ,COLORBLUE,LINETHICK5;IF(CROSS(持股15,生命25),持股15*0.975,DRAWNULL),CIRCLEDOT,COLORRED; DRAWICON(CROSS(C,生命25) AND C>EMA(C,14),L*0.99,1);STICKLINE(CROSS(A1X,0),C,O,1,0)COLORYELLOW;DRAWICON(CROSS(A1X,0),L*0.99,5);HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;ZGDISPLAY:=0;MADISPLA Y:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高点压力:DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT=GDCS1,H,1)COLORGREEN,LINETHICK1;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0 055FF,POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORY ELLOW,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低点支撑:DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT=DDCS1,L,1) COLORGREEN,LINETHICK1;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLO RGREEN,LINETHICK1;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORM AGENTA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORC YAN,POINTDOT;DRAWICON(H=高点压力,H,6);VV2:=REF(CLOSE,1);VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2);DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH*1.03,'沽空↓'),COLORYELLOW;VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED;VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,VARR1),HIGH,2);DRAWTEXT(CROSS(82,VARR1),HIGH,'短空↓'),COLORYELLOW;VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;VAR2:=REF(VAR1,1);VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;HY3:=IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);DRAWTEXT(HY3,LOW,'注意买入'),COLORRED;S:=MA(VOL,5)/MA(VOL,60),COLORRED,,LINETHICK2;A:=MA(S,5),COLORGREEN,,LINETHICK2;BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;F:=MA(S,121);RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100;K:=SMA(RSV,15,1);D:=SMA(K,15,1);J:=3*K-2*D;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(84,RSI) , HIGH*1.06,'逃顶!'),COLORYELLOW ;S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0),STICK,LINETHICK3,COLORGREEN;DRAWTEXT(S1=2,LOW,'关注'), COLORGREEN;STICKLINE(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95,100,0),COLORWHITE; DRAWNUMBER(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95);止损点:=(ISLASTBAR,HHV(C,5)*0.95-0.01,HHV(C,5)*0.95);DRAWTEXT(ISLASTBAR ,止损点,' 止损点');DRAWTEXT_FIX(1,0.7,0,0,'所属板块:'),COLORFF6000;DRAWTEXT_FIX(1,0.77,0,0,HYBLOCK),COLORRED;DRAWTEXT_FIX(1,0.835,0,0,DYBLOCK),COLORYELLOW;总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');全流通:=STRCAT(' 全流通:',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');上市日期:=STRCAT(' 上市日期: ',CON2STR(FINANCE(42),0));股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市日期));市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2));市销率:=STRCAT(' 市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2));净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));净利润率:=STRCAT(' 净利润率',CON2STR(FINANCE(30)/FINANCE(20)*100,2));主营利润率:=STRCAT(' 主营利润率',CON2STR(FINANCE(23)/FINANCE(20)*100,2));当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率));X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};X3:=FINANCE(23)/FINANCE(10)*3.3;X4:=FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}X5:=FINANCE(20)/FINANCE(15)*0.999;Z值:=X1+X2+X3+X4+X5;预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'轻警','无警'));财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))));优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));{理论上越大越好但不同行业有不同标准};现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3));{缺长期负债或负债总额,理论上越大越好但不同行业有不同标准};财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(财务预警,优质资产率),现金负债比)); DRAWTEXT_FIX(ISLASTBAR,0.005,0.01,0,财务系数),COLOR888888;DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,当前业绩),COLOR888888;DRAWTEXT_FIX(ISLASTBAR,0.005,0.115,0,股本市值),COLOR888888;。

【股票指标公式下载】-【通达信】LO实战(敏感线、实战线)

【股票指标公式下载】-【通达信】LO实战(敏感线、实战线)

【通达信】LO实战(敏感线、实战线)-指标公式源码RSI:=SMA(MAX(CLOSE-REF(CLOSE,1),0),15,1)/SMA(ABS(CLOSE-REF(CLOSE,1)), 15,1)*100;STICKLINE(RSI>50,O,C,3,0),COLORMAGENTA;STICKLINE(RSI>50,H,L,0,0),COLORMAGENTA;STICKLINE(RSI>65,O,C,3,0),COLORRED;STICKLINE(RSI>65,H,L,0,0),COLORRED;STICKLINE(RSI>75,O,C,3,0),COLORCCCCFF;STICKLINE(RSI>75,H,L,0,0),COLORCCCCFF;STICKLINE(RSI<50,O,C,3,0),COLOR33BB00;STICKLINE(RSI<50,H,L,0,0),COLOR33BB00;STICKLINE(RSI<35,O,C,3,0),COLORGRAY;STICKLINE(RSI<35,H,L,0,0),COLORGRAY;STICKLINE(RSI<20,O,C,3,0),COLORGREEN;STICKLINE(RSI<20,H,L,0,0),COLORGREEN;STICKLINE(RSI<10,O,C,3,0),COLORYELLOW;STICKLINE(RSI<10,H,L,0,0),COLORYELLOW;STICKLINE(C>=O,H,L,0,0),COLORYELLOW;STICKLINE(C>=O,C,O,2,0),COLORYELLOW;STICKLINE(C<=O,C,O,2,0),COLORCYAN;STICKLINE(C<=O,H,L,0,0),COLORCYAN;VARA:=EMA(C,4);VARB:=REF(VARA,5/2+1);VARC:=(EMA(C,60)+EMA(C,90))/2;STICKLINE(C>VARB AND C>=VARC,O,C,2,0),COLORYELLOW;敏感线:(3*(O+H+L+C))/12.05,COLORWHITE,LINETHICK2;实战线:EMA(CLOSE,4),COLORRED,LINETHICK2;EC:=EMA(CLOSE,7);支撑线:EMA(EC,2),COLORGREEN;HH:=HHV(H,120);LL:=LLV(L,120);压力线:=(HH-LL)*0.618+LL,COLORYELLOW;高:=HHV(MA((LOW+HIGH+CLOSE+OPEN)/4.02,3),30),COLOR9966FF,LINETHICK1;低:=LL,COLORAAEE00,LINETHICK1;EL1:=EMA(LOW,6);EL2:=EMA(EMA(LOW,34)*1,02)-0.16;DRAWICON(CROSS(EL1,EL2),EL1,10);V1:=REF(C,1);V2:=SMA(MAX(C-V1,0),6,1)/SMA(ABS(C-V1),6,1)*100;DRAWICON(IF(CROSS(81,V2),1,0),H*1.01,11);【通达信】LO实战(敏感线、实战线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】大盘顶部(获利比、获利均线、操盘线)

【股票指标公式下载】-【通达信】大盘顶部(获利比、获利均线、操盘线)

【通达信】大盘顶部(获利比、获利均线、操盘线)-指标公式源码获利比:=MA(WINNER(CLOSE)*100,5);获利均线:=SMA(获利比,3,1);一天线:=MA(C,1);快线:MA((3*SMA((C-LLV(L,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-2*SMA(SMA ((C-LLV(L,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1),3,1)),2),COLORF00FF0; 操盘线:MA(3*SMA((C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1)-2*SMA(SMA((C -LLV(L,21))/(HHV(H,21)-LLV(L,21))*100,5,1),3,1),3);通用操盘线: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),COLORBLUE;VAR1:=(C*3+H+L+O)/6;VAR2:=SMA(MAX(C-VAR1,0),8,1)/SMA(ABS(C-VAR1),8,1)*100;VAR3:=100*(HHV(H,15)-C)/(HHV(H,13)-LLV(L,13))-45;VAR4:=BARSLAST(CROSS(C,MA(C,21)));VAR5:=BARSLAST(CROSS(MA(C,21),C));VAR6:=IF(VAR4<VAR5,VAR4+1,0);VAR7:=(C-REF(C,VAR6))/REF(C,VAR6)*100;买入关注:IF(通用操盘线<5,10,0),COLORGREEN;卖出关注:IF(通用操盘线>80,90,100),COLORGREEN;IF(COUNT(获利均线<2,10)>=9 AND CROSS(获利比,获利均线),20,0); DRAWTEXT(CROSS(操盘线,通用操盘线)AND 通用操盘线<10,20,'买点'),COLORRED;DRAWICON(CROSS(通用操盘线,操盘线)AND 通用操盘线>90,100,2); DRAWTEXT(CROSS(90,操盘线),90,'跑吧');DRAWICON(CROSS(VAR2,VAR3)AND 操盘线<20 AND 获利比>REF(获利比,1),3,1); DRAWTEXT(CROSS(快线,0),10,'金叉');DRAWTEXT(CROSS(100,快线) AND 操盘线>60 AND 一天线<REF(一天线,1),100,'死叉');短线追涨:STICKLINE(REF(VAR7,1)=0 AND VAR7>0,0,20,6,0);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)*100;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);导弹: VAR20;LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);R:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),10);PDI:=((DMP * 100) / R);MDI:=((DMM * 100) / R);ADX:=MA(((ABS((MDI - PDI)) / (MDI + PDI)) * 100),5);AV:=(RSI5 + ADX);DXR:=(((ADX + REF(ADX,5)) / 2) + RSI5);WR10:=((100 * (HHV(HIGH,10) - CLOSE)) / (HHV(HIGH,10) - LLV(LOW,10))); NEWVOL:=(RSI5 - WR10);阶段底部:=(AV + NEWVOL);趋势线:=LLV(阶段底部,1);IF(CROSS(趋势线,0),50,0);【通达信】大盘顶部(获利比、获利均线、操盘线)-指标公式效果图(文档来源:若水财经社区)。

通达信操盘线指标公式-通达信公式

通达信操盘线指标公式-通达信公式

通达信操盘线指标公式-通达信公式(注;黄色跟进。

绿色观望,黄线下坡中线观望,短线黄蓝执行自己体会,一指标足也!!!!!!!!)VAR1:=LLV(LOW,13);VAR2:=HHV(HIGH,13);VAR3:=SMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5,1);VAR4:=SMA((VAR2-CLOSE)/(VAR2-VAR1)*100,5,1);DRAWBAND(VAR3,RGB(155,50,50),50,RGB(0,100,50));主力:VAR3,COLORRED;散户:VAR4,COLORGREEN;VAR5:=SMA(MAX(CLOSE-REF(CLOSE,1),0),5,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),5,1)*100;操作:EMA(VAR5,3),COLORYELLOW;STICKLINE(C,90,90,1,0),COLOR3C3CFF;STICKLINE(C,50,50,1,0),COLORYELLOW;STICKLINE(C,10,10,1,0),COLORCYAN;N:=20;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));大单动向:20* ((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,100000000,1000000),COLOR00AAAA,LINETHICK;DX:=(MA(大单动向,5)*N)*2;STICKLINE(大单动向>0,50,50+大单动向*8.5,2.5,0),COLORYELLOW;STICKLINE(大单动向<0,50,50+大单动向*8.5,2.5,0),COLORBLUE;涨跌:=IF(BETWEEN(C,REF(C,1),H),VOL,0);动因:=IF(BETWEEN(C,REF(C,1),L),VOL,0);CC2:=IF(涨跌 AND 动因,0,VOL/3);涨跌动因:3*(涨跌-(动因+CC2))/IF(CAPITAL<1,SUM(INDEXV,71),CAPITAL),LINETHICK0;STICKLINE(涨跌动因>0,10,10+涨跌动因*28.5,2,0 ),COLORYELLOW;STICKLINE(涨跌动因<0,10,10+涨跌动因*28.5,2,0 ),COLORBLUE;。

【股票指标公式下载】-【通达信】战无不胜(牛线、上限、马线、强势狙击)

【股票指标公式下载】-【通达信】战无不胜(牛线、上限、马线、强势狙击)

【通达信】战无不胜(牛线、上限、马线、强势狙击)-指标公式源码JL01:=MA(C,3);LJL07:=(3*C+L+O+H)/6;牛线:(20*LJL07+19*REF(LJL07,1)+18*REF(LJL07,2)+17*REF(LJL07,3)+16*REF(L JL07,4)+15*REF(LJL07,5)+14*REF(LJL07,6)+13*REF(LJL07,7)+12*REF(LJL07, 8)+11*REF(LJL07,9)+10*REF(LJL07,10)+9*REF(LJL07,11)+8*REF(LJL07,12)+7 *REF(LJL07,13)+6*REF(LJL07,14)+5*REF(LJL07,15)+4*REF(LJL07,16)+3*REF( LJL07,17)+2*REF(LJL07,18)+REF(LJL07,20))/210,COLORRED;马线:MA(牛线,6),COLORYELLOW,LINETHICK4,POINTDOT;上限:马线+3*STD(CLOSE,20),COLORMAGENTA,CROSSDOT;下限:马线-2.9*STD(CLOSE,20),COLOR2693FF,CROSSDOT;买:马线-2*STD(CLOSE,20),LINETHICK2,COLORFF937F;卖:马线+2*STD(CLOSE,20),LINETHICK2,COLOR00FF00;等待:IF(JL01<=牛线,马线,DRAWNULL),COLORRED,LINETHICK4,POINTDOT;VAR1:=(C>REF(C,1) AND C>REF(C,2));VAR2:=(REF(VAR1,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR3:=(REF(VAR2,1) AND C>=REF(C,1) AND C<=REF(C,2));VAR4:=(REF(VAR3,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR5:=(REF(VAR4,1) AND C>=REF(C,1) AND C<=REF(C,2));VAR6:=(REF(VAR5,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR7:=(REF(VAR6,1) AND C>=REF(C,1) AND C<=REF(C,2));VAR8:=(REF(VAR7,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR9:=(REF(VAR8,1) AND C>=REF(C,1) AND C<=REF(C,2));VARA:=(REF(VAR9,1) AND C<=REF(C,1) AND C>=REF(C,2));VARB:=(REF(VARA,1) AND C>=REF(C,1) AND C<=REF(C,2));VARC:=(REF(VARB,1) AND C<=REF(C,1) AND C>=REF(C,2));持股:IF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,牛线,DRAWNULL),COLORRED,LINETHICK1; VARD:=(C<REF(C,1) AND C<REF(C,2));VARE:=(REF(VARD,1) AND C>=REF(C,1) AND C<=REF(C,2));VARF:=(REF(VARE,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR10:=(REF(VARF,1) AND C>=REF(C,1) AND C<=REF(C,2));VAR11:=(REF(VAR10,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR12:=(REF(VAR11,1) AND C>=REF(C,1) AND C<=REF(C,2));VAR13:=(REF(VAR12,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR14:=(REF(VAR13,1) AND C>=REF(C,1) AND C<=REF(C,2));VAR15:=(REF(VAR14,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR16:=(REF(VAR15,1) AND C>=REF(C,1) AND C<=REF(C,2));VAR17:=(REF(VAR16,1) AND C<=REF(C,1) AND C>=REF(C,2));VAR18:=(REF(VAR17,1) AND C>=REF(C,1) AND C<=REF(C,2));持币:IF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,牛线,DRAWNULL),COLORLIGRAY,LINETHICK1;STICKLINE(C>=O,C,O,3,0),COLOR000045;STICKLINE(C>=O,C,O,2.5,0),COLOR000065;STICKLINE(C>=O,C,O,2,0),COLOR000085;STICKLINE(C>=O,C,O,1.5,0),COLOR0000A5;STICKLINE(C>=O,C,O,1,0),COLOR0000C5;STICKLINE(C>=O,C,O,0.5,0),COLOR0000E5;STICKLINE(C>=O,H,L,0,0),COLOR0000F5;STICKLINE(C<O,C,O,3,0),COLOR353500;STICKLINE(C<O,C,O,2.5,0),COLOR454500;STICKLINE(C<O,C,O,2,0),COLOR555500;STICKLINE(C<O,C,O,1.5,0),COLOR656500;STICKLINE(C<O,C,O,1,0),COLOR757500;STICKLINE(C<O,C,O,0.5,0),COLOR858500;STICKLINE(C<O,H,L,0,0),COLOR959500;LW05:=MA(C,5);LW10:=MA(C,10);LW30:=MA(C,30);五日乖离率:=(C-LW05)/LW05*100;三拾日乖离率:=(C-LW30)/LW30*100;JL05:=ATAN((LW05/REF(LW05,1)-1)*100)*180/3.1416;JL10:=ATAN((LW10/REF(LW10,1)-1)*100)*180/3.1416;JL30:=ATAN((LW30/REF(LW30,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((LW05-REF(LW05,1))/REF(LW05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);强势狙击:=FILTER(JL30>30 AND JL10>45 AND CROSS(JL05,60),10);加仓:=FILTER(COUNT(CROSS(JL05,30),5)>=1 AND LW05>REF(LW05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND LW10>REF(LW10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,JL05),5)>=1 AND (C>LW30 OR O>LW30) AND LW05<REF(LW05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDLW10<REF(LW10,1),10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND LW05>REF(LW05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<LW30; JL:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDLW10>REF(LW10,1) ;减仓:=FILTER(JL,10);买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORFF99FF;DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORRED;DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;DRAWTEXT(清仓,HIGH*1.02,'←清仓'),COLORGREEN;DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORYELLOW;{DRAWICON(减仓,HIGH*1.02,18);DRAWICON(加仓 ,LOW*0.98,23);DRAWICON(买入,LOW*0.98,5);DRAWICON(清仓 ,HIGH*1.02,6);DRAWICON(强势狙击,LOW*0.98,15);};【通达信】战无不胜(牛线、上限、马线、强势狙击)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】一把定乾坤(趋势线、生死线)

【股票指标公式下载】-【通达信】一把定乾坤(趋势线、生死线)

【通达信】一把定乾坤(趋势线、生死线)-指标公式源码VAR1:=IF(YEAR>=2334 AND MONTH>0,0,1);VAR2:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=3*VAR3-2*VAR4;VAR6:=LLV(LOW,5);VAR7:=HHV(HIGH,5);VAR8:=EMA((CLOSE-VAR6)/(VAR7-VAR6)*100,4)*2;VAR9:=EMA(0.667*REF(VAR8,1)+0.333*VAR8,2);VARA:=3*VAR8-2*VAR9;VARB:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VARC:=POW(MA(LOW,5),2)+MA(LOW,5);VARD:=POW(MA(HIGH,5),2)+MA(HIGH,5);VARE:=(VARB-LLV(VARC,64))/(HHV(VARD,64)-LLV(VARC,64))*150+65-10; VARF:=SMA(VARE,3,1)*1.5-100;VAR10:=SMA(VARF,3,1);VAR11:=3*VARF-2*VAR10;VAR12:=(HIGH+LOW+CLOSE*2)/4;VAR13:=EMA(VAR12,13);VAR14:=STD(VAR12,13);VAR15:=(VAR12-VAR13)*100/VAR14;VAR16:=EMA(VAR15,5);VAR17:=EMA(VAR16,13);VAR18:=EMA(VAR16,13)+200-100;VAR19:=EMA(VAR18,10);VAR1A:=3*VAR18-2*VAR19;VAR1B:=VAR3+VAR8+VARF+VAR18;VAR1C:=VAR4+VAR9+VAR10+VAR19;VAR1D:=VAR5+VARA+VAR11+VAR1A;VAR1E:=(HIGH+LOW+CLOSE)/3;VAR1F:=AMOUNT/VOL/100;VAR20:=SUM(AMOUNT,5)/SUM(VOL,5)/100;VAR21:=(VAR1E-MA(VAR1E,34))/(0.015*AVEDEV(VAR1E,34));VAR22:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);VAR23:=(HIGH+LOW+CLOSE+VAR1E)/4;VAR24:=EMA(VAR23,24);VAR25:=STD(VAR23,24);VAR26:=(VAR23-VAR24)/VAR25*100;VAR27:=(VAR1E-MA(VAR1E,24))/(0.015*AVEDEV(VAR1E,24));VAR28:=EMA(VAR26,5);VAR29:=(VAR1F-MA(VAR1F,21))/(0.015*AVEDEV(VAR1F,21));VAR2A:=(VAR20-MA(VAR20,90))/(0.015*AVEDEV(VAR20,90));VAR2B:=((VAR28+VAR27+VAR21)/3+165)/4;VAR2C:=(EMA(EMA(EMA(VAR2B,15),10),5)-25)*2+VAR22;VAR2D:=(VAR1B+VAR1C+VAR1D*30)/32/5-15;VAR2E:=EMA(VAR2D,13);VAR2F:=(VAR2B+VAR2D)/2/1.1;VAR30:=VAR2F*VAR1;短A: EMA(VAR30,1),COLORRED;短B: EMA(短A,5),COLORFFCC66;趋势线: EMA((VAR2C+VAR2E)/2,2),COLOR0099FF;生死线: EMA(趋势线,40),COLORGREEN,LINETHICK2;VAR31:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR32:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR33:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR34:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);VAR35:=(CLOSE-VAR34)/VAR34*100;VAR36:=REF(VAR35,1)<-40 AND VAR35>REF(VAR35,1) ANDREF(VAR35,1)<REF(VAR35,2) AND VAR35-REF(VAR35,1)>2.5;VAR37:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(M A(AMOUNT,5)/MA(VOL,5)/100)<-0.273;VAR38:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<-0.125;VAR39:=VAR37 AND VAR38;VAR3A:=VAR31>=-45 AND VAR31<=-10 AND VAR32<=-15 AND VAR33<=-20;VAR3B:=COUNT(VAR3A,1)>=1;VAR3C:=1;VAR3D:=VAR39 AND VAR3B;VAR3E:=(MA(AMOUNT,5)*VAR3C/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/1 00)/(MA(AMOUNT,5)/MA(VOL,5)/100)<(-0.4)*VAR3C;VAR3F:=HHV(HIGH,500);VAR40:=LLV(LOW,500);VAR41:=HHV(HIGH,250);VAR42:=LLV(LOW,250);VAR43:=EMA(CLOSE,34);VAR44:=MA(VAR43*0.82,5);VAR45:=CLOSE-REF(MA(CLOSE,20),11)<-2;VAR46:=LLV(LOW,125);VAR47:=MA((VAR3F*0.45+VAR41*0.5+VAR40+VAR42+VAR46)/5,35);VAR48:=VAR47;VAR49:=SMA(AMOUNT/VOL/100,13,1)*0.85;VAR4A:=CLOSE-REF(MA(CLOSE,20),11);VAR4B:=CLOSE<VAR44 AND VAR3E AND CLOSE<VAR49 OR CLOSE<VAR44 AND VAR45 AND VAR3E OR CLOSE<VAR44 AND CLOSE<VAR49 OR CLOSE<VAR44 AND VAR3E AND CLOSE<VAR49 OR VAR3E AND CLOSE<VAR48 OR VAR3E AND VAR45 AND VAR4A<-1.5 OR VAR3E AND CLOSE<VAR44 OR VAR3E AND VAR4A<-1.5 OR VAR45 AND CLOSE<VAR49 OR CLOSE<VAR48 AND VAR4A<-1.5 OR CLOSE<VAR44 AND VAR45;VAR4C:=VAR37 AND VAR38;VAR4D:=VAR31>=-45 AND VAR31<=-7 AND VAR32<=-11 AND VAR33<=-14;VAR4E:=COUNT(VAR4D,1)>=1;VAR4F:=VAR4C AND VAR4E;VAR50:=VAR3E AND CLOSE<VAR44 AND VAR45 AND CLOSE<VAR48 AND VAR4B AND VAR4F;VAR51:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR52:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR53:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR54:=REF(CLOSE,1);VAR55:=SMA(MAX(CLOSE-VAR54,0),5,1)/SMA(ABS(CLOSE-VAR54),5,1)*100; VAR56:=(HIGH+LOW+CLOSE)/3;VAR57:=(VAR56-MA(VAR56,14))/(0.015*AVEDEV(VAR56,14));VAR58:=REF(CLOSE,2)*0.865;VAR59:=REF(CLOSE,13)*0.772;VAR5A:=MIN(VAR58,VAR59);VAR5B:=100*VOL/CAPITAL;VAR5C:=VAR51>=-15.8 AND VAR51<=-12.2 AND VAR52<=-20.8 AND VAR53<=-27.5 AND VAR55<=11.7 AND VAR57<=-145;鬼指: IF(VAR36 OR VAR3D OR VAR50 OR VAR5C OR (CLOSE-VAR5A)/CLOSE<0.03 AND SUM(VAR5B,5)/5<1.8,100,-32),COLORYELLOW;风险区: STICKLINE(趋势线>105,140,130,10,1),COLORRED;鬼顶: STICKLINE(趋势线>135,140,130,10,0),COLORBLUE;鬼道: STICKLINE(BETWEEN(趋势线,CROSS(趋势线,150),140),-40,-30,0,0),COLORFFCC66;安全区: STICKLINE(趋势线<-15,-41,-31,10,1),COLOR0099FF;鬼底: STICKLINE(趋势线<-26,-41,-31,4,0),COLORWHITE;鬼眼:IF(CROSS(100,短A) OR CROSS(80,短A),105,120),COLORFFCCCC; DRAWTEXT(CROSS(趋势线,130) OR CROSS(趋势线,135) OR CROSS(135,趋势线) OR CROSS(132,趋势线) OR CROSS(130,趋势线) OR CROSS(128,趋势线) OR CROSS(126,趋势线) OR CROSS(124,趋势线),140,'◆'),COLORYELLOW;DRAWICON(CROSS(短B,趋势线) AND 趋势线<=-17 OR CROSS(趋势线,生死线) AND 生死线<=5,{-15}0,1);【通达信】一把定乾坤(趋势线、生死线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】超强组合(波段线、金手指)

【股票指标公式下载】-【通达信】超强组合(波段线、金手指)

【通达信】超强组合(波段线、金手指)-指标公式源码{波段线}VAR2:=(HIGH+LOW+CLOSE*2)/4;VAR3:=EMA(VAR2,21);VAR4:=STD(VAR2,21);VAR5:=((VAR2-VAR3)/VAR4*100+200)/4;VAR6:=(EMA(VAR5,5)-25)*1.56;{AK: EMA(VAR6,2)*1.22;AD1: EMA(AK,2);AJ: 3*AK-2*AD1;DRAWTEXT(CROSS(AK,AD1),AK,'*'),COLORRED;DRAWTEXT(CROSS(AD1,AK),AK,'*'),COLORWHITE;}{金手指}RA:=LLV(LOW,35);RB:=HHV(HIGH,30);RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;近日均价:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;DRAWICON(RC<6 AND100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97,100,11); LC:=REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;ZL:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5;SH:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;BT1:=CROSS(RSI1,25);BT2:=CROSS(ZL,SH) AND ZL<-10;BT:=FILTER(COUNT(BT1 OR BT2,3)>=2,3);BIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VARC:=LOW;VARD:=REF(LOW,1);VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),3,1)*100; VARF:=MA(VARE/10,3);VAR10:=LLV(LOW,30);VAR11:=HHV(VARF,30);MA(IF(LOW<=VAR10,(VARF+VAR11*2)/5,0),3);VAR1B:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR2B:=SMA(ABS(LOW-VAR1B),13,1)/SMA(MAX(LOW-VAR1B,0),10,1);VAR3B:=EMA(VAR2B,10);VAR4B:=LLV(LOW,33);VAR5B:=EMA(IF(LOW<=VAR4B,VAR3B,0),3);{主力进场:IF(VAR5B>REF(VAR5B,1),VAR5B,0),COLORRED;}STICKLINE(VAR5B>REF(VAR5B,1),0,VAR5B*2,2,0 ),COLORYELLOW;洗盘:IF(VAR5B<REF(VAR5B,1),VAR5B,0),COLORLIGREEN;VARR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VARR2:=SMA(ABS(LOW-VARR1),13,1)/SMA(MAX(LOW-VARR1,0),10,1); VARR3:=EMA(VARR2,10);VARR4:=LLV(LOW,33);VARR5:=EMA(IF(LOW<=VARR4,VARR3,0),3);STICKLINE(VARR5>REF(VARR5,1),0,VARR5,2,0 ),COLORGREEN; STICKLINE(VARR5<REF(VARR5,1),0,VARR5*2,2,0),COLORRED;找主力吸筹提款:VARR5>REF(VARR5,4) {AND C>REF(C,1)},COLORMAGENTA; VAR2C:=(HIGH+LOW+CLOSE*2)/4;VAR3C:=EMA(VAR2C,7);VAR4C:=STD(VAR2C,7);VAR5C:=(VAR2C-VAR3C)*100/VAR4;VAR6C:=EMA(VAR5C,3);{WW:(EMA(VAR6C,5)+100)/2-3,COLORFF00FF;MM:HHV(WW,3),COLORFF3333;}AAA:=AMOUNT/VOL/100;主力进场:IF(VAR5B>REF(VAR5B,1),VAR5B*1.5,0),COLORRED,LINETHICK2; {吸筹}VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100; VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);吸筹:STICKLINE(VAR9Q>-120,0,VAR9Q,6,1),COLORRED;VARY2:=REF(LOW,1);VARY3:=SMA(ABS(LOW-VARY2),3,1)/SMA(MAX(LOW-VARY2,0),3,1)*100;VARY4:=EMA(IF(CLOSE*1.3,VARY3*10,VARY3/10),3);VARY5:=LLV(LOW,30);VARY6:=HHV(VARY4,30);VARY7:=IF(MA(CLOSE,58),1,0);VARY8:=EMA(IF(LOW<=VARY5,(VARY4+VARY6*2)/2,0),3)/618*VARY7;VARY9:=IF(VARY8>100,100,VARY8);吸筹2:STICKLINE(VARY9>-120,0,VARY9/3,2,1),COLORMAGENTA;LCC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LCC,0),4.1,1)/SMA(ABS(CLOSE-LCC),4.1,1)*100,COLORY ELLOW,LINETHICK1;黄买:FILTER((REF(CLOSE,2)<CLOSE AND RSI<25),7),COLORYELLOW; STICKLINE(黄买,0,-40,10,1),COLORYELLOW;黄卖:=FILTER((REF(CLOSE,2)>CLOSE AND RSI>80),7);STICKLINE(黄卖,100,82,10,0),COLORBLUE;红买:FILTER(CROSS(RSI,11),7),COLORRED;STICKLINE(红买,0,-30,6,0),COLORRED;红卖:=FILTER(CROSS(89,RSI),7);STICKLINE(红卖,100,88,8,0),COLORCYAN;绿买:FILTER(CROSS(RSI,20),7),COLOR00FF00;STICKLINE(绿买,0,-20,6,0),COLORMAGENTA;绿卖:=FILTER(CROSS(80,RSI),7);STICKLINE(绿卖,100,94,6,0),COLOR00FF00;★遵守纪律★:100,COLORRED;★交易之魂★:100,COLORRED;ZLC:= EMA((WINNER(CLOSE) * 70),3);SHC:= EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3); 主力控盘: ((ZLC / (ZLC+ SHC)) * 100),COLOR00FFFF,LINETHICK2;上限: HHV(主力控盘,20),COLORGREEN,LINETHICK2;下限: LLV(主力控盘,20),COLORRED,LINETHICK2;中线:(上限 + 下限)/2,COLORYELLOW,POINTDOT,LINETHICK2;{60,LINETHICK4,POINTDOT,COLORYELLOW;}{10,LINETHICK4,POINTDOT,COLORFF00FF;}VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;STICKLINE(A1,30,0,4,0),COLOR770077;STICKLINE(A1,30,0,3,0),COLOR990099;STICKLINE(A1,30,0,2,0),COLORBB00BB;STICKLINE(A1,30,0,1,0),COLORWHITE;STICKLINE(A1,30,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,36,'满仓'),COLORRED;DRAWTEXT(A1,36,'满仓'),COLORRED;AK: EMA(VAR6,2)*1.22;AD1: EMA(AK,2);AJ: 3*AK-2*AD1;DRAWTEXT(CROSS(AK,AD1),AK,'*'),COLORRED;DRAWTEXT(CROSS(AD1,AK),AK,'*'),COLORWHITE;WW:(EMA(VAR6C,5)+100)/2-3,COLORFF00FF;MM:HHV(WW,3),COLORFF3333;DRAWTEXT(BT1,0,'□'),COLORYELLOW;DRAWTEXT(BT,0,'■'),COLORYELLOW;DRAWICON(CROSS(85,RSI1),102,15);{饭跑跑}DRAWICON(CROSS(RSI1,25),10,26);{金钻}DRAWICON(CROSS(ZL,SH) AND ZL<-10,20,24);{蓝钻}DRAWICON(CROSS(BIAS,-12),-10,13);{BIAS买点};【通达信】超强组合(波段线、金手指)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】纵横跟庄(筹码集中度、庄筹、筹码集中警戒线)

【股票指标公式下载】-【通达信】纵横跟庄(筹码集中度、庄筹、筹码集中警戒线)

【通达信】纵横跟庄(筹码集中度、庄筹、筹码集中警戒线)-指标公式源码
庄筹:=WINNER(CLOSE)*100;
筹码集中度:EMA(庄筹,20),COLORRED;
筹码集中警戒线:EMA(筹码集中度,5),COLORyellow;
筹码集中生命线:EMA(筹码集中警戒线,5),COLORgreen, linethick1; STICKLINE(筹码集中度>筹码集中警戒线,筹码集中度,筹码集中警戒
线,2,0),COLORred;
STICKLINE(筹码集中度<筹码集中警戒线,筹码集中度,筹码集中警戒
线,2,0),COLORgreen;
STICKLINE(筹码集中警戒线>筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORff00ff;
STICKLINE(筹码集中警戒线<筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORffff00;
A:=CROSS(筹码集中度,筹码集中警戒线);
B:=CROSS(筹码集中警戒线,筹码集中度);
DRAWICON(A,筹码集中度-0.1,10);
DRAWICON(B,筹码集中度+0.1,12);
【通达信】纵横跟庄(筹码集中度、庄筹、筹码集中警戒线)-指标公式效果图
(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】操盘均线(动力线、生命线、乖离率、加仓)

【股票指标公式下载】-【通达信】操盘均线(动力线、生命线、乖离率、加仓)

【通达信】操盘均线(动力线、生命线、乖离率、加仓)-指标公式源码网动力线:MA(C,5),LINETHICK3,COLOR00CCFF;网生命线:MA(C,33),CIRCLEDOT,COLORMAGENTA;MA05:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);五日乖离率:=(C-MA05)/MA05*100;BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND MA05>REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORRED; BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND MA05<REF(MA05,1), MA05,DRAWNULL),LINETHICK3,COLORGREEN; 三拾日乖离率:=(C-MA30)/MA30*100,NODRAW;VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) ANDMA30>REF(MA30,1);VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) ANDMA30<REF(MA30,1);BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDMA10<REF(MA10,1),10);DRAWTEXT(加仓 ,LOW*0.98,'◆加'),COLORYELLOW;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDMA10>REF(MA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30; 买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'◆风险'),COLORCYAN;{彩色K线}TYX3:=MA(REF(HHV((C+L+O+H)/4,30),1),3);TYX4:=MA((C+L+O+H)/4,13);TYX5:=EMA((C+L+O+H)/4,21);{空心红}STICKLINE(C<TYX5 AND C>O,H,L,0,0),COLORRED;STICKLINE(C<TYX5 AND C>O,C,O,3,1),COLORRED;{深绿}STICKLINE(C<TYX5 AND C<O,H,L,0,0),COLOR007700;STICKLINE(C<TYX5 AND C<O,C,O,3,0),COLOR005500;STICKLINE(C<TYX5 AND C<O,C,O,2,0),COLOR006600;STICKLINE(C<TYX5 AND C<O,C,O,1,0),COLOR007700;{蓝}STICKLINE(C>TYX5 AND C<O,H,L,0,0),COLORFFDD44;STICKLINE(C>TYX5 AND C<O,C,O,3,0 ),COLORFF7700;STICKLINE(C>TYX5 AND C<O,C,O,2,0 ),COLORFFAA22;STICKLINE(C>TYX5 AND C<O,C,O,1 ,0 ),COLORFFDD44;{黄}STICKLINE(C>TYX5 AND C>O,H,L,0,0 ),COLOR00EEFF;STICKLINE(C>TYX5 AND C>O,C,O,3,0 ),COLOR00AAFF;STICKLINE(C>TYX5 AND C>O,C,O,2,0 ),COLOR00CCFF;STICKLINE(C>TYX5 AND C>O,C,O,1,0 ),COLOR00EEFF;{粉红}STICKLINE(C>TYX4 AND C>O,H,L,0,0),COLORFF66AA;STICKLINE(C>TYX4 AND C>O,C,O,3,0 ),COLORFF11FF;STICKLINE(C>TYX4 AND C>O,C,O,2,0 ),COLORFF44FF;STICKLINE(C>TYX4 AND C>O,C,O,1,0 ),COLORFF66FF;{亮灰}STICKLINE(C>TYX4 AND C<O,H,L,0,0),COLOR999999;STICKLINE(C>TYX4 AND C<O,C,O,3,0),COLOR555555;STICKLINE(C>TYX4 AND C<O,C,O,2,0),COLOR777777;STICKLINE(C>TYX4 AND C<O,C,O,1,0),COLOR999999;{深红}STICKLINE(C>TYX3 AND C>O,H,L,0,0),COLOR0000DD;STICKLINE(C>TYX3 AND C>O,C,O,3,0),COLOR000099;STICKLINE(C>TYX3 AND C>O,C,O,2,0),COLOR0000BB;STICKLINE(C>TYX3 AND C>O,C,O,1,0),COLOR0000DD;{涨跌停K线}STICKLINE(HIGH=LOW AND CLOSE=OPEN AND(CLOSE/REF(CLOSE,1))>1.048,HIGH,LOW,3,0) ,COLORRED;STICKLINE(HIGH=LOW AND CLOSE=OPEN AND(REF(CLOSE,1)/CLOSE)>1.048,HIGH,LOW,3,0) ,COLOR00FF00;【通达信】操盘均线(动力线、生命线、乖离率、加仓)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】顶底主图(攻击线、操盘线、生命线)

【股票指标公式下载】-【通达信】顶底主图(攻击线、操盘线、生命线)

【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式源码攻击线5:MA(C,5)LINETHICK1;操盘线10:MA(C,10)LINETHICK1;生命线30:MA(C,30)LINETHICK1;决策线60:MA(C,60)LINETHICK1;DRAWTEXT(CROSS(攻击线5,操盘线10),LOW*0.95,'攻抄金叉'),COLORRED; DRAWTEXT(CROSS(生命线30,决策线60),LOW*0.95,'生决金叉'),COLORMAGENTA; N:=20;M:=30;P1:=80;P2:=100;VAR101:=(C+H+O+L)/4;卖出:XMA(VAR101,N)*(1+P1/1000),COLORRED,LINETHICK2;买入:XMA(VAR101,M)*(1-P2/1000),COLORLIRED,LINETHICK2;幅度:=100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR101,3);STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'买'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'卖'),COLORGREEN;MA20:=MA(CLOSE,20);MA120:=MA(CLOSE,120);MA30:=MA(CLOSE,37);MAP:=MA(CLOSE,8);AA5:=MA(CLOSE,21);AA10:=MA(CLOSE,8),COLORFF0000;AA12:=MA(CLOSE,12),COLORFF0000;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR01:=((((OPEN + LOW) + HIGH) + CLOSE) / 4);中期大底:=LLV(LOW,30),;短期底部0:=LLV(HIGH,30);短底:=EMA(VAR01,5);支撑:=HHV(短底,60);压力1:=HHV(LOW,20),COLORFAABEC;压力:=SMA(LOW,5,1);中线:=MA(CLOSE,3);DRAWTEXT(FILTER(((((HIGH > 支撑) AND (CLOSE < 支撑)) AND ((CLOSE / OPEN) > (0 - 1.06))) AND (CLOSE < OPEN)),5),(HIGH + 0.02),'逃'),COLORFFFF00;中轨道:=(MA(HIGH,15) * 1.05);天:=(MA(LOW,15) * 0.985);人:=(MA(LOW,15) * 0.96);地:=(((HIGH + LOW) + CLOSE) / 3);B1:=HHV(地,(4 * 15));B6:=LLV(地,(4 * 15));B7:=(B1 - B6);B8:=(MA(((地 - B6) / B7),2) * 80);VAR1:=(((CLOSE - LLV(LOW,100)) / (HHV(HIGH,100) - LLV(LOW,100))) * 200); 飞龙顶底线1:=SMA(VAR1,3,1);VAR2:=SMA(飞龙顶底线1,3,1);VAR3:=((3 * 飞龙顶底线1) - (2 * VAR2));VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,5);VAR6:=(EMA((((CLOSE - VAR4) / (VAR5 - VAR4)) * 100),4) * 2);VAR7:=EMA(((0.667 * REF(VAR6,1)) + (0.333 * VAR6)),2);VAR8:=((3 * VAR6) - (2 * VAR7));VAR9:=(POW(MA(CLOSE,5),2) + MA(CLOSE,5));VARA:=(POW(MA(LOW,5),2) + MA(LOW,5));VARB:=(POW(MA(HIGH,5),2) + MA(HIGH,5));VARC:=(((((VAR9 - LLV(VARA,64)) / (HHV(VARB,64) - LLV(VARA,64))) * 150) + 65) - 10);VARD:=((SMA(VARC,3,1) * 1.5) - 100);VARE:=SMA(VARD,3,1);VARF:=((3 * VARD) - (2 * VARE));VAR10:=(((HIGH + LOW) + (CLOSE * 2)) / 4);VAR11:=EMA(VAR10,13);VAR12:=STD(VAR10,13);VAR13:=(((VAR10 - VAR11) * 100) / VAR12);VAR14:=EMA(VAR13,5);VAR15:=EMA(VAR14,13);VAR16:=((EMA(VAR14,13) + 200) - 100);VAR17:=EMA(VAR16,10);VAR18:=((3 * VAR16) - (2 * VAR17));VAR19:=(((飞龙顶底线1 + VAR6) + VARD) + VAR16);VAR1A:=(((VAR2 + VAR7) + VARE) + VAR17);VAR1B:=(((VAR3 + VAR8) + VARF) + VAR18);VAR1C:=(((HIGH + LOW) + CLOSE) / 3);VAR1D:=((AMOUNT / VOL) / 100);VAR1E:=((SUM(AMOUNT,5) / SUM(VOL,5)) / 100);VAR1F:=((VAR1C - MA(VAR1C,34)) / (0.015 * AVEDEV(VAR1C,34)));VAR21:=((((HIGH + LOW) + CLOSE) + VAR1C) / 4);VAR22:=EMA(VAR21,24);VAR23:=STD(VAR21,24);VAR24:=(((VAR21 - VAR22) / VAR23) * 100);VAR25:=((VAR1C - MA(VAR1C,24)) / (0.015 * AVEDEV(VAR1C,24)));VAR26:=EMA(VAR24,5);VAR27:=((VAR1D - MA(VAR1D,21)) / (0.015 * AVEDEV(VAR1D,21)));VAR28:=((VAR1E - MA(VAR1E,90)) / (0.015 * AVEDEV(VAR1E,90)));VAR29:=(((((((VAR28 + VAR27) + VAR26) + VAR25) + VAR1F) / 5) + 165) / 4);VAR2A:=(((((VAR19 + VAR1A) + (VAR1B * 30)) / 32) / 5) - 15);VAR2B:=(((VAR29 + VAR2A) / 2) / 1.1);VAR2C:=VAR2B;短线:=MA(VAR2C,26);MID:=(短线 + (2 * STD(VAR2C,26)));UPPER:=(短线 - (2 * STD(VAR2C,26)));LOWER:=IF((VAR2C > 短线),短线,VAR2C);XY:=MA(CLOSE,5);M80:=MA(CLOSE,80);短期底部:=(LLV(HIGH,30) * 0.93);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))));支撑位:=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))))); 长期底部:=LLV(HIGH,30);DRAWTEXT(FILTER(((((RL42 = J24) AND (CLOSE > OPEN)) AND (CLOSE > 长期底部)) AND (LOW <= J24)),20),(LOW - 0.12),'底成'),COLOR0EABFF;RL5:=(SMA(HIGH,5,2) * 1.05);上:=(SMA(LOW,5,2) * 0.96);下:=SMA(LOW,2,1);中:=(((((3 * CLOSE) + HIGH) + LOW) + OPEN) / 6);X1:=EMA(中,10);X2:=REF(X1,1);X3:=((REF(HIGH,1) + REF(LOW,1)) / 2);X4:=(MA(CLOSE,21) + (2 * STD(CLOSE,21)));X5:=REF(CLOSE,1);X6:=((SMA(MAX((CLOSE - X5),0),7,1) / SMA(ABS((CLOSE - X5)),7,1)) * 100);X7:=CROSS(79,X6);X8:=FILTER(X7,4);X9:=MA(CLOSE,115);VAR001:=EMA(CLOSE,8);飞龙顶底线:=EMA(VAR001,20);VAR002:=CROSS(VAR001,飞龙顶底线);VAR003:=(VAR001 < MA(CLOSE,20));VAR004:=(((HHV(HIGH,36) - CLOSE) / (HHV(HIGH,36) - LLV(LOW,36))) * 100); VAR005:=SMA(VAR004,5,1);VAR006:=SMA(VAR005,8,1);VAR007:=(CROSS(VAR005,VAR006) AND (VAR006 < 5));VAR008:=((CLOSE > (LLV(CLOSE,60) + (0.3 * LLV(CLOSE,60)))) AND VAR007); VAR009:=IF((CLOSE > 1000),VAR007,VAR008);VAR00F:=CROSS(X1,X2);MA115:=VAR00F;低买:=(VAR002 AND VAR003);黑马起步:=VAR009;DRAWTEXT(X8,(HIGH * 1.03),'出货'),COLOR9000F5;DRAWTEXT((黑马起步 > 0),(HIGH * 1.04),'逃命'),COLORFF0000;逃遁:=(SMA(HIGH,21,2) * 1.05);阻挡:=(SMA(LOW,21,2) * 0.94);DRAWTEXT(FILTER(((((((((CLOSE / OPEN) > 1.03) AND ((超跌位2 - REF(超跌位2,1)) > 0)) AND ((CLOSE - REF(CLOSE,1)) > 0)) AND (HIGH < 压力1)) AND (CLOSE < 压力1)) AND ((压力2 - REF(压力2,1)) > 0)) AND (CLOSE < MAN)),3),LOW,'出击'),COLOR646E69;DRAWTEXT((((((低买 > 0) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 压力位)) AND (HIGH < X9)) AND ((X2 - REF(X2,1)) > 0)),LOW,'黑马'),COLOR00FF00; DRAWTEXT((((CROSS(VAR2C,UPPER) AND (HIGH < 压力1)) AND ((XY -REF(XY,1)) > 0)) AND (HIGH < 支撑)),LOW,'买'),COLORFFFFFF; DRAWTEXT(FILTER((((((MA115 AND (CLOSE < 压力位)) AND ((人 - REF(人,1)) >0)) AND ((X1 - REF(X1,1)) > 0)) AND (HIGH < 上1)) AND ((CLOSE / OPEN) >1.03)),5),LOW,'●买'),COLOR93EE7D;DRAWTEXT(((((LOW <= 上) AND (HIGH >= 短期底部)) AND (CLOSE >= 长期底部)) AND ((CLOSE / OPEN) > 1.03)),(LOW - 0.08),'★抄底'),COLOR0000FF;DRAWTEXT(FILTER((((((LOW <= 阻挡线) AND ((MA20 - REF(MA20,1)) > 0)) AND (OPEN <= 上1)) AND (HIGH > 上1)) AND (CLOSE > 阻挡线)),5),LOW,'涨10%'),COLORFFFFFF;DRAWTEXT(FILTER((((((B8 <= 1) AND (LOW <= 阻挡)) AND (CLOSE > OPEN)) AND (LOW <= 中期大底)) AND (CLOSE >= 长期底部)),3),(LOW - 0.08),'短抄E'),COLORA100FF;DRAWTEXT(FILTER((((CROSS(趋势,趋) AND (HIGH < M80)) AND (HIGH < 压力1)) AND LLV(LOW,0)),10),LOW,'果断买'),COLOR668800;DRAWTEXT(FILTER(((CROSS(中线,人) AND (LOW <= 人)) AND (CLOSE >= 人)),4),(LOW - 0.06),'买'),COLOR00FF00;DRAWTEXT(FILTER((((((((MA20 - REF(MA20,1)) > 0) AND (HIGH < 支撑)) AND ((AA10 - REF(AA10,1)) > 0)) AND (HIGH < 压力1)) AND (VOL >= REF(VOL,1))) AND CROSS(CLOSE,MA20)),57),LOW,'突破生命线'),COLOR0000FF;DRAWTEXT(FILTER(((((LOW <= MA80) AND (CLOSE > MA80)) AND (CLOSE > OPEN)) AND (短期底部2 <= MA80)),8),LOW,'底'),COLORFFFF00;DRAWTEXT(((CROSS(MA20,压力位) AND (LOW <= MA20)) AND ((MA20 -REF(MA20,1)) > 0.02)),(LOW - 0.03),'●绝佳买点'),COLORAFA0AF; DRAWTEXT((((((((CROSS(CLOSE,MA20) AND (HIGH < 压力位)) AND (OPEN < MA20)) AND (HIGH < 支撑)) AND ((MAN - REF(MAN,1)) > 0)) AND ((X1 - REF(X1,1)) > 0)) AND (D < 63)) AND ((MA20 - REF(MA20,1)) > 0)),(LOW - 0.05),'●大牛浮水'),COLOR73777F;DRAWTEXT(CROSS(中期大底,短期底部),(LOW - 0.02),'短线买');短趋势线:=MA(CLOSE,13);中趋势线1:=MA(CLOSE,33),LINETHICK1;中趋势线:=MA(CLOSE,55);涨:=IF(短趋势线>REF(短趋势线,1),短趋势线,DRAWNULL),COLORRED,LINETHICK3;平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK3;跌:=IF(短趋势线<REF(短趋势线,1),短趋势线,DRAWNULL),COLORGREEN,LINETHICK3;STICKLINE(CROSS(MA(CLOSE,13),C) AND MA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L,L*0.98,3,0),COLORYELLOW;DRAWTEXT(CROSS(MA(CLOSE,13),C) AND INDEXC>MA(INDEXC,13) ANDMA(CLOSE,13)>REF(MA(CLOSE,13) ,1) AND V<REF(V,1) ANDMA(CLOSE,13)>MA(CLOSE,55) ,L*0.95,'买'),COLORRED,LINETHICK2;VAR011:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA( CLOSE,24)*100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;VAR012:=HHV(VAR011>20,10);DRAWTEXT(VAR011<-20 AND INDEXC<MA(INDEXC,13) AND FILTER(VAR011>REF(VAR011,1),5),L*0.93,'抄底'),COLORYELLOW,LINETHICK2;VAR013:=IF(MA(CLOSE,13)>REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL); DRAWTEXT((IF(CLOSE>MA(CLOSE,13) ANDOPEN<CLOSE,-0.1,0))AND((C-REF(C,1))/(REF(C,1))>0.061)AND(MA(CLOSE,13)=VAR013) AND (MA(CLOSE,1),MA(CLOSE,13)) AND(VOL>REF(HHV(VOL,3),1)*2),L*0.98,'主力介入'),COLORMAGENTA;X:=EMA(((SLOPE(CLOSE,21) * 20) + CLOSE),68);Y:=EMA(CLOSE,10);【通达信】顶底主图(攻击线、操盘线、生命线)-指标公式效果图(文档来源:若水财经社区)。

【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】

【指标公式源码下载】通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】

通达信经典买卖主图指标公式【工作线、生命线、不惑线、姊妹线、七天线】工作线:(EMA(C,14)),POINTDOT,LINETHICK3,COLOR22ACDE;生命线:(MA(C,25)),LINETHICK1,COLORMAGENTA;不惑线:(MA(C,40)),COLORCYAN,LINETHICK1;姊妹线:(EMA(C,56)),POINTDOT,COLOR33CCDD,LINETHICK1;A3:=EMA((((SLOPE(C,21)) * 20) + C),68);A4:=EMA(C,10);A5:=REF(C,2);A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100;A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);A8:=LLV(L,21);A9:=HHV(H,21);A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);A13:=LLV(L,55);A14:=HHV(H,34);A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);A16:=(A11 + A15) / 2;A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);A18:=EMA(A16,5);A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);A20:=CROSS(A10,A11);A21:=(CROSS(A10,A19)) AND (A19 < 30);A22:=A21 * 0.6;A23:=((C + L) + H) / 3;A24:=EMA(A23,6);A25:=EMA(A24,5);A26:=CROSS(A24,A25);DRAWICON(A26,(L/1.015),1),LINETHICK2,COLORMAGENTA;DRAWTEXT(CROSS(A4,A3),L,'线上阴线买停板'),LINETHICK4,COLOR22ACDE; STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED;STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED;STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED;STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN;STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;七天线:MA(C,7),COLORGRAY,LINETHICK2; 涨停:=IF((C-REF(C,1))*100/REF(C,1)>=(10-0.01*100/REF(O,1)),1,0);STICKLINE(涨停,O,C,1,0),COLORYELLOW;ZDF:=(C-REF(C,1))/REF(C,1)*100;VAR2S:=(2*CLOSE+HIGH+LOW)/4;VAR3S:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4S:=LLV(LOW,5); VAR5S:=HHV(HIGH,4);散户:=EMA((VAR2S-VAR4S)/(VAR5S-VAR4S)*100,4)*VAR3S;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3S;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←吸'),COLORRED;VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;VAR3:=MA(CLOSE,21)+2*STD(CLOSE,21);DRAWICON(CROSS(VAR2,VAR3),HIGH*1.035,2);DRAWTEXT(CROSS(VAR2,VAR3),HIGH*1.02,'卖出'), COLORGREEN;VAR4:=REF(CLOSE,1);VAR5:=SMA(MAX(CLOSE-VAR4,0),7,1)/SMA(ABS(CLOSE-VAR4),7,1)*100;VAR6:=CROSS(79,VAR5);VAR7:=FILTER(VAR6,4);DRAWICON(VAR7,HIGH*1.035,2);DRAWTEXT(VAR7,HIGH*1.02,'卖出'), COLORGREEN;。

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

【通达信】决胜操盘线(不惑线、生命线)-指标公式源码
七天线:MA(C,7),COLORGRAY;
工作线:(EMA(C,14)),POINTDOT,LINETHICK4,COLORYELLOW;
生命线:(MA(C,25)),LINETHICK2,COLORMAGENTA;
{不惑线:(MA(C,40)),COLORCYAN; }
姊妹线:(EMA(C,56)),POINTDOT,COLORWHITE;
A3:=EMA((((SLOPE(C,21)) * 20) + C),68);
A4:=EMA(C,10);
A5:=REF(C,2);
A6:=((SMA((MAX((C - A5),0)),6,1)) / (SMA(ABS((C - A5)),6,1))) * 100; A7:=IF(((A6 < (REF(A6,1))) AND (A6 > 79)),A6,0);
A8:=LLV(L,21);
A9:=HHV(H,21);
A10:=EMA((((CLOSE - A8) / (A9 - A8)) * 100),5);
A11:=EMA((((CLOSE - A8) / (A9 - A8)) * 50),13);
A12:=EMA(((0.667 * (REF(A10,1))) + (0.333 * A10)),2);
A13:=LLV(L,55);
A14:=HHV(H,34);
A15:=EMA((((C - A13) / (A14 - A13)) * 100),3);
A16:=(A11 + A15) / 2;
A17:=EMA(((0.667 * (REF(A15,1))) + (0.333 * A10)),2);
A18:=EMA(A16,5);
A19:=EMA(((0.667 * (REF(A18,1))) + (0.333 * A18)),2);
A20:=CROSS(A10,A11);
A21:=(CROSS(A10,A19)) AND (A19 < 30);
A22:=A21 * 0.6;
A23:=((C + L) + H) / 3;
A24:=EMA(A23,6);
A25:=EMA(A24,5);
A26:=CROSS(A24,A25);
DRAWICON(A26,(LOW / 1.015),1),LINETHICK2,COLORMAGENTA;
STICKLINE(((C >= 工作线) AND (C >= O)),H,L,0,1),COLORRED; STICKLINE(((C >= 工作线) AND (C >= O)),O,C,2,1),COLORRED;
STICKLINE(((C >= 工作线) AND (C <= O)),H,L,0,0),COLORRED; STICKLINE(((C >= 工作线) AND (C <= O)),O,C,2,0),COLORRED; STICKLINE(((C < 工作线) AND (C >= O)),H,L,0,1),COLORGREEN; STICKLINE(((C < 工作线) AND (C >= O)),O,C,2,1),COLORGREEN; STICKLINE(((C < 工作线) AND (C <= O)),H,L,0,0),COLORGREEN; STICKLINE(((C < 工作线) AND (C <= O)),O,C,2,0),COLORGREEN;
【通达信】决胜操盘线(不惑线、生命线)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档