通达信指标公式源码概况:
指标类别: 通达信指标公式
授权方式: 免费版
指标评级: ★★★★★
指标分类: 策略
画线方法: 副图
主力筹码追踪主图指标公式
Var1:=EMA(HHV(HIGH,500),21);
Var2:=EMA(HHV(HIGH,250),21);
Var3:=EMA(HHV(HIGH,90),21);
Var4:=EMA(LLV(LOW,500),21);
Var5:=EMA(LLV(LOW,250),21);
Var6:=EMA(LLV(LOW,90),21);
Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);
Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);
Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);
VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);
VarB:=REF(LOW,1);
VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
VarD:=EMA(IF(CLOSE*1.35=VarA,VarC*10,VarC/10),3);
VarE:=LLV(LOW,30);
VarF:=HHV(VarD,30);
Var10:=IF(MA(CLOSE,58),1,0);
资金入场: EMA(IF(LOW=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;
资金入场: IF(资金入场0,资金入场,0),STICK,linethick2, COLOR0000ff;
今量: 资金入场;
a1:IF(资金入场0,今量*1.2,0),STICK,linethick5, COLOR0000ff;
a2:IF(资金入场0,今量*0.8,0),STICK,linethick5, COLOR0066ff;
a3:IF(资金入场0,今量*0.6,0),STICK,linethick5, COLOR0099ff;
a4:IF(资金入场0,今量*0.4,0) ,STICK,linethick5,COLOR00ccff;
a5:IF(资金入场0,今量*0.2,0) ,STICK,linethick5,COLOR00ffff;
Var29:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
Var2A:=SMA(Var29,5,1);
Var2B:=SMA(Var2A,10,1);
Var2C:=CROSS(Var2B,Var2A);
Var2D:=Var2B80 OR Var2A80;
Var2E:=Var2C AND Var2D;
Var51:=EMA(AMOUNT/VOL/100,3);
Var52:=EMA(Var51,88);
Var53:=EMA(Var51,88)*0.85;
Var54:=Var53*0.87;
Var55:=LOW Var54 AND CLOSEREF(CLOSE,1)*1.02;
DRAWTEXT(FILTER(Var55,6),LOW+0.1,'坚决买进'),COLORCCDDCC;
鱼肠剑: (EMA(CLOSE,5)*7+EMA(CLOSE,10)*3)/10,colorblue;
莫邪剑: EMA(CLOSE,13),colorred;
青锋剑: EMA(CLOSE,50),COLOR00cc00;
STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),CLOSE,OPEN,8,0),COLORFFBBBB;
STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1)REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),HIGH,LOW,0,0),COLORFFBBBB;
STICKLINE(VOL/CAPITAL0.015,CLOSE,OPEN,15,1),COLORFF0000;
STICKLINE(VOL/CAPITAL0.05,CLOSE,OPEN,80,1), colorred;
STICKLINE(VOL/CAPITAL0.1,CLOSE,OPEN,150,1) ,colorred;
STICKLINE(VOL/CAPITAL0.2,CLOSE,OPEN,250,1), COLORFF00FF;
STICKLINE(VOL/CAPITAL0.3,CLOSE,OPEN,350,1),COLORFFFF00;
STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1) REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),HIGH,LOW,0,0),COLOR00FFFF;
STICKLINE(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1) REF(3*SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2)-2*SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,10,2),2,1),10),CLOSE,OPEN,8,1), COLOR00FFFF;
逃顶:STICKLINE(Var2E,H,H,18,1), COLOR00FF00;
DRAWTEXT(FILTER(CROSS(75,SMA(MAX(CLOSE-REF(CLOSE,1),0),8,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),8,1)*100) ,10),HIGH,'卖'),colorgreen;
DRAWTEXT(FILTER(CROSS(-5,MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5)) ,5 ),LOW,'买'),colorred;
精准主力散户筹码指标公式
Var1:=EMA(HHV(HIGH,500),21);
Var2:=EMA(HHV(HIGH,250),21);
Var3:=EMA(HHV(HIGH,90),21);
Var4:=EMA(LLV(LOW,500),21);
Var5:=EMA(LLV(LOW,250),21);
Var6:=EMA(LLV(LOW,90),21);
Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);
Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);
Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);
VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);
VarB:=REF(LOW,1);
VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
VarD:=EMA(IF(CLOSE*1.35=VarA,VarC*10,VarC/10),3);
VarE:=LLV(LOW,30);
VarF:=HHV(VarD,30);
Var10:=IF(MA(CLOSE,58),1,0);
资金入场: EMA(IF(LOW=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;
资金入场: IF(资金入场0,资金入场,0),STICK,linethick2, COLOR0000ff;
今量: 资金入场;
a1:IF(资金入场0,今量*1.2,0),STICK,linethick5, COLOR0000ff;
a2:IF(资金入场0,今量*0.8,0),STICK,linethick5, COLOR0066ff;
a3:IF(资金入场0,今量*0.6,0),STICK,linethick5, COLOR0099ff;
a4:IF(资金入场0,今量*0.4,0) ,STICK,linethick5,COLOR00ccff;
a5:IF(资金入场0,今量*0.2,0) ,STICK,linethick5,COLOR00ffff;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5); V4:=2*(V2-V3)*5.5;
主力撤: IF(V4=0,V4,0),colorblue;
主力进: IF(V4=0,V4,0),colorff00ff;
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;
大盘资金进场:IF(VB=0,VB,0),colorred;
大盘资金撤走:IF(VB=0,VB,0),colorgreen;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线: EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备现金: STICKLINE(趋势线=13,0,20,5,0),colorcc9900;
aa:=(趋势线=13) AND FILTER((趋势线=13),15);
DRAWTEXT (aa,30,'准备现金'),colorcc9900;
买入股票: STICKLINE(趋势线=13 AND V1213,0,50,5,0),color0099ff;
bb:= (趋势线=13 AND V1213) AND FILTER((趋势线=13 AND V1213),10) ;
DRAWTEXT (bb,60,'买入股票'),color0099ff;
卖临界: STICKLINE(趋势线90 AND 趋势线REF(趋势线,1),100,95,15,1),COLORFFFF00;
见顶清仓:FILTER(趋势线90 AND 趋势线 DRAWTEXT( 见顶清仓,90,'逃顶'),coloryellow;
cc:=(趋势线=90 AND V12) AND FILTER((趋势线=90 AND V12),10);
STICKLINE(大盘资金进场 AND 趋势线13,0,30,10,0),colorred;
STICKLINE(大盘资金撤走 AND 趋势线90,0,30,10,0),colorgreen;
STICKLINE(主力进 AND 趋势线13,0,40,10,0),colorff00ff;
STICKLINE(主力撤 AND 趋势线90,0,40,10,0),colorblue;
m:=34;
RSV:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
RSV1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
主:SMA(RSV,3,1),colorff00ff;
RSV2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
散:SMA(RSV2,5,1),color00bbff;
上线:80,color00ff00;
下线:20,colorff6600;
DRAWTEXT(COUNT(主散,5)2 AND CROSS(散,主) AND 主60,散,'下'),colorwhite;
DRAWTEXT(COUNT(主散,5)2 AND CROSS(主,散) AND 主40,散,'上'),colorwhite;
上标:=COUNT(主86 AND 散83,4);
下标:=COUNT(主14 AND 散17,4);
STICKLINE(主86 AND 散83 AND REF(主,1)REF(散,1) AND 主散*0.965,94,99,8,1),colorgreen;
STICKLINE(主14 AND 散17 AND REF(主,1)REF(散,1) AND 主散*1.035,10,1,8,1),colorFF00FF;
评论(0)