编写要求:
解答:
?网友求助:
A:=FILTER(BACKSET(BARSTATUS=2,34),34); 0,COLORMAGENTA;
B:=FILTER(BACKSET(BARSTATUS=2,100),100); 0,COLORMAGENTA;
起始:STICKLINE(A,0,70,3,0);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
天:BARSLAST(a);
天1:BARSLAST(B);
ALL(天,j);
个股J:if(天>0 ,J,0), COLORYELLOW,LINETHICK2;
个股K:if(天>0,k,0),colorgreen;
获利:=WINNER(c);
STICKLINE(CROSS(k,d),天+15,天,0,0),colorgreen,LINETHICK2;
DRAWICON(CROSS(k,d),天+23,1),ALIGN1;
STICKLINE(CROSS(天1,个股J),天1+15,天1,0,0),colorred,LINETHICK2;
STICKLINE(CROSS(d,k),天1+15,天1,0,0),colorgreen,LINETHICK2;
DRAWICON(CROSS(d,k),天1+23,2),ALIGN1;
DRAWICON(CROSS(天1,个股J),天1+23,10),ALIGN1;
DRAWTEXT(CROSS(天1,个股J),天1+28,'预警'),ALIGN1,COLORFFFF00;
DRAWICON(CROSS(个股J,0),个股J+3,7),ALIGN1;
STICKLINE(CROSS(个股J,0),个股J+20,个股J,0,0),colorgreen,LINETHICK2;
DRAWTEXT(CROSS(个股J,0),个股J+28,'预喜'),ALIGN1,colorred;
DRAWICON(CROSS(个股J,天),天+20,7),ALIGN1;
STICKLINE(CROSS(个股J,天),天+20,个股J,0,0),colorgreen,LINETHICK2;
DRAWTEXT(CROSS(个股J,天),天+28,'喜'),ALIGN1,colorred;
DRAWTEXT(天=1,36,' 年'), colorgreen;
DRAWTEXT(天=1,20,' 月'), colorgreen;
DRAWTEXT(天=1,10,' 日'), colorgreen;
DRAWTEXT(天=1,36,NUMTOSTRN(YEAR,0)),ALIGN2, colorred;
DRAWTEXT(天=1,20,NUMTOSTRN(MONTH,0)),ALIGN2, colorred;
DRAWTEXT(天=1,10,NUMTOSTRN(DAY,0)),ALIGN2,colorred;
STICKLINE(ma(c,5)>ref(ma(c,5),1),天,天,18,0),colorred;
是改成免费版的。不要L2 的,谢谢了[]
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!