顶底指标 (源码)
通达信顶底指标公式股票软件源码如下:
VAR1:(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,COLORGREEN,LINETHICK2;
0, VOLSTICK;
拉升:IF(VAR1>0,VAR1,0),COLORRED,LINETHICK2;
短顶: STICKLINE(VAR1>9 AND VAR1< REF(VAR1,1),VAR1+2,0,3,0), COLORMAGENTA;
大顶: STICKLINE(VAR1>20 AND VAR1< REF(VAR1,1),VAR1+5,0,8,1),COLORBLUE;
VAR2:=HHV(VAR1>20,10);
{股票软件下载网-股票公式网站 www.gpxiazai.com}
危险: STICKLINE(VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),VAR1+10,0,4,0),COLOR008364;
注意止损: STICKLINE(VAR2 AND VAR1< REF(VAR1,1) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VAR1+6,0,3,0),COLORFF937F;
短底: STICKLINE(VAR1<-9 AND VAR1> REF(VAR1,1),VAR1-2,0,3,0), COLORGREEN;
大底: STICKLINE(VAR1<-20 AND VAR1> REF(VAR1,1),VAR1-5,0,7,0), COLORYELLOW;
买入准备:VAR1<-9 AND VAR1> REF(VAR1,1),COLOR066878;
- 上一篇公式:仿质变主图指标 (源码)
- 下一篇公式:股市逃生指标 (源码)