主力线:=(EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10;
尊重市场1:=主力线,COLORRED,LINETHICK2;
动能做多线:IF(C>尊重市场1,尊重市场1,DRAWNULL),COLORRED,LINETHICK2;
动能做空线:IF(C< 尊重市场1,尊重市场1,DRAWNULL),COLORGREEN,LINETHICK2;
股民:=(C*3+H+L+O)/6;
指标:= EMA(股民,13) - EMA(股民,21);
股民指标:=EMA(指标,3);
指标营地:=EMA(指标,10);
ABC1:=EMA(C,7)-EMA(C,21);
ABC2:=EMA((0.668*REF (ABC1,1)+0.333*ABC1),1);
指标营地1:=ABC2;
ABC3:=V/SUM(V,13);
ABC4:=DMA(C,ABC3);
ABC5:=(C-ABC4)/ABC4*40;
ABC6:=MA(AMOUNT/(100*V),13);
尊重市场:=(C-ABC6)/ABC6*100;
多:=IF(ABC1>=ABC2,ABC1,ABC2);
空:=IF(ABC2-ABC1,ABC2,ABC1);
做多:=IF(ABC1>=ABC2,ABC1,ABC2);
做空:=IF(ABC2-ABC1,ABC2,ABC1);
主力强度:=ABC5>0 AND 做多>0;
STICKLINE(主力强度 AND 尊重市场>5,OPEN,CLOSE,2,0),COLORYELLOW ;
庄:=尊重市场>5;
庄进:=BARSLASTCOUNT(庄)=1;
DRAWICON(庄进,L,9);
DRAWTEXT(庄进,L*0.96,' ★庄进'),COLORYELLOW;