通達信精準找牛股指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2023-10-18 來源:互聯(lián)網(wǎng)
通達信精準找牛股指標公式:
MA5:=MA(CLOSE,5);
MA15:=MA(CLOSE,15);
MA30:=MA(CLOSE,30);
MA60:=MA(CLOSE,60);
離散量30:100*(MA5-(MA15+MA30)/2)/MA30,COLORYELLOW,LINETHICK1;
離散量60:100*(MA5-(MA15+MA30+MA60)/3)/MA60,COLORCYAN;
粘合K:-2*(離散量30-離散量60),COLORRED,LINETHICK2;
粘合D:=EMA(粘合K,3),COLORYELLOW;
主升:BARSLAST(CROSS(粘合K,粘合D))*(粘合K>粘合D),NODRAW,COLORGREEN;
粘合:=ABS(粘合K)+ABS(離散量60),COLORGREEN;
{離差:當此數(shù)>0時,表示"離散量30"在"粘合K"的下方,但只有在"離散量30"上升時才有數(shù)}
離差:(粘合K-離散量30)*(離散量30>REF(離散量30,1)),NODRAW;
{關(guān)注1:粘合K在0軸附近,同時粘合K與離散量30都處于上升趨勢時}
CC:=粘合K-離散量30;
GZ1:=(ABS(粘合-粘合K)<3 AND 粘合K>粘合D) OR (粘合K>-0.5 AND 粘合K<1 AND 粘合K>粘合D) OR (CC>0 AND CC<2 AND 離散量30>REF(離散量30,1));
STICKLINE(GZ1,0,-1,0.8,1),COLORYELLOW;
關(guān)注1:IF(GZ1,1,0),COLORYELLOW,NODRAW;
{關(guān)注2:包含關(guān)注1=1,同時處于上升趨勢時}
VAR1:=IF(GZ1=1 AND 粘合K>REF(粘合K,1),1/ABS(粘合-粘合K),0);
GZ2:=IF(VAR1>10,10,IF(VAR1<0.5,0,IF(VAR1<1,1,VAR1)));
STICKLINE(GZ2>0,0,-GZ2,2,0),COLORMAGENTA;
關(guān)注2:IF(GZ2>0,1,0),COLORMAGENTA,NODRAW;
{老鴨嘴:有只在粘合K處于上升趨勢時,使用此指標一定要注意"粘合K"的趨勢}
VAR3:=REF(離散量30,3)>=REF(離散量30,1) AND REF(離散量30,1)<=離散量30 AND (離散量30-粘合K<2) AND 主升>0;
STICKLINE(VAR3,粘合K+1,粘合K-1,1,0),COLORGREEN;
鴨嘴:IF(VAR3,1,0),COLORGREEN,NODRAW;
{三金點:當關(guān)注1、關(guān)注2、老鴨嘴同時為1時};
三金點:關(guān)注1+關(guān)注2+鴨嘴,NODRAW;
{判斷超跌反彈}
VAR4:=IF(離散量30<-5 AND REF(離散量30,2)>REF(離散量30,1) AND 離散量30>REF(離散量30,1),1,0);
STICKLINE(VAR4,離散量30+2,離散量30,1,0),COLORYELLOW;
反彈:IF(VAR4,1,0),COLORYELLOW,NODRAW;
0,COLORWHITE;0,COLORWHITE;
通達信精準找牛股指標公式實例圖解:
通達信精準找牛股指標公式