同花顺建仓区副图指标
源码
DRAWGBK(V 1,STRIP(RGB(60,100,255),RGB(180,180,255),2));
var2:=REF(LOW,1);
Var3:=SMA(ABS(LOW-Var2),13,1)/SMA(MAX(LOW-Var2,0),13,1)*100;
Var4:=EMA(IF(CLOSE*1.2,Var3*13,Var3/13),13);
Var5:=LLV(LOW,21);
Var6:=HHV(Var4,21);
Var7:=IF(LLV(LOW,34),1,0);
Var8:=EMA(IF(LOW =Var5,(Var4+Var6*2)/2,0),3)/618*Var7;
Var9:=EMA(CLOSE,4);
Var10:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*(10);
Var11:=EMA(IF(LOW =Var5,(Var4+Var6*2)/2,0),3)/618*Var7*(-1);
Var12:=EMA(CLOSE,4)*(-1);
个股:EMA(100*(C-LLV(LOW,14))/(HHV(H,14)-LLV(LOW,14)),3),coloryellow,LINETHICK0;
STICKLINE(个股 个股 OR 个股 REF(个股,1),100,0,10,0),ColorFF4AA5;
STICKLINE(个股 个股 OR 个股 REF(个股,1),50,0,10),Color418060;
FILLRGN(个股,REF(个股,1),个股 REF(个股,1),RGB(255,255,0),个股 REF(个股,1),RGB(0,0,255));
STICKLINE(Var12 REF(Var12,1),0,Var12*0.08,4,1),color10E410;
主力进场:IF(Var8 REF(Var8,1),Var8*8,0),colorred,linethick2;
STICKLINE(Var11 REF(Var11,1),0,Var11,4,1),colorFFF810;
洗盘:IF(Var11 REF(Var11,1),Var11*8,0),COLOR00FF00,linethick2;
XL1:=MA(LOW,2)*0.96;
XL2:=MA(LOW,26)*0.85;
XL3:=REF(XL1,1) XL2 AND REF(XL1,1) XL1 AND REF(XL1,1) REF(XL1,2);
STICKLINE(XL3,0,Var8*3,4,0),COLORFF0000;
DRAWTEXT(XL3,Var8*2,'买'),COLORFF0000;
买:DRAWICON(XL3,Var8*3,4),colorred;