这个指标有未来参数。
{XDB:="虎拓圣龙.买入力度";
XDS:="虎拓圣龙.卖出力度";
}
MM:=H-REF(C,1);
SS:=REF(C,1)-L;
S:=IF(SS>0,SS,0.01);
M:=IF(MM>0,MM,0.01);
HJ:=M+S;
买入力度:=M/HJ*AMOUNT/CAPITAL;
卖出力度:=S/HJ*AMOUNT/CAPITAL;
X:=(买入力度-卖出力度);
SUMX:=SUM(X,0);
SUMXP:=X*10;
CT:=COUNT(SUMXP>0,0);
ST:=COUNT(SUMXP<0,0);
CZ:=CT-ST;
T1:=V>MA(V,0)*5;
T2:=SLOPE(C,5)>0.02;
T3:=SLOPE(C,4)>0.016;
X1:=T1 AND T2 AND SUMX>0 AND CT>ST*1.5;
X2:=(COUNT(SUMXP>0,6)>5 OR COUNT(SUMXP>0,10)>7) AND SUMX>0.1 AND T3;
Y:=HHV(SUMXP,0);
B:=X1*Y;
庄家:(X2*Y)/200,LINETHICK2,COLOR0088FF;
VAR2:=1/WINNER(CLOSE);
VAR3:=MA(CLOSE,13);
VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100);
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VAR9:=SMA((OPEN-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
VARB:=3*VAR9-2*SMA(VAR9,15,1);
VARC:=100-VARB;
散户: (100-VARA)/1,LINETHICK1 ,COLORWHITE;
钥匙:50,COLOR00FF66;
ZLCM:=EMA((WINNER(CLOSE) * 70),3);
SHCM:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);
主力控盘:((ZLCM / (ZLCM + SHCM)) * 100),LINETHICK2,COLORYELLOW;
顶:90, LINETHICK2 ,COLORRED;
风险:80,COLORYELLOW;
VARF:=TROUGHBARS(3,15,1)<4;
多空:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3),COLORWHITE;
STICKLINE(FILTER(VARF=1,5) AND 多空<-10,40,0,2,0),COLORF00FF0;
STICKLINE(FILTER(VARF=1,5),40,0,2,0),COLORYELLOW;
DRAWTEXT(牛股,-10.4,'▲←超级黑马'),COLORRED;