编写要求:
请老师把出现开红花买做个选股
VAR1:=(CLOSE+LOW+HIGH)/3;
VAR2:=SUM(((VAR1-REF(LOW,3))-(HIGH-VAR1))*VOL/10000/(HIGH-LOW),1);
VAR3:=EMA(VAR2,3),COLORFFEE3C;
JCS0:VAR3,CIRCLEDOT,LINETHICK1,COLORFFEE3C;
波段买入或持股:IF(JCS0>REF(JCS0,1),JCS0,DRAWNULL),LINETHICK4;
波段卖出或观望:IF(JCS0REF(VAR1,1),VAR3,10),CIRCLEDOT,COLORRED,LINETHICK2;
IF(VAR1=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARD:=CLOSEVAR3,JCM,DRAWNULL),,COLORBLUE,LINETHICK2;
JCL1:IF(JCL
解答:
?开红花大涨:=FILTER(CLOSE/REF(CLOSE,3)>=1.1,3);
买入:开红花大涨 AND COUNT(开红花大涨,3)=1;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!