通达信精选指标:盈筹主散源码——附源码
通达信精选指标:盈筹主散源码——附源码
{筹码获利比例}
比例:=WINNER(CLOSE)*100;
STICKLINE(比例>0,比例,0,4,0),COLORGRAY;
STICKLINE(比例>6,比例,6,4,0),COLOR99CC66;
STICKLINE(比例>20,比例,20,4,0),COLORFFCC99;
STICKLINE(比例>50,比例,50,4,0),COLOR6666FF;
STICKLINE(比例>80,比例,80,4,0),COLOR0000C0;
{画线}
{5,COLORGRAY,DOTLINE;
20,COLORGRAY,DOTLINE;
50,COLORGRAY,DOTLINE;
80,COLORGRAY,DOTLINE;}
{主力吸筹}
VAR1B:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2B:=REF(LOW,1)*VAR1B;
VAR3B:=SMA(ABS(LOW-VAR2B),3,1)/SMA(MAX(LOW-VAR2B,0),3,1)*100*VAR1B;
VAR4B:=EMA(IF(CLOSE*1.3,VAR3B*10,VAR3B/10),3)*VAR1B;
VAR5B:=LLV(LOW,30)*VAR1B;
VAR6B:=HHV(VAR4B,30)*VAR1B;
VAR7B:=IF(MA(CLOSE,58),1,0)*VAR1B;
VAR8B:=EMA(IF(LOW<=VAR5B,(VAR4B+VAR6B*2)/2,0),3)/618*VAR7B*VAR1B;
吸筹:=IF(VAR8B>100,100,VAR8B)*VAR1B,COLORRED,LINETHICK0;
庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,0.8,0),COLORFF0080;
{主力线散户线}
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26),NODRAW;DEA:=EMA(DIF,9),NODRAW;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,9,3),NODRAW;
D:=SMA(K,9,3),NODRAW;
J:=3*K-2*D,NODRAW;
散户线: 100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),COLORBLUE,LINETHICK2;
主力线:EMA(J,6),COLORLIMAGENTA,LINETHICK2;
VAR2:=REF(LOW,1);
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100;
本人承诺,本人不绝对不收取任何费用,免费分享给各位粉丝朋友,各位粉丝朋友们的支持是最大的动力!
本人独创的技术和指标,不会使用或者有需要指标(全套源码)的朋友可以私信找我领取!