以下是通达信指标筹码主升公式源码和截图
通达信主力筹码指标筹码主升公式源码:
换手:VOL/CAPITAL*100,NODRAW;
STICKLINE(C,0,换手,2,0),COLOR408080;
{累计:SUM(换手,3),LINESTICK;}
STICKLINE(换手 5,5,换手,2,0),colorred;
STICKLINE(换手 17,17,换手,2,0),colorgreen;
过5反红:0,NODRAW,COLOR00FFFF;
低位绿进货:0,NODRAW,COLOR0000FF;
高位绿庄家出货:0,NODRAW,COLOR00FF80;
启动线:MA(换手,M1);
洗盘线:MA(换手,M2);
异动线:MA(换手,M3);
换手:VOL/CAPITAL*100;
STICKLINE(C,0,换手,8,0),COLOR408080;
{累计:SUM(换手,3),LINESTICK;}
STICKLINE(换手 5,5,换手,8,0),colorred;
STICKLINE(换手 17,17,换手,8,0),colorgreen;
换手率过5反红:0,COLOR00FFFF;
低位绿庄家进货:0,COLOR0000FF;
高位绿庄家出货:0,COLOR00FF80;启动线:MA(换手,M1);
洗盘线:MA(换手,M2);
异动线:MA(换手,M3);
主力持仓: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;
AA:=V*1000/CAPITAL;
主力:MA(AA,4),COLORYELLOW,POINTDOT;
游资:MA(AA,9),COLORRED,POINTDOT;
大户:MA(AA,17),COLORRED,POINTDOT;
STICKLINE(主力 0,0,主力,6,0),COLORYELLOW;
STICKLINE(游资 0,0,游资,6,0),COLORRED;
STICKLINE(大户 0,0,大户,6,0),COLORGREEN;
获利平均值:EMA(100*WINNER(C),20),COLOR9933FF;获利99:=MA(COST(99),5);
获利80:=MA(COST(80),5);
5日:=MA(C,5);
获利20:=MA(COST(20),5);
获利1:=MA(COST(1),5);
RSV:=(((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100));
趋势:(EMA((3)*(SMA(RSV,6,1))-(2)*(SMA(SMA(RSV,5,1),5,1)),2)),COLORRED;
VAR2:=(3)*(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1))-(2)*(SMA(SMA(((OPEN-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89)))*(100),20,1),15,1));
VAR3:=VAR2-100;
:(FORCAST(((-1))*(VAR3),21)),LINETHICK1,COLOR00FF00;
DRAWTEXT((CROSS(趋势,背离)),背离,''),COLORRED;
B:=C/REF(C,1) 1.048ANDC=HANDBETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));
●黑牛:FILTER(B,28)*100,STICK,COLORRED,LINETHICK3;
全仓买:(ZIG(3,35) REF(ZIG(3,35),1)ANDREF(ZIG(3,35),1) REF(ZIG(3,35),2))*20,STICK,COLOR990066,LINETHICK3;
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,21);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*100;
筹码进:IF(V4 =0,V4,0),COLORWHITE,LINETHICK2;STICKLINE((V4 0),0,V4,0,0),LINETHICK2,COLORYELLOW;
筹码撤:IF(V4 =0,V4,0),COLORBLUE,LINETHICK1;STICKLINE((V4 0),0,V4,0,0),LINETHICK1,COLORBLUE;
通达信主力筹码指标筹码主升公式截图