大智慧强弱龙险指标公式
C1:=(((10000 * CLOSE) / INDEXC));
Var1:=REF(c1,1);
A1:=SMA(MAX(c1-Var1,0),7,1)/SMA(Abs(c1-Var1),7,1)*100;
Var2:=REF(c1,2);
A2:=SMA(MAX(c1-Var2,0),7,1)/SMA(ABS(c1-Var2),7,1)*100;
Var3:=REF(c1,3);
A3:=SMA(MAX(c1-Var3,0),7,1)/SMA(ABS(c1-Var3),7,1)*100;
Var4:=REF(c1,4);
A4:=SMA(MAX(c1-Var4,0),7,1)/SMA(ABS(c1-Var4),7,1)*100;
Xrsi1:=(A1+A2+A3+A4)/4;
FILLRGN(30,XRSI1,XRSI1>=30,188188);
FILLRGN(50,XRSI1,XRSI1>=50,883399);
FILLRGN(70,XRSI1,XRSI1>=70,003300);
XRSI:(A1+A2+A3+A4)/4,COLORYELLOW,LINETHICK1;
MX13:MA(XRSI,13),COLORRED;
关注:crOSS(XRSI,MA(XRSI,2)) AND BETWEEN(XRSI,20,60),COLORFFFFFF,POINTDOT,LINETHICK0;
QSXS:=XRSI>REF(XRSI,1) OR MX13>REF(MX13,1);
操作区:XRSI>MX13 AND QSXS,COLOR00FFFF,POINTDOT,LINETHICK0;
{以下设置副图显示方式}
stICKLINE(操作区,XRSI,MX13,4,0),COLOR00FFFF;
{www.zhibiaow.com 指标网_大智慧股票指标公式}
DRAWTEXT(CROSS(关注,0.8),XRSI,'↑'),COLORFFFFFF,ALIGN1;
DRAWTEXT(CROSS(操作区,0.8),MX13,'◆'),COLOR0000FF,ALIGN1;
弱:30,COLORFFFFFF;
强:50,COLOR00FFFF,POINTDOT;
龙:70,COLORFF00FF,POINTDOT;
险:IF(XRSI1>90,75,90),COLOR0000FF;