通达信牛金追涨副图公式 无未来

2015-10-23 21:16:00来源:本站整理浏览:369

 {投机}
投机1:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),COLOR0080FF,NODRAW;
投机2:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),COLOR0080FF,NODRAW;
投机:CROSS(投机1,投机2),COLOR0080FF,NODRAW;
 STICKLINE(CROSS(投机1,投机2),24,32,0.5,1),COLOR0080FF;
 {持股}
B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;
 B2:=SMA(B1,9,1)+100;
 B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
 B4:=SMA(B3,3,1);
 B5:=SMA(B4,3,1)+100;
 B6:=B5-B2;
 {www.gpxiazai.com}
持股:IF(B6>60,B6-60,0),COLORLIMAGENTA,NODRAW;
持1:STICKLINE(REF(持股,1)<持股,24,22,4,0),COLORLIMAGENTA;
持2:STICKLINE(REF(持股,1)<持股,-24,-22,4,0),COLORLIMAGENTA;
 {持币}
B8:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100-70;
 B9:=SMA(B8,9,1)+100;
 B10:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;
 B11:=SMA(B10,3,1);
 B12:=SMA(B11,3,1)+100;
 B13:=B12-B9;
持币:IF(B13<60,B13-60,0),COLORLICYAN,NODRAW;
持3:STICKLINE(REF(持币,1)>持币,24,22,4,0),COLORLICYAN;
持4:STICKLINE(REF(持币,1)>持币,-24,-22,4,0),COLORLICYAN;
 {追涨}
HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;
 HHJSJDB:=(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3)+16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)
 +13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10)+9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)
 +7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+
 REF(HHJSJDA,20))/210;
 HHJSJDC:=MA(HHJSJDB,5);
 QQ1:=MA(MA(CLOSE,3),3);
 QQ2:=MA(MA(CLOSE,15),9);
 XYSQS1:=(QQ1-REF(QQ1,1))/REF(QQ1,1)*10;
 XYSQS2:=(QQ2-REF(QQ2,1))/REF(QQ2,1)*10;
 XYSHSL:=EMA(VOL/CAPITAL*100,13);
 STICKLINE(XYSQS2>=REF(XYSQS2,1)AND XYSHSL>1,-4,4,3,0),COLORYELLOW;
 STICKLINE(XYSQS2>=REF(XYSQS2,1)AND XYSHSL>1 AND C>HHJSJDB AND HHJSJDB>HHJSJDC,-2,2,3,0),COLORBLUE;
追涨:IF(XYSQS2>=REF(XYSQS2,1) AND XYSHSL>1,XYSQS1*178,0),COLORMAGENTA,LINETHICK2;

{底部}
TYP := (HIGH + LOW + CLOSE)/3;
 CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
 A:=REF(C,1);
 RSI:=SMA(MAX(C-A,0),6,1)/SMA(ABS(C-A),6,1)*100;
 A1:=(C/MA(C,5)-1)*100<-10;
 A2:=(C/MA(C,13)-1)*100<-10;
 A3:=(C/MA(C,34)-1)*100<-15;
 A4:=RSI<18;
 A5:=CCI<-120;
 A6:=COUNT(ABS(C/REF(C,1)-1)*100>=6,30)>=1;
底部:=A1 AND A2 AND A3 AND A4 AND A5 AND A6;
 STICKLINE(底部,-24,-32,3,0),COLORWHITE;

上一页  [1] [2] 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式