编写要求:
MA5:MA(CLOSE,5),COLORFFFFFF,LINETHICK1;
MA10:MA(CLOSE,10),COLOR00FFFF,LINETHICK1;
MA20:MA(CLOSE,20),COLOR00FF00,LINETHICK1;
MA30:MA(CLOSE,30),COLORFF00FF,LINETHICK1;
MA60:MA(CLOSE,60),COLOR0000FF,LINETHICK1;
MA120:MA(CLOSE,120),COLORFFFF00,LINETHICK1;
ANGEL:EMA(C,2),COLOR000000;
DEVIL:EMA(SLOPE(C,21)*20+C,42),POINTDOT,COLOR000000;
BUY:=CROSS(ANGEL,DEVIL);
SEL:=CROSS(DEVIL,ANGEL);
DRAWTEXT(BUY,LOW*0.99,'狂买'),COLORF00FF0,LINETHICK5;
DRAWTEXT(SEL,HIGH*1.08,'狂闪'),COLORWHITE,LINETHICK5;
STICKLINE(ANGEL>=DEVIL,LOW,HIGH,0.1,0),COLORRED;
STICKLINE(ANGEL>=DEVIL,CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE(ANGEL>=DEVIL,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(ANGEL>=DEVIL,CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE(ANGEL>=DEVIL,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(ANGEL 解答: ?ANGEL:=EMA(C,2); DEVIL:=EMA(SLOPE(C,21)*20+C,42);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!