快生活 - 生活常识大全

通达信顶底指标


  VAR1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*(100)+50;
  VAR2:=EMA(VAR1,9);
  VAR3:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
  VAR4:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
  VAR5:=SMA(VAR4,13,8);
  VAR6:=SMA(VAR3,21,8);
  VAR7:=MA(CLOSE,80)-(MA(CLOSE,10))/(7);
  VAR8:=EMA(CLOSE,5);
  VAR9:=MA((LLV(CLOSE,9))*(1.1),14);
  VAR10:=(2)*(VAR9)-VAR8-(CLOSE)*(0.1);
  VAR11:=IF(((VAR8-VAR10)*(5)>0),(POW((VAR8-VAR10)*(5),2))/(10),(((-1))*(POW((VAR8-VAR10)*(5),2)))/(10));
  VAR12:=IF((VAR11>0),VAR11-0,12);
  VAR13:=((SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1))/(SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)))*(100);
  散资:=CEILING(SMA(VAR5,13,8));
  VBR1:=1;
  VBR5:=LLV(LOW,75);
  VBR6:=HHV(HIGH,75);
  VBR7:=(VBR6-VBR5)/(100);
  VBR8:=SMA((CLOSE-VBR5)/(VBR7),20,1);
  VBRA:=(3)*(VBR8)-(2)*(SMA(VBR8,15,1));
  庄家:=(100-VBRA)*(VBR1);
  IF((散资-VAR6<(-65)),1,6),COLORFF00FF;
  IF((散资-VAR6>85),95,100),COLORF0F000;
  操盘线1:=MA((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)),5);
  主力:=MA((((-100))*(HHV(HIGH,34)-CLOSE))/(HHV(HIGH,34)-LLV(LOW,34))+100,5);
  STICKLINE(FILTER(((散资<ref(散资,1)) and="">75) OR CROSS(散资,操盘线1) AND (散资<ref(散资,1)) 1="" and="">60)),5),100,60,3,1),COLORFFFF00;</ref(散资,1))></ref(散资,1))>
  STICKLINE(FILTER((CROSS(散资,VAR12) AND (散资<ref(散资,2)) and="" close="">REF(CLOSE,1)) OR (散资&gt;REF(散资,1)) AND (散资&lt;35) and="" close=""&gt;REF(CLOSE,1))),5),5,50,3,1),COLOR0000FF;<!--35)--></ref(散资,2))>
  底部吸筹指标:=((CLOSE-MA(CLOSE,40))/(MA(CLOSE,40)))*(100);
  STICKLINE(CROSS(操盘线1,10),0,58,6,0),COLOR3366FF;
  DRAWTEXT(IF(CROSS(操盘线1,10),100,0),68,"抄底"),COLORFF0000;
  DRAWTEXT(IF(CROSS(10,操盘线1),1,0),10,"$备钱"),COLOR33FFCC;
  DRAWTEXT(CROSS(底部吸筹指标,(-24)),80,"抄底"),COLOR008000;
  STICKLINE(CROSS(底部吸筹指标,(-24)),0,40,6,0),COLOR008000;
  VARB1:=DMA(CLOSE,(VOL)/(SUM(VOL,21)));
  VARB2:=((CLOSE-VARB1)/(VARB1))*(100);
  VARB3:=((WINNER((CLOSE)*(1.08))-WINNER(CLOSE))*(100)&lt;8);
  VARB4:=(VARB2&lt;(-10));
  VARB5:=33;
  VARB6:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100)&lt;50);
  VARB7:=34;
  BBBB:=VARB3 AND VARB4 AND VARB5 AND VARB6 AND VARB7 AND (CLOSE&gt;2.5) AND (CLOSE&gt;(0.905)*(REF(CLOSE,1))) AND (REF(CLOSE,1)-OPEN&lt;(0.048)*(REF(CLOSE,1)));
  STICKLINE(BBBB AND (REF(BBBB,1)&lt;1),0,50,4,0),COLORFFFFFF;
  DRAWTEXT(BBBB AND (REF(BBBB,1)&lt;1),62,"抄底"),COLORFFFFFF;
  STICKLINE((TROUGHBARS(3,18,1)=0) AND (HIGH&gt;(LOW)*(1.04)),30,0,5,0),COLORFF00FF;
  STICKLINE((PEAKBARS(3,18,1)=0) AND ((HIGH)*(0.96)&gt;LOW),100,85,5,0),COLOR00FF00;
  DRAWTEXT((TROUGHBARS(3,18,1)=0) AND (HIGH&gt;(LOW)*(1.04)),40,"¥"),COLORFF00FF;
  VARC:=(ZIG(3,18)&gt;REF(ZIG(3,18),1)) AND (REF(ZIG(3,18),1)&lt;=REF(ZIG(3,18),2));
  VARD:=(ZIG(3,18)<ref(zig(3,18),1)) and="">=REF(ZIG(3,18),2));</ref(zig(3,18),1))>
  STICKLINE((VARC=1),30,0,5,0),COLOR0000FF;
  DRAWTEXT((VARC=1),42,"¥"),COLOR0000FF;
  STICKLINE((VARD=1),100,85,5,0),COLORFF0000;
  DRAWTEXT((PEAKBARS(3,18,1)=0) AND ((HIGH)*(0.96)&gt;LOW),80,"注意转折"),COLORLIBLUE;
  当天换手:=((VOL)/(CAPITAL))*(100);
  五天换手:SUM(当天换手,5),POINTDOT,COLOR00FF00;
  短趋势:=((3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-50)*(1.032)+50;
  VARQ2:=((2)*(CLOSE)+HIGH+LOW+OPEN)/(5);
  VARQ3:=LLV(LOW,34);
  VARQ4:=HHV(HIGH,34);
  长趋势:=EMA(((VARQ2-VARQ3)/(VARQ4-VARQ3))*(100),13);
  判断底:(SQRT(SQRT(FLOOR(SQRT((MA(((1)/(WINNER(CLOSE)))*(100),4))/(10000))))))*(5),COLORFFFFFF;
  VARQ5:=CROSS(短趋势,长趋势) AND (长趋势&lt;25);
  底部:STICKLINE((短趋势&lt;10) and=""&gt;0),0,15,6,1),COLORFFFFFF;<!--10)-->
  STICKLINE(VARQ5,40,65,9,0),COLOR00EE00;
  STICKLINE(VARQ5,45,60,5,0),COLOR0000FF;
  DRAWTEXT(COUNT((短趋势&lt;10) and=""&gt;0),8) AND VARQ5,50,"砸锅买入"),COLORFFFFFF;<!--10)-->
  VARQ6:=CROSS(短趋势,长趋势) AND (长趋势&lt;50);
  DRAWTEXT(COUNT((短趋势&lt;30) and=""&gt;0),5) AND VARQ6,30,"短线买"),COLORFFFFFF;<!--30)-->
  V3:=((CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8)))*(100);
  操盘线2:=SMA(V3,2,1);
  V5:=SMA(操盘线2,2,1);
  抄底:IF((操盘线2&gt;REF(操盘线2,1)) AND (REF(操盘线2,1)&lt;REF(操盘线2,2)) AND (操盘线2&lt;23),18,0),LINETHICK2,COLOR00FFFF;
  IF((操盘线2&gt;REF(操盘线2,1)) AND CROSS(操盘线2,V5) AND (V5&lt;50),8,0),COLOR0000FF;
  IF((操盘线2<ref(操盘线2,1)) and="">REF(操盘线2,2)) AND (操盘线2&gt;77),88,100),LINETHICK2,COLOR00FF00;</ref(操盘线2,1))>
  BIAS1:=((CLOSE-MA(CLOSE,6))/(MA(CLOSE,6)))*(100);
  BIAS2:=((CLOSE-MA(CLOSE,12))/(MA(CLOSE,12)))*(100);
  BIAS3:=((CLOSE-MA(CLOSE,24))/(MA(CLOSE,24)))*(100);
  BIAS:=(BIAS1+(2)*(BIAS2)+(3)*(BIAS3))/(6);
  乖离:=MA(BIAS,3);
  抄底1:IF((乖离&lt;(-12)) and=""&gt;=(-18)),(-10),0),COLOR000080;<!--(-12))-->
  STICKLINE((乖离&lt;(-12)) and=""&gt;=(-18)),2,0,6,0),COLOR0000FF;<!--(-12))-->
  IF((乖离&lt;(-18)),5,0),COLOR00FFFF;
  STICKLINE((乖离&lt;(-18)),4,0,6,0),COLORFF35FF;
  VARBB1:=DMA(CLOSE,((VOL)/(MA(VOL,4)))/(4));
  VARBB2:=DMA(CLOSE,((VOL)/(MA(VOL,31)))/(31));
  VARBB3:=(((CLOSE-VARBB1)/(VARBB1))*(100)&lt;(-10));
  VARBB4:=(((VARBB1-VARBB2)/(VARBB2))*(100)&lt;(-16));
  VARBB5:=(((CLOSE-MA(CLOSE,50))/(MA(CLOSE,50)))*(100)&lt;(-23));
  VARBB6:=(((SMA(MAX(CLOSE-REF(CLOSE,1),0),3,1))/(SMA(ABS(CLOSE-REF(CLOSE,1)),3,1)))*(100)&gt;16);
  VARBB7:=((100)*(HHV(HIGH,27)-CLOSE))/(HHV(HIGH,27)-LLV(LOW,27));
  VARBB8:=INDEXC;
  VARBB9:=MA(VARBB8,6);
  VARBBA:=MA(VARBB8,24);
  VARBBB:=MA(VARBB8,32);
  VARBBC:=(VARBBB&gt;(VARBB9)*(1.11)) AND (VARBBA&gt;(VARBB9)*(1.095));
  SSS:=(((VARBB3 AND VARBB4 AND ((OPEN-REF(CLOSE,1))/(REF(CLOSE,1))&gt;(-0.07)) OR VARBB5 AND VARBB6 AND CROSS(VARBB7,79)) OR VARBBC AND ((CLOSE)/(COST(8))&lt;=0.8)))*(100);
  STICKLINE((SSS&gt;0),0,18,6,0),COLORFFFFFF;
  VV1:=LLV(LOW,10);
  VV2:=HHV(HIGH,25);
  价位线:=EMA(((CLOSE-VV1)/(VV2-VV1))*(4),4);
  DRAWTEXT(CROSS(3.5,价位线),88,"★"),COLOR0000FF;
  拐点:=EMA((HIGH+LOW+OPEN+(CLOSE)*(2))/(5),3);
  GD1:=REF((COUNT((拐点&lt;=ref(拐点,1)),4)=4),1) and=""&gt;REF(拐点,1)) AND (CLOSE&gt;(1.02)*(REF(CLOSE,1))) AND (主力&lt;55);<!--=ref(拐点,1)),4)=4),1)-->
  DRAWICON(GD1,10,1),COLORFFFF00;
  拐点1:=EMA((OPEN+CLOSE)/(2),3);
  GD2:=REF((COUNT((拐点1&gt;=REF(拐点1,1)),5)=5),1) AND (拐点1<ref(拐点1,1)) and="">65) AND (CLOSE&lt;(0.97)*(REF(CLOSE,1)));</ref(拐点1,1))>
  DRAWICON(GD2,90,2),COLOR0000FF;
  散户:散资,LINETHICK1,COLORGREEN;
  机构:主力,LINETHICK2,COLORRED;
  坐庄:庄家,LINETHICK2,COLORYELLOW;
网站目录投稿:凝夏