五色真K线主图指标 (源码)
通达信五色真K线主图指标公式股票软件源码如下:
VAR1:=(2*C+H+L)/4;
VAR2:=MA(VAR1,5);
VAR3:=MA(VAR1,21);
VAR4:=MA(VAR1,60);
中长:EMA(VAR1,55),COLORFF00FF;
股势:(MA(VAR2,5)+MA(VAR2,13)+MA(VAR2,21)+MA(VAR2,34))/4,COLORWHITE;
强弱:(MA(VAR1,3)+MA(VAR1,6)+MA(VAR1,12)+MA(VAR1,24))/4,COLORRED,LINETHICK2;
四季:(MA(VAR1,63)+MA(VAR1,126)+MA(VAR1,189)+MA(VAR1,252))/4,COLORGRAY,LINETHICK2;
STICKLINE(VAR1>=VAR2,CLOSE,OPEN,3,0),COLORFF0000;
STICKLINE(VAR1>=VAR2,HIGH,LOW,0,0),COLORFF0000;
STICKLINE(VAR1<=VAR2,CLOSE,OPEN,3,0),COLORFFFFFF;
STICKLINE(VAR1<=VAR2,HIGH,LOW,0,0),COLORFFFFFF;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
STICKLINE(VAR1<=VAR3 AND VAR1>OPEN,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(VAR1<=VAR3 AND VAR1>OPEN,HIGH,LOW,0,0),COLORYELLOW;
STICKLINE(VAR1>=VAR4 AND VAR1>OPEN,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(VAR1>=VAR4 AND VAR1>OPEN,HIGH,LOW,0,0),COLORRED;
STICKLINE(VAR1>=VAR4 AND VAR1<OPEN,CLOSE,OPEN,3,0),COLOR00FF00;
STICKLINE(VAR1>=VAR4 AND VAR1<OPEN,HIGH,LOW,0,0),COLOR00FF00;
- 上一篇公式:西点利器运作指标 (源码)
- 下一篇公式:乖离率辨顶底指标 (源码)