净流入:=ROUND((L2_AMO(0,0)/10000.0)+(-L2_AMO(0,1)/10000.0));{主力特大单}
X1_4:=AMOUNT/10000;{主力特大单占成交额的比例}
X1_5:=净流入/X1_4*100;
DRAWTEXT(净流入>=100 ,HIGH*0.975,VARCAT(VARCAT('占比:',VAR2STR(X1_5,0)),'%')),COLORMAGENTA;
DRAWTEXT(净流入>=100 ,HIGH*0.995,VARCAT(VARCAT('',VAR2STR(净流入,0)),'万')),COLORYELLOW;
X_31:=DYNAINFO(88)/10000;
X_32:=DYNAINFO(7);
STICKLINE(CLOSE/REF(CLOSE,1)>=1.097 AND HIGH=CLOSE AND X_32=CLOSE,CLOSE,OPEN,3,0),COLORMAGENTA;
X_33:=(CLOSE/REF(CLOSE,1)-1)*100>9.8 AND HIGH=CLOSE AND HIGH!=LOW;
DRAWTEXT(X_32=CLOSE AND X_33,LOW*1.035,VARCAT(VAR2STR(X_31,0),'万★封单资金')),COLORWHITE;
X_34:=DYNAINFO(88)/DYNAINFO(10)*100;
DRAWTEXT(X_32=CLOSE AND X_33,LOW*1.01,VARCAT(VAR2STR(X_34,0),'★封单比')),COLORGREEN;
{对于资金占比值 可参考以下划分:
主力特大单占比超过1%以上:个股总体位置较低时 意味着主力资金开始介入, 在大概率在近期会有一波拉伸
资金占比处于5%-15%之间:代表当日个股主力资金介入处于一个异动状态
资金占比低于1%:一般不考虑此信号操作};