马留分时马留预警指标(分时副图可以)
源码
[马留分时]
hsl:=100*V/CAPITAL;
阳换手:=sum(if(c>ref(c,1),hsl,0),0);
阴换手:=sum(if(c<ref(c,1),hsl,0),0);
ZF:="涨幅#MIN5">1.5;[说白了,就是五分钟涨速.(涨幅:(c-ref(c,1))/ref(c,1)*100;)如系统沒有就新建一个,公式名称为;涨幅]
WW:=BARSLAST(TIME=93300 AND DAY<>REF(DAY,1)+1);
XX:=IF(WW>0,H=HHV(H,55),0);
XY:=IF(WW>0,V=HHV(V,55),0);
最高价:=REF(H,BARSLAST(XX));
最高量:=REF(V,BARSLAST(XY));
均线:=(C+L+H)/3;
介入:=IF(range(TIME,093400,110800) AND ZF,V>REF(最高量,1) AND H>REF(最高价,1)
AND 阳换手>阴换手*1.1 AND C>ma(均线,0),0);
绝杀:IF(介入>0,5,0),stick,COLOR0000cc,linethick3;
DRAWTEXT(介入>0,5,'★绝杀'),COLOR0000ff;
马留预警]股池预警专用
hsl:=100*V/CAPITAL;
阳换手:=sum(if(c>ref(c,1),hsl,0),0);
阴换手:=sum(if(c<ref(c,1),hsl,0),0);
ZF:=DYNAINFO(24)>0.015;
WW:=BARSLAST(TIME=93300 AND DAY<>REF(DAY,1)+1);
XX:=IF(WW>0,H=HHV(H,55),0);
XY:=IF(WW>0,V=HHV(V,55),0);
最高价:=REF(H,BARSLAST(XX));
最高量:=REF(V,BARSLAST(XY));
均线:=DYNAINFO(11);
介入:=IF(range(TIME,093400,110800) AND ZF,V>REF(最高量,1) AND H>REF(最高价,1)
AND 阳换手>阴换手*1.1 AND C>均线,0);
ZRC:if(range(DYNAINFO(14),-0.035,0.048) ,介入>0,0);