编写要求:
input:N(0,0,250),N1(0,0,100),N2(0,0,100),N3(0,0,100); 时: MA(CLOSE,10); 分: (EMA(CLOSE,N1)*7+EMA(CLOSE,N2)*3)/10,Colorff6633; VarA:=REF(CLOSE,1); VarE:=SMA(MAX(CLOSE-VarA,0),6,1)/SMA(ABS(CLOSE-VarA),6,1)*100; PARTLINE(时,时>REF(时,1),RGB(255,0,0), 时700101 AND CROSS(84,VarE),HIGH,'☆卖出'); VarF:=(2*CLOSE+HIGH+LOW)/4; Var10:=LLV(LOW,34); Var11:=HHV(HIGH,34); Var12:=EMA((VarF-Var10)/(Var11-Var10)*100,6); Var13:=EMA(0.667*REF(Var12,1)+0.333*Var12,4); Var14:=LLV(LOW,120); Var15:=HHV(HIGH,120); Var16:=Var15-Var14; DRAWTEXT(IF(COUNT(CLOSE0.3 AND COUNT (Var12>Var13,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),LOW,'★进场'); GDSJ:=HHVBARS(C,N); REF(C,GDSJ),COLOR00FF00,POINTDOT; 突破:CROSS(C,REF(REF(C,GDSJ),1)) AND REF(GDSJ>=5,1),POINTDOT,LINETHICK0; STICKLINE(突破,C*0.99,C,5,0),COLOR00FF00; DRAWTEXT(突破,C*0.99,'突破'),COLOR00FFFF;
解答:
?{参数N(0,0,250),N1(0,0,100),N2(0,0,100),N3(0,0,100);}
N:=0;N1:=0;N2:=0;N3:=0;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!