编写要求:
解答:
?网友求助:
飞狐显示缺口源码缺口点位数字显示错误哪位帮忙改下,谢谢!
STICKLINE(LOW>REF(HIGH,1),LOW,REF(HIGH,1),50,1001),Color408080;
STICKLINE(REF(LOW,1)>HIGH,REF(LOW,1),HIGH,50,1001),Color808040;
DRAWTEXT(LOW>REF(HIGH,1),REF(HIGH,1),NUMTOSTR(REF(HIGH,1),2)+'-'+NUMTOSTR(LOW,2)),Color408080;
DRAWTEXT(REF(LOW,1)>HIGH,REF(LOW,1),NUMTOSTR(REF(LOW,1),2)+'-'+NUMTOSTR(HIGH,2)),Color808040;
解答如下:
sk:=LOW>REF(HIGH,1); xk:=REF(LOW,1)>HIGH;
STICKLINE(sk,LOW,REF(HIGH,1),30,1),Color408080;
STICKLINE(xk,REF(LOW,1),HIGH,30,1),Color808040;
DRAWTEXT(sk,l,'-'),Color009fff,PXDN10,SHIFT6; DRAWNUMBER(sk,l,l,2),Color009fff,PXDN10; DRAWNUMBER(sk,l,ref(h,1),2),Color009fff,PXDN10,SHIFT7;
DRAWTEXT(xk,h,'-'),Coloraaaaaa,PXDN10,SHIFT6; DRAWNUMBER(xk,h,ref(l,1),2),Coloraaaaaa,PXDN10; DRAWNUMBER(xk,h,h,2),Coloraaaaaa,PXDN10,SHIFT7;
?
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!