【股票指标公式下载】-【通达信】买卖强弱方向(买卖力道)
通达信精确买卖指标公式
通达信精确买卖指标公式DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26); {选股设JC=10即可}DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);A:=IF(CROSS(0,DEA),1,0);A1:=IF(DIFF<0 AND CROSS(DIFF,DEA),1,0);SS:=IF(A,SUM(A1,0),0);SSB:=HHV(SS,0);SSS:=SUM(A1,0);W底选股:IF(SSS-SSB=2 ANDSSS>REF(SSS,1),-22,0),LINETHICK2,COLORFFFF00;IF(SSS-SSB=2 AND SSS>REF(SSS,1),-12,0),LINETHICK2,COLORFFFF00; DRAWTEXT(A1,-10,'W底'),COLORYELLOW;N:=20;MID:=MA(C,N);VART1:=POW((C-MID),2);VART2:=MA(VART1,N);VART3:=SQRT(VART2);UPPER:=MID+2*VART3;LOWER:=MID-2*VART3;BOLL:=REF(MID,1);UB:=REF(UPPER,1);LB:=REF(LOWER,1);LOWER1:=MID-VART3;LB1:=REF(LOWER1,1);股价线:(C-LB1)/(UB-LB)*100,COLORGREEN, LINETHICK1;趋势线:MA(股价线,6),COLORRED, LINETHICK3;90,COLORGREEN, LINETHICK1;50,COLORWHITE, LINETHICK1;0,COLORWHITE, LINETHICK1;VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1);准备建仓:EMA(IF(L<= LLV(L,30),VARC,0),3),COLORFF00FF,LINETHICK2; VARO5:=LLV(LOW,27);VARO6:=HHV(HIGH,34);VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;建仓区: IF((VARO7<10),80,100) ,COLORFFFF00,LINETHICK3;IF((VARO7<10),85,100) ,COLORBLACK,LINETHICK2;下单: IF(CROSS(3*SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*10 0,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100,5,1),3,1),10),38,0),STICK,COLORYELLOW, LINETHICK4;DRAWTEXT(下单,40,'下单'),COLORGREEN;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;乖离1:=MA(BIAS,3);低买:IF(CROSS(BIAS,乖离1) AND 乖离1<-9,28,0),COLORRED,LINETHICK2;IF(CROSS(BIAS,乖离1) AND 乖离1<-9,18,0),COLORRED,LINETHICK2;STICKLINE(CROSS(BIAS,乖离1) AND 乖离1<-9,-12,0,8,0),COLORYELLOW;DRAWTEXT(低买,33,'低买'),COLORRED;TTR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW -REF(CLOSE,1)))),5);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) /TTR);辅助线:=((DMM * 100) /TTR);动向趋势线:=(MA(((ABS((辅助线 - 神偷线)) / (辅助线 + 神偷线)) * 100),3));ADXR:=((动向趋势线 + REF(动向趋势线,3)) / 2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);准备:(IF(((动向趋势线 > 88) AND (神偷线 <5.8)),68,0)),LINETHICK1,COLORFF00FF;(IF(((动向趋势线 > 88) AND (神偷线 < 5.8)),48,0)),LINETHICK1,COLORFF00FF;DRAWTEXT(准备,60,'准备'),COLORFF00FF;TYP := (HIGH + LOW + CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*500-250;K:=SMA(RSV,3,1);LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*500-250;X:CROSS(CCI,-100) AND K<-100 ;X改成:CROSS(CCI,-100) AND K<-100 AND CROSS(RSI1,-90);MA2:=EMA(C,2);MA5:=EMA(C,5);MA13:=EMA(C,13);MA34:=EMA(C,34);MA55:=EMA(C,55);YCX:=MA5>=REF(MA5,1);H1:=MAX(MAX(MA5,MA13),MA34);L1:=MIN(MIN(MA5,MA13),MA34);一阳穿三线:= H1<C AND O<L1 AND YCX AND MA2>REF(MA2,1);满仓选股:IF(一阳穿三线,88,0),COLORFFFF00,LINETHICK2;IF(一阳穿三线,58,0),COLORFFFF00,LINETHICK2;DRAWTEXT(一阳穿三线,88,'满仓'),COLORYELLOW;VAR2:=0.0001*AMOUNT,;MA1:=0.0001*MA(AMOUNT,5);M2:=0.0001*MA(AMOUNT,10);百日地量:(VAR2,100)=VAR2,STICK,COLORRED,LINETHICK0;DRAWTEXT(百日地量,-12,'地量'),COLORRED;VAR1:=(CLOSE*2+HIGH+LOW)/4;SK:= EMA(VAR1,13)-EMA(VAR1,73);SD:= EMA(SK,2);买点选股:(CROSS(SK,SD) AND SK<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(SK,SD) AND SK<=-0.14 ) OR (CROSS(SK,SD) AND SK<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035));IF(买点选股,28,0),COLORYELLOW,LINETHICK2;IF(买点选股,18,0),COLORYELLOW,LINETHICK2;DRAWTEXT(买点选股,28,'买点'),COLORYELLOW;AA05:=MA(C,5);五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);加速度5:=EMA((速度5-REF(速度5,1)),3);AA10:=MA(C,10);AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;AA30:=MA(C,30);三拾日乖离率:=(C-AA30)/AA30*100;(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) ANDAA30>REF(AA30,1);(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) ANDAA30<REF(AA30,1);BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;强势狙击选股:FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND(C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;青云直上选股:IF(FILTER(MR,10),30,0),COLORGREEN,LINETHICK2;IF(FILTER(MR,10),20,0),COLORGREEN,LINETHICK2;DRAWTEXT(青云直上选股,30,'青云直上'),COLORGREEN;QUANCLOSE:=(DMA(CLOSE,VOL/SUM(VOL,13)))/DMA(CLOSE,VOL/SUM(VOL,1 3))*100<=-28 AND (CLOSE-DMA(CLOSE,VOL/SUM(VOL,34)))/DMA(CLOSE,VOL/SUM(VOL,34))*100<=-19AND C/REF(C,25)<=1.1 AND IF((((HIGH > (LOW * 1.051)) AND (COUNT((HIGH > (LOW * 1.051)),5) > 1)) AND ((((CLOSE / MA(CLOSE,40)) * 100) < 78) OR(((CLOSE / MA(CLOSE,60)) * 100) < 74))),2,0) AND(SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100)<15 AND IF(SMA(( CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)>REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)AND REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),1)<REF(SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1),2)AND SMA((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100,2,1)<23 ,1.5,0) AND FILTER((C/MA(C,48))<0.75 AND (C/MA(C,70))<0.70 AND((C-L)/C>0.02 OR C>REF(C,1)*1.01) AND V<REF(V,1)*2.8 AND(COUNT(C<O*0.93,2)=2 OR COUNT(H/L>1.1,5)>3),3) ;DRAWTEXT(QUANCLOSE,88,'弱市百发百中'),COLORFFFF00;IF(QUANCLOSE,88,0),COLORFFFF00,LINETHICK2;IF(QUANCLOSE,60,0),COLORFFFF00,LINETHICK2;AA:=1;BB:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;CC:=IF(AMOUNT/C/HHV(AMOUNT,9)/HHV(C,9)*100>100,100,AMOUNT/C/HHV(A MOUNT,9)/HHV(C,9)*100);DD:=CC/BB;量异动:IF(AA,DD/REF(DD,1),0);STICKLINE(量异动>=0,0,量异动,8,0);STICKLINE(量异动>=0,0,量异动,4,0);选股:DD/REF(DD,1);CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45)AND CLOSE>SMA(CLOSE,60,5) ANDSMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1)AND SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),2 3,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),23,1),1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;逃顶:CROSS(80,RSI)*88,LINETHICK2 ,COLORGREEN;CROSS(80,RSI)*58,LINETHICK2 ,COLORGREEN;DRAWTEXT(CROSS(80,RSI),88,'逃顶 '),COLORGREEN;CROSS(-100*(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55)),-45)AND CLOSE>SMA(CLOSE,60,5) ANDSMA(CLOSE,23,5)>REF(SMA(CLOSE,23,5),1)AND SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13,1),2 3,1)>REF(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,13, 1),23,1),1)COLORBLUE,LINETHICK2;{W1:=C=HHV(C,20);W2:=BARSLAST(W1);W3:=IF(W2>0,REF(C,W2),REF(C,W2));W4:=CROSS(C,REF(W3,1));W4 AND COUNT(W4,5)=1; };。
【股票指标公式下载】-【通达信】指导买卖(今日阻力、今日支撑、底部位、压力位)
【通达信】指导买卖(今日阻力、今日支撑、底部位、压力位)-指标公式源码GJ:=(C+H+L+O)/4;明日阻力:=L+(GJ-L)+(C-L);明日支撑:=L+(C-GJ);下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100); RRRSV:=SMA(下档线,3,1);KKK:=SMA(RRRSV,3,1);DDDDD:=((3 * RRRSV) - (2 * KKK));JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100); RSV24:=SMA(JJ12,3,1);K24:=SMA(RSV24,3,1);D24:=((3 * RSV24) - (2 * K24));压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COL ORFFFFFF;底部:=LLV(HIGH,30),COLOR00FF00;今日阻力:REF(明日阻力 , 1),NODRAW;今日支撑:REF(明日支撑 , 1),NODRAW;压力位:IF(ISLASTBAR,压力2,DRAWNULL),NODRAW;底部位:IF(ISLASTBAR,底部,DRAWNULL),NODRAW;高:=REF(HHV(H,80),3);低:=REF(LLV(L,80),3);H19:=高-(高-低)*0.191;H38:=高-(高-低)*0.382;H中:=高-(高-低)*0.5;H61:=高-(高-低)*0.618;H80:=高-(高-低)*0.809;顶点:REFDATE(高,DATE),POINTDOT,COLORWHITE;疯牛19.8:REFDATE(H19,DATE),POINTDOT,COLORYELLOW;突破38.2:REFDATE(H38,DATE),POINTDOT,COLORMAGENTA;平衡50:REFDATE(H中,DATE),POINTDOT,COLORRED;回落61.8:REFDATE(H61,DATE),POINTDOT,COLORGREEN;安全80.9:REFDATE(H80,DATE),POINTDOT,COLORBLUE;低点:REFDATE(低,DATE),POINTDOT,COLORWHITE;DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;DRAWTEXT(ISLASTBAR,疯牛19.8,'疯牛'),COLORYELLOW;DRAWTEXT(ISLASTBAR,突破38.2,'突破'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,平衡50,'平衡'),COLORRED;DRAWTEXT(ISLASTBAR,回落61.8,'回落'),COLORMAGENTA;{DRAWTEXT(ISLASTBAR,安全80.9,'安全'),COLORYELLOW;DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE};VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;DRAWICON(VAR19,L*0.98,1);DRAWICON(CROSS(LLV(AMOUNT/V/100,3),L) AND V>REF(V,3) AND C<O,O*1.1,2);MA6:EMA(C,6),COLORWHITE;MA18:EMA(C,18),COLORGREEN;牧:STICKLINE(MA6>MA18 AND MA6>=REF(MA6,1) ANDMA18>REF(MA18,1),MA6,MA18,0.3,0),COLORRED;马:STICKLINE(MA6>MA18 AND MA6<REF(MA6,1) ANDMA18>=REF(MA18,1),MA6,MA18,0.3,0),COLORYELLOW;人:STICKLINE(MA6<MA18 AND MA6<=REF(MA6,1) ANDMA18<REF(MA18,1),MA6,MA18,0.3,0),COLORGREEN;中:STICKLINE(MA6<MA18 AND MA6>REF(MA6,1) ANDMA18<=REF(MA18,1),MA6,MA18,0.3,0),COLORCYAN;长:STICKLINE(MA6>MA18 AND MA6>REF(MA6,1) ANDMA18<=REF(MA18,1),MA6,MA18,0.3,0),COLORMAGENTA;线:STICKLINE(MA6<MA18 AND MA6<REF(MA6,1) ANDMA18>=REF(MA18,1),MA6,MA18,0.3,0),COLORBLUE;买进:=CROSS(MA6,MA18) AND MA18>=REF(MA18,1);DRAWICON(买进,L*0.95,9);DRAWTEXT(CROSS(85,RSI),(HIGH * 1.02),'落袋'),COLORCYAN;【通达信】指导买卖(今日阻力、今日支撑、底部位、压力位)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】BS买卖(波段)
DRAWICON(CROSS(KS,KB),H+0.2,2);
【通达信】BS买卖(波段)-指标公式效果图
下载次数: 0
2010-12-11 11:43
下载(65.59 KB)
2010-12-11 11:41
(文档来源:若水财经社区)
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE);
STICKLINE(LJB>10,L-0.45,L-0.4,-1,1),COLORYELLOW;
平均:=(L+H)/2;
KB:=ZIG(平均,10);
KS:=MA(KB,2);
DRAWICON(CROSS(SELL,BUY),H+0.1,8);
STICKLINE(BUY>SELL AND O>=C,C,O,-1,0),COLORRED;
STICKLINE(BUY>SELL AND O>=C,L,H,0,0),COLORRED;
STICKLINE(BUY<SELL AND O<=C,O,C,-1,1),COLORCYAN;
STICKLINE(BUY<SELL AND O<=C,O,L,0,1),COLORCYAN;
STICKLINE(BUY<SELL AND O<=C,C,H,0,1),COLORCYAN;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
【股票指标公式下载】-【通达信】弘历指标(快线、均衡、强弱)
【通达信】弘历指标(快线、均衡、强弱)-指标公式源码AC:=CLOSE;AH:=HIGH;AL:=LOW;AO:=OPEN;STICKLINE(AC<=AO,AH,AC,1,0),COLORFF8800;STICKLINE(AC<=AO,AH,AC,0,0),COLORFFFF33;STICKLINE(AC<=AO,AO,AL,1,0),COLORFF8800;STICKLINE(AC<=AO,AO,AL,0,0),COLORFFFF33;STICKLINE(AC<=AO,AC,AO,8,0),COLORFF8800;STICKLINE(AC<=AO,AC,AO,7,0),COLORFF9900;STICKLINE(AC<=AO,AC,AO,6,0),COLORFFAA11;STICKLINE(AC<=AO,AC,AO,5,0),COLORFFBB11;STICKLINE(AC<=AO,AC,AO,4,0),COLORFFCC22;STICKLINE(AC<=AO,AC,AO,3,0),COLORFFDD22;STICKLINE(AC<=AO,AC,AO,2,0),COLORFFEE33;STICKLINE(AC<=AO,AC,AO,1,0),COLORFFFF33;STICKLINE(AC>=AO,AH,AC,1,0),COLORFFFF44;STICKLINE(AC>=AO,AH,AC,0,0),COLORCCCC55;STICKLINE(AC>=AO,AO,AL,1,0),COLORFFFF66;STICKLINE(AC>=AO,AO,AL,0,0),COLORCCCC77;STICKLINE(AC>AO,AC,AO,8,0),COLORAAAA88;STICKLINE(AC>AO,AC,AO,7,0),COLOR11BB11;STICKLINE(AC>AO,AC,AO,6,0),COLOR22CC22;STICKLINE(AC>AO,AC,AO,5,0),COLOR33DD33;STICKLINE(AC>AO,AC,AO,4,0),COLOR44EE44;STICKLINE(AC>AO,AC,AO,3,0),COLOR55FF55;STICKLINE(AC>AO,AC,AO,2,0),COLOR66FF66;STICKLINE(AC>AO,AC,AO,1,0),COLOR77FF77;快线:EMA((CLOSE+LOW)/2,8);均衡:EMA(EMA((CLOSE+LOW)/2,20),8);STICKLINE(快线>均衡,快线,均衡,0.1,0),COLORRED;DRAWTEXT(CROSS(快线,均衡),HIGH*1.03,'加仑');STICKLINE(快线<均衡,快线,均衡,0.1,0),COLORWHITE;DRAWTEXT(CROSS(均衡,快线),LOW*0.98,'减仑');强弱:EMA(EMA((LOW+CLOSE+HIGH)/3,25),25),COLORLICYAN,LINETHICK2; 【通达信】弘历指标(快线、均衡、强弱)-指标公式效果图(文档来源:若水财经社区)教你如何用WORD文档(2012-06-27 192246)转载▼标签:杂谈1. 问:WORD 里边怎样设置每页不同的页眉?如何使不同的章节显示的页眉不同?答:分节,每节可以设置不同的页眉。
【股票指标公式下载】-【通达信】价格跌破幅度(卖出、买入、幅度)
【通达信】价格跌破幅度(卖出、买入、幅度)-指标公式源码VAR1:=(C+H+O+L)/4;卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;幅度:100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR1,3);STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2; DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;【通达信】价格跌破幅度(卖出、买入、幅度)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】均价买卖线(买线、卖线、快趋势、均价差、牛熊线)
【通达信】均价买卖线(买线、卖线、快趋势、均价差、牛熊线)-指标公式源码买线:=EMA(C,1);卖线:=EMA(SLOPE(C,13)*13+C,31);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWICON(BU,L-0.1,0);DRAWICON(SEL,H+0.1,0);DRAWTEXT(BU,L*0.99,'变'),COLORWHITE;STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),COLORRED;STICKLINE(买线>=卖线,CLOSE,OPEN,2,1),COLORRED;STICKLINE(买线<卖线,LOW,HIGH,0.0,1),COLORGREEN;STICKLINE(买线<卖线,CLOSE,OPEN,2,1),COLORGREEN;STICKLINE(BU,OPEN,CLOSE,1,0),COLORYELLOW;STICKLINE(SEL,OPEN,CLOSE,2,0),COLORBLUE;快趋势:EMA(CLOSE,3),COLORCYAN;常态:EMA(CLOSE,5),COLORYELLOW,LINETHICK1;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);XX:=MA(CLOSE,9);YY:=MA(CLOSE,20);均价:=(HIGH+4*LOW+OPEN+CLOSE)/7;均价差:= EMA(均价,13) - EMA(均价,34);移动均价:= EMA(均价差,5);差:=(均价差-移动均价)*5;A:=IF(差>=1000 ,1000 ,IF(差<=均价,均价,差) );持股线:FORCAST(FORCAST(A,30),8),COLORFF00FF,LINETHICK2{COLORYELLOW}; 希望门:FORCAST(FORCAST(A,30),69),COLORWHITE{COLORYELLOW};牛熊线:EMA(CLOSE,420),LINETHICK2,COLORRED;DRAWICON (CROSS(常态,希望门), L-0.20,5);DRAWICON (CROSS(希望门,快趋势),H-0.20,6);【通达信】均价买卖线(买线、卖线、快趋势、均价差、牛熊线)-指标公式效果图(文档来源:若水财经社区)。
【股票指标公式下载】-【通达信】买卖简单(趋势、低位线、高位线)
【通达信】买卖简单(趋势、低位线、高位线)-指标公式源码STICKLINE(C>0.1,0,100,4.8,0),COLOR668800;STICKLINE(C>0.1,-5,0,4.8,0),COLORFFB06C;VAR1:=(HHV(HIGH,36)-CLOSE)/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;火:=BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1)),NODRAW;山:=COUNT(EMA(CLOSE,5)>REF(EMA(CLOSE,5),1),5),NODRAW;KL:=IF(山>0,2*火,0);趋势:=KL/2,COLOREE687B,NODRAW;VARL1:=(EMA(C,12)-EMA(C,26))*100+50;VARL2:=EMA(VARL1,9);VARL3:=((HHV(H,21)-C)/(HHV(H,21)-LLV(L,21)))*100-10;VARL4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;VARL5:=SMA(VARL4,13,8);VARL6:=SMA(VARL3,21,8);低位线:=IF((趋势-VARL6<(-70)),0,-5);DRAWBAND(低位线,RGB(00,300,150),-5,RGB(00,300,150));QS:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*S MA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1); 高位线:=IF((QS-VARL6>85),0,-5);DRAWBAND(高位线,RGB(255,20,147),-5,RGB(255,20,147));K1:EMA(VAR2,5),COLORLIBLUE,NODRAW;K2:SMA(VAR2,5,1),COLORYELLOW,NODRAW;K:EMA((K1-K2),2),COLORWHITE,NODRAW;DRAWBAND(85,RGB(100,100,100),85+K,RGB(128,00,00));KK1:=IF(K>12,90,85),COLORCYAN;KK2:=IF(K<-12,80,85),COLORCYAN;DRAWBAND(KK1,RGB(200,200,200),KK2,RGB(200,200,200));DRAWBAND(K1,RGB(400,200,00),K2,RGB(50,300,100));STICKLINE(C>0.1,15,15,1,0),COLORCYAN;STICKLINE(C>0.1,50,50,1,0),COLORCYAN;LC:=REF(CLOSE,1);VAR01:=C-REF(C,1);VAR02:=100*EMA(EMA(VAR01,6),6)/EMA(EMA(ABS(VAR01),6),6);MA5:=EMA(C,5);MA13:=EMA(C,13);UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROS S(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(C ROSS(MA5,MA13))+1),0),COLOR0000FF;DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CR OSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST (CROSS(MA13,MA5))+1),0),COLOR00FF00;BT:=(LLV(VAR02,2)=LLV(VAR02,7) AND COUNT(VAR02<0,2) ANDCROSS(VAR02,MA(VAR02,2))) AND REF(DOWN,1)<REF(DOWN,2) ANDUP>REF(DOWN,1);STICKLINE(BT,85,100,2,0),COLOR000088;STICKLINE(BT,85,100,1,0),COLOR0000CC;STICKLINE(BT,85,100,0.22,0),COLOR0000FF;TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82; STICKLINE(TJ1,85,95,3,0),COLOR880088;STICKLINE(TJ1,85,95,1.5,0),COLORAA00AA;STICKLINE(TJ1,85,95,0.8,0),COLORCC00CC;STICKLINE(TJ1,85,95,0.2,0),COLORFF00FF;HR:=HHV(HIGH,55);HRY:=LLV(LOW,55);HRY11:=HR*HRY;HRY33:=SQRT(HRY11);TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33; STICKLINE(TJ2,85,90,4,0),COLOR008888;STICKLINE(TJ2,85,90,2,0),COLOR00AAAA;STICKLINE(TJ2,85,90,1,0),COLOR00CCCC;STICKLINE(TJ2,85,90,0.2,0),COLOR00FFFF;{HZ_买底1}A8:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6); UP1:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1), LLV(L,BARSLAST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),H=HHV(H,BARSLAST (CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),HHV(H,BARSLAST(CROSS(EMA(CLOSE ,7),EMA(CLOSE,19)))+1),0);DOWN1:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1 ),HHV(H,BARSLAST(CROSS(EMA(CLOSE,7),EMA(CLOSE,19)))+1),L=LLV(L,BARSLA ST(CROSS(EMA(CLOSE,19),EMA(CLOSE,7)))+1),LLV(L,BARSLAST(CROSS(EMA(CLO SE,19),EMA(CLOSE,7)))+1),0);买1:=IF((LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1),DRAWNULL,100); STICKLINE(买1=100,0,5,4,0),COLOR00AAAA;STICKLINE(买1=100,0,5,2.5,0),COLOR00CCCC;STICKLINE(买1=100,0,5,0.5,0),COLOR00FFFF; ;【通达信】买卖简单(趋势、低位线、高位线)-指标公式效果图(文档来源:若水财经社区)。
通达信指标公式源码通达信主买卖盘控盘力度资金副图指标
通达信主买卖盘控盘力度资金副图指标AB1:=VOL*CLOSE;{A} AB2:=SUM(AB1,1)/SUM(VOL,1);{B} AB3:=EMA(AB2,17);{B1}AB4:=(C*2+H+L)/4*10;{V1B} AB5:=EMA(AB4,13)-EMA(AB4,34);{V2B}AB6:=EMA(AB5,5);{V3B} AB7:=2*(AB5-AB6)*5.5;{V4B}AB8:=(INDEXC*2+INDEXH+INDEXL)/4;{V8B} AB9:=EMA(AB8,13)-EMA(AB8,34);{V9B} AB10:=EMA(AB9,3);{VA} AB11:=(AB9-AB10)/2;{VB} 个股资金:=(AB2-AB3)*100/AB2;主力资金:=AB7; 大资金:=AB11; 红点主力进场:IF(个股资金>0 AND 主力资金>0 AND 大资金>0,-10,DRAWNULL),COLORRED,CIRCLEDOT,LINETHICK1;V1:=EMA(EMA(CLOSE,20),20);{V1} 力度:=(V1-REF(V1,1))/REF(V1,1)*1000,COLORFF00FF,LINETHICK2;{控盘力度} 开始控盘:IF(CROSS(力度,0),20,0),LINETHICK2,COLORYELLOW; 【庄控盘】:IF(力度>REF(力度,1) AND 力度>0,8,0),LINETHICK2,COLORRED; 白线主力减仓:IF(力度< REF(力度,1) AND 力度>0,力度,0),LINETHICK2,COLORWHITE; 绿点主力出场:IF(个股资金<=0 AND 主力资金<=0 AND 大资金<=0,-10,DRAWNULL),COLORGREEN,CIRCLEDOT,LINETHICK1; 主力动态:(个股资金+主力资金+大资金),COLORYELLOW,NODRAW; STICKLINE(主力动态>0,0,主力动态,1,0),COLORFF00FF; STICKLINE(主力动态<=0,0,ABS(主力动态),1,0),COLORGREEN; 比例:(主力动态-REF(主力动态,1))/REF(主力动态,1),NODRAW;底部:0,COLORFFCC66,LINETHICK2; 虚:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚,0,-1,-1),COLOR00C0C0;实:VOL,VOLSTICK; 换手:=VOL/CAPITAL*100; 贰换:SUM(V/CAPITAL*100,20),NODRAW,COLORMAGENTA; 动态市盈:=C/FINANCE(33),COLOR16CDEC,LINETHICK0 ;VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK2; 主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*( HIGH-LOW),0-VOL/2)),LINETHICK2; 买卖盘:=-(主动买盘/主动卖盘),NODRAW,COLORYELLOW; 日净入(WS):(主动买盘+主动卖盘)/10000,NODRAW,COLORMAGENTA; STICKLINE(主动买盘>0,0,主动买盘,1,0),COLORRED; STICKLINE(主动卖盘<0,VOL,主动买盘,1,0),COLOR00FF00; STICKLINE(换手>0 ,0, 主动买盘,0,0),COLORYELLOW; STICKLINE(换手>0,VOL, 主动买盘, 0,0) ,COLORRED; AHC2:=(HIGH - LOW); AHC3:=ABS((OPEN - CLOSE));AHC4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN)); AHC5:=(IF((CLOSE >OPEN),OPEN,CLOSE) - LOW); AHC6:=((AHC3 / AHC2) * VOL); AHC7:=((AHC4 / AHC2) * VOL); AHC8:=((AHC5 / AHC2) * VOL); AHCA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100); AHCB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60))); AHCC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30))); AB601:=HHV(V,5); AB602:=O>C; AB702:=C>O;AB703:=C=O; AB704:=((SUM(V,5)/AB601)); AB705:=IF(AB704>0.3,1,0);AB706:=IF(AB602 AND AB705,V,0); AB707:=IF(AB702 AND AB705,V,0); 钱出A:=SUM(AB706,5),COLORGREEN,LINETHICK2; 钱入A:=SUM(AB707,5),COLORRED,LINETHICK2; 钱出:=SUM(AB706,20),COLORGREEN,LINETHICK2; 钱入:=SUM(AB707,20),COLORRED,LINETHICK2; 伍净入(SW):(钱入A-钱出A)/100000,COLORYELLOW,NODRAW; 贰净入:(钱入-钱出)/100000,COLORRED,NODRAW; P5:MA(实,5),COLORMAGENTA,LINETHICK2; P35:MA(实,35),COLORBLUE,LINETHICK2;P135:MA(实,135),COLORWHITE,LINETHICK2; DRAWTEXT(CROSS(P5,P135),(V *1.05),'★'),COLORYELLOW; 0,COLORBROWN;。
通达信机构操盘买卖提示指标公式
通达信机构操盘买卖提示指标公式JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);红色持股:VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:REF(离场,1)COLOR0000FF,NODRAW;青色观望:VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:REF(明进场价,1),COLORFF0000,NODRAW;短买:VAR19,COLOR33AACC,NODRAW;品红离场:VAR1A,COLORFF99FF,NODRAW;急速超跌:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF,NODRAW;辰星线:(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+1 6*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7) +12*REF(YTSL,8)+11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL, 11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YT SL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+REF(YT SL,20))/211,COLOR0000FF;牵牛线:MA(CLOSE,26),COLORFF00FF;等待:=IF(MA3>辰星线,辰星线,MA3);上市日期年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF;日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF;IF(等待>REF(等待,1),等待,DRAWNULL),LINETHICK2,COLOR00FFFF;IF(辰星线>REF(辰星线,1),辰星线,DRAWNULL),LINETHICK2,COLOR0000FF;IF(辰星线<REF(辰星线,1),辰星线,DRAWNULL),COLOR00FF00;IF(牵牛线>REF(牵牛线,1),牵牛线,DRAWNULL),LINETHICK1,COLORFF00FF;IF(牵牛线<REF(牵牛线,1),牵牛线,DRAWNULL),COLOR669933;STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00;STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;CO:=(C-O);STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;STICKLINE(短买,O,O+CO/3,2.8,0),COLOR335555; STICKLINE(短买,O,O+CO/3,2,0),COLOR338888; STICKLINE(短买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(短买,O,O+CO/3,1,0),COLOR33CCCC; STICKLINE(短买,O,O+CO/3,0,0),COLOR33EEEE; DRAWTEXT(短买,REF(CLOSE,1),'←买'),COLOR33FFCC; STICKLINE(VAR1A>0,O,O+CO/3,2.8,0),COLOR550055; STICKLINE(VAR1A>0,O,O+CO/3,2,0),COLOR880088; STICKLINE(VAR1A>0,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(VAR1A>0,O,O+CO/3,1,0),COLORCC00CC; STICKLINE(VAR1A>0,O,O+CO/3,0.5,0),COLOREE00EE; DRAWTEXT(VAR1A>0,REF(C,1)+0.1,'←走'),COLORFF99FF;。
通达信买入止赢卖出止损主图指标公式
通达信买入止赢卖出止损主图指标公式通达信买入止赢卖出止损主图指标公式A0:=(L+H+C*2)/4;A1:=EMA(A0,14)COLORYELLOW,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(EMA(A0,20)-REF(EMA(A0,20),1))/REF(EMA(A0,20),1)*100;G1:=BARSLAST(CROSS(A1X,0));买入止损:REF(A0,G1),COLORWHITE,LINETHICK1;脉冲:(A0-A1)/A1*100,NODRAW;斜脉冲:(A0-REF(A0,1))/(A1-REF(A1,1)),NODRAW;买入盈利:(A0-买入止损)/买入止损*100,NODRAW;Y1:=REF(A0,G1)*1.1,COLORGREEN;Y2:=REF(A0,G1)*1.2,COLORGREEN;Y3:=REF(A0,G1)*1.3,COLORGREEN;Y4:=REF(A0,G1)*1.4,COLORGREEN;Y5:=REF(A0,G1)*1.5,COLORGREEN;Y6:=REF(A0,G1)*1.6,COLORGREEN;Y7:=REF(A0,G1)*1.7,COLORGREEN;B1:IF(A1X>=0,买入止损,DRAWNULL),COLORRED,LINETHICK1;B2:IF(A1X>=0,A1,DRAWNULL),COLORFF33FF,LINETHICK2;①:IF(H>=Y1,Y1,DRAWNULL),COLORGREEN,LINETHICK3;②:IF(H>=Y2,Y2,DRAWNULL),COLORGREEN;③:IF(H>=Y3,Y3,DRAWNULL),COLORGREEN,CIRCLEDOT;④:IF(H>=Y4,Y4,DRAWNULL),COLORGREEN;⑤:IF(H>=Y5,Y5,DRAWNULL),COLORGREEN;⑥:IF(H>=Y6,Y6,DRAWNULL),COLORGREEN;⑦:IF(H>=Y7,Y7,DRAWNULL),COLORGREEN;JX1:=MA(C,5);JX2:=MA(C,10);JX3:=MA(C,20);JTTJ1:=BARSLAST(CROSS(JX1,JX2));JTTJ2:=BARSLAST(CROSS(JX1,JX3));JTTJ3:=BARSLAST(CROSS(JX2,JX3));JTTJ4:=JTTJ1>=JTTJ2;JTTJ5:=JTTJ2>=JTTJ3;JTTJ6:=JTTJ3=0;月价托:=JTTJ4 AND JTTJ5 AND JTTJ6;JX4:=MA(C,40);JX5:=MA(C,60);JTTJ7:=BARSLAST(CROSS(JX3,JX4));JTTJ8:=BARSLAST(CROSS(JX3,JX5));JTTJ9:=BARSLAST(CROSS(JX4,JX5));JTTJ10:=JTTJ7>=JTTJ8;JTTJ11:=JTTJ8>=JTTJ9;JTTJ12:=JTTJ9=0;季价托:=JTTJ10 AND JTTJ11 AND JTTJ12;JTTJ13:=BARSLAST(CROSS(JX1,JX2));JTTJ14:=BARSLAST(CROSS(JX1,JX5));JTTJ15:=BARSLAST(CROSS(JX2,JX5));JTTJ16:=JTTJ13>=JTTJ14;JTTJ17:=JTTJ14>=JTTJ15;JTTJ18:=JTTJ15=0;短长托:=JTTJ16 AND JTTJ17 AND JTTJ18;BOLL:=MA(C,20);UPPER:=BOLL+2*STD(C,20);LOWER:=BOLL-2*STD(C,20);大黑马:=CROSS(C,UPPER) AND C/REF(C,1)>1.05,COLORRED; DRAWTEXT(大黑马 AND C>MA(C,60) AND C>MA(C,90) ANDC>MA(C,120) AND C>MA(C,250),H*1.03,敢死队),COLORYELLOW;DRAWTEXT(月价托,L*0.98,月价托),COLORWHITE;DRAWTEXT(季价托,H+0.05,季价托),COLORWHITE;DRAWTEXT(短长托,L-0.1,短长托),COLORWHITE;回归斜率线A:=EMA(SLOPE(C,4)*20+C,42);经典RL:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;经典K:=SMA(经典RL,3,1); 经典D:=SMA(经典K,3,1); 经典J:=3*经典K-2*经典D;MAHL1:=100*((EMA((H+L)/2,3)-LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))) /(LLV(EMA((H+L)/2,5),30)-(EMA(H,20)-EMA(L,20))));MAHL2:=IF(EMA(C,2)>回归斜率线 A AND MAHL1>0,EMA(C,3),LLV(EMA((H+L)/2,5),30));MAHL3:=IF(EMA(C,2)>回归斜率线 A AND MAHL1>0,LLV(EMA((H+L)/2,5),30),EMA(C,5)); 回归斜率带:DRAWBAND(回归斜率线A,RGB(235,0,230),REF(回归斜率线A,2),RGB(0,104,154));上线:=SMA(C,6.5,1);一号支撑线:SMA(C,14.5,1);上线1:=SMA(C,3,1);一号支撑线1:=SMA(C,8,1);上线2:=SMA(C,3.5,1);DRAWTEXT(CROSS(一号支撑线1,上线1),H*1.08,洗盘),COLOR00FF00;BBI:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLO SE,25))/4;UPR:=BBI+3*STD(BBI,13),LINETHICK2;DWN:=BBI-3*STD(BBI,13);安全:=MA(CLOSE,55),LINETHICK2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT( CROSS(82,RSI) AND CLOSE<上线1 , HIGH*1.04,减仓) ,COLORFF9966,LINETHICK2;A7:=(2*C+H+L)/4;操作:MA(A7,5),COLORBLUE,LINETHICK2;操作1:=MA(A7,5)*1.03,LINETHICK2;操作2:=MA(A7,5)*0.97,LINETHICK2;DRAWTEXT( CROSS(上线1,上线) AND 上线1>操作,LOW *0.92,买进 ),COLORYELLOW;VAR1:LLV(A7,21);VAR2:HHV(A7,30);DRAWTEXT( CROSS(上线1,操作) AND 上线1<一号支撑线 AND 上线1<一号支撑线1 AND 上线1<上线AND CLOSE>VAR1,LOW *0.98,见底 ),COLORYELLOW;YCX:=操作>=REF(操作,1);H1:=MAX(MAX(上线,一号支撑线1),一号支撑线);L1:=MIN(MIN(上线,一号支撑线1),一号支撑线);DRAWTEXT(CROSS(上线1,一号支撑线1) AND 上线1>操作 ,LOW *0.98,全仓 ),COLORYELLOW;SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);M1:=1000*操作/一号支撑线<=1015 AND 1000*操作/一号支撑线>=975;M2:=1000*一号支撑线1/一号支撑线<=1020 AND 一号支撑线1/一号支撑线>=980;M3:=1000*上线/一号支撑线<=1015 AND 上线/一号支撑线>=985;DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>6/10ANDCOUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) ANDREF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) ANDOPEN>REF(CLOSE,1),1,0),LOW*0.94,买进) ,COLORYELLOW;D:=MA(CLOSE,89)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<D AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.88,抄底),COLORBROWN;RSV:=(CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100;K:=SMA(RSV,3,1);D1:=SMA(K,3,1);J:=3*K-2*D1;VAR3:=(2*CLOSE+HIGH+LOW)/3;VAR4:=EMA(EMA(EMA(VAR3,4),4),4); E:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;F:=MA(E,3)+0.03;G:=MA(E,1);DRAWICON(CROSS(F,G) AND J>65,HIGH*1.02,15),COLORGREEN;DRAWICON(CROSS(G,F),LOW *0.9,9),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND H1<C AND O<L1 AND YCX AND CROSS(上线1,操作) AND LOW>VAR1 AND 上线1>一号支撑线 AND J<90,LOW *0.9,主升 ),COLORRED;DRAWTEXT( CROSS(上线1,操作) AND M1 AND M2 AND M3,LOW *0.94,买进 ),COLORYELLOW;DRAWTEXT(CLOSE>OPEN AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线 AND CLOSE>MA(CLOSE,一号支撑线) AND 操作>=REF(CLOSE,操作) AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.9,主升 ),COLORRED;DRAWTEXT(CLOSE>OPEN AND 操作>上线 AND 上线>一号支撑线1 AND 一号支撑线1>一号支撑线AND CROSS(上线1,操作) AND LOW>VAR1 AND J<90,LOW *0.86,回踩买进 ),COLORRED;DRAWTEXT(CLOSE>OPEN AND CROSS(上线,一号支撑线) AND LOW>VAR1 AND J<90,LOW *0.86,回踩买进 ),COLORRED;STICKLINE(CLOSE>REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORRED;STICKLINE(C<O AND C>REF(C,1),C,O,3,0),COLORFFCC00;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,3,0 ),COLOR000055;;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.7,0 ),COLOR000077;;STICKLINE(CLOSE> REF(CLOSE,1) AND C>O ,OPEN,CLOSE,2.1,0 ),COLOR000099;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD;STICKLINE(CLOSE>REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF;STICKLINE(CLOSE= REF(CLOSE,1) ,H,L,3,1 ),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1) ,HIGH,LOW,0,0 ),COLORWHITE;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD;STICKLINE(CLOSE=REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF;STICKLINE(CLOSE<REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;STICKLINE(C<REF(C,1) AND C>O,C,O,3,0),COLORFFCC00;STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,3,0 ),COLOR990000;STICKLINE(C<REF(C,1) AND C<O ,OPEN,CLOSE,2.7,0 ),COLORCC0000;STICKLINE(CLOSE<REF(C,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400;STICKLINE(CLOSE<REF(C,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800;STICKLINE(CLOSE<REF(C,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,3.2,0),COLORBB00FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.7,0),COLORFF33FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,2.1,0), COLORFF66FF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,1.5,0),COLORFF99FF;STICKLINE(CROSS(J,D1) ANDJ<70,CLOSE,OPEN,0.9,0),COLORFFBBFF;STICKLINE(CROSS(J,D1) AND J<70,CLOSE,OPEN,0.3,0),COLORFFDDFF;。
通达信精品指标公式:板块强弱指标
通达信精品指标公式:板块强弱指标VAR0:=("999999$C");VAR1:=("399110$C");VAR2:=("399120$ C"); VAR3:=("399130$C");VAR4:=("399131$C");VAR5:=("399132$C");VAR6:=("399133$C"); VAR7:=("399134$C");VAR8:=("399135$C");VAR9:=("399136$C");VAR10:=("399137$C");VAR11:=("399138$C");VAR12:=("399139$C");VAR13:=("399140$C");VAR14:=("3991 50$C");VAR15:=("399160$C");VAR16:=("399170$C");VAR17:=("399180$C");VAR18:=("3991 90$C");VAR19:=("399200$C");VAR20:=("399210$C");VAR21:=("399220$C");上证1:=(VAR0-REF(VAR0,1))/REF(VAR0,1)*100;农林1:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*100;采掘1:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;制造1:=(VAR3-REF(VAR3,1))/REF(VAR3,1)*100;食品1:=(VAR4-REF(VAR4,1))/REF(VAR4,1)*100;纺织1:=(VAR5-REF(VAR5,1))/REF(VAR5,1)*100;木材1:=(VAR6-REF(VAR6,1))/REF(VAR6,1)*100;造纸1:=(VAR7-REF(VAR7,1))/REF(VAR7,1)*100;石化1:=(VAR8-REF(VAR8,1))/REF(VAR8,1)*100;电子1:=(VAR9-REF(VAR9,1))/REF(VAR9,1)*100;金属1:=(VAR10-REF(VAR10,1))/REF(VAR10,1)*100;机械1:=(VAR11-REF(VAR11,1))/REF(VAR11,1)*100;医药1:=(VAR12-REF(VAR12,1))/REF(VAR12,1)*100;水电1:=(VAR13-REF(VAR13,1))/REF(VAR13,1)*100;建筑1:=(VAR14-REF(VAR14,1))/REF(VAR14,1)*100;运输1:=(VAR15-REF(VAR15,1))/REF(VAR15,1)*100;IT业1:=(VAR16-REF(VAR16,1))/REF(VAR16,1)*100; 批零1:=(VAR17-REF(VAR17,1))/REF(VAR17,1)*100; 金融1:=(VAR18-REF(VAR18,1))/REF(VAR18,1)*100; 地产1:=(VAR19-REF(VAR19,1))/REF(VAR19,1)*100; 服务1:=(VAR20-REF(VAR20,1))/REF(VAR20,1)*100; 传播1:=(VAR21-REF(VAR21,1))/REF(VAR21,1)*100; MAX1:=MAX(农林1,采掘1);MAX2:=MAX(制造1,MAX1);MAX3:=MAX(建筑1,MAX2);MAX4:=MAX(食品1,MAX3);MAX5:=MAX(纺织1,MAX4);MAX6:=MAX(木材1,MAX5);MAX7:=MAX(造纸1,MAX6);MAX8:=MAX(石化1,MAX7);MAX9:=MAX(电子1,MAX8);MAX10:=MAX(金属1,MAX9);MAX11:=MAX(机械1,MAX10);MAX12:=MAX(医药1,MAX11);MAX13:=MAX(水电1,MAX12);MAX14:=MAX(建筑1,MAX13);MAX15:=MAX(运输1,MAX14);MAX16:=MAX(IT业1,MAX15);MAX17:=MAX(批零1,MAX16);MAX18:=MAX(金融1,MAX17);MAX19:=MAX(地产1,MAX18);MAX20:=MAX(服务1,MAX19);MAX21:=MAX(传播1,MAX20);A1:=IF(农林1=MAX21,0,农林1);A2:=IF(采掘1=MAX21,0,采掘1);A3:=IF(制造1=MAX21,0,制造1);A4:=IF(食品1=MAX21,0,食品1); A5:=IF(纺织1=MAX21,0,纺织1); A6:=IF(木材1=MAX21,0,木材1); A7:=IF(造纸1=MAX21,0,造纸1); A8:=IF(石化1=MAX21,0,石化1); A9:=IF(电子1=MAX21,0,电子1); A10:=IF(金属1=MAX21,0,金属1); A11:=IF(机械1=MAX21,0,机械1); A12:=IF(医药1=MAX21,0,医药1); A13:=IF(水电1=MAX21,0,水电1); A14:=IF(建筑1=MAX21,0,建筑1); A15:=IF(运输1=MAX21,0,运输1); A16:=IF(IT业1=MAX21,0,IT业1); A17:=IF(批零1=MAX21,0,批零1); A18:=IF(金融1=MAX21,0,金融1); A19:=IF(地产1=MAX21,0,地产1); A20:=IF(服务1=MAX21,0,服务1); A21:=IF(传播1=MAX21,0,传播1); MAXA1:=MAX(A1,A2);MAXA2:=MAX(A3,MAXA1); MAXA3:=MAX(A4,MAXA2); MAXA4:=MAX(A5,MAXA3); MAXA5:=MAX(A6,MAXA4); MAXA6:=MAX(A7,MAXA5); MAXA7:=MAX(A8,MAXA6); MAXA8:=MAX(A9,MAXA7); MAXA9:=MAX(A10,MAXA8); MAXA10:=MAX(A11,MAXA9); MAXA11:=MAX(A12,MAXA10); MAXA12:=MAX(A13,MAXA11);MAXA13:=MAX(A14,MAXA12);MAXA14:=MAX(A15,MAXA13);MAXA15:=MAX(A16,MAXA14);MAXA16:=MAX(A17,MAXA15);MAXA17:=MAX(A18,MAXA16);MAXA18:=MAX(A19,MAXA17);MAXA19:=MAX(A20,MAXA18);MAXA20:=MAX(A21,MAXA19);上证涨幅:上证1,COLORRED;涨幅榜首:MAX21,COLORYELLOW,NODRAW;涨幅次位:MAXA20,COLORC0C0C0,NODRAW;STICKLINE(MAX21 AND MAX21>0,0,MAX21,2,1),COLORYELLOW;STICKLINE(MAXA20 AND MAXA20>0,0,MAXA20,0.1,0),COLORC0C0C0;DRAWTEXT(农林1=MAX21 AND 农林1>0,0-1,'①农林'),COLORCYAN;DRAWTEXT(采掘1=MAX21 AND 采掘1>0,0-1,'①采掘'),COLORCYAN;DRAWTEXT(制造1=MAX21 AND 制造1>0,0-1,'①制造'),COLORLIGRAY;DRAWTEXT(食品1=MAX21 AND 食品1>0,0-1,'①食品'),COLORLIGRAY;DRAWTEXT(纺织1=MAX21 AND 纺织1>0,0-1,'①纺织'),COLORBLUE;DRAWTEXT(木材1=MAX21 AND 木材1>0,0-1,'①木材'),COLORBLUE;DRAWTEXT(造纸1=MAX21 AND 造纸1>0,0-1,'①造纸'),COLORBLUE;DRAWTEXT(石化1=MAX21 AND 石化1>0,0-1,'①石化'),COLORBLUE;DRAWTEXT(电子1=MAX21 AND 电子1>0,0-1,'①电子'),COLORBROWN;DRAWTEXT(金属1=MAX21 AND 金属1>0,0-1,'①金属'),COLORLIBLUE;DRAWTEXT(机械1=MAX21 AND 机械1>0,0-1,'①机械'),COLORRED;DRAWTEXT(医药1=MAX21 AND 医药1>0,0-1,'①医药'),COLORYELLOW;DRAWTEXT(水电1=MAX21 AND 水电1>0,0-1,'①电力'),COLORYELLOW;DRAWTEXT(建筑1=MAX21 AND 建筑1>0,0-1,'①建筑'),COLORWHITE;DRAWTEXT(运输1=MAX21 AND 运输1>0,0-1,'①运输'),COLORLICYAN;DRAWTEXT(IT业1=MAX21 AND IT业1>0,0-1,'①IT业'),COLORLICYAN;DRAWTEXT(批零1=MAX21 AND 批零1>0,0-1,'①批零'),COLORLICYAN;DRAWTEXT(金融1=MAX21 AND 金融1>0,0-1,'①金融'),COLORLIGREEN;DRAWTEXT(地产1=MAX21 AND 地产1>0,0-1,'①地产'),COLORGREEN;DRAWTEXT(服务1=MAX21 AND 服务1>0,0-1,'①服务'),COLORMAGENTA;DRAWTEXT(传播1=MAX21 AND 传播1>0,0-1,'①传播'),COLORMAGENTA;DRAWTEXT(农林1=MAXA20 AND 农林1>0,0-2,'②农林DRAWTEXT(采掘1=MAXA20 AND 采掘1>0,0-2,'②采掘'),COLORCYAN;DRAWTEXT(制造1=MAXA20 AND 制造1>0,0-2,'②制造'),COLORLIGRAY;DRAWTEXT(食品1=MAXA20 AND 食品1>0,0-2,'②食品'),COLORLIGRAY;DRAWTEXT(纺织1=MAXA20 AND 纺织1>0,0-2,'②纺织'),COLORBLUE;DRAWTEXT(木材1=MAXA20 AND 木材1>0,0-2,'②木材'),COLORBLUE;DRAWTEXT(造纸1=MAXA20 AND 造纸1>0,0-2,'②造纸'),COLORBLUE;DRAWTEXT(石化1=MAXA20 AND 石化1>0,0-2,'②石化'),COLORBLUE;DRAWTEXT(电子1=MAXA20 AND 电子1>0,0-2,'②电子'),COLORBROWN;DRAWTEXT(金属1=MAXA20 AND 金属1>0,0-2,'②金属'),COLORLIBLUE;DRAWTEXT(机械1=MAXA20 AND 机械1>0,0-2,'②机械'),COLORRED;DRAWTEXT(医药1=MAXA20 AND 医药1>0,0-2,'②医药'),COLORYELLOW;DRAWTEXT(水电1=MAXA20 AND 水电1>0,0-2,'②电力'),COLORYELLOW;DRAWTEXT(建筑1=MAXA20 AND 建筑1>0,0-2,'②建筑'),COLORWHITE;DRAWTEXT(运输1=MAXA20 AND 运输1>0,0-2,'②运输'),COLORLICYAN;DRAWTEXT(IT业1=MAXA20 AND IT业1>0,0-2,'②IT业DRAWTEXT(批零1=MAXA20 AND 批零1>0,0-2,'②批零'),COLORLICYAN;DRAWTEXT(金融1=MAXA20 AND 金融1>0,0-2,'②金融'),COLORLIGREEN;DRAWTEXT(地产1=MAXA20 AND 地产1>0,0-2,'②地产'),COLORGREEN;DRAWTEXT(服务1=MAXA20 AND 服务1>0,0-2,'②服务'),COLORMAGENTA;DRAWTEXT(传播1=MAXA20 AND 传播1>0,0-2,'②传播'),COLORMAGENTA;。
通达信买卖力道指标公式
通达信买卖力道指标公式DIF12:=(EMA(CLOSE,12)-EMA(CLOSE,26))/((EMA(CLOSE,12)+EMA(CLOSE,26))/2)*1000;DEA12:=EMA(DIF12,9);KDIF12:=3*(DIF12-DEA12);KDEA12:=SMA(KDIF12,5,2);买卖力道:2*(KDIF12-KDEA12),COLORLIRED,LINETHICK1;{相对DIF:DIF12,COLORMAGENTA,LINETHICK2;相对DEA:DEA12,COLORGREEN,LINETHICK2;}微分DIF:KDIF12,COLORYELLOW,LINETHICK2;微分DEA:KDEA12,COLORLIGRAY,LINETHICK1;微分MACD:2*(KDIF12-KDEA12),STICK,,LINETHICK2,COLORBLUE;B11:微分MACD>REF(微分MACD,1) AND 微分MACD>REF(微分MACD,2) ANDREF(微分MACD,2)>REF(微分MACD,1) AND REF(微分MACD,2)/REF(微分MACD,1)>0,NODRAW;B12:=EXIST(B11,15)=1 AND 微分MACD<REF(微分MACD,1) AND REF(微分MACD,1)>REF(微分MACD,2);B121:B12 AND BARSLAST(B11)>BARSLAST(B12) AND COUNT(B12,BARSLAST(B11))=1,NODRAW;_红柱:IF(微分MACD>REF(微分MACD,1),微分MACD,DRAWNULL),STICK,COLORRED;IF(B11,微分MACD,DRAWNULL),STICK,COLORYELLOW,LINETHICK7;IF(B121,微分MACD,DRAWNULL),STICK,COLORGREEN,LINETHICK7;绿柱:IF(微分MACD<REF(微分MACD,1),微分MACD,DRAWNULL),STICK,COLORYELLOW;_抄底:=((CROSS(微分DIF,微分DEA)&&微分DEA<=-0.07)*微分DIF)*1.50,COLORLIMAGENTA;_DIF:=微分DIF,COLORWHITE;_DEA:=微分DEA,COLORYELLOW;__强度:=IF(_DIF>_DEA,_DIF,DRAWNULL),COLORRED,LINETHICK2;_强度:=IF(_DEA<_DIF,_DEA,DRAWNULL),COLORMAGENTA,LINETHIC K2;0;;ZF:=C/(REF(C,BARSLAST(B11)))*100-100,NODRAW;本轮涨幅1:=IF(B121=1,ZF,DRAWNULL);本轮涨幅:IF(C/(REF(C,BARSLAST(B11)))=0,1,本轮涨幅1);涨跌算术和1:SUM(本轮涨幅,0);。
通达信个股板块大盘强弱指标公式[知股公式]
通达信个股板块大盘强弱指标公式[知股公式]显强势板块1:=1;X_1:=30;个股强弱:(CLOSE-MA(CLOSE,X_1))/MA(CLOSE,X_1)*100,COLORWHITE;行业强弱:(HY_INDEXC-MA(HY_INDEXC,X_1))/MA(HY_INDEXC,X_1)*100,COLORYELLOW, LINETHICK1;大盘强弱:(INDEXC-MA(INDEXC,X_1))/MA(INDEXC,X_1)*100,COLORRED,LINETHICK1;DRAWTEXT(CURRBARSCOUNT=6,行业强弱,HYBLOCK),COLORYELLOW;DRAWTEXT(CURRBARSCOUNT=3,大盘强弱,ZSBLOCK),COLORRED;{======显示位置的数据自己根据需要进行上下左右调整======}四排位置:=0.028;横向左右位置:=0.005;{============}煤炭A:=("880301$C"-REF("880301$C",1))/REF("880301$C",1)*100;电力A:=("880305$C"-REF("880305$C",1))/REF("880305$C",1)*100;石油A:=("880310$C"-REF("880310$C",1))/REF("880310$C",1)*100;钢铁A:=("880318$C"-REF("880318$C",1))/REF("880318$C",1)*100;有色A:=("880324$C"-REF("880324$C",1))/REF("880324$C",1)*100;化纤A:=("880330$C"-REF("880330$C",1))/REF("880330$C",1)*100;化工A:=("880335$C"-REF("880335$C",1))/REF("880335$C",1)*100;建材A:=("880344$C"-REF("880344$C",1))/REF("880344$C",1)*100;造纸A:=("880350$C"-REF("880350$C",1))/REF("880350$C",1)*100;矿物制品A:=("880351$C"-REF("880351$C",1))/REF("880351$C",1)*100;日用化工A:=("880355$C"-REF("880355$C",1))/REF("880355$C",1)*100;农林牧渔A:=("880360$C"-REF("880360$C",1))/REF("880360$C",1)*100;纺织服饰A:=("880367$C"-REF("880367$C",1))/REF("880367$C",1)*100;食品饮料A:=("880372$C"-REF("880372$C",1))/REF("880372$C",1)*100;酿酒A:=("880380$C"-REF("880380$C",1))/REF("880380$C",1)*100;家用电器A:=("880387$C"-REF("880387$C",1))/REF("880387$C",1)*100;汽车类A:=("880390$C"-REF("880390$C",1))/REF("880390$C",1)*100;医疗保健A:=("880398$C"-REF("880398$C",1))/REF("880398$C",1)*100;家居用品A:=("880399$C"-REF("880399$C",1))/REF("880399$C",1)*100;医药A:=("880400$C"-REF("880400$C",1))/REF("880400$C",1)*100;商业连锁A:=("880406$C"-REF("880406$C",1))/REF("880406$C",1)*100;商贸代理A:=("880414$C"-REF("880414$C",1))/REF("880414$C",1)*100;传媒娱乐A:=("880418$C"-REF("880418$C",1))/REF("880418$C",1)*100;广告包装A:=("880421$C"-REF("880421$C",1))/REF("880421$C",1)*100;文教休闲A:=("880422$C"-REF("880422$C",1))/REF("880422$C",1)*100;酒店餐饮A:=("880423$C"-REF("880423$C",1))/REF("880423$C",1)*100;旅游A:=("880424$C"-REF("880424$C",1))/REF("880424$C",1)*100;航空航天A:=("880430$C"-REF("880430$C",1))/REF("880430$C",1)*100;船舶A:=("880431$C"-REF("880431$C",1))/REF("880431$C",1)*100;运输设备A:=("880432$C"-REF("880432$C",1))/REF("880432$C",1)*100;通用机械A:=("880437$C"-REF("880437$C",1))/REF("880437$C",1)*100;工业机械A:=("880440$C"-REF("880440$C",1))/REF("880440$C",1)*100;电气设备A:=("880446$C"-REF("880446$C",1))/REF("880446$C",1)*100;工程机械A:=("880447$C"-REF("880447$C",1))/REF("880447$C",1)*100;电器仪表A:=("880448$C"-REF("880448$C",1))/REF("880448$C",1)*100;电信运营A:=("880452$C"-REF("880452$C",1))/REF("880452$C",1)*100;公共交通A:=("880453$C"-REF("880453$C",1))/REF("880453$C",1)*100;水务A:=("880454$C"-REF("880454$C",1))/REF("880454$C",1)*100;供气供热A:=("880455$C"-REF("880455$C",1))/REF("880455$C",1)*100;环境保护A:=("880456$C"-REF("880456$C",1))/REF("880456$C",1)*100;运输服务A:=("880459$C"-REF("880459$C",1))/REF("880459$C",1)*100;仓储物流A:=("880464$C"-REF("880464$C",1))/REF("880464$C",1)*100;交通设施A:=("880465$C"-REF("880465$C",1))/REF("880465$C",1)*100;银行类A:=("880471$C"-REF("880471$C",1))/REF("880471$C",1)*100;证券类A:=("880472$C"-REF("880472$C",1))/REF("880472$C",1)*100;保险类A:=("880473$C"-REF("880473$C",1))/REF("880473$C",1)*100;多元金融A:=("880474$C"-REF("880474$C",1))/REF("880474$C",1)*100;建筑A:=("880476$C"-REF("880476$C",1))/REF("880476$C",1)*100;房地产A:=("880482$C"-REF("880482$C",1))/REF("880482$C",1)*100;电脑设备A:=("880489$C"-REF("880489$C",1))/REF("880489$C",1)*100;通信设备A:=("880490$C"-REF("880490$C",1))/REF("880490$C",1)*100;半导体A:=("880491$C"-REF("880491$C",1))/REF("880491$C",1)*100;元器件A:=("880492$C"-REF("880492$C",1))/REF("880492$C",1)*100;软件服务A:=("880493$C"-REF("880493$C",1))/REF("880493$C",1)*100;互联网A:=("880494$C"-REF("880494$C",1))/REF("880494$C",1)*100;综合类A:=("880497$C"-REF("880497$C",1))/REF("880497$C",1)*100;最大值1A:=MAX(煤炭A,MAX(电力A,MAX(石油A,MAX(钢铁A,MAX(有色A,MAX(化纤A,MAX(化工A,MAX(建材A,MAX(造纸A,MAX(矿物制品A,日用化工A))))))))));最大值2A:=MAX(农林牧渔A,MAX(纺织服饰A,MAX(食品饮料A,MAX(酿酒A,MAX(家用电器A,MAX(汽车类A,MAX(医疗保健A,MAX(家居用品A,MAX(医药A,MAX(商业连锁A,商贸代理A))))))))));最大值3A:=MAX(传媒娱乐A,MAX(广告包装A,MAX(文教休闲A,MAX(酒店餐饮A,MAX(旅游A,MAX(航空航天A,MAX(船舶A,MAX(运输设备A,MAX(通用机械A,MAX(工业机械A,电气设备A))))))))));最大值4A:=MAX(工程机械A,MAX(电器仪表A,MAX(电信运营A,MAX(公共交通A,MAX(水务A,MAX(供气供热A,MAX(环境保护A,MAX(运输服务A,MAX(仓储物流A,MAX(交通设施A,银行类A))))))))));最大值5A:=MAX(证券类A,MAX(保险类A,MAX(多元金融A,MAX(建筑A,MAX(房地产A,MAX(电脑设备A,MAX(通信设备A,MAX(半导体A,MAX(元器件A,MAX(软件服务A,MAX(互联网A,综合类A)))))))))));ZZDZ:=CONST(MAX(最大值1A,MAX(最大值2A,MAX(最大值3A,MAX(最大值4A,最大值5A)))));DRAWTEXT_FIX(显强势板块1=1,横向左右位置,四排位置,0,' ████████████████'),COLORRED;XSWZ1:=CONST(IF(ZZDZ-煤炭A=0 OR ZZDZ-电力A=0 OR ZZDZ-石油A=0 OR ZZDZ-钢铁A=0 OR ZZDZ-有色A=0 OR ZZDZ-化纤A=0 OR ZZDZ-化工A=0 OR ZZDZ-建材A=0 OR ZZDZ-造纸A=0 OR ZZDZ-旅游A=0 OR ZZDZ-船舶A=0 OR ZZDZ-水务A=0 OR ZZDZ-建筑A=0 OR ZZDZ-医药A=0,614,IF(ZZDZ-汽车类A=0 OR ZZDZ-银行类A=0 OR ZZDZ-证券类A=0 OR ZZDZ-保险类A=0 OR ZZDZ-房地产A=0 OR ZZDZ-半导体A=0 OR ZZDZ-元器件A=0 OR ZZDZ-互联网A=0 OR ZZDZ-综合类A=0,627,643)));DRAWTEXT_FIX(ISLASTBAR AND 显强势板块1=1,横向左右位置,四排位置,0,IF(ZZDZ-煤炭A=0,'【今强势板块】:煤炭行业',IF(ZZDZ-电力A=0,'【今强势板块】:电力行业',IF(ZZDZ-石油A=0,'【今强势板块】:石油行业',IF(ZZDZ-钢铁A=0,'【今强势板块】:钢铁行业',IF(ZZDZ-有色A=0,'【今强势板块】:有色行业',IF(ZZDZ-化纤A=0,'【今强势板块】:化纤行业',IF(ZZDZ-化工A=0,'【今强势板块】:化工行业',IF(ZZDZ-建材A=0,'【今强势板块】:建材行业',IF(ZZDZ-造纸A=0,'【今强势板块】:造纸行业',IF(ZZDZ-矿物制品A=0,'【今强势板块】:矿物制品',IF(ZZDZ-日用化工A=0,'【今强势板块】:日用化工',IF(ZZDZ-农林牧渔A=0,'【今强势板块】:农林牧渔',IF(ZZDZ-纺织服饰A=0,'【今强势板块】:纺织服饰',IF(ZZDZ-食品饮料A=0,'【今强势板块】:食品饮料',IF(ZZDZ-酿酒A=0,'【今强势板块】:酿酒行业',IF(ZZDZ-家用电器A=0,'【今强势板块】:家用电器',IF(ZZDZ-汽车类A=0,'【今强势板块】:汽车行业',IF(ZZDZ-医疗保健A=0,'【今强势板块】:医疗保健',IF(ZZDZ-家居用品A=0,'【今强势板块】:家居用品',IF(ZZDZ-医药A=0,'【今强势板块】:医药行业',IF(ZZDZ-商业连锁A=0,'【今强势板块】:商业连锁',IF(ZZDZ-商贸代理A=0,'【今强势板块】:商贸代理',DRAWNULL))))))))))))))))))))))),COLORWHITE;DRAWTEXT_FIX(ISLASTBAR AND 显强势板块1=1,横向左右位置,四排位置,0,IF(ZZDZ-传媒娱乐A=0,'【今强势板块】:传媒娱乐',IF(ZZDZ-广告包装A=0,'【今强势板块】:广告包装',IF(ZZDZ-文教休闲A=0,'【今强势板块】:文教休闲',IF(ZZDZ-酒店餐饮A=0,'【今强势板块】:酒店餐饮',IF(ZZDZ-旅游A=0,'【今强势板块】:旅游行业',IF(ZZDZ-航空航天A=0,'【今强势板块】:航空航天',IF(ZZDZ-船舶A=0,'【今强势板块】:船舶行业',IF(ZZDZ-运输设备A=0,'【今强势板块】:运输设备',IF(ZZDZ-通用机械A=0,'【今强势板块】:通用机械',IF(ZZDZ-工业机械A=0,'【今强势板块】:工业机械',IF(ZZDZ-电气设备A=0,'【今强势板块】:电气设备',IF(ZZDZ-工程机械A=0,'【今强势板块】:工程机械',IF(ZZDZ-电器仪表A=0,'【今强势板块】:电器仪表',IF(ZZDZ-电信运营A=0,'【今强势板块】:电信运营',IF(ZZDZ-公共交通A=0,'【今强势板块】:公共交通',IF(ZZDZ-水务A=0,'【今强势板块】:水务行业',IF(ZZDZ-供气供热A=0,'【今强势板块】:供气供热',IF(ZZDZ-环境保护A=0,'【今强势板块】:环境保护',IF(ZZDZ-运输服务A=0,'【今强势板块】:运输服务',IF(ZZDZ-仓储物流A=0,'【今强势板块】:仓储物流',IF(ZZDZ-交通设施A=0,'【今强势板块】:交通设施',IF(ZZDZ-银行类A=0,'【今强势板块】:银行板块',IF(ZZDZ-证券类A=0,'【今强势板块】:证券板块',IF(ZZDZ-保险类A=0,'【今强势板块】:保险板块',IF(ZZDZ-多元金融A=0,'【今强势板块】:多元金融',IF(ZZDZ-建筑A=0,'【今强势板块】:建筑行业',IF(ZZDZ-房地产A=0,'【今强势板块】:房产板块',IF(ZZDZ-电脑设备A=0,'【今强势板块】:电脑设备',IF(ZZDZ-通信设备A=0,'【今强势板块】:通信设备',IF(ZZDZ-半导体A=0,'【今强势板块】:半导体类',IF(ZZDZ-元器件A=0,'【今强势板块】:元器件类',IF(ZZDZ-软件服务A=0,'【今强势板块】:软件服务',IF(ZZDZ-互联网A=0,'【今强势板块】:互联网类',IF(ZZDZ-综合类A=0,'【今强势板块】:综合板块',DRAWNULL))))))))))))))))))))))))))))))))))),COLORWHITE;个股排名:=CONST(INSORT(HYBLOCK,'涨幅',1,0));HYPM1:=STRCAT('【该股在 (',HYBLOCK);HYPM2:=STRCAT(HYPM1,') 行业涨幅排名:第');HYPM3:=STRCAT(HYPM2,VAR2STR(个股排名,0));HYPM4:=STRCAT(HYPM3,'名】 (板块涨停');涨停数1:=CONST(INSUM(HYBLOCK,'涨幅',2,0));涨停数2:=CONST(INSUM(HYBLOCK,'涨幅',3,0));涨停数:=涨停数1+涨停数2;HYPM5:=STRCAT(HYPM4,VAR2STR(涨停数,0));HYPM6:=STRCAT(HYPM5,'支)');HYPM4A:=STRCAT(HYPM3,'名】 (板块内无个股涨停)');HYPM4B:=IF(涨停数<10,STRCAT(HYPM3,'名】█████████'),STRCAT(HYPM3,'名】██████████'));DRAWTEXT_FIX(ISLASTBAR,IF(显强势板块1=0,0.25,横向左右位置+0.32),四排位置,0,IF(涨停数<1,DRAWNULL,HYPM4B)),COLORRED;DRAWTEXT_FIX(ISLASTBAR,IF(显强势板块1=0,0.25,横向左右位置+0.32),四排位置,0,IF(涨停数>=1,HYPM6,HYPM4A)),COLORWHITE;。
通达信个股强弱一目了然副图指标公式
通达信个股强弱一目了然副图指标公式
朋友们选股都想要强股,那么何为强势股呢?答案一定是强于大盘的,比大盘跑的快的个股,此次奉献各位的这个指标,可以让股友们一目了然的看清你手中的股票是运行到什么程度,是强是弱,一看便知,剩下的事,就看你自己了。
说明:白线为个股,黄线为大盘。强势弱势一 (CLOSE-REF(CLOSE,N))/REF(CLOSE,N)*100;
大盘: (INDEXC-REF(INDEXC,N))/REF(INDEXC,N)*100;
强弱值:EMA(个股-大盘,2),COLORSTICK;
【股票指标公式下载】-【通达信】多空彩带(转强、转弱)
【通达信】多空彩带(转强、转弱)-指标公式源码X1:=(CLOSE+LOW+HIGH)/3;X2:=EMA(X1,6);X3:=EMA(X2,5);VAR2:=EMA(EMA(X1,1),13);VAR3:=EMA(VAR2,21);STICKLINE(VAR2>=VAR3,VAR2,VAR3,8,0),COLORRED;STICKLINE(VAR2<VAR3,VAR2,VAR3,8,0),COLORCYAN;XCLOSE:=EMA((OPEN+HIGH+LOW+CLOSE)/4,3);XOPEN:=EMA((REF(OPEN,1)+REF(XCLOSE,1))/2,3);TEMPG:=MAX(HIGH,XOPEN);XHIGH:=EMA(MAX(TEMPG,XCLOSE),3);TEMP:=MIN(LOW,XOPEN);XLOW:=EMA(MIN(TEMP,XCLOSE),3);O1:=IF(XOPEN<XCLOSE,XOPEN,XCLOSE);C1:=IF(XOPEN<XCLOSE,XCLOSE,XOPEN);STICKLINE(XOPEN>=XCLOSE,XHIGH,XLOW,0.1,0),COLORGREEN; STICKLINE(XOPEN>=XCLOSE,C1,O1,6,0),COLORGREEN;STICKLINE(XOPEN<XCLOSE,XHIGH,XLOW,0.1,0),COLORMAGENTA; STICKLINE(XOPEN<XCLOSE,C1,O1,6,0),COLORMAGENTA;AC:=CLOSE;转强:=(HIGH,4);转弱:=(LOW,4);B:=CLOSE*0;转折线:IF(B=-1,MA(HIGH,6),MA(LOW,6)),LINETHICK1,COLORYELLOW;趋势:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55);OP:=MA(X1,5);REFOP:=REF(OP,1);MA4:=MA(CLOSE,4);MA8:=MA(CLOSE,8);MA13:=MA(CLOSE,13);MA110:=MA(CLOSE,110);C2:=HHV(C1,2);C3:=LLV(C1,1);ET:=HHV(C1,2);ET1:=REF(ET,1);XB:=LLV(C1,1);XB1:=REF(XB,1);M:=BARSLAST(CLOSE<XB AND C1>=XB1);M11:=REF(M,1);N9:=BARSLAST(CLOSE>ET AND C1<=ET1);N1:=REF(N9,1);M21:=BARSLAST(M-N9>0 AND M11<=N1)+1;N2:=BARSLAST(N9-M>0 AND N1<=M11)+1;ET2:=HHV(ET,M21);XB2:=LLV(XB,N2);A:=IF(M-N9>0 AND M11<=N1,1,IF(N9-M>0 AND N1<=M11,0,2));H1:=IF(M-N9>0,CLOSE,ET2);H2:=IF(A=1,CLOSE,C2);H3:=IF(M-N9<0,CLOSE,XB2);H4:=IF(A=1,CLOSE,XB2);H5:=IF(M-N9>0 OR A=1,CLOSE,H3);H6:=REF(H5,1);H7:=REF(H5,2);H8:=H5>H6;H9:=H4=REF(H4,1) AND REF(H4,1)<REF(H4,2) AND H5>REF(H5,2);H10:=H2=REF(H2,1) AND H4=REF(H4,1) AND H5=REF(H5,2);W:=H8 OR H9 OR H10;T9:=H5<H6 AND H5<REF(H5,2);T10:=H4=REF(H4,1) AND H5<REF(H5,2);T11:=H3>REF(H3,1) AND H5<REF(H5,1);T12:=H5=REF(H5,1) AND H3=H4;T13:=H2=REF(H2,1) AND H2=H5;TW:=T9 OR T10 OR T11 OR T12 OR T13;BBP:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)) *100;【通达信】多空彩带(转强、转弱)-指标公式效果图(文档来源:若水财经社区)。
通达信板块强弱指标:板块强弱(通达信源码...
通达信板块强弱指标:板块强弱(通达信源码...通达信板块强弱指标:板块强弱(通达信源码)N:=45;VAR2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;VAR3:=SMA(VAR2,5,1);VAR4:=SMA(VAR3,3,1);个股波:SMA(VAR4,3,1),COLORWHITE,LINETHICK3;VAR22:=(INDEXC-LLV(INDEXL,N))/(HHV(INDEXH,N)-LLV(INDEXL,N))*100;VAR33:=SMA(VAR22,5,1);VAR44:=SMA(VAR33,3,1);指数波:SMA(VAR44,3,1),COLORRED,LINETHICK5;AA:=( '399300$ CLOSE '-LLV('399300$ LOW ',N))/(HHV('399300$ HIGH ',N)-LLV('399300$ LOW ',N))*100;AA1:=SMA(AA,5,1);AA2:=SMA(AA1,3,1);沪深300:SMA(AA2,3,1),COLORMAGENTA,LINETHICK2;BB:=( '399005$ CLOSE '-LLV('399005$ LOW ',N))/(HHV('399005$ HIGH ',N)-LLV('399005$ LOW ',N))*100;BB1:=SMA(BB,5,1);BB2:=SMA(BB1,3,1);中小板指:SMA(BB2,3,1),COLORYELLOW,LINETHICK1;CC:=( '399006$ CLOSE '-LLV('399006$ LOW ',N))/(HHV('399006$ HIGH ',N)-LLV('399006$ LOW ',N))*100;CC1:=SMA(CC,5,1);CC2:=SMA(CC1,3,1);创业板指:SMA(CC2,3,1),COLORCYAN,LINETHICK1;DD:=( '399305$ CLOSE '-LLV('399305$ LOW ',N))/(HHV('399305$ HIGH ',N)-LLV('399305$ LOW ',N))*100;DD1:=SMA(DD,5,1);DD2:=SMA(DD1,3,1);基金:SMA(DD2,3,1),COLORLICYAN,LINETHICK1;EE:=( '399190$ CLOSE '-LLV('399190$ LOW ',N))/(HHV('399190$ HIGH ',N)-LLV('399190$ LOW ',N))*100;EE1:=SMA(EE,5,1);EE2:=SMA(EE1,3,1);金融行业:SMA(EE2,3,1),COLORGREEN,LINETHICK2;FF:=( '399200$ CLOSE '-LLV('399200$ LOW ',N))/(HHV('399200$ HIGH ',N)-LLV('399200$ LOW ',N))*100;FF1:=SMA(FF,5,1);FF2:=SMA(FF1,3,1);地产:SMA(FF2,3,1),COLORLIGREEN,LINETHICK1;GG:=( '399110$ CLOSE '-LLV('399110$ LOW ',N))/(HHV('399110$ HIGH ',N)-LLV('399110$ LOW ',N))*100;GG1:=SMA(GG,5,1);GG2:=SMA(GG1,3,1);农林牧渔:SMA(GG2,3,1),COLORLIGRAY,LINETHICK1;HH:=( '399941$ CLOSE '-LLV('399941$ LOW ',N))/(HHV('399941$ HIGH ',N)-LLV('399941$ LOW ',N))*100;HH1:=SMA(HH,5,1);HH2:=SMA(HH1,3,1);新能源:SMA(HH2,3,1),COLORBROWN,LINETHICK1;#股票#。