阅读:3129回复:2
LHJ分时最新源码
AA:ZSTJJ;
AB:DYNAINFO(3)*1.05,NODRAW; AC:DYNAINFO(4)*1.02,NODRAW; 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; 伏击统计:COUNT(伏击,240),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,2))),COLORLIRED; DRAWTEXT_FIX(1,0.90,0.015,0,STRCAT('伏击次数:',CON2STR(伏击统计,0))),COLORYELLOW; ABW:= AMOUNT/10000>100 AND AMOUNT/10000<999,NODRAW; BWDD:ABW=1 AND C>REF(C,1),NODRAW; ABW1:= AMOUNT/10000>1000,NODRAW; BWDD1:ABW1=1 AND C>REF(C,1),NODRAW; LAF:"LHVV.竞价动能#DAY",NODRAW; DRAWTEXT_FIX(1,0.45,0.015,0,STRCAT('竞价动能:',CON2STR(LAF,0))),COLORYELLOW; |
|
|
沙发#
发布于:2023-08-20 15:37
要配合LHVV使用。
|
|
|