通达信股价GPS指标公式
通达信正反均差指标公式
通达信股价GPS指标公式:
DRAWTEXT_FIX(1,0.49,0.9,1,'---------------------------------'),COLORRED;
DRAWTEXT_FIX(1,0.69,0.9,1,'------------------------------------------'),COLORRED;
DRAWTEXT_FIX(1,0.58,0.1,1,'--------------'),COLORRED;
DRAWTEXT_FIX(1,0.50,0.1,1,'-------------'),COLORRED;
DRAwrECTREL(346,655,671,920,50);
DRAWRECTREL(396,415,621,920,50);
DRAWRECTREL(446,123,571,920,50);
DRAWRECTREL(280,504,700,505,120);
DRAWTEXT_FIX(1,0.53,0.95,1,'阳转信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.25,0.88,1,'买进信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.32,0.48,1,'加仓'),COLORYELLOW;
DRAWTEXT_FIX(1,0.38,0.23,1,'观望'),COLORYELLOW;
DRAWTEXT_FIX(1,0.53,0.05,1,'警戒信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.66,0.20,1,'卖出信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.68,0.48,1,'清仓'),COLORYELLOW;
DRAWTEXT_FIX(1,0.75,0.78,1,'观望'),COLORYELLOW;
DRAWTEXT_FIX(1,0.55,0.13,1,'现价与中期线'),COLORYELLOW;
DRAWTEXT_FIX(1,0.53,0.18,1,'乖离率'),COLORYELLOW;
VA1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VA2:=SMA(Abs(LOW-VA1),13,1)/SMA(MAX(LOW-VA1,0),10,1);
VA3:=EMA(VA2,10);
VA4:=LLV(LOW,33);
VA5:=EMA(IF(LOW<=VA4,VA3,0),3);
AA:=HHV(VA5,18)>100;
BB:=BArslAst(VA5>REF(VA5,1));
TT:=BB+1;
HH:=REF(H,TT);
XG:=crOSS(C,REF(H,TT));
HJ:=(C+HH)/2;
HK:=(C+HJ)/2;
HL:=(C+HK)/2;
HG:=MA(HL,3);
HF:=IF(HG>REF(HG,1),HG*1.008,HG*0.993);
HG5:=MA(HG,5);
HG5A:=MA(HG5,10);
中期线:=MA(HG5A,10);
DRAWNUMBER_FIX(CROSS(HF,中期线) AND CURRBARSCOUNT=1,0.30,0.88,1,C),COLORRED;
DRAWNUMBER_FIX(CROSS(中期线,HF) AND HF<REF(HF,1) AND CURRBARSCOUNT=1,0.72,0.48,1,C),COLORGREEN;
DRAWNUMBER_FIX(HF/中期线<0.8 AND HF<REF(HF,1) AND CURRBARSCOUNT=1,0.78,0.78,1,C),COLORGREEN;
DRAWNUMBER_FIX(HF/中期线<0.8 AND HF>REF(HF,1) AND CURRBARSCOUNT=1,0.58,0.95,1,C),COLORRED;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.53,0.5-(C/中期线-1),1,C/中期线),COLORRED;
天线角度:=ATAN(HF-REF(HF,1))*57.03;
STICKLINE(CURRBARSCOUNT<3,天线角度,0,2,1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT<3,天线角度,天线角度*0.999,2,0),COLORRED;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.87,0.8,1,'天线角度'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.85,0.75,1,INTPART(天线角度)),COLORRED;
最后天数:=CURRBARSCOUNT=1;
角度增:=天线角度>REF(天线角度,1);
角度减:=天线角度<REF(天线角度,1);
小幅增:=天线角度>0 AND 天线角度<30;
中幅增:=天线角度>30 AND 天线角度<45;
大幅增:=天线角度>45 AND 天线角度<80;
小幅减:=天线角度<0 AND 天线角度>-30;
中幅减:=天线角度<-30 AND 天线角度>-45;
大幅减:=天线角度<-45 AND 天线角度>-80;
DRAWNUMBER_FIX(最后天数 AND 角度增 AND 小幅增,0.30,0.88,1,C),COLORRED;
DRAWNUMBER_FIX(最后天数 AND 角度增 AND 中幅增,0.38,0.48,1,C),COLORRED;
DRAWNUMBER_FIX(最后天数 AND 角度增 AND 大幅增,0.43,0.23,1,C),COLORRED;
DRAWNUMBER_FIX(最后天数 AND 小幅减 ,0.75,0.68,1,C),COLORGREEN;
DRAWNUMBER_FIX(最后天数 AND 中幅减 ,0.70,0.20,1,C),COLORGREEN;
DRAWNUMBER_FIX(最后天数 AND 大幅减 ,0.80,0.78,1,C),COLORGREEN;
DRAWNUMBER_FIX(最后天数 AND REF(天线角度,1)<0 AND 天线角度>=0,0.58,0.95,1,C),COLORRED;
现价角度:ATAN(C-REF(C,1))*57.03,LINETHICK0;
天线角度1:IF(CURRBARSCOUNT<4,天线角度,DRAWNULL),COLORYELLOW;
DRAWTEXT_FIX(1,0.65,0.75,1,'今日万手量'),COLORYELLOW;
DRAWNUMBER_FIX(最后天数,0.66,0.85,1,V/10000),COLORYELLOW;
DRAWTEXT_FIX(1,0.43,0.75,1,'昨日万手量'),COLORYELLOW;
DRAWNUMBER_FIX(CURRBARSCOUNT=2,0.43,0.85,1,V/10000),COLORYELLOW;
通达信泊砂突破划线主图+选股指标公式