以下是最准的四线抓大牛指标公式源码和使用说明
最准的四线抓大牛选股指标公式源码:
M5:MA(C,5);
M10:MA(C,10);
M20:MA(C,20);
M60:MA(C,60);
TJ:=M5 M10ANDM10 M20ANDM20 M60ANDM5 =REF(M5,1)ANDM10 =REF(M10,1)ANDM20 =REF(M20,1)ANDM60 =REF(M60,1);
TJ1:=RANGE((C-REF(C,1))/REF(C,1)*100,-5,5);
T:=BARSLAST(CROSS(TJANDTJ1,0.5));
TJ3:=C =M5ANDO
TJ4:=DOWNNDAY(MIN(C,O),2);
TJ5:=M5/M20
XG:=TJ3ANDEVERY(TJANDTJ1,T+1)ANDT 12ANDTJ4ANDTJ5;
STICKLINE(XG,C,O,2,0),COLORGREEN;
STICKLINE(XG,H,L,0,0),COLORGREEN;
DRAWTEXT(XG,L*0.95,'爬山踏青'),COLORGREEN;
CSDSDD:=CLOSE REF(CLOSE,1)ANDCLOSE REF(CLOSE,2);
四线抓大牛:=REF(CSDSDD,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
选股指标公式:=REF(四线抓大牛,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
FDSFDS4:=REF(选股指标公式,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
FDSFDS5:=REF(FDSFDS4,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
FDSFDS6:=REF(FDSFDS5,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
FDSFDS7:=REF(FDSFDS6,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
FDSFDS8:=REF(FDSFDS7,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
FDSFDS9:=REF(FDSFDS8,1)ANDCLOSE =REF(CLOSE,1)ANDCLOSE =REF(CLOSE,2);
FDSFDSA:=REF(FDSFDS9,1)ANDCLOSE =REF(CLOSE,1)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;
TYP:=(HIGH+LOW+CLOSE)/3;
CC1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)),COLORFF00FF;
C1:=SMA(CC1,3,1);
FSFSD1:=SMA(C1,3,1);
C3:=3*C1-2*FSFSD1;
FSFSFSFSD7:=EMA(C3,5);
FSFSD3:=REF(FSFSFSFSD7,1);
LC:=REF(CLOSE,1);
FSFSD8:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI:=(FSFSD8-50)*5,LINETHICK2,COLORFFFFFF;
R1:=SMA(RSI,3,1);
D1:=SMA(R1,3,1);
J1:=3*R1-2*D1;
FSFSD9:=EMA(J1,5);
RR2:=REF(FSFSD9,1);
RR:=FSFSD9
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
FSFSD4:=(K-50)*5,COLOR00FF00;
FSFSD5:=SMA(FSFSD4,3,1);
FSFSD7:=SMA(FSFSD5,3,1);
FSFSD6:=3*FSFSD5-2*FSFSD7;
BB1:=EMA(FSFSD6,5);
四线大牛选股:RRANDNOT(REF(RR,1))AND(FSFSD9 -100ANDBB1 -100)ANDFSFSFSFSD7 -100ANDCSDSDD9=1,COLORFF0080;
STICKLINE(四线大牛选股,80,1,2,0),COLOR800040;
STICKLINE(四线大牛选股,80,1,1.5,0),COLORFF0080;
STICKLINE(四线大牛选股,80,1,1,0),COLOR800080;
STICKLINE(四线大牛选股,80,1,0.3,0),COLORFF00FF;
DRAWTEXT(四线大牛选股,50,'四线大牛选股'),COLORFF0080;
DRAWICON(四线大牛选股 0,83,9);
nput:(2,1,1000),上涨(30,1,1000),换手(30,1,1000),低价(5,1,100),高价(20,1,1000),离线(4,1,1000),深度(50,1,1000);
SHORT:=12;
LONG:=26;
MID:=9;
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)*2;
N:=9;
M1:=3;
M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
J:=3*K-2*D;
:=VOL/CAPITAL*100;
A:=(3*C+L+O+H)/6;
DRAWTEXTABS(5,5,'),linethick1,COLOR00EEff;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
:=EMA(X,13);
AAA:=(3*C+L+O+H)/6;
C2:=EMA(AAA,6);
C3:=EMA(AAA,5);
:=EMA(CLOSE,17);
上涨天数:=BARSLAST(短线
N1:=5;
N4:=34;
CQ:=100*(C-LLV(L,N4))/(HHV(C,N4)-LLV(L,N4));
SAT:=(AMOUNT/C)/(HHV(AMOUNT,N4)/HHV(C,N4));
饱和度:=IF(SAT 1,1,SAT)*100;
W1:=C=HHV(C,20);
W2:=BARSLAST(W1);
W3:=IF(W2 0,REF(C,W2),REF(C,W2));
W4:=CROSS(C,REF(W3,1));
:=W4ANDCOUNT(W4,5)=1;
峰顶:=饱和度 =97ANDCQ
短期:=100*(C-LLV(L,N1))/(HHV(C,N1)-LLV(L,N1));
KAAAA:=ANY(CROSS(C2,C3),2);
KAAAB:=ANY(MACD 0,4)ANDMACD
KAAAC:=MA(VOL,10) MA(VOL,5);
KBBB:=ALL(C 中线ANDO 中线,5);
KCCC:=HHV(VOL,30)/VOL
KDDD:=上涨天数
KEEE:=SUM(换手率,30)
KFFF:=C 低价ANDC
KHHH:=ANY(峰顶,30)ORANY(突破,30);
KJJJ:=C/中线 1+0.01*离线;
KIII:=短期
游资:IF(KAAAAANDKBBBANDKCCCANDKDDDANDKEEEANDKFFFANDKHHH,100,0),COLORYELLOW,LINETHICK2;
资金:IF(KAAABANDKBBBANDKCCCANDKDDDANDKEEEANDKFFFANDKHHH,80,0),COLORGREEN,LINETHICK2;
资金:IF(KAAACANDKBBBANDKCCCANDKDDDANDKEEEANDKFFFANDKHHHANDKJJJANDKIII,60,0),COLORRED,LINETHICK2;
STICKLINE(游资资金,0,40,5,0),COLORYELLOW;
STICKLINE(主力资金,0,30,5,0),COLORGREEN;
STICKLINE(机构资金,0,20,5,0),COLORRED;
最准的四线抓大牛选股指标公式截图