编写要求:
源码如下; WR1:110*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10)); WR2:110*(HHV(HIGH,2)-CLOSE)/(HHV(HIGH,2)-LLV(LOW,2)); G:BARSLAST(CROSS(WR1,WR2))/2+12; DRAWTEXT(CROSS(WR2,G),G,'出 ')COLORGREEN; DRAWTEXT(CROSS(G,WR2),G,'进 ')COLORRED;
解答:
?cross(barslast(cross(110*(hhv(high,10)-close)/(hhv(high,10)-llv(low,10)),110*(hhv(high,2)-close)/(hhv(high,2)-llv(low,2))))/2+12,110*(hhv(high,2)-close)/(hhv(high,2)-llv(low,2)));
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!