编写要求:
DRAWBAND(MA(CLOSE,60),RGB(55,0,0),MA(CLOSE,120),RGB(0,91,0)); DRAWBAND(MA(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68)); DRAWKLINE(H,O,L,C); VAR326:=IF(CLOSE>REF(CLOSE,1),88,0); VAR327:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND VAR326>0, 91, 0); STICKLINE(VAR327>90,L*0.99,L*0.95,4,0),COLORYELLOW; DRAWTEXT(VAR327>90,LOW*0.95,'追★涨'),COLORYELLOW; MTM:=C-REF(C,1); DX:=120*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); 卖:=IF(HHV(DX,4)=HHV(DX,7) AND COUNT(DX>50,4) AND CROSS(MA(DX,4),DX),1,0); DRAWICON(FILTER(卖=1,1),HIGH*1.02,8); 买入:=(MA(CLOSE,8)+MA(CLOSE,21)+MA(CLOSE,60)+MA(CLOSE,100))/4,COLOR0000FF; MA1:SMA(C,2,1),POINTDOT; DRAWICON(CROSS(MA1,买入),L*0.96,7); 请老师改成2个选股公式 1.B 点买入选股 2.'追★涨'买入选股 请老师帮忙,谢谢!
解答:
?买入:=(MA(CLOSE,8)+MA(CLOSE,21)+MA(CLOSE,60)+MA(CLOSE,100))/4;
MA1:=SMA(C,2,1);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!