分享

通达信指标选股源码大全

 dfy7880 2022-12-13 发布于广东

图片

波段王中王选股公式

趋势线:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);

CROSS(趋势线,10) AND 趋势线>=REF(MA(趋势线,10),1);

妖股特征选股公式

AA:=WINNER(C*0.8)>=0.3;

SC:FILTER(AA,21);

安心底部选股公式

AA:=LLV(C,10)<REF(HHV(H,60),1)*0.6;

BB:=CROSS(C,MA(C,20));

CC:=WINNER(C)<=0.1;

安心底:AA AND BB AND CC;

红柱买选股公式

RSV13:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;

K13:=SMA(RSV13,3,1);

D13:=SMA(K13,3,1);

J13:=3*K13-2*D13,COLORFF99FF,LINETHICK3;

RSV113:=(CLOSE-LLV(LOW,113))/(HHV(HIGH,113)-LLV(LOW,113))*100;

K113:=SMA(RSV113,13,1);

D113:=SMA(K113,3,1);

J113:=3*K113-2*D113,COLOR4080FF,LINETHICK3;

RSV27:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;

K27:=SMA(RSV27,3,1);

D27:=SMA(K27,3,1);

J27:=3*K27-2*D27,COLOR00FFFF,LINETHICK3;

RSV89:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;

K89:=SMA(RSV89,13,1);

D89:=SMA(K89,3,1);

J89:=3*K89-2*D89,COLORFFFF00,LINETHICK3;

RSV5:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;

K5:=SMA(RSV5,3,1);

D5:=SMA(K5,3,1);

J5:=3*K5-2*D5,COLORFFFFFF,LINETHICK1;

中轨 :=MA(CLOSE,26),COLORRED,LINETHICK1;

上上轨:=中轨 + 2.2*STD(CLOSE,26),COLORFFFFFF,LINETHICK3;

下下轨:=中轨 - 2.2*STD(CLOSE,26),COLOR00FF00,LINETHICK3;

AA:=J89>50 AND J89<90 AND J89>REF(J89,1) AND J27>REF(J27,1) AND

J27<90 AND J13>REF(J13,1) AND J13<90 AND J5>REF(J5,1) AND J5<90

AND 中轨>REF(中轨,1) AND 上上轨>REF(上上轨,1) AND 下下轨<REF(下下轨,1);

BB:=C>O AND V>REF(V,1)*1.3;

XG:IF(AA,1,0);

神经过敏选股公式

现价线:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1),COLORFF00FF,LINETHICK2;

确认线:=4*SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,5,1),3.2,1),COLORGREEN,LINETHICK2;

短底:=12,COLORBLUE,LINETHICK2;

穿越线:=CROSS(现价线,短底);

预警线:=IF(现价线<=10,30,0),COLORFFCC00,LINETHICK1;

XG:=FINANCE(7)<500000000;

预提:=IF(CROSS(现价线,短底),50,0),COLORRED,LINETHICK2;

预提 AND XG;

反转骑牛选股公式

EE:=REF(C,1)<REF(C,2) AND C>=O*1.035 AND (REF(H,2)=REF(HHV(H,40),1) OR REF(H,3)=REF(HHV(H,40),1) OR REF(H,4)=REF(HHV(H,40),1) OR REF(H,5)=REF(HHV(H,40),1) OR REF(C,2)=REF(HHV(C,40),1) OR REF(C,3)=REF(HHV(C,40),1) OR REF(C,4)=REF(HHV(C,40),1) OR REF(C,5)=REF(HHV(C,40),1)) AND REF(C,1)+(REF(C,1)*0.1)>=REF(HHV(C,40),1) AND REF(O,1)-REF(C,1)>REF(C,2)*0.01;

VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,V*240/FROMOPEN,DRAWNULL);

CC:=VVOL>REF(VOL,1) OR VOL>REF(VOL,1);

MA5:=MA(C,5);

MA10:=MA(C,10);

MA20:=MA(C,20);

MA30:=MA(C,30);

MA60:=MA(C,60);

FF:=MA5>MA10 AND MA10>MA20 AND MA20>MA30 AND MA30>MA60;

GG:=REF(V,1)<REF(MA(V,20),1) OR REF(V,2)<REF(MA(V,20),2) OR REF(V,3)<REF(MA(V,20),3) OR REF(V,1)<REF(MA(V,10),1) OR REF(V,2)<REF(MA(V,10),2) OR REF(V,3)<REF(MA(V,10),3);

MA5斜率:=ATAN((MA5/REF(MA5,1)-1)*100)*57.3>45;

EE AND CC AND FF;

试底选股公式

MA1:=EMA(CLOSE,12);

MA2:=EMA(CLOSE,50);

CC:=CROSS(MA1,MA2);

BB:=BARSLAST(CC);

CC1:=CROSS(MA1,L) AND C>MA1 AND BB AND MA1>MA2 AND MA2>REF(MA2,1);

CC2:=CROSS(MA2,L) AND C>MA2 AND BB AND MA1>MA2 AND MA2>REF(MA2,1);

选股:CC OR CC1 OR CC2;

OBV过前平台副图指标

M:=30;

N:=10;

VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);

OBV1:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);

MA130:=MA(OBV,M);

DRAWBAND(MA130,RGB(0,0,80),OBV1,RGB(160,0,000));

A1:=REF(OBV1,N)=HHV(OBV1,2*N+1);

B1:=FILTER(A1,N);

C1:=BACKSET(B1,N+1);

D1:=FILTER(C1,N);

T线:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;

STICKLINE(C>0,T线,T线,6,0),COLORFF6600;

DRAWICON(CROSS(OBV,T线),T线*0.99,1);

OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);

MA30:MA(OBV,M);

XA_2:=1;

OBV过平台:PLOYLINE(1,CONST(OBV))*XA_2,COLOR008888;

阿哲买卖副图指标公式

换手:VOL/CAPITAL*100,COLORLIBLUE,NODRAW;

VAR1:=(4*CLOSE+HIGH+LOW)/4;

VAR2:=EMA(EMA(EMA(VAR1,7),7),7);

J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100;

K:=MA(J,1);

D:=MA(J,3)+0.03;

Y:=0;

中:60;

DRAWICON(换手>16,K*3,10);

{次日买入}

N:=5;

M:=10;

RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;

KK:=SMA(RSV,5,1);

DD:=SMA(KK,M,1);

JK:=3*K-2*DD;

VAR3:=(RSV/2+22)*1;

量:=EMA(VOL,13);

资金:=EMA(AMOUNT,13);

均价:=资金/量/100;

渣:=(CLOSE-均价)/均价*100;

金:=渣<0 AND ZXNH,COLORRED;

烂铁:=渣>0 AND ZXNH,COLORRED;

低买:IF(金 AND RSV<VAR3-2,25,0),COLORRED,LINETHICK2;

高卖:IF(烂铁 AND RSV>VAR3,95,120),COLORGREEN,LINETHICK1;

DRAWTEXT(CROSS(低买,20),5+REF(C,1),'←买')COLORLIRED;

DRAWTEXT(CROSS(高卖,100),110-REF(C,1),'←卖')COLOR38C838;

图片

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约