筹码集中度指标公式
庄筹:=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(VAR12减仓:IF(VAR12STICKLINE(VAR9增仓:IF(VAR9STICKLINE(VAR8>REF(VAR8,1),0,VAR8,4,1),COLOR10FFFF,LINETHICK1; 主力场:IF(VAR8>REF(VAR8,1),VAR8*8,0),COLOR10FFFF,LINETHICK1,NODRAW; STICKLINE(VAR11>REF(VAR11,1),0,VAR11,4,1),COLORFFF810; 洗 盘:IF(VAR11>REF(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) 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(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW; 减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW; 反弹4:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN; 寻底4:STICKLINE(多空趋势<0 AND 多空趋势< 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(主力能量>=0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW; 减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW; 反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN; 寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,4.2,4.8),'机构'),COLORWHITE; 操盘1:STICKLINE(大户能量>=0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW; 减仓1:STICKLINE(大户能量>=0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW; 反弹1:STICKLINE(大户能量<0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN; 寻底1:STICKLINE(大户能量<0 AND 大户能量< REF(大户能量,1),3,3+大户能 量,1,1),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(大户能量>=0,2.7,3.3),'大户'),COLORWHITE; 操盘2:STICKLINE(中户能量>=0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW; 减仓2:STICKLINE(中户能量>=0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW; 反弹2:STICKLINE(中户能量<0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN; 寻底2:STICKLINE(中户能量<0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(中户能量>=0,1.2,1.8),'中户'),COLORWHITE; 操盘3:STICKLINE(散户能量>=0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORYELLOW; 减仓3:STICKLINE(散户能量>=0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1),COLORYELLOW; 反弹3:STICKLINE(散户能量<0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORGREEN; 寻底3:STICKLINE(散户能量<0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(散户能量>=0,-0.3,0.3),'散户'),COLORWHITE; 大单,小单对比 AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); 买 量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE 量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE STICKLINE(进出量<0,0,进出量,4,0),COLORFF6600; STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900; STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00; STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN; STICKLINE(进出量>0,0,进出量,4,0),COLOR000099; STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC; STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF; STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF; 五日内净流入:SUM(进出量,5),LINETHICK2,COLORGREEN; IF(五日内净流入>REF(五日内净流入,1),五日内净流入,DRAWNULL),COLORRED,LINETHICK2; 连红天:BARSLASTCOUNT(进出量>0); 五日内翻红天:COUNT(进出量>0,5),COLORYELLOW; 十日内翻红天:COUNT(进出量>0,10),COLORRED; 廿日内翻红天:COUNT(进出量>0,20),COLORBLUE; 六十日内翻红天:COUNT(进出量>0,60),COLORMAGENTA; {hjz红金柱} 短线:=(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*20,LINETHICK0,COLORYELLOW; 中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,colorwhite; 红柱:sma(短线,3,1),LINETHICK0,Color0000FF; 蓝柱:sma(中线,3,1),colorstick,ColorFFFF00; {红柱} STICKLINE(红柱0,0,红柱,8,0),COLOR0000AA; STICKLINE(红柱0,0,红柱,7,0),COLOR0000BB; STICKLINE(红柱0,0,红柱,6,0),COLOR0000CC; STICKLINE(红柱0,0,红柱,5,0),COLOR0000DD; STICKLINE(红柱0,0,红柱,4,0),COLOR0000EE; STICKLINE(红柱0,0,红柱,3,0),COLOR0000FF; STICKLINE(红柱0,0,红柱,2,0),COLORRED; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,8,0),COLOR0000AA; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,7,0),COLOR0000BB; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,6,0),COLOR0000CC; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,5,0),COLOR0000DD; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000EE; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,3,0),COLOR0000FF; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,2,0),COLORRED; STICKLINE(蓝柱0,0,蓝柱,9,0),COLOR0000FF; STICKLINE(蓝柱0,0,蓝柱,7,0),COLOR0033FF; STICKLINE(蓝柱0,0,蓝柱,6,0),COLOR0055FF; STICKLINE(蓝柱0,0,蓝柱,5,0),COLOR0077FF; STICKLINE(蓝柱0,0,蓝柱,4,0),COLOR0099FF; STICKLINE(蓝柱0,0,蓝柱,3,0),COLOR00BBFF; STICKLINE(蓝柱0,0,蓝柱,2,0),COLOR00DDFF; STICKLINE(蓝柱0,0,蓝柱,1,0),COLOR00FFFF; {蓝柱} STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,8,0),COLORFF0000; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,7,0),COLORFF3300; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,6,0),COLORFF5500; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,5,0),COLORFF7700; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF9900; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,3,0),COLORFFBB00; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFDD00; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00; STICKLINE(红柱STICKLINE(红柱STICKLINE(红柱STICKLINE(红柱STICKLINE(红柱STICKLINE(红柱STICKLINE(红柱STICKLINE(红柱STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,10,0),COLOR998800; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,7,0),COLORBBAA90; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORDDCC99; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,1,0),COLORFFEEBB; 【通达信】超准完美买卖主图 M3:=EMA(CLOSE,3); M8:EMA(CLOSE,8),COLOR008000; M13:EMA(M8,13),COLOR0000FF; M62:EMA(M8,55),COLORF0F000; VAR1:=EMA(M13,62); M81:EMA(M62,81),COLOR00FFFF; M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF; M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0; MA250:MA(CLOSE,250); RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; X:=LLV(J,2)=LLV(J,8); Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0); 主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2); 散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7); VAR2:=LLV(LOW,10); VAR3:=HHV(HIGH,25); 动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4); DRAWTEXT(CROSS(动能趋势线,70),HIGH*1.02,'风险'),COLORGREEN; DRAWTEXT(CROSS(动能趋势线,80),HIGH*1.02,'减仓'),COLOR00FF00; DRAWTEXT(CROSS(动能趋势线,87.5),HIGH*1.02,'出局'),COLORWHITE; DRAWTEXT(CROSS(J,REF(J+0.01,1)) '),COLORFF00FF; AND X AND J<20,LOW,'短进 DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见底'),COLORRED; DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1); 选股公式(可以预警) RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); 因篇幅问题不能全部显示,请点此查看更多更全内容