RSV:=MA(V,7)*1.5;
K:SMA(RSV,3,1),COLORFFFFFF,LINETHICK1;
D:SMA(K,3,1),COLORYELLOW,LINETHICK1;
J:(3*K-2*D),COLORFF00FF,LINETHICK1;
IF(K< D,K,DRAWNULL),COLOR00FF00,LINETHICK1;
IF(K< D,D,DRAWNULL),COLORFFFF00,LINETHICK1;
IF(K< D,J,DRAWNULL),COLOR008000,LINETHICK1;
换手率: HSL,COLORYELLOW;
{分级显示换手率}
开关1:=IF(HSL<=1,1,0);
开关2:=IF(HSL>1 AND HSL<=3,1,0);
开关3:=IF(HSL>3 AND HSL<=5,1,0);
开关4:=IF(HSL>5 AND HSL<=8,1,0);
开关5:=IF(HSL>8 AND HSL<=10,1,0);
开关6:=IF(HSL>10 AND HSL<=15,1,0);
开关7:=IF(HSL>15 AND HSL<=25,1,0);
开关8:=IF(HSL>25,1,0);
DRAWTEXT_FIX(1,0.5,0,0,’█████████████’),COLOR3C3C3C;
VAR1:=STRCAT(STRCAT(‘(0,1]换手低迷:● ‘,CON2STR(HSL,2)),0);
VAR2:=STRCAT(STRCAT(‘(1,3]换手温和:● ‘,CON2STR(HSL,2)),0);
VAR3:=STRCAT(STRCAT(‘(3,5]换手异动:■ ‘,CON2STR(HSL,2)),0);
VAR4:=STRCAT(STRCAT(‘(5,8]换手活跃:■ ‘,CON2STR(HSL,2)),0);
VAR5:=STRCAT(STRCAT(‘(8,10]换手非常活跃:▲ ‘,CON2STR(HSL,2)),0);
VAR6:=STRCAT(STRCAT(‘(10,15]换手高度活跃:▲ ‘,CON2STR(HSL,2)),0);
VAR7:=STRCAT(STRCAT(‘(15,25]换手极度活跃: ‘,CON2STR(HSL,2)),0);
VAR8:=STRCAT(STRCAT(‘(25,…)巨量换手: ‘,CON2STR(HSL,2)),0);
换手开关:=IF(开关1,VAR1,IF(开关2,VAR2,IF(开关3,VAR3,IF(开关4,VAR4,IF(开关5,VAR5,IF(开关6,VAR6,IF(开关7,VAR7,VAR8)))))));
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,换手开关),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=60,-90,’====[股票指标网]====’),COLOR00FF00;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/182843.html,转载请注明出处。