以下是顶级好用通达信主力筹码选股指标公式源码和使用说明
顶级好用通达信主力筹码选股指标公式源码:
P:=10;
A:=5;
SVOL:=INTPART(SUM(V,0)/CAPITAL);
TJ0:=SVOL>REF(SVOL,1)ORBARSSINCE(CLOSE)=0;
S1:=BARSLAST(TJ0)+1;
TJ2:=S1<REF(S1,1);
S2:=IF(TJ2,REF(S1,1)+1,S1);
S3:=SUM(TJ2,0);
ZK1:=”KD.K#WEEK”(9,3,3);
ZD2:=”KD.D#WEEK”(9,3,3);
ZF1:=”MACD.DIF#WEEK”(12,26,9);
ZA2:=”MACD.DEA#WEEK”(12,26,9);
换手:=V/CAPITAL*100;
JCD:=FILTER(CROSS(ZK1,ZD2)ANDREF(ZD2,1)<30,13);
取点:=BARSLAST(JCD);
吸筹区:=IF(取点>0AND取点<61,取点,0);
ZS1:=吸筹区;
ZS2:=吸筹区+1;
ZS3:=换手/5;
ZSA:=IF(ZS1>0,SUM((ZS3),吸筹区+1),0);
主力筹码%:=ZSA;
建仓天数:=ZS1;
阶段总额(万):=SUM(AMOUNT/10000,S2)*100;
阶段总量(手):=SUM(V,S2)*100;
阶段成本(元):=(阶段总额(万)/(阶段总量(手)/100));
TJ1:=JCD;
N:=2.5;
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
卖出:=14.5*N;
清仓:=17.5*N;
动力线:=(EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*10-17.5)*N;
底部:=-15.5*N;
关注:=-12.5*N;
T1:=FILTER(CROSS(动力线,关注),20);
T2:=FILTER(CROSS(动力线,底部),20);
T3:=FILTER(CROSS(清仓,动力线),20);
T4:=FILTER(CROSS(卖出,动力线),20);
RSV:=((((HHV(HIGH,P)-CLOSE)/(HHV(HIGH,P)-LLV(LOW,P)))*200)-125);
散户:=SMA(RSV,A,1)+15;
RSV1:=((((CLOSE-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)))*200)-105);
主力:=SMA(RSV1,A,1)+15;
准备起爆:=CROSS(主力,散户);
TJ8:=准备起爆;
阴跌:=CROSS(散户,主力);
TTJ8:=EXIST(阴跌,8);
XG:TJ1ORTJ8ANDTTJ8;
P1:=5;
通达信:=4;
主力筹码:=EMA(VOL,13);
选股指标公式:=EMA(AMOUNT,13);
ssddd1:=((选股指标公式/主力筹码)/100);
ssddd2:=(((CLOSE-ssddd1)/ssddd1)*100);
ssddd3:=ssddd2<(0-18);
ssddd4:=ssddd2<(0-14);
ssddd5:=ssddd2<(0-10);
ssddd6:=ssddd2<(0-6);
STICKLINE((ssddd2<(0-18)),60,80,1,0),COLORRED;
STICKLINE((ssddd2<(0-14)),40,60,1,0),COLORBLUE;
STICKLINE((ssddd2<(0-10)),20,40,1,0),COLORYELLOW;
STICKLINE((ssddd2<(0-6)),0,20,2,0),COLORWHITE;
ssddd7:80,POINTDOT,COLORRED;
ssddd8:20,POINTDOT,COLORGREEN;
eedd1:=LLV(LOW,P1);
eedd2:=HHV(HIGH,P1);
K:EMA((CLOSE-eedd1)/(eedd2-eedd1)*100,通达信),COLORRED,LINETHICK2;
D:EMA(0.667*REF(K,1)+0.333*K,2),COLORGREEN,LINETHICK2;
主力资金:EMA(100*(C-LLV(LOW,30))/(HHV(H,30)-LLV(LOW,30)),3),colorred,LINETHICK2;
即将爆发线:65,COLOR00FF00;
起爆线:80,colorwhite,LINETHICK1;
TMD:=C-REF(C,1);
金线:100*EMA(EMA(TMD,5),5)/EMA(EMA(ABS(TMD),5),5),colorwhite,LINETHICK1;
银线:MA(金线,10),COLOR00FF00,LINETHICK1;
STICKLINE(金线>银线,金线,银线,2.5,0),colorred,LINETHICK2;
STICKLINE(银线>金线,金线,银线,2.5,0),colorgreen,LINETHICK2;
爆发线:30,COLORFF00FF,LINETHICK1;
起步线:0,colorwhite,LINETHICK1;
DRAWTEXT(CROSS(起爆线,主力资金),起爆线,’★空仓!’),coloryellow;
抄底线:-25,colorwhite,LINETHICK1;
LC:=REF(C,1);
F1:=ZIG(3,10);
方向:IF((F1>REF(F1,1)),-40,105),COLOR00FF00,LINETHICK2;
DRAWTEXT(CROSS(抄底线,方向),抄底线,’★逢低进场!’),colorred;
DRAWTEXT(CROSS(方向,抄底线),方向+20,’★逢高出场!’),colorwhite;
DRAWTEXT(CROSS(金线,起爆线),金线,’★爆发!’),colorwhite;
BIAS1:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1+2*BIAS2+3*BIAS3)/6;
股价趋势:=MA(MM,3),colorred;
买入信号:=EMA(股价趋势,2);
底部区域:IF(股价趋势<-6,20,0),LINETHICK2,colorblue;
DRAWTEXT(CROSS(股价趋势,买入信号)ANDCOUNT(买入信号<-6,2)>1,50,’↑’),colorred,LINETHICK3;
STICKLINE((股价趋势<-9),0,0,4,0),COLORCC0033;
STICKLINE((股价趋势<-9),0,5,4,0),COLORFF9966;
底部预警信号:=
STICKLINE((股价趋势<-9),0,2,4,0),LINETHICK2,colorwhite;
STICKLINE((股价趋势<-9),0,8,4,0),LINETHICK2,COLORFFFF66;
XY1272:=
STICKLINE((股价趋势<-12),10,-15,4,0),COLOR0066FF;
STICKLINE((股价趋势<-12),10,-5,4,0),COLOR0099FF;
STICKLINE((股价趋势<-12),10,0,4,0),COLOR00CCFF;
STICKLINE((股价趋势<-12),10,3,4,0),COLOR00FFFF;
机会来临:REF(IF((MA(C,5)-C)/C>0.03AND(MA(C,10)-MA(C,5))/MA(C,5)>0.03,30,0),1),LINETHICK2,colorred;
AAA:=LLV(LOW,36);
BBB:=HHV(HIGH,30);
DDD:=(EMA(((CLOSE-AAA)/(BBB-AAA))*(4),4))*(25);
股海:=(((DDD-LLV(DDD,21))/(HHV(DDD,21)-LLV(DDD,21)))*(4))*(25);
跟踪:10,COLOR0000FF,LINETHICK1;
神偷出现:IF((COUNT((DDD>REF(DDD,1)),1)=1)AND(REF(DDD,1)<REF(REF(DDD,1),1))AND(DDD<跟踪),23,0),LINETHICK2,COLORF00FF0;
BIAS1W:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
MM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
MN:=MA(MM,3);
VAR24:=LLV(LOW,36);
VAR25:=HHV(HIGH,30);
VAR26:=EMA((CLOSE-VAR24)/(VAR25-VAR24)*4,4)*25;
底观察:IF(MN<-4,10,0),colorblue,LINETHICK2;
底背离:IF((VAR26<10),5,18),coloryellow,LINETHICK2;
顶背离:IF((VAR26>90),90,100),COLORFFFFFF,LINETHICK2;
VARAA:=(AMOUNT/(100*VOL));
CYC13:=MA(VARAA,13);
CYC34:=MA(VARAA,34);
CYCMAX:=DMA(CLOSE,(VOL/CAPITAL));
CYS13:=(((CLOSE-CYC13)/CYC13)*100);
CYS34:=(((CLOSE-CYC34)/CYC34)*100);
CYSMAX:=(((CLOSE-CYCMAX)/CYCMAX)*100);
亏损程度:IF((CYS13<=(0-7)),7,0),STICK,LINETHICK3,COLORFFFFFF;
IF((CYS13<=(0-10)),10,0),COLORFFFF33;
IF((CYS13<=(0-16)),16,0),COLORFF0000;
IF((CYS13<=(0-20)),20,0);
IF((CYS13<=(0-25)),25,0);
IF((CYS13<=(0-30)),30,0),COLORFF00FF;
VAR1:=(COST(10)*0);
VAR2:=(REF(HIGH,1)*1.1);
VAR3:=(HIGH*1.1);
VAR4:=(((VAR3*VOL)+(VAR2*(CAPITAL-VOL)))/CAPITAL);
VAR5:=(REF(LOW,1)*0.9);
VAR6:=(LOW*0.9);
VAR7:=(((VAR6*VOL)+(VAR5*(CAPITAL-VOL)))/CAPITAL);
VAR8:=EMA(VAR7,30);
VAR9:=EMA(VAR4,30);
VARA:=(VAR9-2);
VARB:=IF((CLOSE<=VAR8),VARA,VAR9);
超跌:(VARB*2.5);
TAO:=(100*(1-WINNER(CLOSE)));
A:=(1.1*CLOSE);
B:=(0.9*CLOSE);
ASR:=(100*(WINNER(A)-WINNER(B)));
筹码超跌:IF(((ASR<10)AND(TAO>90)),30,0);
短中长线超跌:IF(((((CYS13<(0-16))AND(CYS13>(0-100)))AND(CYS34<(0-20)))AND(CYS34>(0-100))),40,0);
IF(((((CYS34<(0-20))AND(CYS34>(0-100)))AND(CYSMAX<(0-30)))AND(CYSMAX>(0-100))),50,0),COLORFFCC00;
反弹:(VARA*2.5),COLORFF00FF;
风:IF((((超跌=反弹)AND(CYS13<=(0-10)))AND(筹码超跌=30)),(0-30),0);
云:IF(((((超跌=反弹)AND(CYS13<=(0-16)))AND(筹码超跌=30))AND(短中长线超跌=40)),(0-20),0);
顶级好用通达信主力筹码选股指标公式截图
评论(0)