【股票指标公式下载】-【通达信】主升浪骑马(短波、中线、成本)
通达信黑马主升浪指标公式
通达信黑马主升浪指标公式明涨停价:CLOSE * 1.1,NODRAW;ST涨停价:CLOSE * 1.05,NODRAW;获利1个点:REF(C,1)*1.01,COLORRED,NODRAW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) >2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100);VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17:=1;VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1);VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL);VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35);VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0));VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE <VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE< VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100);VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100);VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND (VAR58<= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0)*VAB3;VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0);开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558)) / 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100);VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3)*VAB3;VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30)*VAB3;VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART)*VAB3;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2;趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ;PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线*VAB3;卖出价参考:VARA12,COLORRED,NODRAW;补仓价参考:VARA13,COLORGREEN,NODRAW;财主抓涨停:(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW;STICKLINE(财主抓涨停,0.1,0,2,0),COLORRED;STICKLINE(财主抓涨停,0.1,1,2,0),COLORBLUE;STICKLINE(财主抓涨停,0.2,1,2,0),COLORRED;STICKLINE(财主抓涨停,0.3,1,2,0),COLORBLUE;STICKLINE(财主抓涨停,0.4,1,2,0),COLORMAGENTA;STICKLINE(财主抓涨停,0.5,1,2,0),COLORBROWN;STICKLINE(财主抓涨停,0.6,1,2,0),COLORMAGENTA;STICKLINE(财主抓涨停,0.7,1,2,0),COLORYELLOW;STICKLINE(财主抓涨停,0.8,1,2,0),COLORLIRED;STICKLINE(财主抓涨停,0.9,1,2,0),COLORYELLOW;。
通达信?波浪矩阵主图指标公式源码
通达信波浪矩阵主图指标公式源码主图用法也比较简单,是对股价做了区域划分,比如有安全区,风险区域等,股价在哪个区域就做哪个区域的动作。
指标源码:N:=120;K:=BARSLAST(CURRBARSCOUNT=N);GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));{高点}DD:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));{低点}KJ:=GD-DD;GD4:=IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL);高区:IF(CURRBARSCOUNT<=N,GD,DRAWNULL),COLORRED,LINET HICK2;低区:IF(CURRBARSCOUNT<=N,DD,DRAWNULL),COLOR00FF00,LIN ETHICK2;平衡:=IF(CURRBARSCOUNT<=N,DD+KJ/2,DRAWNULL),COLOR00F FFF,NODRAW;低:IF(CURRBARSCOUNT<=N/2,DD,DRAWNULL),COLORFFFF 00;高:IF(CURRBARSCOUNT<=N/2,GD,DRAWNULL),COLOR00FF FF;支撑:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.191,DRAWNULL),COLO R00FFFF;强势: IF(CURRBARSCOUNT<=N/2,DD+KJ*0.382,DRAWNULL),COLORFF00FF;突破:IF(CURRBARSCOUNT<=N/2,DD+KJ/2,DRAWNULL),COLOR00 00FF;警示:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.618,DRAWNULL),COLO R00FFFF;压力:IF(CURRBARSCOUNT<=N/2,DD+KJ*0.809,DRAWNULL),COLO R00FF00;低涨:IF(CURRBARSCOUNT<=N/2,(C/LLV(LOW,K)-1)*100,DRAWNULL),COLOR0000FF,NODRAW;天数:BARSLAST(L=DD),COLORCYAN,NODRAW;顶点:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,CROSS DOT;低点:IF(CURRBARSCOUNT<=N/2, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA, CROSSDOT;STICKLINE(CCI>=200 AND H>=顶点,O,C,2,0),COLORBLUE;STICKLINE(CCI<=100 AND L<=低点,O,C,2,0),COLORYELLOW;DRAWBAND(高区,RGB(120,20,0),平衡,RGB(0,0,0));DRAWBAND(平衡,RGB(80,0,100),低区,RGB(0,0,0));DRAWBAND(高,RGB(100,100,0),压力,RGB(0,0,0));DRAWBAND(压力,RGB(0,80,0),警示,RGB(0,0,0));DRAWBAND(警示,RGB(220,120,0),突破,RGB(0,0,0));DRAWBAND(突破,RGB(120,0,120),强势,RGB(0,0,0));DRAWBAND(强势,RGB(120, 0,0),支撑,RGB(0,0,0));DRAWBAND(支撑,RGB(80,80,80),低,RGB(0,0,0));STICKLINE(CURRBARSCOUNT=N,GD,DD,0,0),COLORGREEN;STICKLINE(CURRBARSCOUNT=N/2,GD,DD,0,0),COLOR40808 0;STICKLINE(CURRBARSCOUNT=1,GD,DD,0,0),COLORGREEN;STICKLINE(CURRBARSCOUNT<=N/2,支撑,支撑,2,0),COLORFF00FF;STICKLINE(CURRBARSCOUNT<=N/2,强势,强势,2,0),COLORFF00FF;STICKLINE(CURRBARSCOUNT<=N/2,突破,突破,2,0),COLORABABAB;STICKLINE(CURRBARSCOUNT<=N/2,警示,警示,2,0),COLOR00FFFF;STICKLINE(CURRBARSCOUNT<=N/2,压力,压力,2,0),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=10,压力,'压力-0.809'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=10,警示,'警示-0.618'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=10,突破,'突破-0.500'),COLORFFFFFF;DRAWTEXT(CURRBARSCOUNT=10,强势,'强势-0.382'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=10,支撑,'支撑-0.191'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.09,'【风险区】--高抛避险'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.3,'【警示区】--逢高减仓'),COLOR0000FF;DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.45,'【突破区】--主力拉升'),COLORFFFFFF;DRAWTEXT(CURRBARSCOUNT=N/4+5,GD-KJ*0.55,'【拉升区】--强势畜锐'),COLORFFFF80;DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/3,'【关注区】--逢低买入'),COLOR00FFFF;DRAWTEXT(CURRBARSCOUNT=N/4+5,DD+KJ/10,'【低吸区】--大胆买入'),COLOR00FF00;DRAWTEXT(CURRBARSCOUNT=N/2+40,GD-KJ*0.25,'【拉升区】'),COLORRED;DRAWTEXT(CURRBARSCOUNT=N/2+40,DD+KJ*0.25,'【持股区】'),COLORYELLOW;第一防线:REFDATE(低,DATE),POINTDOT,COLORYELLOW,LINETHICK4;第二防线:REFDATE(支撑,DATE),POINTDOT,COLORWHITE,LINETHICK4;DRAWKLINE(H,O,L,C);AHC1:=CLOSE*VOL;AHC22:=EMA((EXPMA(AHC1,27)/EXPMA(VOL,27)+EXPMA( AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(V OL,316))/4,34);上轨:=1.06*AHC22,COLOR40FF00,LINETHICK1;下轨:=AHC22*0.94;ZT:=REF(C,1)*1.1-C<0.01 AND H=C;启爆:=CROSS(C,上轨) OR CROSS(C,下轨) AND ZT;DRAWTEXT(启爆,L,'启爆'),COLORCYAN;STICKLINE(启爆,C,O,3,1),COLORWHITE;STICKLINE(启爆,C,O,1,0),COLORGREEN;。
通达信只买主升浪指标公式【买点、卖点、庄拉线、黑马线、量价线、涨幅、选股利器、量价先行、庄拉主升浪】
通达信只买主升浪指标公式【买点、卖点、庄拉线、黑马线、量价线、涨幅、选股利器、量价先行、庄拉主升浪】VAR3:=LLV(HIGH,240);VAR4:=((100 * (CLOSE - VAR3)) / VAR3);VAR5:=REF(LLV(CLOSE,480),1);VAR6:=REF(HHV(CLOSE,480),1);VAR7:=((100 * (CLOSE - VAR5)) / (VAR6 - VAR5));VAR8:=(((CLOSE - LLV(CLOSE,981)) / (HHV(CLOSE,981) - LLV(CLOSE,981))) * 100); VAR9:=(((CLOSE - LLV(CLOSE,393)) / (HHV(CLOSE,393) - LLV(CLOSE,393))) * 100); VARA:=(((CLOSE - LLV(LOW,981)) / (HHV(HIGH,981) - LLV(LOW,981))) * 100);VARB:=(((CLOSE - LLV(LOW,393)) / (HHV(HIGH,393) - LLV(LOW,393))) * 100); VARC:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) - LLV(LOW,100))),5) / 4);VARD:=IF((DATE < 1031231),IF((VARC > 23.16),VARC,0),0);VARE:=(VARC < 1);VARF:=VARD;VAR10:=((VAR4 < 0) AND (VAR7 < 0));VAR11:=1;VAR12:=((((HIGH + LOW) + (CLOSE * 2)) / 4) * VAR11);VAR13:=EMA(VAR12,21);VAR14:=STD(VAR12,21);VAR15:=((((((VAR12 - VAR13) / VAR14) * 100) + 200) / 4) * VAR11);VAR16:=(((EMA(VAR15,89) - 25) * 1.56) * VAR11);VAR17:=((EMA(VAR16,5) * 1.22) * VAR11);VAR18:=(EMA(VAR17,3) * VAR11);VAR19:=((3 * VAR17) - ((2 * VAR18) * VAR11));VAR1A:=IF(((CROSS(VAR19,VAR17) AND CROSS(VAR19,VAR18)) AND CROSS(VAR17,VAR18)),1,0);VAR1B:=IF(((CROSS(VAR17,VAR19) AND CROSS(VAR18,VAR19)) AND CROSS(VAR18,VAR17)),1,0);买点:IF((FILTER(((((VAR8 = 0) AND VARE) AND VAR10) AND VAR1A),5) = 1),10,0),COLORRED;卖点:IF((FILTER((((VAR8 = 100) AND VARF) AND VAR1B),5) = 1),10,0),COLORGREEN; VAR1C:=(EMA(((100 * (CLOSE - LLV(LOW,100))) / (HHV(HIGH,100) -LLV(LOW,100))),13) / 4);VAR1D:=(EMA(CLOSE,2) - EMA(CLOSE,89));VAR1E:=EMA(VAR1D,30);VAR1F:=((2 * (VAR1D - VAR1E)) * 10);VAR20:=((POW(VAR1F,3) * 0.1) + POW(VAR1F,2));VAR21:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));VAR22:=EMA((VAR21 * 0.97),3);VAR23:=(((HIGH + LOW) + CLOSE) / 3);VAR24:=((VAR23 - MA(VAR23,14)) / (0.015 * AVEDEV(VAR23,14)));VAR25:=(IF(((YEAR < 2008) AND (VAR1F > 0.015)),VAR20,0) / 45);庄拉线:VAR25,COLORYELLOW;VAR26:=(EMA(CLOSE,2) - EMA(CLOSE,150));VAR27:=EMA(VAR26,100);VAR28:=(2 * (VAR26 - VAR27));VAR29:=((POW(VAR28,3) * 0.1) + POW(VAR28,1));VAR2A:=SQRT(SQRT((((LOW * HIGH) * OPEN) * CLOSE)));VAR2B:=EMA((VAR2A * 0.97),3);VAR2C:=(((HIGH + LOW) + CLOSE) / 3);VAR2D:=((VAR2C - MA(VAR2C,14)) / (0.015 * AVEDEV(VAR2C,14)));黑马线:(IF((VAR28 > 0.1),VAR29,0) * 5),COLORRED;比例:IF((BETWEEN((黑马线/庄拉线),0.9,1.05) AND 黑马线>25),50,0 );量价线:(((CLOSE - MA(CLOSE,21)) / MA(CLOSE,21)) * 100),COLORFFFFFF;VAR2E:=IF((FILTER(((量价线> 0) AND (量价线< 3)),5) = 1),12,0);涨幅前兆:IF((FILTER(((((庄拉线> 0) AND (庄拉线< 0.5)) AND VAR2E) AND (VAR1C < 3)),10) = 1),10,0),COLORFFFFFF;选股利器:IF((FILTER((((((((VAR2E > 0) AND (VAR1C < 2)) AND (庄拉线> 0)) AND (庄拉线< 1)) AND (黑马线> 0)) AND (黑马线< 1.5)) AND (VAR2E > 0)),5) = 1),10,0),COLORFF00FF;DRAWICON((买点> 0),10,1);DRAWICON((卖点> 0),10,2);DRAWICON((涨幅前兆> 0),10,1);DRAWICON((选股利器> 0),10,1);量价先行:(10 * CROSS(量价线,0)),COLORFFFF00;DRAWICON((量价先行> 0),10,11);庄拉主升浪:(30 * ((CROSS(庄拉线,黑马线) AND (黑马线> 0)) AND (量价线> 0))),LINETHICK3,COLORFF00FF;DRAWICON((庄拉主升浪> 0),30,8);。
通达信主升浪狙击100%准确通达信指标公式源码
通达信主升浪狙击100%准确副图源码如下:MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);A1:=IF(C>=MA5,1,-1);A2:=IF(C>=MA10,1,-1);A3:=IF(C>=MA20,1,-1);A4:=IF(MA5>=REF(MA5,1),1,-1);A5:=IF(MA10>=REF(MA10,1),1,-1);A6:=IF(MA20>=REF(MA20,1),1,-1);趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;主升浪:趋势>=50,COLOR0000FF,POINTDOT,NODRAW;↓:趋势<50,COLORFFFFFF,POINTDOT,NODRAW;周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,NODRAW;临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,NODRAW; WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,POINTDOT,NODRAW; {以下设置副图显示方式}DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));AA:=IF(挖坑,趋势,50);DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));STICKLINE(主升浪,周期*0.8,周期*0.95,3,0),COLOR0000FF;STICKLINE(主升浪,周期*1.05,周期*1.2,3,0),COLOR0000FF;STICKLINE(主升浪AND C<REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF; STICKLINE(CROSS(主升浪,0.1),0,100,0,-1),COLOR0000FF;DRAWTEXT(临界,90,'☆'),COLOR00FF00;平:0,COLORFFFFFF;STICKLINE(C>0,50,50,1,0),COLOR000000;%:趋势,COLOR00FF00;{以下设置文字提示部分}DRAWTEXT(CURRBARSCOUNT=60,20,'====★趋势为王.顺势而为!★===='),COLOR0000FF;DRAWTEXT(CURRBARSCOUNT=58,-30,'■只做主升, 挖坑低吸!'),COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=58,-60,'●临界不涨, 逢高离场!'),COLOR00FFFF;。
通达信真正的主升浪主图指标公式
通达信真正的主升浪主图指标公式A:=MAX(MA(C,60),MA(C,120));E:=MAX(MA(C,45),MA(C,90));J:=MAX(MA(C,30),MA(C,60));A1:=DATE <= 13181231;生命线:(MA(C,25)) * A1,LINETHICK2,COLORMAGENTA; 牛线1:(MA(C,40)) * A1,COLORCYAN;FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);趋势:IF(MA(CLOSE,17)<FS,FS,MA(CLOSE,17)),COLORWHI TE,LINETHICK2;年线:=EMA(C,250);LA:=趋势-(EMA(C,3)-趋势);反线:EMA((年线-(EMA(C,3)-年线)),5),LINETHICK2,COLORBLUE;IF(趋势=FS,趋势,趋势),COLORWHITE,LINETHICK3;追涨:EMA(COST(81),10),COLORRED,LINETHICK2;牛熊线:EMA(COST(27),120),DOTLINE;做空68: HHV((HIGH+LOW+OPEN+2*CLOSE)/5*2-L,5),COLORRED,DOTLINE;平衡点:LLV((HIGH+LOW+OPEN+2*CLOSE)/5,3),COLORGRAY,D OTLINE;XG:=CROSS(做空68,牛熊线);DRAWTEXT(XG,L*0.99,'主'),COLOR00FF00; DRAWTEXT(XG,L*0.96,'升'),COLOR00FF00; DRAWTEXT(XG,L*0.93,'浪'),COLOR00FF00;M2:=EMA(C,2);M18:=EMA(C,18);买:=IF(CROSS(M18,M2),5,0*10000),COLORFF00FF,LINETHICK2;RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;VARB2:=(RSVV/2+22)*1;Q:=EMA(VOL,13);Y:=EMA(AMOUNT,13);S:=((Y /Q) / 100);X:=(((CLOSE -S) / S) * 100);F:=((X < (0)) AND ZXNH);XQ:=F AND RSVV<VARB2-2;收阴买:=买 AND XQ ,STICK,COLORYELLOW,LINETHICK3; DRAWTEXT(收阴买,L*0.950,'收'),COLORYELLOW; DRAWTEXT(收阴买,L*0.920,'阴'),COLORYELLOW; DRAWTEXT(收阴买,L*0.890,'买'),COLORYELLOW;。
【炒股必看】通达信抓住主升浪主图指标公式
通达信抓住主升浪主图指标公式A:EMA(C,21)COLORBLUE,LINETHICK3;B:=A<REF(A,1);IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3;AA:=EMA(C,3) > EMA(C,21);BB:=EMA(C,3) < EMA(C,21);CC:= EMA(C,3) > EMA(C,8);CC1:=EMA(C,3) < EMA(C,8);DD:=CLOSE<OPEN;STICKLINE(AA,H,L,0,0),COLOR007FFF;STICKLINE(AA,O,C,3,1),COLOR007FFF;STICKLINE(AA AND DD,O,C,3,0),COLOR007FFF;STICKLINE(BB,H,L,0,0),COLORGREEN;STICKLINE(BB,O,C,3,1),COLORGREEN;STICKLINE(BB AND DD,O,C,3,0),COLORGREEN;STICKLINE(BB AND CC,H,L,0,1),COLORF00FF0;STICKLINE(BB AND CC,O,C,3,1),COLORF00FF0;STICKLINE(BB AND CC AND DD,O,C,3,0),COLORF00FF0; STICKLINE(AA AND CC1,H,L,0,0),COLORBLUE;STICKLINE(AA AND CC1,O,C,3,1),COLORBLUE;STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORBLUE;买线:=MA(CLOSE,9),LINETHICK2;卖线:=MA(CLOSE,20);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(BU,L-0.1,'建仓')COLORYELLOW;DRAWTEXT(SEL,H+0.1,'空仓');A2:=(C-REF(C,1))/REF(C,1)*100<1.02;A3:=H>MA(C,5)*1.12;AAA:= A2 AND A3;DRAWTEXT(AAA,H*1.05,'卖点'),COLORWHITE;EMA13:=EMA(C,13),COLOR0000FF,LINETHICK2;EMA34:=EMA(C,34),COLORYELLOW;EMA55:=EMA(C,55),COLORFF00FF;EMA120:=EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'启动'),COLORYELLOW;STICKLINE(AR6,H,L,3,0),LINETHICK2,COLORYELLOW;BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) OR REF(C,5)<REF(EMA55,5)); BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'上升'),COLOR00C5FF;STICKLINE(BR4 AND FILTER(BR4,10),O,C,3,1),LINETHICK2,COLOR00C5FF;CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);STICKLINE(CR6,O,C,3,1),LINETHICK2,COLORF00FF0;DRAWTEXT(CR6,L-0.09,'涨升'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 AND BETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'出击'),COLORD6BA63;ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'金叉'),COLOR0099FF;FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(FR,L-0.09,'加仓'),COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'了结'),COLOR00FF00;HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.3,'推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF;VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2:=CROSS(VAR1,0.9);VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4:=CROSS(VAR3,0.9);压力:= REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5;STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),2,1), COLOREA91B5,LINETHICK3;支撑:= REF(LOW,BARSLAST(VAR4)), POINTDOT,COLOR00B4FF;STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),2,1), COLOR00B4FF,LINETHICK3;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);ARSV:=SMA(下档线,3,1);AK:=SMA(ARSV,3,1);AD:=((3 * ARSV) - (2 * AK));AJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);ARSV24:=SMA(AJ12,3,1);AK24:=SMA(ARSV24,3,1);AD24:=((3 * ARSV24) - (2 * AK24));撑:=IF(CROSS(AD24,AD),HIGH,REF(HIGH,BARSLAST(CROSS(AD24,AD))));撑压位:=IF(ISLASTBAR ,撑,DRAWNULL);底底:=LLV(HIGH,30);底:=IF(ISLASTBAR ,底底,DRAWNULL);STICKLINE(ISLASTBAR ,撑压位,撑压位,100,1),LINETHICK1,COLORFFFFFF;STICKLINE(ISLASTBAR ,底,底,80,1),COLOR00FF00,LINETHICK1;。
通达信主升浪狙击100%准确通达信指标公式源码
通达信主升浪狙击100%准确副图源码如下:MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);A1:=IF(C>=MA5,1,-1);A2:=IF(C>=MA10,1,-1);A3:=IF(C>=MA20,1,-1);A4:=IF(MA5>=REF(MA5,1),1,-1);A5:=IF(MA10>=REF(MA10,1),1,-1);A6:=IF(MA20>=REF(MA20,1),1,-1);趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;主升浪:趋势>=50,COLOR0000FF,POINTDOT,NODRAW;↓:趋势<50,COLORFFFFFF,POINTDOT,NODRAW;周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,NODRAW;临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,NODRAW; WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,POINTDOT,NODRAW; {以下设置副图显示方式}DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));AA:=IF(挖坑,趋势,50);DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));STICKLINE(主升浪,周期*0.8,周期*0.95,3,0),COLOR0000FF;STICKLINE(主升浪,周期*1.05,周期*1.2,3,0),COLOR0000FF;STICKLINE(主升浪AND C<REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF; STICKLINE(CROSS(主升浪,0.1),0,100,0,-1),COLOR0000FF;DRAWTEXT(临界,90,'☆'),COLOR00FF00;平:0,COLORFFFFFF;STICKLINE(C>0,50,50,1,0),COLOR000000;%:趋势,COLOR00FF00;{以下设置文字提示部分}DRAWTEXT(CURRBARSCOUNT=60,20,'====★趋势为王.顺势而为!★===='),COLOR0000FF;DRAWTEXT(CURRBARSCOUNT=58,-30,'■只做主升, 挖坑低吸!'),COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=58,-60,'●临界不涨, 逢高离场!'),COLOR00FFFF;。
通达信量能主升捕捉黑马主图公式说明源码
通达信量能主升捕捉黑马主图公式说明源码公式原理:一支股票好与不好,成交量是关键,放量了股价也创新高了,这样的股票做中长线百分之百不亏,直到在顶部放巨量了赶紧跑吧,不管后面再如何涨,都是主力在为了出货而拉升股价,关注量爆出现后突破量爆的最高价公式源码:ZT:=REF(C,1)*1.1-C<0.01 AND H=C;STICKLINE( ZT,C,O,2,0),COLORYELLOW;走强线:EMA(COST(99),181),COLORYELLOW,LINETHICK2;巨量平台:REF(H,BARSLAST(V=HHV(VOL,120))),COLORRED,LINETHICK2;XG:= NOT(REF(巨量平台,1)=巨量平台) AND ZT;DRAWTEXT(XG,L,'量爆'),COLORCYAN;主升:=CROSS(C,巨量平台);DRAWTEXT(主升,L,'↖主升'),COLORYELLOW;DRAWTEXT(主升AND ZT,L,'↖超级主升'),COLORRED;通达信电脑版公式导入方法A:源码导入1、把要导入的公式(源码)复制下来:方法是用左键先把源码变蓝,之后点右键,点复制;2、进入主界面,即K线图模式,同时按住CTRL+F,出现公式管理器-->用鼠标左键单击任何一个公式组的名称(选择技术指标公式或者条件选股公式)-->单击其他-->点新建公式-->在出现的公式编辑区的下面的空白处,把刚拷的源码粘贴上,将公式名称复制后粘贴到公式名称栏-->确定-->退出;3.如有参数的,如:N 1 100 15 之类,则需将这类数据填充到参数表中;B:文件指标导入1、先把指标文件复制到桌面(或者你知道的路径);2、打开通达信,按CTRL+F打开公式管理器点击“导入”按钮;3、找到桌面上要导入的公式选中”公式“后单击左键,后点击“打开”;4、把“+”号单击展开,在公式名前的空方框里单击成“勾选”后,在点击下方的“确认”;5、输入指标名称,回车即可。
【股票指标公式下载】-【通达信】抓住主升浪(买线、卖线)
【通达信】抓住主升浪(买线、卖线)-指标公式源码A:EMA(C,21)COLORBLUE,LINETHICK3;B:=A<REF(A,1);IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3;AA:=EMA(C,3) > EMA(C,21);BB:=EMA(C,3) < EMA(C,21);CC:= EMA(C,3) > EMA(C,8);CC1:=EMA(C,3) < EMA(C,8);DD:=CLOSE<OPEN;STICKLINE(AA,H,L,0,0),COLOR007FFF;STICKLINE(AA,O,C,3,1),COLOR007FFF;STICKLINE(AA AND DD,O,C,3,0),COLOR007FFF;STICKLINE(BB,H,L,0,0),COLORGREEN;STICKLINE(BB,O,C,3,1),COLORGREEN;STICKLINE(BB AND DD,O,C,3,0),COLORGREEN;STICKLINE(BB AND CC,H,L,0,1),COLORF00FF0;STICKLINE(BB AND CC,O,C,3,1),COLORF00FF0;STICKLINE(BB AND CC AND DD,O,C,3,0),COLORF00FF0;STICKLINE(AA AND CC1,H,L,0,0),COLORBLUE;STICKLINE(AA AND CC1,O,C,3,1),COLORBLUE;STICKLINE(AA AND CC1 AND DD,O,C,3,0),COLORBLUE;买线:=MA(CLOSE,9),LINETHICK2;卖线:=MA(CLOSE,20);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(BU,L-0.1,'建仓')COLORYELLOW;DRAWTEXT(SEL,H+0.1,'空仓');A2:=(C-REF(C,1))/REF(C,1)*100<1.02;A3:=H>MA(C,5)*1.12;AAA:= A2 AND A3;DRAWTEXT(AAA,H*1.05,'卖点'),COLORWHITE;EMA13:=EMA(C,13),COLOR0000FF,LINETHICK2;EMA34:=EMA(C,34),COLORYELLOW;EMA55:=EMA(C,55),COLORFF00FF;EMA120:=EMA(C,120),COLORFFCC66;AR1:=EMA55>EMA34 AND EMA34>EMA13;AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);AR3:=EMA13>=REF(EMA13,2);AR4:=COUNT(CROSS(C,EMA13),AR2)=1;AR5:=AR1 AND AR2 AND AR3 AND AR4;AR6:=AR5 AND FILTER(AR5,10);DRAWTEXT(AR6,L-0.09,'启动'),COLORYELLOW;STICKLINE(AR6,H,L,3,0),LINETHICK2,COLORYELLOW;BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5) ,5)=5;BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;BR3:=C>EMA55 AND (REF(C,1)<REF(EMA55,1) OR REF(C,2)<REF(EMA55,2) OR REF(C,3)<REF(EMA55,3) OR REF(C,4)<REF(EMA55,4) ORREF(C,5)<REF(EMA55,5));BR4:=BR1 AND BR2 AND BR3;DRAWTEXT(BR4 AND FILTER(BR4,10),L-0.09,'上升'),COLOR00C5FF; STICKLINE(BR4 AND FILTER(BR4,10),O,C,3,1),LINETHICK2,COLOR00C5FF; CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;CR2:=V>MA(V,5)*0.6;CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;CR4:=ABS(EMA34-EMA55)/EMA55<0.03;CR5:=EMA55<=EMA120 AND EMA55>=REF(EMA55,1);CR6:=FILTER(CR1 AND CR2 AND CR3 AND CR4 AND CR5,2);STICKLINE(CR6,O,C,3,1),LINETHICK2,COLORF00FF0;DRAWTEXT(CR6,L-0.09,'涨升'),COLORF00FF0;DR1:=EMA13>EMA34 AND EMA34<EMA55;DR2:=BARSLAST(CROSS(C,EMA55) );DR3:=H=HHV(H,DR2);DR4:=BARSLAST(DR3);DR5:=COUNT(O>C AND C<REF(C,1) AND C>EMA55 ANDBETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;DR6:=C>REF(C,1) ;DR7:= DR1 AND DR5 AND DR6 ;DR8:=DR7 AND FILTER(DR7 ,10);DRAWTEXT(DR8,L-0.09,'出击'),COLORD6BA63;ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1)) AND CROSS(EMA34,EMA55); DRAWTEXT(ER,L-0.09,'金叉'),COLOR0099FF;FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1)) AND CROSS(EMA13,EMA34); DRAWTEXT(FR,L-0.09,'加仓'),COLORWHITE;GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5) );GR2:=EMA13>EMA34 AND EMA34>EMA55 AND EMA13>REF(EMA13,1);GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);GR6:=GR2 AND GR3 AND GR4;GR7:=GR2 AND GR3 AND GR4 AND GR5;DRAWTEXT(GR6 AND GR7,H+0.13,'了结'),COLOR00FF00;HR2:=EMA13>=REF(EMA13,3) AND EMA34>=REF(EMA34,1) AND EMA55>=REF(EMA55,1) AND CROSS(C,EMA13) AND CROSS(C,EMA34) AND CROSS(C,EMA55);DRAWTEXT(HR2 AND FILTER(HR2,10),L-0.3,'推进'),COLORFFC8FF;STICKLINE(HR2 AND FILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF; VAR1:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);VAR2:=CROSS(VAR1,0.9);VAR3:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);VAR4:=CROSS(VAR3,0.9);压力:= REF(HIGH,BARSLAST(VAR2)), POINTDOT,COLOREA91B5;STICKLINE(CLOSE,REF(HIGH,BARSLAST(VAR2)),REF(HIGH,BARSLAST(VAR2)),2,1 ),COLOREA91B5,LINETHICK3;支撑:= REF(LOW,BARSLAST(VAR4)), POINTDOT,COLOR00B4FF;STICKLINE(CLOSE,REF(LOW,BARSLAST(VAR4)),REF(LOW,BARSLAST(VAR4)),2,1), COLOR00B4FF,LINETHICK3;下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); ARSV:=SMA(下档线,3,1);AK:=SMA(ARSV,3,1);AD:=((3 * ARSV) - (2 * AK));AJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); ARSV24:=SMA(AJ12,3,1);AK24:=SMA(ARSV24,3,1);AD24:=((3 * ARSV24) - (2 * AK24));撑:=IF(CROSS(AD24,AD),HIGH,REF(HIGH,BARSLAST(CROSS(AD24,AD)))); 撑压位:=IF(ISLASTBAR ,撑,DRAWNULL);底底:=LLV(HIGH,30);底:=IF(ISLASTBAR ,底底,DRAWNULL);STICKLINE(ISLASTBAR ,撑压位,撑压位,100,1),LINETHICK1,COLORFFFFFF; STICKLINE(ISLASTBAR ,底,底,80,1),COLOR00FF00,LINETHICK1;【通达信】抓住主升浪(买线、卖线)-指标公式效果图(文档来源:若水财经社区)。
通达信主升浪指标公式(低调队长)
通达信主升浪指标公式——低调队长通达信指标公式研发中心主升浪指标是低调队长独创,经过了大量的实战洗礼,六大强势股设计思路,欢迎大家指教!抓小趋势赚小钱,抓大趋势(主升浪)赚大钱,不懂趋势,牛市也亏钱!主升浪个股,是主力“重兵”杀入的个股;主升浪个股,是藐视大盘,跟涨不跟跌的强势股;主升浪个股,是可能随时演绎“超级疯牛”潜质的个股。
主图请选择前复权模式,本指标不含任何未来函数,不漂移,不消失,一个好指标更不会频繁的提示!六大强势功能设计:第一五日线+牛熊均线系统代替了传统均线系统。
传统均线是庄家分析市场散户和技术派多空思维的重要根据!庄家很多时候作图,欺骗散户就是以这市场运用最广泛的传统均线和常用的技术指标为基础,所以导致很多时候,该涨不涨,该突破不突破,反而下跌的原因。
作为散户,我们同样也抛弃传统均线,做股票市场的少数人。
用法:1.牛线(红色)由下往上穿过熊线(绿色),与五日线金叉形成多头走势,买入!2.熊线(绿色)由上往下穿牛线(红色),与五日线死叉形成空头走势,卖出!第二压力线系统。
压力线是通过每天最高价、最低价、收盘价、开盘价的科学计算得出。
用法:1.股价临近压力位,适当结合当前市场热点,如果放量突破压力位,有效,可以适当买入。
2.股价临近压力位,适当结合当前市场热点,如果缩量突破压力位,无效,放弃关注。
3.任何走主升浪的个股都必须突破此压力位。
第三中长线依据——信号“买”和低调生命线买,是根据股价走稳,止跌信号出现,有调头向上的趋势从而得出长线可以买的判断!低调生命线是经过2011年熊市的洗礼,低调队长设计出一根低调止损线。
用法:1.股价在此线下坚决不买,股价在此线之上才考虑。
从而避免了在熊市中跌了死扛带来的巨大亏损!2.该线最神奇的地方是做强势股时,跌到此线立即反弹,跌破此线就将大跌。
第四勇敢的决定——追追,是根据压力位,上涨量能综合给出追的提示,高位是最让散户担心的,有追字提示的时候可以继续做多。
主升浪套装主图指标通达信指标公式源码
MA3:=MA(CLOSE,3);MA5:MA(CLOSE,5),COLORYELLOW;MA7:=MA(CLOSE,7);MA10:=MA(CLOSE,10);MA13:=MA(CLOSE,13);MA20:=MA(CLOSE,20);MA30:=MA(CLOSE,30);MA60:MA(CLOSE,60),COLORRED;MA120:=MA(CLOSE,120);MA250:=MA(CLOSE,250);STICKLINE(C>1.095*REF(C,1),C,O,3.6,0),COLOR007FEE;UPPER:= MA(CLOSE,26)+ 2*STD(CLOSE,26),LINETHICK1,COLORBLUE;V1:=240/FROMOPEN*DYNAINFO(8);D:=MA(C,5);A:=D>=REF(D,1) ;B1:=C>D AND (C-D)/D<=0.08;DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:=(DIF-DEA)*2;MID := MA(CLOSE,26);LOWER:=MID - 2*STD(C,26);MA1:=(V,5);MA2:=(V,60);GX:=DIF>0 AND DEA>0 AND DIF>DEA AND MA5>MA13 AND MA13>MA20 ANDMA20>MA30 AND MA20>REF(MA20,1) AND MA13>REF(MA13,1) AND MA30>REF(MA30,1) AND MA5>REF(MA5,1) AND C> REF(C,1) AND VOL>REF(VOL,1) AND C>MA60 ANDC>MA120 AND C>MA250 AND C>REF(HHV(C,150),1) AND C>UPPER ANDUPPER>REF(UPPER,1) AND CROSS(CLOSE,UPPER);ENTERLONG:=DIF>0 AND DEA>0 AND DIF>DEA AND MA5>MA13 AND WINNER(C)>0.9 AND MA13>MA20 AND MA20>MA30 AND MA20>REF(MA20,1)AND MA13>REF(MA13,1) AND MA30>REF(MA30,1) AND MA5>REF(MA5,1) AND C> REF(C,1) AND VOL>REF(VOL,1) AND C>MA60 AND C>MA120 AND C>MA250 AND C>REF(HHV(C,50),1) AND C>UPPER AND UPPER>REF(UPPER,1) AND CROSS(CLOSE,UPPER) AND COUNT(C>MA(C,5),3)=3 AND LOW<MA(CLOSE,3) AND CLOSE>MA(CLOSE,5) AND MA5>MA20 AND MA5>MA60 AND MA13>MA60 AND V1>MA(V,60) AND V1>MA(V,5);ENTERLONG1:=VOL>MA1 AND VOL>MA2 AND C>MA13 AND C>MA20 AND C>MA30 AND C>MA60 AND C>MA120 AND C>MA250 AND A AND B1 AND DIF=HHV(DIF,30) AND MACD=HHV(MACD,2) AND WINNER(C)>0.9 AND MA5>MA13 AND WINNER(C)>0.9 AND MA13>MA20 AND MA20>MA30 AND MA20>REF(MA20,1) AND MA13>REF(MA13,1) AND MA30>REF(MA30,1) AND MA5>REF(MA5,1) AND C>REF(C,1)AND VOL>REF(VOL,1) AND C>REF(HHV(C,50),1) AND C>UPPER AND UPPER>REF(UPPER,1) ANDCROSS(CLOSE,UPPER);GX11:=GX OR ENTERLONG OR ENTERLONG1;DRAWICON(GX11,L*0.985,25);。
通达信极品波浪主图指标公式
通达信极品波浪主图指标公式N:=13;M:=1;P:=3;P2:=5;P3:=36;P4:=13;P5:=65;A1:=REF(HIGH,3)=HHV(HIGH,2*3+1);B1:=FILTER(A1,3);C1:=BACKSET(B1,3+1);D1:=FILTER(C1,3);{高点}A2:=REF(LOW,3)=LLV(LOW,2*3+1);B2:=FILTER(A2,3);C2:=BACKSET(B2,3+1);D2:=FILTER(C2,3);{低点}E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;E2:=(HIGH+LOW)/2;{高低点出现在同一K线上时可作取舍}H1:=(D1 AND NOT((D2 AND E1>=E2))) OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;L1:=(D2 AND NOT((D1 AND E1<E2)));H2:=D1 AND NOT((D2 AND E1>=E2));X1:=REF(BARSLAST(H1),1)+1;F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));G1:=F1>REF(F1,1);I1:=BACKSET(G1,2);LD:=I1>REF(I1,1);{过滤后低点}L2:=LD OR ISLASTBAR OR BARSCOUNT(CLOSE)=1;X2:=REF(BARSLAST(L2),1)+1;F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));G2:=F2>REF(F2,1);I2:=BACKSET(G2,2);HD:=I2>REF(I2,1);{过滤后高点}DRAWLINE(LD,L,HD,H,0),COLORWHITE,LINETHICK3;DRAWLINE(HD,H,LD,L,0),COLORWHITE,LINETHICK3;J1:=BACKSET(ISLASTBAR ,MIN(BARSLAST(HD),BARSLAST(L D))+1);J2:=J1>REF(J1,1);DRAWLINE(J2,IF(HD,H,L),ISLASTBAR ,IF(BARSLAST(HD)>BAR SLAST(LD),H,L),0),COLORWHITE,LINETHICK2;{以下是两条趋势线原码}UU:=BACKSET(ISLASTBAR ,BARSLAST(LD)+1);VV:=UU>REF(UU,1);WW:=BACKSET(VV,REF(BARSLAST(LD),1)+2);XX:=WW>REF(WW,1);UU2:=BACKSET(ISLASTBAR ,BARSLAST(HD)+1);VV2:=UU2>REF(UU2,1);WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);XX2:=WW2>REF(WW2,1);前一低:REF(L,BARSLAST(VV)),COLOR99FF66,LINETHICK1;前二低:REF(L,BARSLAST(XX)),COLORFF66FF,LINETHICK1;前一高:REF(H,BARSLAST(VV2)),COLOR99FF66,LINETHICK1;前二高:REF(H,BARSLAST(XX2)),COLORFF66FF,LINETHICK1;DRAWLINE(XX,L,VV,L,1),COLORMAGENTA,LINETHICK2;DRAWLINE(XX2,H,VV2,H,1),COLORMAGENTA,LINETHICK2;DRAWTEXT(CURRBARSCOUNT=60,MA(C,120),' 上升五浪,下跌三浪,趋势自画:');DRAWTEXT(CURRBARSCOUNT=60,MA(C,120)*0.90,' 长短均线,阻力支撑,高低自明:');。
主升浪公式通达信指标
主升浪公式通达信指标主升浪公式通达信指标是一个用于股市分析的技术指标,它可以帮助投资者判断股票价格的上升趋势。
这个指标有助于投资者制定买入和卖出的决策,提高投资的准确性和收益率。
主升浪公式通达信指标的计算方法如下:1. 首先,确定股票的最高价和最低价。
最高价是指一段时间内股票的最高交易价格,最低价则是指一段时间内股票的最低交易价格。
2. 然后,计算股票的主升浪。
主升浪是指股票价格上升的一段时间,并且最高价比最低价高出一定比例。
这个比例可以根据投资者的需求和市场情况来确定。
3. 最后,通过主升浪公式计算出主升浪指标。
主升浪指标是股票价格上升的一个衡量指标,它可以帮助投资者判断股票价格的上升趋势。
主升浪指标的计算方法是将主升浪的时间长度与主升浪的幅度相乘,得出一个数值。
主升浪公式通达信指标的应用:1. 主升浪指标可以帮助投资者判断股票价格的上升趋势。
当主升浪指标呈现上升趋势时,说明股票价格有可能继续上涨,投资者可以考虑买入股票。
相反,当主升浪指标呈现下降趋势时,说明股票价格有可能下跌,投资者可以考虑卖出股票。
2. 主升浪指标还可以帮助投资者确定买入和卖出的时机。
当主升浪指标达到一定数值时,投资者可以考虑买入股票;当主升浪指标开始下降时,投资者可以考虑卖出股票。
3. 主升浪指标还可以帮助投资者识别股票价格的波动情况。
当主升浪指标呈现大幅波动时,说明股票价格的波动性较大,投资者可以考虑适当调整投资策略。
需要注意的是,主升浪公式通达信指标只是一个辅助工具,投资者还需要结合其他技术分析指标和基本面分析来进行综合判断。
此外,投资者应该根据自身的风险承受能力和投资目标来制定投资策略,避免盲目跟从指标信号而导致投资损失。
总结起来,主升浪公式通达信指标是一个有助于判断股票价格上升趋势的技术指标。
它可以帮助投资者制定买入和卖出的决策,并且可以识别股票价格的波动情况。
然而,投资者在使用这个指标时还需要结合其他分析工具和个人情况进行综合判断,避免盲目跟从指标信号而导致投资损失。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】主升浪骑马(短波、中线、成本)-指标公式源码M1:EMA(CLOSE,5),COLORYELLOW;M2:EMA(CLOSE,13),COLORWHITE,LINETHICK1;{MA=13日红线} M3:EMA(M2,34),COLORLIMAGENTA,LINETHICK1;{MA=34日绿线} M4:EMA(M2,55),COLORBLUE,LINETHICK1;{MA=55日红线}M5:EMA(CLOSE,114),COLORLIGREEN,LINETHICK2;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>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; 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;STICKLINE(REF(COUNT(C<TYX3,5)=5,1) AND C>TYX3 ANDC>O,C,O,1,0),COLOR00CCFF;DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.99,1);DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),H,2);AZ6:=(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))); B7:=(10);DRAWTEXT(CROSS(AZ6,B7),L,'←底'),COLORYELLOW;VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND(REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));DRAWTEXT((VARC=1),L,'←朝霞'),COLOR0000FF;DRAWTEXT((VARD=1),H,'←跑'),COLOR00FF00;HZ:=EMA(CLOSE,10);短波:=EMA(HZ,1),COLORRED,LINETHICK1;中波:=EMA(HZ,26),COLORFF00FF,LINETHICK1;均线148天:=EMA(C,148),POINTDOT,LINETHICK1,COLORGREEN;成本:=SUM(AMOUNT,0)/SUM(VOL,0)/100,COLORYELLOW ,LINETHICK2 ;HZ2:=EMA(HZ,8),COLORRED,LINETHICK2;HZ4:=EMA(HZ,39),COLORGREEN,LINETHICK2;A2:=STICKLINE(短波>HZ2,短波,HZ2,3,1),COLORYELLOW;A3:=STICKLINE(中波>HZ4,中波,HZ4,3,1),COLORGREEN;买入:=IF(CROSS(短波,HZ2),C,0);DRAWTEXT(买入>0,LOW*0.92,'买入'),COLORYELLOW;{MA60: MA(CLOSE, 60),COLORFF00FF,POINTDOT,LINETHICK1;}VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20 ,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1 ),15,1);VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20 ,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1) ,15,1);VAR11:=VARF<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,LOW*0.83,'大资金'),LINETHICK1,COLORWHITE;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 ANDVAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 ANDVAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 AND VAR1B>60 AND VAR19<100;DRAWTEXT(VAR1C AND COUNT(VAR1C,30)=1,LOW*0.94,'大笔成交') COLORWHITE; X:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120)); DRAWTEXT(X,MA(C,120)-0.07,'牛股'),COLORRED;VAR111:=MA(LOW,1);VAR222:=MA(HIGH,2);VAR333:=MA(CLOSE,2);VAR777:=REF(VAR333,1);VAR888:=SMA(MAX(VAR333-VAR777,0),13,1)/SMA(ABS(VAR333-VAR777),13,1)*1 00;VAR444:=(VAR333-LLV(VAR111,9))/(HHV(VAR222,9)-LLV(VAR111,9))*100; VAR555:=SMA(VAR444,3,1);【阳】:=SMA(VAR555,3,1);Y1:=SMA(【阳】,3,1);VAR666:=(HHV(VAR222,9)-VAR333)/(HHV(VAR222,9)-LLV(VAR111,9))*100; 【阴】:=SMA(VAR666,3,1);Y2:=SMA(【阴】,3,1);VARBBB:=MA(INDEXC,3)*100/MA(INDEXC,10)-100;VAREEE:=IF(VARBBB>10,10,VARBBB);VARFFF:=IF(VAREEE<-10,-10,VAREEE);VAR122:=REF(VARBBB,1);VAR133:=100*(VAR333-REF(VAR333,1))/REF(VAR333,1);VAR144:=INDEXC;VAR155:=REF(VAR144,1);VAR166:=100*(VAR144-VAR155)/VAR144;VAR177:=MA(VAR133,3);VAR188:=MA(VAR166,3);VAR199:=(3*CLOSE+VAR111+OPEN+HIGH)/6;VAR1AA:=(20*VAR199+19*REF(VAR199,1)+18*REF(VAR199,2)+17*REF(VAR199,3) +16*REF(VAR199,4)+15*REF(VAR199,5)+14*REF(VAR199,6)+13*REF(VAR199,7)+ 12*REF(VAR199,8)+11*REF(VAR199,9)+10*REF(VAR199,10)+9*REF(VAR199,11)+ 8*REF(VAR199,12)+7*REF(VAR199,13)+6*REF(VAR199,14)+5*REF(VAR199,15)+4 *REF(VAR199,16)+3*REF(VAR199,17)+2*REF(VAR199,18)+REF(VAR199,20))/210 ;VAR1BB:=MA(VAR1AA,12);VAR1CC:=EMA(VAR1AA,5);VAR1DD:=ABS(VAR1AA-VAR1BB);VAR1EE:=REF(VAR333,1)*0.015;VAR1FF:=REF(INDEXC,1);VAR244:=ZIG(3,10)>REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)<REF(ZIG(3,10),2);VAR255:=ZIG(3,10)<REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);VAR266:=MA(CLOSE,26);VAR277:=VAR266+2*STD(VAR333,26);VAR288:=VAR266-2*STD(VAR333,26);VAR2BB:=IF(VAR244 AND VAR111<VAR288,1,0);VAR2CC:=IF(VAR255*VAR111 AND VAR222>VAR277,2,VAR2BB);VAR2DD:=IF(VAR2CC=1,80,45);VAR2EE:=IF(VAR2CC=2,0,VAR2DD);大户1:=EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);大户:=MA(大户1,2);散户1:=(WINNER(C*1.1)-WINNER(C*0.9))*100;散户:=MA(散户1,12);VAR1:=1;主力1:=(100-VAR1)*VAR1;主力:=MA(主力1,2);游资1:=MA(WINNER(CLOSE*0.95)*100,3)*VAR1*1.1;游资:=MA(游资1,2);主升浪:= (CROSS(大户,主力) AND (MA(C,20)-LLV(MA(C,20),30))/LLV(MA(C,20),30)*100<10AND 主力>50 AND (主力-REF(主力,50)) >20 AND (C-MA(C,20))/MA(C,20)*100 <12 AND散户<70) OR (CROSS(大户,主力) AND (MA(C,20)-LLV(MA(C,20),30))/LLV(MA(C,20),30)*100<10AND 主力>70 AND (主力-REF(主力,50)) >30 AND (C-MA(C,20))/MA(C,20)*100 <20 AND散户<70 ) OR (CROSS(游资,主力) AND 大户>80 AND 散户>80 AND (REF(主力,100)-主力)/主力*100 >80) ;DRAWTEXT(主升浪, LOW*0.95,'主升浪'),COLORYELLOW;大黑马飚升:= CROSS(游资,散户) AND REF(主力,5)>75 AND ((游资-REF(游资,3)) /3>8OR (大户-REF(大户,3)) /3>7)AND (HHV(HIGH,100)-C)/C*100<40; DRAWTEXT(大黑马飚升, LOW*0.94,'黑马飚升'),COLORYELLOW;黑马飚升:= (CROSS(大户,散户) AND REF(主力,5)>75 AND ((游资-REF(游资,3)) /3>6OR (大户-REF(大户,3)) /3>6)AND (HHV(HIGH,50)-C)/C*100<40) OR ( CROSS(游资,散户)AND REF(主力,5)>50 AND ((游资-REF(游资,3)) /3>6 OR(大户-REF(大户,3)) /3>6)AND (HHV(HIGH,50)-C)/C*100<40);长线大黑马:= CROSS(游资,大户) AND 游资>90 AND C>REF(C,20) AND 主力<30; DRAWTEXT(长线大黑马, LOW*0.90,'长线黑马'),COLORRED;MA5:MA(CLOSE,5),POINTDOT,COLOR000000,LINETHICK1;牛熊线:EMA(C,250),CIRCLEDOT,COLOR999999;界:MA(CLOSE,21);风险线:= MA(CLOSE,13),LINETHICK2,COLORGREEN;止损线:= MA(CLOSE,27),LINETHICK0,COLOREE00EE;VARA:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));DRAWTEXT(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.988),'B'),COLORYELLOW,LINETHICK3;DRAWTEXT(CROSS(MA(VAR3,6),VARA),(HIGH * 1.06),'S'),COLOREE00EE,LINETHICK2;DRAWTEXT(CROSS(MA5,界),(LOW * 0.96),'底背离');DRAWTEXT(CROSS(C,止损线)AND 止损线>风险线,(LOW * 0.98),'主升浪'),COLORYELLOW,LINETHICK3;【通达信】主升浪骑马(短波、中线、成本)-指标公式效果图(文档来源:若水财经社区)。