源码

MA5:EMA(CLOSE,5),colorFFFFFF;
工作线:EMA(CLOSE,14),LINETHICK1,colorF00FF0;
二号线:EMA(CLOSE,25),LINETHICK1,colorFF00;
九号线:EMA(CLOSE,99),LINETHICK1;
MA120:EMA(CLOSE,120),LINETHICK1;
生命线:EMA(CLOSE,453),LINETHICK1,colorFF;
DIFF:=(EMA(CLOSE,7) – EMA(CLOSE,19));
DEA:=EMA(DIFF,9);
MACD:=(0.9 * (DIFF – DEA));
TJ:=(DIFF >= DEA);
TJ1:=(DIFF >= 0);
STICKLINE(TJ,HIGH,LOW,0.5,0),colorFFFF;
STICKLINE(TJ,OPEN,CLOSE,4,0),colorFFFF;
STICKLINE((TJ1 AND TJ),HIGH,LOW,0.5,0),colorF00FF0;
STICKLINE((TJ1 AND TJ),OPEN,CLOSE,4,1),colorF00FF0;
STICKLINE((DIFF < DEA),HIGH,LOW,0.5,0),colorF0F000;
STICKLINE((DIFF < DEA),OPEN,CLOSE,4,0),colorF0F000;
VAR1:=((((CLOSE * 2) + HIGH) + LOW) / 4);
SK:=(EMA(VAR1,13) – EMA(VAR1,73));
SD:=EMA(SK,2);
DRAWTEXT(((((CROSS(SK,SD) AND (SK < (0 – 0.04))) AND (((CLOSE – REF(CLOSE,1)) / REF(CLOSE,1)) >= 0.03)) OR (CROSS(SK,SD) AND (SK <= (0 – 0.14)))) OR ((CROSS(SK,SD) AND (SK <= 0.05)) AND (((VOL / MA(VOL,5)) > 2) OR ((CLOSE / REF(CLOSE,1)) > 0.035)))),(LOW * 0.99),’短线’),colorFF;
STICKLINE(((((CROSS(SK,SD) AND (SK < (0 – 0.04))) AND (((CLOSE – REF(CLOSE,1)) / REF(CLOSE,1)) >= 0.03)) OR (CROSS(SK,SD) AND (SK <= (0 – 0.14)))) OR ((CROSS(SK,SD) AND (SK <= 0.05)) AND (((VOL / MA(VOL,5)) > 2) OR ((CLOSE / REF(CLOSE,1)) > 0.035)))),HIGH,LOW,0.5,0),colorFF;
STICKLINE(((((CROSS(SK,SD) AND (SK < (0 – 0.04))) AND (((CLOSE – REF(CLOSE,1)) / REF(CLOSE,1)) >= 0.03)) OR (CROSS(SK,SD) AND (SK <= (0 – 0.14)))) OR ((CROSS(SK,SD) AND (SK <= 0.05)) AND (((VOL / MA(VOL,5)) > 2) OR ((CLOSE / REF(CLOSE,1)) > 0.035)))),OPEN,CLOSE,10,1),LINETHICK3,colorFF;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。