收集:中国股票市场经济分析网
{zljt主力进退}
hh:=hhv(h,60);
ll:=llv(l,60);
VAR1:=REF((L+O+C+H)/4,1);
VAR2:=SMA(ABS(VAR1-H),13,1)/SMA(MAX(VAR1-H,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=HHV(H,33);
VAR5:=EMA(IF(H>=VAR4,VAR3,0),3)*-1;
主力退场:IF(VAR5>REF(VAR5,1),VAR5,0),LINETHICK2,Color0066BB;
主力诱多:IF(VAR5<REF(VAR5,1),VAR5,0),LINETHICK2,ColorFF8800;
n:=3;
ma15:=EMA(CLOSE,n);
a:BARSLAST(ma15<REF(ma15,1)),colorred;
b:= COUNT(ma15>REF(ma15,1),5);
持股:STICKLINE(b>0,a,0,2,0),colorred;
观望:STICKLINE(b=0 AND a=0,0,1,4,1),colorff9900;
强势:STICKLINE(b<a,a,b,1,0),COLOR00ff00;
STICKLINE(REF(b,1)=0 AND b>0,0,-1,2,0),colorred;
DRAWTEXT(REF(a,3)>0 AND REF(a,2)>0 AND REF(a,1)>0 AND a=0 AND
REF(a,1)>b,REF(a,1),'调整'),coloryellow;
vv0:0,colorffa2af;