HH:=HHV(HIGH,5); LL:=LLV(LOW,5); HH1:=BARSLAST((HH > REF(HH,1))); LL1:=BARSLAST((LL < REF(LL,1))); IF((HH1 < LL1),LL,DRAWNULL),LINETHICK2,COLORBB0066; IF((HH1 > LL1),HH,DRAWNULL),LINETHICK2,COLOR1B8800; STICKLINE((HH1 < LL1),CLOSE,OPEN,3,0),COLORRED; STICKLINE((HH1 < LL1),HIGH,LOW,0,0),COLORRED; STICKLINE((HH1 > LL1),CLOSE,OPEN,3,0),COLORFF0000; STICKLINE((HH1 > LL1),HIGH,LOW,0,0),COLORFF0000; DRAWICON(CROSS(HH1,LL1),HH,11); DRAWICON(CROSS(LL1,HH1),LL,12); DRAWTEXT(CROSS(HH1,LL1),HH,’卖’),COLORFF0000; DRAWTEXT(CROSS(LL1,HH1),LL,’买’),COLORFF00FF; DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,’♂加’),COLORFF00FF; DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,’♀减’),COLORFF0000; 飞狐源码: input:N(10,1,500); HH:=HHV(HIGH,N); LL:=LLV(LOW,N); HH1:=BARSLAST((HH > REF(HH,1))); LL1:=BARSLAST((LL < REF(LL,1))); PARTLINE((HH1 < LL1),LL),LINETHICK2,colorBB0066; PARTLINE((HH1 > LL1),HH),LINETHICK2,color1B8800; STICKLINE((HH1 < LL1),CLOSE,OPEN,9,0),colorFF; STICKLINE((HH1 < LL1),HIGH,LOW,0,0),colorFF; STICKLINE((HH1 > LL1),CLOSE,OPEN,9,0),colorFF0000; STICKLINE((HH1 > LL1),HIGH,LOW,0,0),colorFF0000; DRAWICON(CROSS(HH1,LL1),HH,11); DRAWICON(CROSS(LL1,HH1),LL,12); DRAWTEXT(CROSS(HH1,LL1),HH,’卖’),colorFF00; DRAWTEXT(CROSS(LL1,HH1),LL,’买’),colorFF00FF; DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,’♂加’),colorFF00FF; DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,’♀减’),colorFF00; drawtext(BARPOS=SYSPARAM(2),h,’会员专用’),align4,colorffff; 声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)