AA:=EMA(EMA(CLOSE,8)-EMA(CLOSE,13),3);
BB:=(AA-REF(AA,1))*10;
CC:=IF(BB>REF(BB,1),BB,REF(BB,1));
STICKLINE(BB>0,0,BB,2,0),COLORRED;
STICKLINE(BB<0,0,BB,2,0),COLORGREEN;
STICKLINE(CC=BB AND REF(CC,1)>REF(BB,1) AND BB<0,0,BB,1,0),COLORMAGENTA;
STICKLINE(CROSS(BB,0),0,BB,1,0),COLORYELLOW;
DRAWTEXT(CROSS(BB,0),BB*1.3,’买入’),COLORGREEN;
DRAWTEXT(CROSS(0,BB),BB,’撤离’),COLORYELLOW;
DRAWTEXT(CC=BB AND REF(CC,1)>REF(BB,1) AND BB<0,BB*1.3,’准备’),COLORMAGENTA;
DRAWTEXT(CC=BB AND REF(CC,1)>REF(BB,1) AND BB>0,BB*1.4,’加仓’),COLORMAGENTA;
DRAWTEXT(BB<CC AND REF(CC,1)=REF(BB,1) AND BB>0,BB*1.3,’卖出’),COLORRED;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)