筹码集中度指标公式庄筹:=WINNER(CLOSE)*100;筹码集中度:EMA(庄筹,20),COLORRED;筹码集中警戒线:EMA(筹码集中度,5),COLORyellow;筹码集中生命线:EMA(筹码集中警戒线,5),COLORgreen,linethick1;STICKLINE(筹码集中度筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORred;STICKLINE(筹码集中度筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORgreen;STICKLINE(筹码集中警戒线筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORff00ff;STICKLINE(筹码集中警戒线筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORffff00;A:=CROSS(筹码集中度,筹码集中警戒线);B:=CROSS(筹码集中警戒线,筹码集中度);DRAWICON(A,筹码集中度-0.1,10);DRAWICON(B,筹码集中度+0.1,12);短线操作指标公式Var1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=3*Var2-2*Var3;Var5:=LLV(LOW,5);Var6:=HHV(HIGH,5);Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,4)*2;Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,2);Var9:=3*Var7-2*Var8;VarA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VarB:=POW(MA(LOW,5),2)+MA(LOW,5);VarC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VarD:=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+65-10;VarE:=SMA(VarD,3,1)*1.5-100;VarF:=SMA(VarE,3,1);Var10:=3*VarE-2*VarF;Var11:=(HIGH+LOW+CLOSE*2)/4;Var12:=EMA(Var11,13);Var13:=STD(Var11,13);Var14:=(Var11-Var12)*100/Var13;Var15:=EMA(Var14,5);Var17:=EMA(Var15,13)+200-100;Var18:=EMA(Var17,10);Var19:=3*Var17-2*Var18;Var1A:=Var2+Var7+VarE+Var17;Var1B:=Var3+Var8+VarF+Var18;Var1C:=Var4+Var9+Var10+Var19;Var1D:=(HIGH+LOW+CLOSE)/3;Var20:=(Var1D-MA(Var1D,34))/(0.015*AVEDEV(Var1D,34));Var22:=(HIGH+LOW+CLOSE+Var1D)/4;Var23:=EMA(Var22,24);Var24:=STD(Var22,24);Var25:=(Var22-Var23)/Var24*100;Var26:=(Var1D-MA(Var1D,24))/(0.015*AVEDEV(Var1D,24));Var27:=EMA(Var25,5);Var2A:=((Var27+Var26+Var20)/3+165)/4;Var2B:=(EMA(EMA(EMA(Var2A,15),10),5)-25)*2;Var2C:=(Var1A+Var1B+Var1C*30)/32/5-15;Var2D:=EMA(Var2C,7);Var2E:=(Var2A+Var2C)/2/1.1;超短:EMA(Var2E,3),colorred;短线:EMA(超短,5),colorwhite;主力主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff00ff,linethick2;指数趋势:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3),COLORFFAA66,LINETHICK3;强弱分界:80,coloryellow;主力筹码集中度:WINNER(C)*100,COLORRED,linethick2;散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100,colorgreen,linethick2主力持仓附图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,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,56),1,0);VAR8:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11:=EMA(IF(LOW=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR12REF(VAR12,1),0,VAR12*0.08,4,1),COLOR10E410;减仓:IF(VAR12REF(VAR12,1),VAR12,0),COLOR10E410,LINETHICK1,NODRAW;STICKLINE(VAR9REF(VAR9,1),0,VAR9*0.08,4,1),COLOR1010FF;增仓:IF(VAR9REF(VAR9,1),VAR9*0.2,0),COLOR1010FF,LINETHICK1;STICKLINE(VAR8REF(VAR8,1),0,VAR8,4,1),COLOR10FFFF,LINETHICK1;主力进场:IF(VAR8REF(VAR8,1),VAR8*8,0),COLOR10FFFF,LINETHICK1,NODRAW;STICKLINE(VAR11REF(VAR11,1),0,VAR11,4,1),COLORFFF810;洗盘:IF(VAR11REF(VAR11,1),VAR11*8,0),COLORFFF810,LINETHICK1,NODRAW;主力持仓:LOW,COLORFF10FF,LINETHICK1,NODRAW;增减力度:VAR10*5,COLORWHITE,LINETHICK1;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)XL2ANDREF(XL1,1)XL1ANDREF(XL1,1)REF(XL1,2);STICKLINE(XL3,0,VAR8*3,4,0),COLOR006EFF;DRAWTEXT(XL3,VAR8*2,'买'),COLORMAGENTA;↑买:DRAWICON(XL3,VAR8*3.5,1),COLORRED;XL4:=CROSS(0,增减力度);DRAWTEXT(XL4,VAR8*3,'加仓'),COLORYELLOW;将五个(多空、主力、大户、中户、散户)合在一起了V1:=DMA((((HIGH+LOW)+(CLOSE*2))/4),0.9);HY1:=REF(EMA(V1,3),1);多空趋势:=(MA((CLOSE-HY1)*10,2))*0.1;操盘4:STICKLINE(多空趋势=0AND多空趋势=REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW;减仓4:STICKLINE(多空趋势=0AND多空趋势REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW;反弹4:STICKLINE(多空趋势0AND多空趋势=REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;寻底4:STICKLINE(多空趋势0AND多空趋势REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(多空趋势=0,6,6.3),'多空'),COLORWHITE;换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:(主力-均量),NODRAW;大户能量:(大户-均量),NODRAW;中户能量:(中户-均量),NODRAW;散户能量:(散户-均量),NODRAW;操盘:STICKLINE(主力能量=0AND主力能量=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW;减仓:STICKLINE(主力能量=0AND主力能量REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW;反弹:STICKLINE(主力能量0AND主力能量=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;寻底:STICKLINE(主力能量0AND主力能量REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(主力能量=0,4.2,4.8),'机构'),COLORWHITE;操盘1:STICKLINE(大户能量=0AND大户能量=REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW;减仓1:STICKLINE(大户能量=0AND大户能量REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW;反弹1:STICKLINE(大户能量0AND大户能量=REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;寻底1:STICKLINE(大户能量0AND大户能量REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(大户能量=0,2.7,3.3),'大户'),COLORWHITE;操盘2:STICKLINE(中户能量=0AND中户能量=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW;减仓2:STICKLINE(中户能量=0AND中户能量REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW;反弹2:STICKLINE(中户能量0AND中户能量=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;寻底2:STICKLINE(中户能量0AND中户能量REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(中户能量=0,1.2,1.8),'中户'),COLORWHITE;操盘3:STICKLINE(散户能量=0AND散户能量=REF(散户能量,1),0,散户能量,1,1),COLORYELLOW;减仓3:STICKLINE(散户能量=0AND散户能量REF(散户能量,1),0,散户能量,1,1),COLORYELLOW;反弹3:STICKL