编写要求:
STICKLINE(18,100,0,5,0),COLORBLUE; VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5); VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5); VAR03:=CROSS(VAR02,VAR01); VAR04:=REF(VAR02,2)0 AND VAR04; VAR06:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR07:=SMA(ABS(LOW-VAR06),13,1)/SMA(MAX(LOW-VAR06,0),10,1); VAR08:=EMA(VAR07,10); VAR09:=EMA(C,5); VAR10:=LLV(LOW,33); VAR11:=EMA(IF(LOW<=VAR10,VAR09,0),3)*40; VAR12:=IF(VAR11>100,VAR11*0.312,VAR11); 底部爆发:VAR12,COLORWHITE; STICKLINE(VAR12>0,0,VAR12,3,0),COLORWHITE; STICKLINE(VAR12>0,0,VAR12,2,0),COLOR555555; STICKLINE(VAR12>0,0,VAR12,1,0),COLORYELLOW; STICKLINE(VAR02>0,0,VAR02,5,0),COLOR3A7841; 海岸:VAR02,COLORGREEN; 浪花:VAR01,COLORCYAN; STICKLINE(VAR05 AND COUNT(VAR05,5)=1,0,VAR12,4,0),COLORRED; 请老师帮忙将“出现红柱”改为条件选股公式,非常感谢!
解答:
?VAR01:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
VAR02:=(HHV(HIGH,25)-LLV(LOW,25))/EMA((CLOSE-LLV(LOW,25)),5);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!