编写要求:
请老师把kd指标中当天出现'●' 的-做出预警 RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:SMA(RSV,M1,1),LINETHICK1; D:SMA(K,M2,1),LINETHICK1; 乖离:(K-D),COLORSTICK; STICKLINE(乖离 > 0,乖离,0,2.3,0),COLOR0000FF; STICKLINE(乖离 < 0,乖离,0,2.3,0),COLORFF4242; DRAWTEXT(K>80,90,'★'),COLORRED; DRAWTEXT(K<20,-5,'●'),COLORYELLOW; DRAWTEXT(CROSS(80,K),80,'逃'),COLORYELLOW; DRAWTEXT(CROSS(K,20),20,'▲'),COLORYELLOW; DRAWTEXT(CROSS(K,D),D,'▲'),COLORYELLOW; 买进:(CROSS(K,D)AND (MA(C,18)-MA(C,50))>0 AND VOL>REF(VOL,1)*1.9 AND MA(C,50)>REF(MA(C,50),1))*10; 卖出:(CROSS(80,K))*5; DRAWTEXT(CROSS(80,K),80,'逃'),COLORYELLOW; DRAWTEXT(CROSS(K,D)AND VOL>REF(VOL,1)*1.5 AND MA(C,50)>REF(MA(C,50),1),0,'▲'),COLORYELLOW;
解答:
?RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!