KDJ成交量 通达信副图,
源码
RSV:=MA(V,7)*1.5;
D:SMA(K,3,1),COLORYELLOW,LINETHICK1;
IF(K< D,K,DRAWNULL),COLOR00FF00,LINETHICK1;
IF(K< D,J,DRAWNULL),COLOR008000,LINETHICK1;
{分级显示换手率}
开关2:=IF(HSL>1 AND HSL<=3,1,0);
开关4:=IF(HSL>5 AND HSL<=8,1,0);
开关6:=IF(HSL>10 AND HSL<=15,1,0);
开关8:=IF(HSL>25,1,0);
VAR1:=STRCAT(STRCAT(‘(0,1]换手低迷:● ‘,CON2STR(HSL,2)),0);
VAR3:=STRCAT(STRCAT(‘(3,5]换手异动:■ ‘,CON2STR(HSL,2)),0);
VAR5:=STRCAT(STRCAT(‘(8,10]换手非常活跃:▲ ‘,CON2STR(HSL,2)),0);
VAR7:=STRCAT(STRCAT(‘(15,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(CURRBARSCOUNT=60,-90,’====【WWW.SYDTZRJ.COM】====’),COLOR00FF00;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)