公式解读:
出货指标公式VAR1:=REF((L+O+C+H)/4,1);
VAR2:=SMA(ABS(REF((L+O+C+H)/4,1)-H),13,1)/SMA(MAX(REF((L+O+C+H)/4,1)-H,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=HHV(H,33);
VAR5:=EMA(IF(H=VAR4,VAR3,0),3)*(-0.1);
主力退场:IF(VAR5REF(VAR5,1),VAR5,0),LINETHICK2,COLORWHITE;
主力诱多:IF(VAR5REF(VAR5,1),VAR5,0),LINETHICK2,COLORGREEN;
{主力洗进}
VAR22:=SMA(ABS(REF((L+O+C+H)/4,1)-L),13,1)/SMA(MAX(REF((L+O+C+H)/4,1)-L,0),10,1);
VAR33:=EMA(VAR22,10);
VAR44:=LLV(L,33);
VAR55:=EMA(IF(L=VAR44,VAR33,0),3)*100;
ZJ:=(O+H+L+C)/4;
YZ:=IF(BARSCOUNT(C)60,VOL/SUM(VOL,60),VOL/SUM(VOL,BARSCOUNT(C)));
超短期:DMA(ZJ,YZ/0.125);
短期:DMA(ZJ,YZ/0.25);
中期:DMA(ZJ,YZ/0.50);
长期:DMA(ZJ,YZ);
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9:=SMA(VAR8,13,8);
底线:0,COLOR00FFFF;
主力吸货:VAR7,COLOR0000FF;
吸筹1:STICKLINE(VAR7,0,VAR7,6,0),COLOR0000FF;
吸筹2:STICKLINE(VAR7,0,VAR7,5,0),COLOR6600FF;
吸筹3:STICKLINE(VAR7,0,VAR7,4,0),COLORBB00FF;
吸筹4:STICKLINE(VAR7,0,VAR7,3,0),COLORFF00FF;
吸筹5:STICKLINE(VAR7,0,VAR7,2,0),COLORFF33FF;
吸筹6:STICKLINE(VAR7,0,VAR7,1,0),COLORFF66FF;
吸筹7:STICKLINE(VAR7,0,VAR7,0,0),COLORFF99FF;
风险:CEILING(SMA(VAR9,13,8)),LINETHICK2,COLORGREEN;
涨跌:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,COLORRED;
公式解读:
主力抄底指标公式V1:=(C*2+H+L)/4;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
主力开始出: IF(V4=0,V4,0),COLORGREEN,LINETHICK2;
主力开始进: IF(V4=0,V4,0),COLORRED,LINETHICK2;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}
ZZNTS:=BARSLAST(ZSHTL90 AND REF(ZSHTL,1)90);{//走牛天数}
ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}
ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)ZSHTL-REF(ZSHTL,1),1,0);
{散户套牢筹码}
STICKLINE(C0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;
{散户筹码警戒}
STICKLINE(ZSHJJREF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00FF00;
{主力控盘筹码}
STICKLINE(C0,ZZLKP,0,1,0),COLORA4A4A4;
{筑顶风险区}
STICKLINE(ZZLKP75,ZZLKP,0,1,0),COLORFFFFFF;
{顶部:(ZZLKP75),COLORFFFFFF;}
{主力筹码警戒}
STICKLINE(ZZLJJREF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED;
{筑底散兵坑}
STICKLINE(ZSHTL=90,ZZLKP,0,2,0),COLOR66FFCC;
{底部:(ZSHTL=90),COLOR66FFCC;}
{筹码总量上升}
IF(ZCMZL,ZCMZLREF(ZCMZL,1),DRAWNULL),COLOR0066FF,LINETHICK1;
{增量资金};
{//------【数值显示】}
散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2;
主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2;
资金流入强度:ZJLRQD,LINETHICK2,COLORRED;
资金流入强度2:IF(ZJLRQD10,ZJLRQD,DRAWNULL),LINETHICK2,COLORWHITE;
市场筹码总量:INTPART(ZCMZL),COLORWHITE,NODRAW;
DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11);
DRAWICON(CROSS(资金流入强度,散户套牢系数),散户套牢系数-5,17);
A:=IF((CLOSE 126.32),(AMOUNT / 100000),VOL);
主力:MA(A,4),NODRAW,COLOR00FFFF;
游资:MA(A,8),NODRAW,COLOR00FF00;
大户:MA(A,16),NODRAW,COLOR0000FF;
散户:MA(A,32),NODRAW,COLORFFFF00;
主动参与比例:ROUND(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FFFF;
游资参与比例:ROUND(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR00FF00;
大户参与比例:ROUND(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLOR0000FF;
散户参与比例:ROUND(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),NODRAW,COLORFFFF00;
警戒线:MA(A,180),COLORFF00FF;
STICKLINE((主力 0),0,主力,3,0),COLOR0000FF;
STICKLINE((主力 0),0,主力,2.7.5,0),COLOR001BFF;
STICKLINE((主力 0),0,主力,2.4,0),COLOR0035FF;
STICKLINE((主力 0),0,主力,2.1,0),COLOR0050FF;
STICKLINE((主力 0),0,主力,1.8,0),COLOR0062FF;
STICKLINE((主力 0),0,主力,1.5,0),COLOR007AFF;
STICKLINE((主力 0),0,主力,1.2,0),COLOR0089FF;
STICKLINE((主力 0),0,主力,0.9,0),COLOR009CFF;
STICKLINE((主力 0),0,主力,0.6,0),COLOR00C0FF;
STICKLINE((主力 0),0,主力,0.3,0),COLOR00EAFF;
STICKLINE((游资 0),0,游资,3,0),COLOR007F00;
STICKLINE((游资 0),0,游资,2.7,3),COLOR008B00;
STICKLINE((游资 0),0,游资,2.4,0),COLOR009500;
STICKLINE((游资 0),0,游资,2.1,0),COLOR00A300;
STICKLINE((游资 0),0,游资,1.8,0),COLOR00AF00;
STICKLINE((游资 0),0,游资,1.5,0),COLOR00C000;
STICKLINE((游资 0),0,游资,1.2,0),COLOR00CA00;
STICKLINE((游资 0),0,游资,0.9,0),COLOR00DB00;
STICKLINE((游资 0),0,游资,0.6,0),COLOR00FF00;
STICKLINE((大户 0),0,大户,3,0),COLOR102088;
STICKLINE((大户 0),0,大户,2.7,0),COLOR102099;
STICKLINE((大户 0),0,大户,2.4,0),COLOR1020AA;
STICKLINE((大户 0),0,大户,2.1,0),COLOR1020BB;
STICKLINE((大户 0),0,大户,1.8,0),COLOR1020CC;
STICKLINE((大户 0),0,大户,1.5,0),COLOR1020DD;
STICKLINE((大户 0),0,大户,1.2,0),COLOR1020EE;
STICKLINE((大户 0),0,大户,0.9,0),COLOR1020FF;
STICKLINE((散户 0),0,散户,3,0),COLORFF7700;
STICKLINE((散户 0),0,散户,2.7,0),COLORFF8800;
STICKLINE((散户 0),0,散户,2.4,0),COLORFF9900;
STICKLINE((散户 0),0,散户,2.1,0),COLORFFAA00;
STICKLINE((散户 0),0,散户,1.8,0),COLORFFBB00;
STICKLINE((散户 0),0,散户,1.5,0),COLORFFCC00;
STICKLINE((散户 0),0,散户,1.2,0),COLORFFDD00;
STICKLINE((散户 0),0,散户,0.9,0),COLORFFEE00;