通達信籌碼也有引力指標公式
80,COLORBROWN,DOTLINE; 力大小:"PAV.GV",COLORSTICK,COLORRED; OO:="PAV.CV",COLORSTICK,COLORCYAN; PP:="PAV.DIFF",COLORMAGENTA; 極值:HHV("PAV.GV",25)COLORGREEN; -98,COLORBLACK; 絕對值:=極值-REF(極值,1),NODRAW; IF(HHV(PP,10)>60 AND CROSS(0,PP) AND EXIST(HHV(PP,10)>REF(HHV(PP,10),1),9),OO,-97)COLORWHITE,LINETHICK2; 強洗盤:IF(EMA(C,12)>EMA(C,50) AND EVERY(C/REF(C,1)<1.090,5) AND REF(EVERY(極值<79.5,10),2) AND REF(絕對值>8 AND REF(EVERY(極值=REF(極值,1),3),1) AND CROSS(極值,79.7),1) AND CROSS(79.5,力大小),OO,-97)COLOR0080FF,LINETHICK2; 中簽率:=COUNT(C>REF(C,1),12)/12*100; MA6:=MA(中簽率,6); 黑馬:IF(EMA(C,12)>EMA(C,50) AND REF(REF(EVERY(中簽率<70,21),1) AND EVERY(中簽率>REF(中簽率,1),2) AND CROSS(中簽率,70) AND 中簽率=75,1) AND CROSS(70,中簽率) AND MA6>65,OO,-97)COLORRED,LINETHICK2; 概率:=COUNT(中簽率=REF(中簽率,1) AND REF(中簽率,1)>REF(中簽率,2),5); 天靈蓋:IF(EMA(C,12)>EMA(C,50) AND REF(概率>REF(概率,1) AND 概率=3,1) AND 中簽率>REF(中簽率,1),OO,-97)COLORMAGENTA,LINETHICK2; 接地氣:IF(EMA(C,12)>EMA(C,50) AND HHV(中簽率,20)>74 AND REF(EVERY(中簽率<MA6,12),1) AND MA6=中簽率 AND 中簽率=REF(中簽率,1) AND REF(中簽率,1)>REF(中簽率,2) AND EXIST(HHV(中簽率,20)>REF(HHV(中簽率,20),1),19),OO,-97)COLORYELLOW,LINETHICK2; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10)),; STICKLINE(CROSS(CCI,300),力大小,0,0.1,0),COLORWHITE;
|