VAR1:=((CLOSE – LLV(LOW,15))/(HHV(HIGH,15) – LLV(LOW,15)))*(100);
VAR2:=REVERSE(VAR1);
VAR3:=SMA(VAR1,5,1);
K:=SMA(VAR3,3,1);
D:=SMA(K,3,1);
STICKLINE((K <= D),100,0,8,0),COLOR2B5500;
STICKLINE((K >= D),100,0,8 ,0 ),COLOR005555;
高线:
80,COLOR0000FF,POINTDOT;
中线:
50,COLOR10CCFF,POINTDOT;
低线:
20,COLOR40FF00,POINTDOT;
{ _通达信股票指标公式}
DRAWTEXT(crOSS(K,D) AND (D < 18),15,’买’),COLOR00FFFF;
DRAWTEXT(CROSS(D,K) AND (D > 75),85,’卖’),COLORFFFFFF;
STICKLINE((K >= D),K,D,2,0 ),COLORYELLOW;
STICKLINE((K >= D),K,D,1.5 ,0 ),COLORYELLOW;
STICKLINE((K >= D),K,D,1,0 ),COLORYELLOW;
STICKLINE((K >= D),K,D,0,0),COLORYELLOW;
STICKLINE((K <= D),K,D,2,0),COLORGREEN;
STICKLINE((K <= D),K,D,1.5,0),COLORGREEN;
STICKLINE((K <= D),K,D,1,0),COLORGREEN;
STICKLINE((K <= D),K,D,0,0),COLORGREEN;
100,POINTDOT,COLORFFFFFF,LINETHICK5;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)