阅读:2504回复:0
LHJ分时带百万或千万主动性买盘的最新源码
AA:=ZSTJJ;
AB:DYNAINFO(3)*1.05; AC:DYNAINFO(4)*1.02; AD:"LHJ顶底.LHVG#MIN1",NODRAW; 成交额:= AMOUNT/10000,NODRAW; 主动买盘:=SUM(IF(成交额>50 AND CLOSE>REF(CLOSE,1),成交额,0),0); 主动卖盘:=SUM(IF(成交额>50 AND CLOSE<REF(CLOSE,1),成交额,0),0); 净流:=SUM(IF(CLOSE>REF(CLOSE,1),成交额,IF(CLOSE<REF(CLOSE,1),-成交额,0)),0), COLORSTICK; IF(净流>0 AND C>ZSTJJ,ZSTJJ,DRAWNULL),COLORRED,LINETHICK9; IF(净流<0 AND C<ZSTJJ,ZSTJJ,DRAWNULL),COLORGREEN,LINETHICK9; IF(C>0,C,DRAWNULL),COLORWHITE,LINETHICK9; 伏击:CROSS(C,AC),NODRAW; DRAWTEXT(伏击=1,C,'伏击'), COLORYELLOW; DRAWTEXT(AD=1 AND C>ZSTJJ,C,'←过前高'), COLORRED; DRAWTEXT(AD=1 AND C<ZSTJJ,C,'←过前高'), COLORGREEN; {行业板块龙头排名}; AE:"LHVV.LHHY#DAY",NODRAW; AF:"LHVV.LHHZ#DAY",NODRAW; DRAWTEXT_FIX(1,0.55,0.015,0,HYBLOCK),COLORWHITE; DRAWTEXT_FIX(1,0.68,0.015,0,STRCAT('龙头:',CON2STR(AE,0))),COLORWHITE; DRAWTEXT_FIX(1,0.77,0.015,0,STRCAT('板块涨幅:',CON2STR(AF,3))),COLORLIRED; ABW:=成交额>100,NODRAW; AG:"DDX.大单动向#DAY">0,NODRAW; DRAWICON(ABW=1 AND C>REF(C,1) AND AG=1,C,7); BWDD:ABW=1 AND C>REF(C,1) AND AG=1,NODRAW; |
|
最新喜欢:135289...
|