编写要求:
请老师帮忙把“进场线指标"中的当天突破 '进场线'做成选股指标。谢谢。 P:=9; WH1:=IF(L=LLV(L,P),L,DRAWNULL); WH2:=CONST(BARSLAST(WH1!=DRAWNULL)); WH3:=CONST(IF(WH2=0,H,REF(H,WH2))); WH4:=CONST(REF(BARSLAST(H>WH3),WH2+1)+WH2+1); WH5:=CONST(IF(WH4=0,H,REF(H,WH4))); WH6:=CONST(REF(BARSLAST(H>WH5),WH4+1)+WH4+1); WH7:IF(CURRBARSCOUNT<=WH2+10,CONST(IF(WH6=0,H,REF(H,WH6))),DRAWNULL),COLORWHITE; STICKLINE(CURRBARSCOUNT<=WH2+1 AND L=LLV(L,P),O,C,2,0),COLORRED;{oìK} DRAWTEXT(CURRBARSCOUNT=WH2+10,WH7,''),COLORRED; DRAWTEXT(ISLASTBAR,WH7,'进场线'),COLORRED;
解答:
?P:=9;
WH1:=IF(L=LLV(L,P),L,DRAWNULL);
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!