编写要求:
VAR9:=CLOSE-REF(CLOSE,5); VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5); VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20); 卖出:=IF(VARA>0 AND CROSS(VARC,VARA),00,100); 买线:=EMA(CLOSE,20); 卖线:=EMA(SLOPE(CLOSE,21)*5+CLOSE,20); 买入:CROSS(买线,卖线)COLORYELLOW; A1:=REF(CLOSE,2); A2:=SMA(MAX(CLOSE-A1,0),7,1)/SMA(ABS(CLOSE-A1),7,1)*100; AA:=(CLOSE-LLV(LOW,23))/(HHV(HIGH,23)-LLV(LOW,23))*100; BB:=MA(AA,10); 趋势线:=SMA(BB,3,1)/10; 底部线:=(HHV(HIGH,34)/LLV(LOW,34)); 进入底部:IF(CROSS(底部线,趋势线),2,0); 冲出底部:IF(CROSS(趋势线,底部线),2,0); VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,6,1)- 3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK1; VAR2:8,COLORGREEN,LINETHICK0; 增强体力: IF(CROSS(VAR1,VAR2),50,1),STICK,LINETHICK2; DRAWTEXT(CROSS(VAR1,VAR2),40,'买入'); VARO5:=LLV(LOW,13); VARO6:=HHV(HIGH,34); VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*3,4)*25;
解答:
?VAR9:=CLOSE-REF(CLOSE,5);?
VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!