通达信漂亮的顾比均线指标

{18日收盘均价为安全生命线}

{N 1 60 5}

E3:EMA(C,3),COLOR0000FF,LINETHICK1;
E5:EMA(C,5),COLOR0033FF,LINETHICK1;
E8:EMA(C,8),COLOR0066FF,LINETHICK1;
E10:EMA(C,10),COLOR0099FF,LINETHICK1;
E12:EMA(C,12),COLOR00CCFF,LINETHICK1;
E15:EMA(C,15),COLOR00FFFF,LINETHICK1;
安全生命线:EMA(C,18),COLORYELLOW,LINETHICK4;
E30:EMA(CLOSE,30),COLORFFFF00,LINETHICK1;
E35:EMA(CLOSE,35),COLORFFCC00,LINETHICK1;
E40:EMA(CLOSE,40),COLORFF9900,LINETHICK1;
E45:EMA(CLOSE,45),COLORFF6600,LINETHICK1;
E50:EMA(CLOSE,50),COLORFF3300,LINETHICK1;
E55:EMA(CLOSE,55),COLORFF0000,LINETHICK1;
IF(E3<=REF(E3,1),E3,DRAWNULL),COLOR00FF00,LINETHICK1;
IF(E5<=REF(E5,1),E5,DRAWNULL),COLOR00FF33,LINETHICK1;
IF(E8<=REF(E8,1),E8,DRAWNULL),COLOR00FF66,LINETHICK1;
IF(E10<=REF(E10,1),E10,DRAWNULL),COLOR00FF99,LINETHICK1;
IF(E12<=REF(E12,1),E12,DRAWNULL),COLOR00FFCC,LINETHICK1;
IF(E15<=REF(E15,1),E15,DRAWNULL),COLOR00FFFF,LINETHICK1;

{KDJ}
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KX:=SMA(RSV,3,1);
DX:=SMA(KX,3,1);
JX:=3*KX-2*DX;

M5:MA(CLOSE,N),COLOR000000;
VAR1:=IF(CLOSE>OPEN,CLOSE,OPEN);

{蓝}
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1.5,0),COLORFFBB00;
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0.5,0),COLORCYAN;
{红}
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0.5,0),COLORCC66FF;
{绿}
STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,3,0),COLOR009900;
STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,2.2,0),COLOR00BB00;
STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,1.5,0),COLOR00DD00;
STICKLINE(CROSS(M5,EMA(C,3)),VAR1,(OPEN+CLOSE)/2,0.5,0),COLOR00FF00;
{灰}
STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,3,0),COLOR999999;
STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,2.2,0),COLORBBBBBB;
STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,1.5,0),COLORDDDDDD;
STICKLINE(CROSS(EMA(C,3),M5),OPEN,(OPEN+CLOSE)/2,0.5,0),COLORFFFFFF;
STICKLINE(CROSS(JX,DX),OPEN,CLOSE,0.5,0),COLORYELLOW;
STICKLINE(CROSS(DX,JX),OPEN,CLOSE,0.5,0),COLOR000099;
{涨停}
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,3,0),COLOR338888;
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,2.2,0),COLOR33AAAA;
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,1.5,0),COLOR33CCCC;
STICKLINE(CLOSE>REF(CLOSE,1)*1.0985 AND CLOSE=HIGH,CLOSE,OPEN,0.5,0),COLORRED;
{跌停}
STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,3,0),COLOR009900;
STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,2.2,0),COLOR00BB00;
STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,1.5,0),COLOR00DD00;
STICKLINE(CLOSE<REF(CLOSE,1)*0.9015 AND CLOSE=LOW,CLOSE,OPEN,0.5,0),COLORBLUE;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图