【股票指标公式下载】-【通达信】振幅指标(真实振幅、涨幅、开盘涨幅)

合集下载

通达信股市振荡波指标公式通达信股市振荡波指标公式【拉升、买卖、出击时机、天线、地线、波浪线、抄底】

通达信股市振荡波指标公式通达信股市振荡波指标公式【拉升、买卖、出击时机、天线、地线、波浪线、抄底】

通达信股市振荡波指标公式【拉升、买卖、出击时机、天线、地线、波浪线、抄底】var0:=(((LOW + HIGH) + CLOSE) / 3);VAR4T:=MA(var0,5);操作T:=HHV(VAR4T,13);拉升T:=LLV(VAR4T,13);买卖T:=(0 - (((操作T - VAR4T) / VAR4T) * 100));J1T:=(0 - (((操作T - 拉升T) / 拉升T) * 100));J2T:=(买卖T - J1T);J3T:=IF((买卖T < (0 - 15)),(买卖T + 15),0);DBXJ1:=IF(((买卖T < (0 - 10)) AND (J1T < (0 - 15))),(J1T + 15),0);DBXJ2:=((J3T + DBXJ1) / 2);D:IF((DBXJ2 > 0),0,DBXJ2),POINTDOT;DBXJ:=INTPART((((SMA(MAX((CLOSE - REF(CLOSE,1)),0),6,1) / SMA(ABS((CLOSE - REF(CLOSE,1))),6,1)) * 10) - 2));N:IF((DBXJ < 0),0,DBXJ),POINTDOT;STICKLINE((DBXJ2 < (0 - 50)),0,(0 - 60),10,0),colorFF00FF;STICKLINE((DBXJ2 < (0 - 40)),0,(0 - 50),10,0);STICKLINE((DBXJ2 < (0 - 30)),0,(0 - 40),10,0);STICKLINE((DBXJ2 < (0 - 20)),0,(0 - 30),10,0);STICKLINE((DBXJ2 < (0 - 10)),0,(0 - 20),10,0),colorFFFF00;STICKLINE((DBXJ2 < 0),0,(0 - 10),10,0),colorFFFFFF;STICKLINE((DBXJ > 5),0,60,10,0),colorFF00FF;STICKLINE((DBXJ > 4),0,50,10,0);STICKLINE((DBXJ > 3),0,40,10,0);STICKLINE((DBXJ > 2),0,30,10,0);STICKLINE((DBXJ > 1),0,20,10,0),colorFFFF00;STICKLINE((DBXJ > 0),0,10,10,0),colorFFFFFF;A:STICKLINE((CLOSE > 0),(0 - 3),3,10,0),colorFF0000;初选范围:10*IF(((D < 0) OR (REF(D,1) < 0)),1,0),POINTDOT,color808080;出击时机:10*IF((((N > REF(N,1)) AND ((N = 1) OR (N = 2))) AND ((D < 0) OR (REF(D,1) < 0))),1,0),POINTDOT;Var1:=(HIGH+LOW+CLOSE)/3;Var2:=(Var1-MA(Var1,14))/(0.015*AVEDEV(Var1,14));Var3:=(Var1-MA(Var1,70))/(0.015*AVEDEV(Var1,70));Var4:=IF(Var2>=150 AND Var2<200 AND Var3>=150 AND Var3<200,-10,0);Var5:=IF(Var2<=-150 AND Var2>-200 AND Var3<=-150 AND Var3>-200,10,0);天线:IF(BARSCOUNT(CLOSE)<70,120,IF(Var3>=200 AND Var2>=150,-15,Var4)+120),Linethick2,colorccff66;地线:IF(BARSCOUNT(CLOSE)<70,-120,IF(Var3<=-200 AND Var2<=-150,15,Var5)-120),Linethick2,colorff99cc;Var6:=SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,4,1);var60:SMA((Var6-50)*2,3,1),Linethick2,colorff0033;Var7:=SMA((CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100,4,1);var70:SMA((Var7-50)*2,3,1),Linethick2,colorff2233;var71:(SMA((Var7-50)*2,3,1)+SMA((Var6-50)*2,3,1))/2,Linethick2,colorff4433;Var8:=SMA((CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100,4,1);var80:SMA((Var8-50)*2,3,1),Linethick2,colorff6633;VAR81:(SMA((Var8-50)*2,3,1)+SMA((Var7-50)*2,3,1))/2,Linethick2,colorff8833;Var9:=SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,4,1);Vara:SMA((Var9-50)*2,3,1),Linethick2,colorff9933;VARb:(SMA((Var9-50)*2,3,1)+SMA((Var8-50)*2,3,1))/2,Linethick2,colorffaa33;Var10:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);VAR100:SMA((Var10-50)*2,3,1),Linethick2,colorffbb33;Var11:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);波浪线:SMA((Var11-50)*2,3,1)+SMA((Var10-50)*2,3,1)/2,COLORSTICK,color888888; Var12:=(Var11-50)*6-2*SMA((Var11-50)*2,3,1);Var13:=FILTER(波浪线>REF(波浪线,1)AND 波浪线<-20,10);Var14:=FILTER(波浪线<REF(波浪线,3)AND 波浪线>REF(波浪线,1)AND 波浪线<-10,7); Var15:=FILTER(波浪线<REF(波浪线,1),10);Var16:=FILTER(波浪线<REF(波浪线,1)AND 波浪线>110,10);Var17:=Var11<REF(Var11,3)AND Var11>REF(Var11,2)AND Var11<30;DRAWICON(FILTER(Var13 OR Var14 OR Var17,5)AND Vara>REF(Vara,1),波浪线,1); DRAWICON(FILTER(CROSS(波浪线,Var12)OR Var15,5)AND Var12>60,波浪线*1.05,2); DRAWTEXT(FILTER(CROSS(100,波浪线)OR Var16,3),110,'顶部'),COLOR00FF00; DRAWTEXT(CROSS(波浪线,地线),地线*0.6,'抄底'),colorred;。

【股票指标公式下载】-【通达信】显示周线A(周天数、周开盘、收盘价)

【股票指标公式下载】-【通达信】显示周线A(周天数、周开盘、收盘价)

【通达信】显示周线A(周天数、周开盘、收盘价)-指标公式源码
A:=WEEKDAY-REF(WEEKDAY,1);
B:=DATETODAY(DATE)-REF(DATETODAY(DATE),1);
周天数:=1+BARSLAST(BARSCOUNT(C)=0 OR A!=B),NODRAW;
本周已交易天数:周天数,NODRAW;
{上面援用日线显示周线的作者,向你问候.向理想致敬}
开盘:=周天数=1;
周距:=周天数<5,周天数>1;
RR:=BACKSET(周天数<REF(周天数,1),2),NODRAW;
周未:=( RR=1 AND 周天数!=1) OR WEEKDAY=5 ,NODRAW;
周开盘:IF(开盘*O,开盘*O,REF(开盘*O,周天数=2)*周距),NODRAW;
周最高:HHV(H,周天数),COLORYELLOW,NODRAW;
周最低:LLV(L,周天数),COLOR00FF00,NODRAW;
收盘价:C,NODRAW;
DRAWKLINE(周最高,周开盘,周最低,收盘价);
STICKLINE(周未 AND 周开盘>C,周开盘,C,2,0),COLORGREEN;
STICKLINE(周未 AND 周开盘<C,周开盘,C,2,0),COLORYELLOW;
STICKLINE(周未 AND 周开盘>C,周最高,周最低,0,0),COLORGREEN; STICKLINE(周未 AND 周开盘<C,周最高,周最低,0,0),COLORYELLOW;
【通达信】显示周线A(周天数、周开盘、收盘价)-指标公式效果图
(文档来源:若水财经社区)。

通达信超短共振主图指标公式

通达信超短共振主图指标公式

通达信超短共振主图指标公式价量:=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);主力活跃力度:=(((价量-LLV(价量,27))/(HHV(价量,27)-LLV(价量,27)))*(4))*(25);快线:=(((价量-LLV(价量,9))/(HHV(价量,9)-LLV(价量,9)))*(4))*(25);{☆精确风险}{【参数定义】}RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K1:=SMA(RSV,10,1);D1:=SMA(K1,5,1);KK:=INTPART(K1);DD:=INTPART(D1);TFXXS:=KK+DD;{//变异kd风险系数}TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点}TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数}乖离系数:=TGLXS,,NODRAW,COLORRED;主线:=EMA(EMA(C,1),5);本:=EMA(HHV(主线,5),1);急:=EMA(HHV(本,21),1);稳:=EMA(HHV(急,21),2);投:=EMA(HHV(稳,21),3);散:=EMA(HHV(投,21),4);集:=EMA(HHV(散,21),5);疯牛马线:EMA(HHV(集,21),6),COLORFF0080,LINETHICK3;日线:=CLOSE;涨幅:=(C-REF(C,1))*100/REF(C,1);涨幅50:=(C-REF(C,50))*100/REF(C,50);B1:=MA(C,1);持币阶段:SMA(SMA(SMA(B1,2,1),2,1),2,1),COLORFF6100,LINETHICK4;主升持股波段:HHV(MA(持币阶段,1),13),COLOR00FFFF,LINETHICK4;牛股出现预警:=WINNER(C/1.10)*100,COLOR00FFFF,NODRAW;主力赢利25持仓:=WINNER(C/1.25)*100,COLORFF00FF,NODRAW;主力筹码:=EMA(WINNER(CLOSE)*70,3);散户筹码:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);散户套牢筹码:=散户筹码/(主力筹码+散户筹码)*100;主升浪波段:=主力筹码/(主力筹码+散户筹码)*100,COLORFF6100,NODRAW;主力主导行情:=EMA(主升浪波段,55),NODRAW,COLORFF00FF;金叉疯牛:=EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA( CLOSE,24))/4,2);界:=MA(CLOSE,27);ER:=V/FINANCE(7)*100;A0:=TMA(ER,(1-ER),1);MAXcyc:=DMA((C+O)/2,ER/TMA(ER,(1-ER),1));T1:=BArslAst(C>MAXCYC*POW(1.1,0.9));T2:=BARSLAST(C<MAXCYC*POW(1.1,-0.9));T3:=crOSS(T1,T2) OR CROSS(T2,T1) OR BARSSINCE(T1+1)=0 OR BARSSINCE(T2+1)=0 OR BARSCOUNT(C)=0;T4:=REF(MAXCYC,BARSLAST(T3));VAR11:=3*SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,5,1)-2*SMA(SMA((C-LLV(L,480))/(HHV(H,480)-LLV(L,480))*100,180,1),15,1);超级主升:=EMA(VAR11,5);主升1:=超级主升-100;D8:=EMA(C,5);D2:=(EMA(C,1)+EMA(C,5)+EMA(C,10)+EMA(C,15)+EMA(C,2 0)+EMA(C,25)+EMA(C,30)+EMA(C,35)+EMA(C,40)+EMA(C,45)+EMA(C,50)+EMA(C,55)+EMA(C,60)+EMA(C,65)+EMA(C,70)+ EMA(C,75)+EMA(C,80)+EMA(C,85)+EMA(C,90)+EMA(C,95)+ EMA(C,100)+EMA(C,105)+EMA(C,110)+EMA(C,115)+EMA(C, 120)+EMA(C,125)+EMA(C,130)+EMA(C,135)+EMA(C,140)+EMA( C,150))/30;dde:=(D8/D2)*100;主升2:=DDE-110;A:=(H+L+2*C)/4;A1:=(A-REF(A,3))/3+A;MA5:=EMA(A1,7);J:=EMA(HHV(A1,20),60),LINETHICK3;CB5:=EMA(COST(80),30),CIRCLEDOT;HMX:=EMA(1.4*EMA(FORCAST(A1,20),40),20),LINETHICK2;金牛线:=(J+CB5+HMX)/3,LINETHICK2;MA20:=MA(C,20);UP:=EMA(EMA(C*1.38,50),50),DOTLINE,COLOR0000FF;白色:=SMA(HIGH,21,2)*1.05;黄色:=SMA(LOW,21,2)*0.95;中线:=(白色+黄色)/2;UP1:=中线+2*STD(中线,20);UP2:=REF(UP1,0);CC:=Abs((2*CLOSE+HIGH+LOW)/4-MA(A1,20))/MA(A1,20);DT:=DMA(CLOSE,CC);通道3:=(1+9/100)*DT;通道4:=(1-7/100)*DT;界限:=(REF((金牛线+UP+EMA(UP1*1.04,40)+通道3)/4,10)+MA(C,20)*1.04)/2;AHC1:=H*vol;AHC24:=EMA((expma(AHC1,180)/EXPMA(VOL,180)+EXPMA (AHC1,360)/EXPMA(VOL,360)+EXPMA(AHC1,720)/EXPMA(VOL,7 20)+EXPMA(AHC1,1440)/EXPMA(VOL,1440))/4,34);C上X:=1.06*AHC24;C下X:=AHC24*0.94;AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA( AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108) +EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);上X:=1.06*AHC22;下X:=AHC22*0.94;AHC23:=EMA((EXPMA(AHC1,5)/EXPMA(VOL,5)+EXPMA(AH C1,10)/EXPMA(VOL,10)+EXPMA(AHC1,20)/EXPMA(VOL,20)+EXP MA(AHC1,40)/EXPMA(VOL,40))/4,34);D上X:=1.06*AHC23;D下X:=AHC23*0.94;T:=(C上X+D上X+上X)/3*1.05;主升3:=(MA5*2/(界限+T)-1)*100;cbx80:=MA(COST(80),20);主升4:=(MA5/CBX80-1)*100;FT:=((HHV(H,42)-LLV(L,42)))/2+LLV(L,42);FT1:=ABS(HHV(H,40)-LLV(L,40)-LLV(L,40))+FT*0.5;主升5:=(FT/FT1-1)*100;P:=EMA(EMA(C*1.14,55),20);主升6:=(MA5/P-1)*100;金k线:=(EMA(HHV(H,60),60)+EMA(FT,453)*1.62)/2;主升7:=(MA5/金K线-1)*100;超牛拉升:=(主升1+主升2+主升3+主升4+主升5+主升6+主升7)/2,LINETHICK2;持股时段:=IF((金叉疯牛>界)AND(散户筹码<主力筹码)AND((主力活跃力度>50)OR(主力活跃力度>REF(主力活跃力度,1))),-40,0),COLORRED,NODRAW;主力最大盈利:=LN(C/T4)/LN(1.1)*10,NODRAW,COLORFF0080;VAR1:=AMOUNT/VOL/100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;疯牛强势分界线:=IF(C>200,C,DMA(VAR2,VOL/CAPITAL))*1.1,COLOR00FFFF,LIN ETHICK0;V1:=(C*2+H+L)/4*10;V2:=EMA(V1,13)-EMA(V1,21);V3:=EMA(V2,5);WY:=2*(V2-V3)*100;角度2:=ATAN((主升持股波段/REF(主升持股波段,1)-1)*100)*57.296;SMA2:=MA(持币阶段,3);IF(持币阶段<REF(持币阶段,1) AND 持币阶段<疯牛马线,持币阶段,DRAWNULL),COLORFF6100,LINETHICK4;IF(持币阶段>REF(持币阶段,1) AND 持币阶段<疯牛马线,持币阶段,DRAWNULL),COLORFF00FF,LINETHICK4;双线合一关注:主升持股波段,COLOR4169E1,LINETHICK4;IF(双线合一关注>REF(双线合一关注,1) AND 主升持股波段>疯牛马线,双线合一关注,DRAWNULL),COLORRED,LINETHICK4;IF(双线合一关注<=REF(双线合一关注,1),双线合一关注,DRAWNULL),COLOR808A87,LINETHICK4;IF(双线合一关注>REF(双线合一关注,1) AND 主升持股波段<=疯牛马线,双线合一关注,DRAWNULL),COLOR1E90FF,LINETHICK2;疯牛:IF((主升浪波段>50)AND(超牛拉升>=REF(超牛拉升,1))AND(双线合一关注>=REF(双线合一关注,1)),双线合一关注,DRAWNULL),COLOR00FFFF,LINETHICK4;FN:疯牛;超牛高:=H=HHV(超牛拉升,10);日振幅:=(H-L)/REF(C,1)*100;振幅15:=HHV(日振幅,15);剔除新股:=BARSCOUNT(CLOSE)>60;涨幅1:=(REF(C,1)-REF(C,2))/REF(C,2)*100;涨幅2:=(REF(C,2)-REF(C,3))/REF(C,3)*100;涨幅20:=(REF(C,1)-REF(C,21))/REF(C,21)*100;涨幅10:=(REF(C,1)-REF(C,11))/REF(C,11)*100;涨幅5:=HHV(CLOSE,5)/LLV(CLOSE,5);振幅:=(C-O)/O*100;跌幅:=(REF(C,1)-C)/REF(C,1)*100;低开阳线:=((O>REF(H,1) AND L>REF(H,1) AND C>O AND (O-REF(C,1))/REF(C,1)*100>1.5));大阳线:=(O-REF(C,1))/REF(C,1)*100>5;连阳1:=COUNT(O>REF(C,1),2)=2;跳空1:=COUNT(O>REF(H,1) AND L>REF(H,1),10);跳空2:=COUNT(O>REF(C,1) AND L>REF(C,1),10) AND L<O;跳空3:=COUNT(O>REF(C,1) AND (O-REF(C,1))/REF(C,1)*100>0.1 AND C>REF(H,1),10);VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=HHV(HIGH,33);VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);主力推升股价:=IF(VAR51<REF(VAR51,1)AND(跌幅<3),18,0),COLORRED,NODRAW;{低开阳线}STICKLINE((REF(C,1)-O)/REF(C,1)*100>2.5 AND (C-O)/O*100>2 AND BARSCOUNT(C)>20,O,C,3,0),COLORYELLOW;DRAWTEXT((REF(C,1)-O)/REF(C,1)*100>2.5 AND (C-O)/O*100>2 AND 涨幅5<30 AND 涨幅10<40 AND 超牛高 AND 超牛拉升>=REF(超牛拉升,1)AND(BARSCOUNT(C)>20),O-1,'老鼠仓'),COLORFF00FF;{快马加鞭}快马加鞭:=FILTER((涨幅>5)AND(涨幅1>5)AND(超牛拉升>=REF(超牛拉升,1)AND(C>疯牛马线)AND(涨幅10<40)AND(超牛拉升>=REF(超牛拉升,1))),3);STICKLINE(快马加鞭>0.1,O,C,3,0),COLORYELLOW;STICKLINE(快马加鞭>0.1,O,C,1.5,0),COLORRED;连续下跌:=COUNT(REF(C,2)>REF(C,1),4)>=2;连续缩量:=COUNT(V<=REF(V,1),4)>=2;{超强洗筹}洗筹1:=IF((REF(涨幅>5,1)AND(REF(涨幅1,1))AND(振幅<2)AND((涨幅<2)AND(跌幅<2)AND(涨幅20<28)AND(主升持股波段=持币阶段))),18,0),COLORYELLOW,NODRAW;洗筹2:=IF((REF(涨幅>2,1)AND(涨幅<2)AND(跌幅<2)AND(主升持股波段>REF(主升持股波段,1))),18,0),COLORYELLOW,NODRAW;超强洗筹:=IF((洗筹1>8)OR(洗筹2>8)OR((连续下跌)AND(连续缩量)AND(LLV(C,1)>REF(C,5))AND(涨幅>1)AND(LLV(C,4)>REF(C,7))),18,0),COLORYELLOW,NODRAW;STICKLINE((洗筹1>8)OR(洗筹2>8)OR((连续下跌)AND(连续缩量)AND(COUNT(持币阶段,10)>=3)AND(LLV(C,1)>REF(C,5))AND(C>O)AND(LLV(C,4)>REF(C,7))),O,C,3,0),COLORFF00FF;STICKLINE((洗筹1>8)OR(洗筹2>8)OR((连续下跌)AND(连续缩量)AND(COUNT(持币阶段,10)>=3)AND(LLV(C,1)>REF(C,5))AND(C>O)AND(LLV(C,4)>REF (C,7))),O,C,1,0),COLORFF0080;{大黑马}STICKLINE(((COUNT(低开阳线,10)=1)AND(连阳1))OR((振幅15<20)AND(跳空3))AND(涨幅>5)AND(涨幅1<5)AND(涨幅20<20)AND(涨幅50<40)AND(主升持股波段=持币阶段)AND(BARSCOUNT(C)>20)AND(主力推升股价>0)AND 超牛拉升>=REF(超牛拉升,1),O,C,3,0),COLORFF00FF;STICKLINE(((COUNT(低开阳线,10)=1)AND(连阳1))OR((振幅15<20)AND(跳空3))AND(涨幅>5)AND(涨幅1<5)AND(涨幅20<20)AND(涨幅50<40)AND(主升持股波段=持币阶段)AND 超牛拉升>=REF(超牛拉升,1)AND(主力推升股价>0)AND(BARSCOUNT(C)>20),O,C,1,0),COLORFF0080;DRAWICON(((COUNT(低开阳线,10)=1)AND(连阳1))OR((振幅15<20)AND(跳空3))AND(涨幅>5)AND(涨幅1<5)AND(涨幅20<20)AND(涨幅50<40)AND(主升持股波段=持币阶段)AND(BARSCOUNT(C)>20)AND(主力推升股价>0)AND(超牛拉升>=REF(超牛拉升,1)),O-1,25);DRAWTEXT(((COUNT(低开阳线,10)=1)AND(连阳1))OR((振幅15<20)AND(跳空3))AND(涨幅>5)AND(涨幅1<5)AND(涨幅20<20)AND(涨幅50<40)AND(主升持股波段=持币阶段)AND(主力推升股价>0)AND 超牛拉升>=REF(超牛拉升,1)AND(BARSCOUNT(C)>20),O-1.8,'大黑马'),COLORRED;DRAWTEXT(REF(涨幅>5,1)AND(REF(涨幅1,1))AND(振幅<2)AND((涨幅<2)AND(跌幅<2)AND(涨幅20<28)AND(主升持股波段=持币阶段)),H+0.3,''),COLORRED;{狂飙主升}XA_2:=5;XA_3:=3;XA_4:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;XA_5:=IF(YEAR>=2025,0,1);XA_6:=EMA(EMA(LOW,21)+6.8*STD(LOW,2),55);XA_7:=EMA(CLOSE/XA_6*(1.88*CLOSE+LOW+OPEN)/2.75,3);XA_8:=(XA_7-XA_6)/XA_6/2;XA_9:=EMA(XA_7-XA_8*XA_7,5)*XA_5;XA_10:=EMA(CLOSE,34)-3*STD(CLOSE,34);主升浪:=IF(XA_4>XA_9,XA_4,XA_9)*XA_5,COLORGREEN,LINETHICK2;狂飙主升浪:=IF(主升浪>REF(主升浪,1),主升浪,主升浪),COLORRED,LINETHICK2;下轨:=IF(XA_9<XA_4 AND XA_9<CLOSE*0.15,EMA(CLOSE,34)-3*STD(CLOSE,34),XA_9),COLORFF0080,LINETHICK2;XA_1:=涨幅>0.5 AND CROSS(CLOSE,狂飙主升浪);STICKLINE(XA_1,CLOSE,OPEN,3,0),COLORYELLOW;STICKLINE(XA_1,OPEN+(CLOSE-OPEN)/2,OPEN,3,0),COLORFF00FF;IF(XA_9>XA_4,DRAWNULL,DRAWNULL),COLORGREEN,LINE THICK0;角度:=ATAN((狂飙主升浪/REF(狂飙主升浪,1)-1)*100)*180/3.1416;角度选股:=(BARSLASTCOUNT(狂飙主升浪>下轨)=1 AND MA(CLOSE,21)>REF(MA(CLOSE,21),1) AND 剔除新股);DRAWICON(角度选股,MIN(下轨,狂飙主升浪)*0.96,25);DRAWTEXT(角度选股,LOW,71),COLORYELLOW;{超强主升浪}STICKLINE((狂飙主升浪>下轨AND 日线>狂飙主升浪AND 角度>45)AND 涨幅>0,OPEN,CLOSE,3,0),COLORRED;STICKLINE((狂飙主升浪>下轨AND 日线>狂飙主升浪AND 角度>45),OPEN,OPEN+(CLOSE-OPEN)/3,3,0),COLORYELLOW;{次日涨停开口重仓}STICKLINE((XA_1 AND REF(涨幅,1)>7 AND CROSS(REF(日线,1),狂飙主升浪) AND 涨幅>7),CLOSE,OPEN,3,0),COLORYELLOW;STICKLINE((XA_1 AND REF(涨幅,1)>7 AND CROSS(REF(日线,1),狂飙主升浪) AND 涨幅>7),OPEN+(CLOSE-OPEN)/3,OPEN+(CLOSE-OPEN)/3*2,3,0),COLORGREEN;{清仓离场}STICKLINE((CLOSE<狂飙主升浪AND 涨幅50>30 AND CLOSE<OPEN),CLOSE,OPEN,3,0),COLORGREEN;{强势调整1}STICKLINE((狂飙主升浪>下轨)AND (日线>狂飙主升浪)AND(涨幅<5)AND(OPEN>REF(CLOSE,1)OR(OPEN<(REF(CLOSE,1)-REF(OPEN,1))/2))AND(HIGH>CLOSE),CLOSE,OPEN,3,0),COLORBL UE;STICKLINE((狂飙主升浪>下轨)AND (日线>狂飙主升浪)AND(涨幅<5)AND(OPEN>REF(CLOSE,1)OR(OPEN<(REF(CLOSE,1)-REF(OPEN,1))/2))AND(HIGH>CLOSE),OPEN+(CLOSE-OPEN)/3,OPEN+(CLOSE-OPEN)/4,3,0),COLORGREEN;{强势调整2}STICKLINE((狂飙主升浪>下轨)AND (日线>狂飙主升浪)AND(涨幅<5)AND(OPEN>REF(CLOSE,1))AND(OPEN>CLOSE)AND(HIGH>C LOSE),CLOSE,OPEN,3,0),COLORGREEN;STICKLINE((狂飙主升浪>下轨)AND (日线>狂飙主升浪)AND(涨幅<5)AND(OPEN>REF(CLOSE,1))AND(OPEN>CLOSE)AND(HIGH>C LOSE),OPEN,OPEN+(CLOSE-OPEN)/3,3,0),COLORFF0080;STICKLINE((狂飙主升浪>下轨AND 日线>狂飙主升浪AND 角度>45)AND 涨幅<0,OPEN,CLOSE,3,0),COLORBLUE;{超强突破}STICKLINE((XA_1 AND 涨幅>7 AND CROSS(日线,狂飙主升浪)),CLOSE,OPEN,3,0),COLORYELLOW;STICKLINE((XA_1 AND 涨幅>7 AND CROSS(日线,狂飙主升浪)),OPEN+(CLOSE-OPEN)/3*2,OPEN,3,0),COLORBLUE;STICKLINE((XA_1 AND 涨幅>7 AND CROSS(日线,狂飙主升浪)),OPEN+(CLOSE-OPEN)/3,OPEN,3,0),COLORRED;STICKLINE(XA_1 AND 涨幅>7 AND CROSS(日线,狂飙主升浪),CLOSE*1.1,CLOSE*1.3,0.5,0),COLORRED;DRAWICON(XA_1 AND 涨幅>7 AND CROSS(日线,狂飙主升浪),CLOSE*1.1,12),COLORRED;DRAWTEXT(XA_1 AND 涨幅>7 AND CROSS(日线,狂飙主升浪),CLOSE*1.36,'超强转势'),COLORRED;DRAWTEXT(REF(涨幅>5,1)AND(REF(涨幅1,1))AND(振幅<2)AND((涨幅<2)AND(跌幅<2)AND(涨幅20<28)AND(主升持股波段=持币阶段)),H+1,'超强洗筹'),COLORFF6610;DRAWTEXT(快马加鞭>0.1,O*0.98,'快马加鞭'),COLORFFFF00;{重仓介入}重仓介入:=FILTER((COUNT(角度选股,5)=1 AND 涨幅>0.5 AND 主力赢利25持仓>50 AND 涨幅10<50 AND 乖离系数>=REF(乖离系数,1)),15),COLORFFFF00,LINETHICK2;STICKLINE(重仓介入>0.8,O*0.72,O*0.82,0.5,0),COLORFFFF00,LINETHICK2;STICKLINE(重仓介入>0.8,O*0.72,O*0.79,2,0),COLORFF0080,LINETHICK2;STICKLINE(重仓介入>0.8,O*0.72,O*0.76,4,0),COLORFF00FF,LINETHICK2;DRAWTEXT(重仓介入>0.8,O*0.70,'重仓介入'),COLORYELLOW;。

【股票指标公式下载】-【通达信】好用买卖操盘(买线、卖线、操盘线)

【股票指标公式下载】-【通达信】好用买卖操盘(买线、卖线、操盘线)

【通达信】好用买卖操盘(买线、卖线、操盘线)-指标公式源码MA7:MA(C,7),COLOR0000FF;MA13:MA(C,13),COLOR0096FF;MA21:MA(C,21),COLOR00FF99;MA49:MA(C,49),COLORFF00FF;A:=BARSCOUNT(CLOSE);AH:=HHV(HIGH,200);AL:=LLV(LOW,200);B0:=(AH-AL)/40;B1:=HIGH+B0;B2:=LOW-B0;DRAWTEXT((A+0)/34=FLOOR((A+0)/34),B2-2.2*B0*1.1,'变盘'),COLORRED; DRAWTEXT(IF(CROSS(69,SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOS E-REF(CLOSE,1)),13,1)*100),1,0),HIGH*1.045,'警'),COLORWHITE;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(RSI,11) ,L*0.99,3);VAR28:=SMA(MAX(CLOSE-LC,0),5.5,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 ANDEMA(CLOSE,12)/LOW>1.15,5),LOW,'买'),COLORFF00FF;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100); VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);AA:=SMA(VARF,3,1);SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>SS) AND CROSS(84,RSI),H*1.028,'卖'),LINETHICK7,COLORGREEN;DRAWTEXT(CROSS(84,RSI) AND CROSS(76,VAR28),H*1.01,'出'),LINETHICK7,COLORYELLOW;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,13)*21+C,49);STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,1.2,0),COLORYELLOW;STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,1.2,0),COLORBLUE;V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V2:=EMA(V1,300);V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;操盘线:=SMA(V3,2,1),LINETHICK3;V5:=SMA(操盘线,2,1);DRAWICON(CROSS(操盘线,V5) AND MA7>REF(MA7,1),L*0.987,5); DRAWICON(操盘线<REF(操盘线,1) AND REF(操盘线,1)>REF(操盘线,2) ANDMA21<REF(MA21,1) AND REF(操盘线,1)>40 AND CROSS(V5,操盘线),H*1.01,6); STICKLINE((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>SS) AND CROSS(84,RSI) AND CROSS(76,VAR28),C,O,3,0),COLORGREEN,LINETHICK2;{底位红色}STICKLINE(操盘线>REF(操盘线,1) AND CROSS(操盘线,V5) AND V5<50 AND MA13<REF(MA13,1),C,O,3,0),COLORMAGENTA,LINETHICK2;{底位红色};【通达信】好用买卖操盘(买线、卖线、操盘线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】K-D-J-操盘(注意买、超跌)

【股票指标公式下载】-【通达信】K-D-J-操盘(注意买、超跌)

【通达信】KDJ操盘(注意买、超跌)-指标公式源码{参数:N:5 5 5 P1:1 9999 5 P2:1 9999 10 P3:1 9999 20 P4:1 9999 30 P5:1 9999 60 P6:1 9999 120 P7:1 99999 250}MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:MA(CLOSE,20);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);MA120:MA(CLOSE,120);MA250:MA(CLOSE,250);VAR1:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1) ;VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;VAR5:=REF(C,2)*0.865;VAR6:=REF(C,13)*0.772;DSY:=100*VOL/CAPITAL;注意买:=IF((VAR4<10),80,100) ,COLOR00CCFF,LINETHICK1;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:=IF(J<0,10,0),COLORFFFF00;BDDD:=LLV(J,2)=LLV(J,8);买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);少买:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND BETWEEN(J,20,60),1,0); BDGD:=HHV(J,2)=HHV(J,8) AND J>80;DRAWTEXT(少买 AND 注意买=100,LOW,'☆'),COLORFF00FF;DRAWTEXT(买入 AND 注意买=100 AND 超跌=0,LOW,'买★入'),COLORRED; DRAWTEXT(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),HIGH+0.02{*1.02},'◇'),COLORWHITE;DRAWTEXT(CROSS(100,VAR1),HIGH+0.05,'卖◆出'),COLOR00FFFF; DRAWTEXT(CROSS(VAR1,110) OR CROSS(VAR1,120),HIGH+0.07,'偏※高'),COLOR00FF00;DRAWTEXT(CROSS(VAR1,35) AND 注意买=100,LOW,'☆'),COLORFF00FF; DRAWTEXT((C-MIN(VAR5,VAR6))/C<0.1 AND SUM(DSY,5)/5<1.8,LOW-0.05,'抄底'),COLOR00FF00;【通达信】KDJ操盘(注意买、超跌)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】主力能量(主力、大户、散户、多空趋势、操盘)

【股票指标公式下载】-【通达信】主力能量(主力、大户、散户、多空趋势、操盘)

【通达信】主力能量(主力、大户、散户、多空趋势、操盘)-指标公式源码V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);HY1:=REF(EMA(V1,3),1);主力:=MA(CLOSE,1),COLOR006400;大户:=HY1,COLOR400080;中户:=MA(HY1,17);散户:=MA(HY1,34);多空趋势:=(MA((CLOSE - HY1)*10,2))*0.1;操盘4:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORRED;减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,3,0),COLOR0D06AA;减仓5:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,2,0),COLOR2108C1;减仓6:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORRED;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,6,6.3),'主力'),COLORMAGENTA;反弹3:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,3,0),COLOR00AA00;反弹4:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,2,0),COLOR40FF00;反弹5:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORMAGENTA;寻底2:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,3,0),COLOR1B7411;寻底3:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,2,0),COLOR17A715;寻底4:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLOR40FF00;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,6,6.3),'多空'),NODRAW;均量:=(主力+大户+中户+散户)/4;主力能量:(主力-均量)COLORRED,NODRAW;大户量:(大户-均量)COLORMAGENTA,NODRAW;中户量:(中户-均量)COLORYELLOW,NODRAW;散户量:(散户-均量),NODRAW;操盘A:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),4.5,4.5+多空趋势,2,0),COLOR440044;操盘B:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLORFF00FF;反弹A:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,3,0),COLOR00CC20;反弹B:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,2,0),COLOR08D306;反弹C:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLOR40FF00;减仓:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLOR00CCCC;寻底:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),4.5,4.5+多空趋势,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,4.2,4.8),'机构'),COLORRED;操盘1:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),3,3+主力能量,1,0),COLORRED;减仓1:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),3,3+主力能量,1,0),COLOR00CC20;反弹1:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),3,3+主力能量,1,0),COLOR00CCCC;寻底1:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),3,3+主力能量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,2.7,3.3),'大户'),COLORMAGENTA; 操盘2:STICKLINE(大户量>=0 AND 大户量>=REF(大户量,1),1.5,1.5+大户量,1,0),COLORRED;反弹2:STICKLINE(大户量>=0 AND 大户量< REF(大户量,1),1.5,1.5+大户量,1,0),COLOR00CC20;减仓2:STICKLINE(大户量<0 AND 大户量>=REF(大户量,1),1.5,1.5+大户量,3,0),COLOR00CCCC;寻底0:STICKLINE(大户量<0 AND 大户量< REF(大户量,1),1.5,1.5+大户量,1,0),COLORFF9900;DRAWTEXT(ISLASTBAR=1,IF(中户量>=0,1.2,1.8),'中户'),COLORYELLOW;【通达信】主力能量(主力、大户、散户、多空趋势、操盘)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】[通达信] 加密的通达信布林线(源码、主图、贴图)

【股票指标公式下载】[通达信] 加密的通达信布林线(源码、主图、贴图)

很多朋友在找通达信的布林线指标,今天我将源码公布N:=20;MIDA:=MA(C,N);V ART1:=POW((C-MIDA),2);V ART2:=MA(V ART1,N);V ART3:=SQRT(V ART2);UPPERA:=MIDA+2*V ART3;LOWERA:=MIDA-2*V ART3;BOLL:REF(MIDA,1);UB:REF(UPPERA,1);LB:REF(LOWERA,1);今天还有朋友要sar指标,也叫抛物线指标,网上有,今天也给朋友V AR1:=SAR(10,2,20);S:IF(V AR1>C,V AR1,DRAWNULL),COLORRED,CIRCLEDOT;X:IF(VAR1<C,V AR1,DRAWNULL),COLORGREEN,CIRCLEDOT;B1:=REF(C,1);B2:=REF(C,2);SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));SM:=IF(REF(SS,1)>0 OR REF(SS,1)<0,REF(SS,1),IF(REF(SS,2)>0 OR REF(SS,2)<0,REF(SS,2),IF(REF(SS,3)>0 OR REF(SS,3)<0,REF(SS,3),IF(REF(SS,4)>0 OR REF(SS,4)<0,REF(SS,4),IF(REF(SS,5)>0 OR REF(SS,5)<0,REF(SS,5),IF(REF(SS,6)>0 OR REF(SS,6)<0,REF(SS,6),IF(REF(SS,7)>0 OR REF(SS,7)<0,REF(SS,7),0)))))));MC:IF(REF(SS,1)>0 OR REF(SS,1)<0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLORFF00FF;STICKLINE(SS=1 OR SM>=1 AND SS=0,B1,C,0.8,1),COLORRED;STICKLINE(SS=-1 OR SM<=-1 AND SS=0,B1,C,0.8,0),COLORFF9000;STICKLINE(SS=2,B2,C,0.8,1),COLORRED;STICKLINE(SS=-2,B2,C,0.8,0),COLORFF9000;STICKLINE((SS=-1 OR SS=-2) AND SM>0,B2,B1,0.8,1),COLORRED;STICKLINE((SS=1 OR SS=2) AND SM<0,B2,B1,0.8,0),COLORFF9000;。

【股票指标公式下载】-【通达信】中枢缠绵(黄金线、涨停)

【股票指标公式下载】-【通达信】中枢缠绵(黄金线、涨停)

【通达信】中枢缠绵(黄金线、涨停)-指标公式源码{N1:1,100,10;N2:1,100,10;DISP:=1,3,2};MA5:EMA(C,5),POINTDOT;MA10:MA(C,10),COLORYELLOW,LINETHICK2,POINTDOT;黄金线:(EMA(C,18)),COLORYELLOW;黄金线1:(EMA(C,15)),COLOR0000FF;MA60:MA(C,60),COLORRED,POINTDOT;MA90:MA(CLOSE,90),COLORD89837,POINTDOT;N1:=10;N2:=10;DISP:=2;K:=IF(PERIOD=5,1,{日}IF(PERIOD=6,1,{周}IF(PERIOD=7,1,{月}IF(PERIOD=8,1,{多分钟}IF(PERIOD=9,1,{多日}IF(PERIOD=10,1,{季}IF(PERIOD=11,2,{年}IF(PERIOD=4,1,{60F}IF(PERIOD=3,1,{30F}IF(PERIOD=2,1,{15F}IF(PERIOD=1,1{5F},1{1F})))))))))))/10;P1:=PEAK(1,K*N1,1);P2:=PEAK(1,K*N1,2);WP1:=PEAKBARS(1,K*N1,1);WP2:=PEAKBARS(1,K*N1,2);T1:=TROUGH(2,K*N2,1);T2:=TROUGH(2,K*N2,2);WT1:=TROUGHBARS(2,K*N2,1);WT2:=TROUGHBARS(2,K*N2,2);TJ1:=P1>T1 AND P2>T2 ;ZD:=MAX(T1,T2);ZG:=MIN(P1,P2);LL:=MIN(T1,T2);HH:=MAX(P1,P2);TJ2:=FILTER(ZG>ZD,2);TJ3:=ZG=REF(ZG,BARSLAST(TJ2)) OR ZD=REF(ZD,BARSLAST(TJ2));TJ4:=TJ1&&TJ2&&NOT(TJ3);TJ5:=BETWEEN(ZD,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4) ,1)));TJ6:=BETWEEN(ZG,REF(ZD,REF(BARSLAST(TJ4),1)),REF(ZG,REF(BARSLAST(TJ4) ,1)));TJ7:=ZG>REF(ZG,REF(BARSLAST(TJ4),1))&&ZD<REF(ZD,REF(BARSLAST(TJ4),1)) ;TJ8:=TJ4&&NOT(TJ5 OR TJ6 OR TJ7);ZSD:=IF(TJ8,ZD,DRAWNULL);ZSG:=IF(TJ8,ZG,DRAWNULL);ZSH:=IF(TJ8,HH,DRAWNULL);ZSL:=IF(TJ8,LL,DRAWNULL);STICKLINE(TJ8,ZSH,ZSL,0,-1),COLORMAGENTA;STICKLINE(TJ8,ZSD,ZSG,IF(DISP=1,3,0),1),COLORMAGENTA;DRAWTEXT(DISP=2,ZSH,'中枢'),COLORRED;中枢高:PLOYLINE(DISP=2,REF(ZSD,BARSLAST(TJ8))),CROSSDOT,COLORLIRED;中枢低:PLOYLINE(DISP=2,REF(ZSG,BARSLAST(TJ8))),CROSSDOT,COLORLIGREEN; 中枢最高:PLOYLINE(DISP=2,REF(ZSH,BARSLAST(TJ8))),POINTDOT,COLORRED; 中枢最低:PLOYLINE(DISP=2,REF(ZSL,BARSLAST(TJ8))),POINTDOT,COLORGREEN; 局部低点预选A:=BACKSET(LLV(L,5)<REF(LLV(L,4),1),4);局部低点预选B:=BACKSET(局部低点预选A=0 AND REF(局部低点预选A,1)=1,2); 局部低点预选C:=IF(局部低点预选B=1 AND REF(局部低点预选B,1)=0,-1,0); 局部高点预选A:=BACKSET(HHV(H,5)>REF(HHV(H,4),1),4);局部高点预选B:=BACKSET(局部高点预选A=0 AND REF(局部高点预选A,1)=1,2); 局部高点预选C:=IF(局部高点预选B=1 AND REF(局部高点预选B,1)=0,1,0); 缺口判断:=IF(L>REF(H,1),1,IF(H<REF(L,1),-1,0));距前高天:=BARSLAST(局部高点预选C=1);距前低天:=BARSLAST(局部低点预选C=-1);小值周期:=LOWRANGE(L);大值周期:=TOPRANGE(H);低保留AA:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0);低保留AB:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR LLV(L,距前低天+2)<REF(LLV(L,距前低天+1),1)),-1,0);低保留S:=IF((低保留AA=-1 OR 低保留AB=-1) AND L<REF(H,距前高天+1),-1,0);预判:=IF((距前低天<4 AND HHV(缺口判断,距前低天)!=1) OR REF(低保留S,距前低天)=0,1,0);判断:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND 预判=1 AND 大值周期>REF(小值周期,距前低天+1) AND 大值周期>REF(小值周期,距前低天) AND 大值周期>REF(大值周期,距前高天),1,0);高保留A:=IF(局部高点预选C=1 AND REF(距前低天,1)>REF(距前高天,1) AND HHV(H,距前低天+1)>REF(HHV(H,距前低天+1),1),1,0);高保留B:=IF(局部高点预选C=1 AND REF(距前低天,1)<=REF(距前高天,1) AND REF(低保留S,距前低天)=-1 AND (距前低天>=4 OR HHV(缺口判断,距前低天)=1),1,0);高保留:=IF((高保留A=1 OR 高保留B=1 OR 判断=1) AND H>REF(L,距前低天+1),1,0);预判A:=IF((距前高天<4 AND HHV(缺口判断,距前高天)!=1) OR REF(高保留,距前高天)=0,1,0);判断A:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND 预判A=1 AND 小值周期>REF(大值周期,距前高天+1) AND 小值周期>REF(大值周期,距前高天) AND 小值周期>REF(小值周期,距前低天),-1,0);低保留A:=IF(局部低点预选C=-1 AND REF(距前高天,1)>REF(距前低天,1) AND LLV(L,距前高天+1)<REF(LLV(L,距前高天+1),1),-1,0);低保留B:=IF(局部低点预选C=-1 AND REF(距前高天,1)<=REF(距前低天,1) AND (距前高天>=4 OR LLV(缺口判断,距前高天)=-1 OR 判断A=-1),-1,0);低保留:=IF((低保留A=-1 OR 低保留B=-1) AND L<REF(H,距前高天+1),-1,0); 距前高天A:=BARSLAST(高保留=1);距前低天A:=BARSLAST(低保留=-1);预判X:=IF((距前低天A<4 AND HHV(缺口判断,距前低天A)!=1) OR REF(低保留,距前低天A)=0,1,0);判断X:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND 预判X=1 AND 大值周期>REF(小值周期,距前低天A+1) AND 大值周期>REF(小值周期,距前低天A) AND 大值周期>REF(大值周期,距前高天A),1,0);高保留XA:=IF(局部高点预选C=1 AND REF(距前低天A,1)>REF(距前高天A,1) AND HHV(H,距前低天A+1)>REF(HHV(H,距前低天A+1),1),1,0);高保留XB:=IF(局部高点预选C=1 AND REF(距前低天A,1)<=REF(距前高天A,1) AND REF(低保留,距前低天A)=-1 AND (距前低天A>=4 OR HHV(缺口判断,距前低天A)=1),1,0);高保留X:=IF((高保留XA=1 OR 高保留XB=1 OR 判断X=1) AND H>REF(L,距前低天A+1),1,0);预判XA:=IF((距前高天A<4 AND HHV(缺口判断,距前高天A)!=1) OR REF(高保留XA,距前高天A)=0,1,0);判断XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND 预判XA=1 AND 小值周期>REF(大值周期,距前高天A+1) AND 小值周期>REF(大值周期,距前高天A) AND 小值周期>REF(小值周期,距前低天A),-1,0);低保留XA:=IF(局部低点预选C=-1 AND REF(距前高天A,1)>REF(距前低天A,1) AND LLV(L,距前高天A+1)<REF(LLV(L,距前高天A+1),1),-1,0);低保留XB:=IF(局部低点预选C=-1 AND REF(距前高天A,1)<=REF(距前低天A,1) AND (距前高天A>=4 OR LLV(缺口判断,距前高天A)=-1 OR 判断XA=-1),-1,0); 低保留X:=IF((低保留XA=-1 OR 低保留XB=-1) AND L<REF(H,距前高天A+1),-1,0);距前高天YA:=BARSLAST(高保留X=1);距前低天YA:=BARSLAST(低保留X=-1);预判YX:=IF((距前低天YA<4 AND HHV(缺口判断,距前低天YA)!=1) OR REF(低保留X,距前低天YA)=0,1,0);判断YX:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND 预判YX=1 AND 大值周期>REF(小值周期,距前低天YA+1) AND 大值周期>REF(小值周期,距前低天YA) AND 大值周期>REF(大值周期,距前高天YA),1,0);高保留YXA:=IF(局部高点预选C=1 AND REF(距前低天YA,1)>REF(距前高天YA,1) AND HHV(H,距前低天YA+1)>REF(HHV(H,距前低天YA+1),1),1,0);高保留YXB:=IF(局部高点预选C=1 AND REF(距前低天YA,1)<=REF(距前高天YA,1) AND REF(低保留X,距前低天YA)=-1 AND (距前低天YA>=4 OR HHV(缺口判断,距前低天YA)=1),1,0);高保留YX:=IF((高保留YXA=1 OR 高保留YXB=1 OR 判断YX=1) AND H>REF(L,距前低天YA+1),1,0);预判YXA:=IF((距前高天YA<4 AND HHV(缺口判断,距前高天YA)!=1) OR REF(高保留YXA,距前高天YA)=0,1,0);判断YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND 预判YXA=1 AND 小值周期>REF(大值周期,距前高天YA+1) AND 小值周期>REF(大值周期,距前高天YA) AND 小值周期>REF(小值周期,距前低天YA),-1,0);低保留YXA:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)>REF(距前低天YA,1) AND LLV(L,距前高天YA+1)<REF(LLV(L,距前高天YA+1),1),-1,0);低保留YXB:=IF(局部低点预选C=-1 AND REF(距前高天YA,1)<=REF(距前低天YA,1) AND (距前高天YA>=4 OR LLV(缺口判断,距前高天YA)=-1 OR 判断YXA=-1),-1,0);低保留YX:=IF((低保留YXA=-1 OR 低保留YXB=-1) AND L<REF(H,距前高天YA+1),-1,0);AAAD:=IF(高保留YX=1 AND 低保留YX=-1 AND H>REF(H,REF(距前高天YA,1)+2),1,IF(高保留YX=1 AND 低保留YX=-1 AND L<REF(L,REF(距前低天YA,1)+2),-1,0));极点保留:=IF(AAAD=0,高保留YX+低保留YX,AAAD);局部极点:IF(极点保留=-1,L,IF(极点保留=1,H,DRAWNULL)) CIRCLEDOT COLORYELLOW;DRAWLINE(极点保留=-1,局部极点,极点保留=1,局部极点,0)COLORLIRED; DRAWLINE(极点保留=1,局部极点,极点保留=-1,局部极点,0)COLORYELLOW;DD1:=BARSLAST(ABS(极点保留)!=1);DRAWTEXT(极点保留=1,局部极点,'*'),COLORGREEN;DRAWTEXT(极点保留=-1,局部极点,'*'),COLORRED;倍量:=VOL>=REF(V,1)*1.91 AND C>O;缩量:=REF(V,1)>=VOL*1.91 AND C<O;STICKLINE(倍量,OPEN,CLOSE,2,0),COLORRED;STICKLINE(缩量,OPEN,CLOSE,2,0),COLORGREEN;C2:=REF(C,1);涨停:=IF((C-C2)*100/C2>=(10-0.01*100/C2),1,0);跌停:=IF((C2-C)*100/C2>=(10-0.01*100/C2),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;高:=REFDATE(HHV(H,180),DATE);低:=REFDATE(LLV(L,180),DATE);H1:=高-(高-低)*0.191;H2:=高-(高-低)*0.382,COLORFF6198;H3:=高-(高-低)*0.5,COLORFFFFFF;H4:=高-(高-低)*0.618;H5:=高-(高-低)*0.809;STICKLINE(CURRBARSCOUNT=13,高,高,100,-1),COLORGREEN;STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORCYAN;STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORCCCCCC;DRAWTEXT(CURRBARSCOUNT=1,高,' 高'),COLORGREEN;DRAWTEXT(CURRBARSCOUNT=1,H1,' 809'),COLORCYAN;DRAWTEXT(CURRBARSCOUNT=1,H2,' 618'),COLORFFFFFF;DRAWTEXT(CURRBARSCOUNT=1,H3,' 中'),COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=1,H4,' 382'),COLORLIRED;DRAWTEXT(CURRBARSCOUNT=1,H5,' 191'),COLORMAGENTA;DRAWTEXT(CURRBARSCOUNT=1,低,' 低'),COLORRED;STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;距今:BARSSINCE(C)+1,NODRAW;ZZ:=距今<100;条件:=TESTSKIP(ZZ=0);首日中枢:(REF(H,距今-1)+REF(L,距今-1))/2,NODRAW;首日中枢支撑:(首日中枢/1.5) ,COLORFFAAFF;【通达信】中枢缠绵(黄金线、涨停)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】最加减(加仓、上升、波段底、买价、加码价)

【股票指标公式下载】-【通达信】最加减(加仓、上升、波段底、买价、加码价)

【股票指标公式下载】-【通达信】最加减(加仓、上升、波段底、买价、加码价)【通达信】最加减(加仓、上升、波段底、买价、加码价)-指标公式源码MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60);红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW;绿轨道:=MA(MA(CLOSE,3),3);上升:IF(红轨道>=绿轨道,绿轨道,DRAWNULL),COLORRED,LINETHICK2;AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV (L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1);加仓:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0);波段底:=(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));DRAWICON(加仓,L*0.97,7);DRAWICON(CROSS(波段底,3),L*0.97,1);A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A, 11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A, 18)+REF(A,20))/210;MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);CB:=EMA(X,13);卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) ANDCROSS(MA(DX,2),DX),1,0);DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORWHITE;买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDCROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(买=1,5),LOW-0.03,'买'),COLORRED;RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;BDGD:=HHV(J,2)=HHV(J,8) AND J>80;注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0);DRAWTEXT(注意 AND 卖!=1,HIGH*1.02,'减'),COLORLIBLUE;加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;DRAWTEXT(FILTER((CROSS(加仓A,0) OR CROSS(CLOSE,CB)) AND买!=1,3),LOW-0.03,'加'),COLOR0080FF;MA18:=MA(C,18);跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0);DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW*0.96,'跟'),COLOR7F52AF;买价:=((C-REF(MA5,1))/5+MA5)*1.004;买条件:=CROSS(C,买价) AND 买价>REF(买价,1);醉⽩K买进:IF(买条件,L,H),COLORWHITE,POINTDOT;STICKLINE(买条件,H,L,0,1),COLORWHITE,LINETHICK2;STICKLINE(买条件,O,C,4,1),COLORWHITE,LINETHICK2;加码价:=((C-REF(MA10,1))/20+MA10)*1.004;加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1);醉黄K加码:IF(加码条件,L,H),COLORYELLOW,POINTDOT;STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2;STICKLINE(加码条件,O,C,4,1),COLORYELLOW,LINETHICK2;HH0:=CONST(HHV(H,120))*1;LL0:=CONST(LLV(L,120))*1;MM0:=CONST((HH0+LL0)/2);HH1:=IF(CONST(C)HLMIN:=MIN(HH1,LL1);HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=(HLMAX-HLMIN);HLMN3:=HHV(V,250)/2;HLMN4:=HHV(V,250);VZ:=(V-HLMN3)*HLMN2/HLMN4+HLMN1;STICKLINE(C>=O,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2.5,1),COLORRED; STICKLINE(C (MA(V,5)-HLMN3)*HLMN2/HLMN4+HLMN1,COLORFFFFFF;(MA(V,10)-HLMN3)*HLMN2/HLMN4+HLMN1,COLOR00FFFF;T:=V=LLV(V,20);DRAWICON(T,(V-HLMN3)*HLMN2/HLMN4+HLMN1,1);STICKLINE(C/REF(C,1)>1.099,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORR ED; STICKLINE(C/REF(C,1)<0.901,VZ,(0-HLMN3)*HLMN2/HLMN4+HLMN1,2,0),COLORG REEN;VY:=(0-HLMN3)*HLMN2/HLMN4+HLMN1;STICKLINE(V>=2*REF(V,1),VZ,VY,0.3,0),COLORWHITE;STICKLINE(V>=3*REF(V,1),VZ,VY,0.3,0),COLORYELLOW;MA13:=MA(C,3);UU:=1,V<=LLV(V,13) AND MA13>REF(MA13,1);TJ:=1,REF(V,1)<=LLV(V,13) AND MA13>REF(MA13,1),COLORRED,LINETHICK3; DRAWTEXT(TJ=1,(V-HLMN3)*HLMN2/HLMN4+HLMN1+0.2,'买')COLORMAGENTA;地:(0-HLMN3)*HLMN2/HLMN4+HLMN1-0.7,COLORBLACK;天:CONST(HHV(C,120))*1+0.7,COLORBLACK;BIAS11:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;BIAS12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;BIAS13:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;短跌BIAS:IF(BIAS11<=-6,0.6+地,地),COLORBLACK,LINETHICK2;中跌BIAS:IF(BIAS12<=-10,0.6+地,地),COLORBLUE,LINETHICK2;长跌BIAS:IF(BIAS13<=-16,0.6+地,地),COLORRED,LINETHICK2;短涨BIAS:IF(BIAS11>=6,天,天+0.6),COLORBLACK,LINETHICK2;中涨BIAS:IF(BIAS12>=10,天,天+0.6),COLORBLUE,LINETHICK2;长涨BIAS:IF(BIAS13>=16,天,天+0.6),COLORRED,LINETHICK2;BIAS1:=(C-MA(C,6))/MA(C,6)*100;BIAS2:=(C-MA(C,12))/MA(C,12)*100;BIAS3:=(C-MA(C,24))/MA(C,24)*100;BIAS:=(BIAS1+2*BIAS2+3*BIAS3)/6;乖离:=MA(BIAS,3);DRAWTEXT(CROSS(BIAS,乖离) AND 乖离<-9,(V-HLMN3)*HLMN2/HLMN4+HLMN1+0.2,'底'),COLORRED;【通达信】最加减(加仓、上升、波段底、买价、加码价)-指标公式效果图(⽂档来源:若⽔财经社区)。

【股票指标公式下载】-【通达信】买点共振(量能、趋势、共振点、低金叉进)

【股票指标公式下载】-【通达信】买点共振(量能、趋势、共振点、低金叉进)

【通达信】买点共振(量能、趋势、共振点、低金叉进)-指标公式源码RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW; 趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW; VAR3:=(量能-趋势);VAR44:=SMA(RV,3,1);VAR55:=SMA(VAR44,3,1);STICKLINE(VAR3>0,20,10,5,1),COLOR0000FF;STICKLINE(VAR3<0,100,90,10,1),COLOR00FF00;DRAWICON(CROSS(VAR44,VAR55) AND VAR55<30,2,1);DRAWICON(CROSS(VAR55,VAR44) AND VAR55>30,97,2);DRAWBAND(VAR55,RGB(0,22,224),VAR44,RGB(255,50,50));KK:EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:SMA(KK,3,1),COLOR00FFFF; DRAWTEXT(CROSS(VAR44,VAR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF; 共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));STICKLINE(共振点>0,0,100,2,0),COLOR008888;STICKLINE(共振点>0,0,100,1.5,0),COLOR00AAAA;STICKLINE(共振点>0,0,100,0.8,0),COLOR00DDDD;STICKLINE(共振点>0,0,100,0.3,0),COLOR00FFFF;VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);低金叉进:20,COLORFF00FF,LINETHICK2;高死叉出:90,COLORBLUE,LINETHICK2;VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF,LINETHI CK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHIC K2;条件:=CROSS(C1,C2) AND C1<40;条件0:=CROSS(C2,C1) AND C1>90;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),70,'止'),COLORRED;{DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),60,'跌'),COLORRED;}DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),65,'买'),COLORRED;DRAWTEXT(条件,20,'买'),COLORRED;STICKLINE(条件,0,20,2,0),COLORRED;DRAWTEXT(条件0,85,'卖'),COLORBLUE;DRAWTEXT(CROSS(C1,75),70,'险区'),COLORGREEN;DRAWTEXT(TJ3,65,'安'),COLORRED;DRAWTEXT(TJ3,60,'买'),COLORRED;DRAWTEXT(TJ4,85,'逃顶'),COLORBLUE;STICKLINE(TJ4,100,80,2,0),COLORGREEN;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),COLORDD00DD;STICKLINE(A1,30,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,36,'财神到'),COLORRED;【通达信】买点共振(量能、趋势、共振点、低金叉进)-指标公式效果图(文档来源:若水财经社区)。

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

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

【通达信】超强组合(波段线、金手指)-指标公式源码{波段线}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买点};【通达信】超强组合(波段线、金手指)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】买卖了然(缩头、缩脚、阻力、杀多、诱空)

【股票指标公式下载】-【通达信】买卖了然(缩头、缩脚、阻力、杀多、诱空)

【通达信】买卖了然(缩头、缩脚、阻力、杀多、诱空)-指标公式源码RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1),COLORWHITE;D:=SMA(K,3,1),COLORYELLOW;J:=3*K-2*D,COLORFF00FF;A:=250;DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;MACD:=2*(DIFF-DEA);MM:=IF(MACD< 0,MACD,0);JJ:=MM> REF(MM,1);ZZ:=REF(JJ,1)=1;准备:=(JJ AND ZZ)*DEA;STICKLINE(准备=DEA,1,-1,2,1),COLORFFFF00;JH:=HHV(MAX(K,MAX(D,J)),A);DH:=HHV(MAX(DIFF,DEA),A);SH:=INTPART(JH/DH)/2;DIFF50:=SH*DIFF+50,COLORFFFF00;DEA50:=SH*DEA+50,COLORBLUE;STICKLINE(DIFF50>DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORRED; STICKLINE(DIFF50<DEA50,0,1.5*(DIFF50-DEA50),0,0),COLORFFFF00;红柱:IF(1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50) ,0),STICK,COLORLICYAN;绿柱:IF(1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),1.5*(DIFF50-DEA50),0),STICK,COLORGREEN;缩头:=IF(1.5*(DIFF50-DEA50)>0 ANDREF(1.5*(DIFF50-DEA50),1)>REF(1.5*(DIFF50-DEA50),2) AND1.5*(DIFF50-DEA50)< REF(1.5*(DIFF50-DEA50),1),1,0);缩脚:=IF(1.5*(DIFF50-DEA50)<0 AND REF(1.5*(DIFF50-DEA50),1)<REF(1.5*(DIFF50-DEA50),2) AND1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0);杀多:=IF(1.5*(DIFF50-DEA50)<0 AND REF(1.5*(DIFF50-DEA50),1)>REF(1.5*(DIFF50-DEA50),2) AND1.5*(DIFF50-DEA50)<REF(1.5*(DIFF50-DEA50),1),1,0);诱空:=IF(1.5*(DIFF50-DEA50)>0 AND REF(1.5*(DIFF50-DEA50),1)<REF(1.5*(DIFF50-DEA50),2) AND1.5*(DIFF50-DEA50)>REF(1.5*(DIFF50-DEA50),1),1,0);阻力:=IF(CROSS(C,MA(C,20)) OR CROSS(C,MA(C,60)),1,0);DRAWTEXT(FILTER(杀多,3) AND 杀多,1.5*(DIFF50-DEA50),'杀多'),COLORFF00FF;DRAWTEXT(FILTER(缩头,3) AND 缩头,1.5*(DIFF50-DEA50)+0.2,'卖'),COLORFF00FF;DRAWTEXT(FILTER(诱空,3) AND 诱空,1.5*(DIFF50-DEA50),'洗盘'),COLOR00FF00;DRAWTEXT(FILTER(缩脚,3) AND 缩脚,1.5*(DIFF50-DEA50)-0.2,'买'),COLOR00FF00;DRAWTEXT(FILTER(阻力,16) AND1.5*(DIFF50-DEA50)>=0,1.5*(DIFF50-DEA50)+0.01,'¤阻力'),COLOR00FFFF; VRA:=REF(CLOSE,1);VRB:=SMA(MAX(CLOSE-VRA,0),6,1)/SMA(ABS(CLOSE-VRA),6,1)*100;VRC:=(2*CLOSE+HIGH+LOW)/4;VR0:=LLV(LOW,34);VR1:=HHV(HIGH,34);VR2:=EMA((VRC-VR0)/(VR1-VR0)*100,6);VR3:=EMA(0.667*REF(VR2,1)+0.333*VR2,4);VA1:=(REF(HIGH,1)+REF(LOW,1))/2;VA2:=MA(CLOSE,20)+2*STD(CLOSE,20);VA3:=REF(CLOSE,1);VA4:=SMA(MAX(CLOSE-VA3,0),7,1)/SMA(ABS(CLOSE-VA3),7,1)*100;VA5:=CROSS(79,VA4);VA6:=FILTER(VA5,4);VVD:=MA(CLOSE,80)-MA(CLOSE,10)/3;VA7:=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); X1:=CROSS(VA1,VA2) OR VA6;X2:=CROSS(84,VRB);STICKLINE(X1 ORX2,1.5*(DIFF50-DEA50)*1.05,1.5*(DIFF50-DEA50)*1.08,3,0);Y1:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA2>VA3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);Y2:=IF(CLOSE<VVD AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0);Y3:=CROSS(VA7,10);Y4:=IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VR2>VR3,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);STICKLINE(Y1 OR Y2 OR Y3 ORY4,1.5*(DIFF50-DEA50)*0.90,1.5*(DIFF50-DEA50)*0.99,3,0);DD:=C=HHV(C,180);EE:=DEA< REF(DEA,1) AND REF(DEA< REF(DEA,1),1)=1;CC:=C> REF(C,1) AND REF(C> REF(C,1),1)=1;上升背离:(CC AND EE)*1.5*(DIFF50-DEA50),LINETHICK2,COLORWHITE; 顶背离:(DD AND EE AND DEA<HHV(DEA,180))*3*ABS(DIFF50-DEA50),STICK,LINETHICK3,COLORGREEN; FF:=C=LLV(C,180);GG:= DEA> REF(DEA,1) AND REF(DEA> REF(DEA,1),1)=1;LL:=C< REF(C,1) AND REF(C< REF(C,1),1)=1;下降背离:(LL AND GG)*1.5*(DIFF50-DEA50),LINETHICK2,COLORYELLOW; 底背离:(FF AND GG AND DEA>LLV(DEA,180))*3*(DIFF50-DEA50),STICK,LINETHICK3,COLORRED;【通达信】买卖了然(缩头、缩脚、阻力、杀多、诱空)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】自动画线(高点压力、低点支撑)

【股票指标公式下载】-【通达信】自动画线(高点压力、低点支撑)

【通达信】自动画线(高点压力、低点支撑)-指标公式源码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,LINETHICK2;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLOR0055F F,POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORYELLO W,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) COLORRED,LINETHICK2;ZGSTAR:=(高点压力+低点支撑)/2;ZGEND:=CONST((高点压力+低点支撑)/2);STARDAY:=IF(DDCS2<GDCS2,DDCS2,GDCS2);中轨:DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLASTBAR,ZGEND,1),COLORFF55 BB,LINETHICK2;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,DDCS1-1),1),COLORMAGEN TA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,DDCS2-1),1),COLORCYAN, POINTDOT;【通达信】自动画线(高点压力、低点支撑)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】小散看主图(上升、下降、大胆搏)

【股票指标公式下载】-【通达信】小散看主图(上升、下降、大胆搏)

【通达信】小散看主图(上升、下降、大胆搏)-指标公式源码{N=1,100,3; M1=1,100,20; M2=1,100,20}MID:((1+M1/100)*MA(CLOSE,N)+(1-M2/100)*MA(CLOSE,N))/2,COLORFFFFFF; RSV:=((HHV(HIGH,13)-CLOSE)/(HHV(HIGH,13)-LLV(LOW,13)))*(100);LWR1:=SMA(RSV,3,1);LWR2:=SMA(LWR1,5,1);STICKLINE((LWR1>=LWR2),HIGH,LOW,0.05,0),COLORFFDDC0;STICKLINE((LWR1>=LWR2),OPEN,CLOSE,2,0),COLORGREEN;STICKLINE((LWR1<LWR2),HIGH,LOW,0.05,0),COLOR0000FF;STICKLINE((LWR1<LWR2),OPEN,CLOSE,2,1),COLOR0000FF;VAR1AA:=((2)*(CLOSE)+OPEN+HIGH+LOW)/(5);VAR2AA:=VOL;上升:(SUM((VAR1AA)*(VAR2AA),8))/(SUM(VAR2AA,8)),COLORRED;下降:LLV(上升,8),COLOR00FF00;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.94999998),'大胆搏'),COLOR00FFFF;DRAWTEXT(FILTER((VAR4AA>90),35),(LOW)*(0.99000001),'★'),COLOR00FFFF; A1AA:=9;A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);DRAWTEXT(FILTER((A2AA>-0.5),84),(HIGH)*(1.05),'小心'),COLORFFFFFF; VAR1:=REF(CLOSE,1);VAR2:=MA(CLOSE,5);VAR3:=SMA(MAX(CLOSE-VAR1,0),6,1)/SMA(ABS(CLOSE-VAR1),6,1)*100;VAR4:=SMA(MAX(CLOSE-VAR1,0),12,1)/SMA(ABS(CLOSE-VAR1),12,1)*100;VAR5:=SMA(MAX(CLOSE-VAR1,0),24,1)/SMA(ABS(CLOSE-VAR1),24,1)*100;VAR6:=IF(CROSS(VAR3,VAR5),LOW,REF(LOW,BARSLAST(CROSS(VAR3,VAR5)))); VAR7:=IF(CROSS(VAR5,VAR3),HIGH,REF(HIGH,BARSLAST(CROSS(VAR5,VAR3)))); VAR8:=IF(CLOSE>=MA(CLOSE,20),80,50);VAR9:=IF(CLOSE>=MA(CLOSE,20),50,20);VARA:=IF(VAR3<VAR8 ANDREF(VAR3,1)>=VAR8,HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 ANDREF(VAR3,1)<VAR8)-1),REF(HHV(REF(HIGH,1),BARSLAST(VAR3>=VAR8 AND REF(VAR3,1)<VAR8)-1),BARSLAST(VAR3<VAR8 AND REF(VAR3,1)))); VARB:=IF(HIGH>VARA,LOW,REF(LOW,BARSLAST(HIGH>VARA)));VARC:=IF(HIGH>VARA,VAR3,REF(VAR3,BARSLAST(HIGH>VARA)));VARD:=IF(HIGH>VARB AND VAR3<VARC ANDVAR3<VAR5,HIGH,REF(HIGH,BARSLAST(HIGH>VARB AND VAR3<VARC AND VAR3<VAR5)));VARE:=IF(VAR3>VAR9 ANDREF(VAR3,1)<=VAR9,LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 ANDREF(VAR3,1)>VAR9)-1),REF(LLV(REF(LOW,1),BARSLAST(VAR3<=VAR9 AND REF(VAR3,1)>VAR9)-1),BARSLAST(VAR3>VAR9 AND REF(VAR3,1))));VARF:=IF(LOW<VARE,HIGH,REF(HIGH,BARSLAST(LOW<VARE)));VAR10:=IF(LOW<VARE,VAR3,REF(VAR3,BARSLAST(LOW<VARE)));VAR11:=IF(LOW<VARF AND VAR3>VAR10 ANDVAR3>VAR5,LOW,REF(LOW,BARSLAST(LOW<VARF AND VAR3>VAR10 ANDVAR3>VAR5)));【通达信】小散看主图(上升、下降、大胆搏)-指标公式效果图(文档来源:若水财经社区)。

通达信精准抄底副图指标公式

通达信精准抄底副图指标公式

M:=-15;P:=-20;VAR1:=((LLV(LOW,5) = LLV(LOW,45)) AND (CLOSE >= (OPEN * 1.04)));VAR2:=(CLOSE > ((REF(HIGH,1) + REF(LOW,1)) / 2));VAR3:=REF(CLOSE,1);VAR4:=((SMA(MAX((CLOSE - VAR3),0),6,1) / SMA(ABS((CLOSE - VAR3)),6,1)) * 100);红白出现可追涨:(VAR1 AND VAR2)*80,STICK,COLORFFFFFF;R1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;R2:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;R3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;R4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;R5:=(R2+2*R3+3*R4)/6;R6:=MA(R5,3);VAR1A:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR2A:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR3A:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;VAR4A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5A:=(VAR2A+2*VAR3A+3*VAR4A)/6;VAR6A:=MA(VAR5A,3);绿白出现可以买: STICKLINE(VAR6A<=P,60,0,2,0),COLORGREEN;BIAS := (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*100;ENTERLONG:=CROSS(-14,BIAS);青白出现可以买:STICKLINE(ENTERLONG,0,99,1,0),COLORCYAN;MID := MA(CLOSE,26);LOWER:= MID - 2*STD(CLOSE,26);EN:=CROSS(CLOSE,LOWER);紫白出现可追涨:STICKLINE(EN,0,40,4,0),COLORFF00FF;VAR2W:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));MW:= EMA(VAR2W,3);VAR3W:=EMA(VAR2W,7);M1:= EMA(VAR3W,5);MB1:=CROSS(MW,M1) AND M1<20;黄白出现可追涨:IF((MB1),90,0),STICK,COLORYELLOW;VAD1:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);VAD2:=INDEXC;VAD3:=INDEXC;VAD4:=CLOSE/MA(CLOSE,50)<0.74;VAD5:=(CLOSE/MA(CLOSE,40)<0.78 OR CLOSE/MA(CLOSE,60)<0.74) AND HIGH>LOW*1.049;VAD6:=EMA(WINNER(CLOSE)*70,3);VAD7:=CLOSE/MA(CLOSE,40);VAD8:=MA(VAD2,6);VAD9:=MA(VAD3,6);VAD10:=HIGH>LOW*1.048;VAD11:=MA(CLOSE,27)/CLOSE>1.169 AND MA(CLOSE,17)/CLOSE>1.158 ANDCLOSE/COST(5)<=0.8;VAD12:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);VAD13:=LOW*1.051<HIGH;VAD14:=MA(VAD2,24);VAD15:=MA(VAD3,24);VAD16:=VAD10 AND COUNT(VAD10,4)>2;VAD17:=EMA(CLOSE,30);VAD18:=CLOSE/MA(CLOSE,40)*100<76;VAD19:=VAD13 AND COUNT(VAD13,5)>1;VAD20:=MA(VAD2,32);VAD21:=MA(VAD3,32);VAD22:=VAD16 AND (VAD4 OR VAD4);VAD23:=VAD5 AND VAD11 AND VAD17;VAD24:=CLOSE/MA(CLOSE,60)*100<74;VAD25:=INDEXC;VAD26:=MA(VAD2,62);VAD27:=MA(VAD3,62);VAD28:=DMA(EMA(CLOSE,10),SUM(VOL,5)/3/CAPITAL);VAD29:=HIGH>LOW*1.051;VAD30:=MA(VAD25,5);VAD31:=MA(VAD2,105);VAD32:=MA(VAD3,105);VAD33:=REF(HIGH,10)/CLOSE>1.26;VAD34:=VAD29 AND COUNT(VAD29,5)>1;VAD35:=MA(VAD25,20);VAD36:=VAD26<REF(VAD26,1) AND VAD31<REF(VAD31,1) AND VAD26<VAD31*0.98; VAD37:=VAD27<REF(VAD27,1) AND VAD32<REF(VAD32,1) AND VAD27<VAD32*0.98; VAD38:=CLOSE/VAD28<0.65 AND VAD33;VAD39:=VAD34 AND (VAD18 OR VAD24) AND VAD12<20 AND VAD6<20 AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;VAD40:=(VAD1<6 AND VAD7<0.76 AND VAD19)*70;VAD41:=VAD20>VAD8*1.11 AND VAD14>VAD8*1.095;VAD42:=VAD21>VAD9*1.11 AND VAD15>VAD9*1.095;VAD43:=REF(CLOSE,8);VAD44:=VAD8>VAD2*0.95;VAD45:=VAD9>VAD3*0.95;VAD46:=VOL/CAPITAL;VAD47:=VAD36 AND VAD41 AND VAD44 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)); VAD48:=CLOSE/MA(CLOSE,48)*100<67;VAD49:=(EMA(CLOSE,28)-EMA(CLOSE,13))/EMA(CLOSE,28);VAD50:=CLOSE/MA(CLOSE,50)*100<69;VAD51:=CLOSE/VAD43<0.79 AND MA(VAD46,5)<0.02 AND VAD49>0.06;VAD52:=HIGH>LOW*1.078;VAD53:=VAD22 AND (VAD38 OR VAD51);VAD54:=VAD52 AND COUNT(VAD52,4)>2;VAD55:=VAD54 AND (VAD48 OR VAD50) OR VAD37 AND VAD42 AND VAD45 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));AA:=VAD23 OR VAD39 OR VAD40 OR VAD47 OR VAD53 OR VAD55 OR (CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100<-15 AND (MIN(OPEN,CLOSE)-LOW)/LOW*100>0.1 AND MA((HHV(HIGH,5)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,13))*100,5)<60;STICKLINE(AA,0,99,1,0),COLORCYAN;VAR1B:=INDEXC;VAR2B:=MA(VAR1B,6);VAR3B:=MA(VAR1B,24);VAR4B:=MA(VAR1B,32);VAR5B:=MA(VAR1B,62);VAR6B:=MA(VAR1B,105);VAR7B:=VAR5B<REF(VAR5B,1) AND VAR6B<REF(VAR6B,1) AND VAR5B<VAR6B*0.98; VAR8B:=VAR4B>VAR2B*1.11 AND VAR3B>VAR2B*1.095;VAR9B:=VAR2B>VAR1B*0.95;中:=VAR7B AND VAR8B AND VAR9B AND CLOSE/COST(10)<=1 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));VAR1N:=MA(CLOSE,5);VAR2N:=MA(CLOSE,10);VAR3N:=(VAR1N-CLOSE)/CLOSE>3/100;VAR4N:=(VAR2N-VAR1N)/VAR1N>0.03;VAR5N:=LLV(CLOSE,30)=LLV(CLOSE,120);部:=VAR3N AND VAR4N AND VAR5N;{绿白出现可以买}门:=中=1 AND 部=1 ;STICKLINE(门,60,0,2,0),COLORGREEN;底部:IF(R6<M,20,0),LINETHICK1 , COLORWHITE;。

【股票指标公式下载】-【通达信】绝佳主图(趋势线、能量线)

【股票指标公式下载】-【通达信】绝佳主图(趋势线、能量线)

【股票指标公式下载】-【通达信】绝佳主图(趋势线、能量线)【通达信】绝佳主图(趋势线、能量线)-指标公式源码MMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-R EF((L+H+2*C)/4,1)),5,1)*100,1)+50; G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 - 100));KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);趋势线:=EMA(((KS / 10) + EMA(CLOSE,10)),3);AA:=-100*(趋势线-CLOSE)/趋势线;AC:=(EMA(AA,5) );SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) + CLOSE),55);MM:=MA(MMV,1);STICKLINE(((SSL>MM)),SSL,MM,0.01,0),COLORRED;SA:=(MM*0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));捞钱⼿:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;{IF(SSL能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));上开:=O;上收:=C;上⾼:=H;上低:=L;JJ:=(上开+上⾼+上低)/3;A:=EMA(JJ,4);智能黄⾦线:A,COLORYELLOW,LINETHICK1;B:=REF(A,1);STICKLINE(((SSLVA1:=EMA(上收,8);VA2:=EMA(上收,20);DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'★绝佳') ,LINETHICK2,COLORRED;DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'★卖'); DRAWTEXT(CROSS(VA1,VA2)AND(C>=O)AND 智能黄⾦线>REF(智能黄⾦线,1),VA1*0.97,'★买'),COLOR00FF00;选⼿A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3);箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:=CROSS(选⼿A,箱底A) AND 箱顶A/箱底A>100/100 AND T1;T3:=CROSS(箱顶A,选⼿A) AND 箱顶A/箱底A>100/100;选⼿:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF,LINETHICK2;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00,LINETHICK2;T4:=CROSS(选⼿,箱底) AND 箱顶/箱底>110/100;T5:=CROSS(箱顶,选⼿) AND 箱顶/箱底>110/100;VAR1:=(上收-LLV(上低,27))/(HHV(上⾼,27)-LLV(上低,27))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);{DRAWTEXT(VAR3 >=VAR4 ,箱顶,'--中期好'),COLOR00FFFF;DRAWTEXT(VAR3DRAWTEXT(A>B ,箱底,'--短期好'),COLOR00FFFF;DRAWTEXT(ADRAWTEXT(CROSS(VAR3,VAR4)AND(C>=O)AND VAR3<40 AND UOO>0,LOW*0.96,'★'),COLORF00FF0; STICKLINE(C>=O,C,O,5,0),COLORRED;STICKLINE(C>=O,H,L,0,0),COLORYELLOW;STICKLINE(C<=O,C,O,5,0),COLORGREEN;STICKLINE(C<=O,H,L,0,0),COLORFFFF00;买线:=EMA(C,2);卖线:=EMA(SLOPE(C,21)*20+C,42);DRAWTEXT(CROSS(买线,卖线)AND 箱顶>=REF(箱顶,1),LOW*0.95,'★跟'),COLOR00FFFF;STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,3,0),COLOR00FFFF;【通达信】绝佳主图(趋势线、能量线)-指标公式效果图(⽂档来源:若⽔财经社区)。

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