通达信资金突破副图/选股指标 源码 贴图 无未来

[复制链接]
查看177 | 回复0 | 2021-8-26 22:18:51 | 显示全部楼层 |阅读模式

以下是通达信资金突破副图/选股指标 源码 贴图 无未来(无源码的请下载附件导入)

 资金突破 没未来函数

 

公式尽量选取突然向下挖坑,股价在相对的低位,最好近期在小平台盘整一些时日了,然后突破横线时介入,短期收益丰厚!短线必备!!!

 

另外我将添加到主图的代码也贴出来了,复制后可随意添加到自己常用的主图公式中。作为平时分析股票的一种新思路。

 

{资金突破副图}

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

STICKLINE(买线>=卖线,LOW,HIGH,0,0),COLORRED;

STICKLINE(买线>=卖线,CLOSE,OPEN,3,0),COLORRED;

STICKLINE(买线<卖线,CLOSE,OPEN,3,0),COLORFFF000;

STICKLINE(买线<卖线,LOW,HIGH,0,0),COLORFFF000;

Z1:=REF(HIGH,4)=HHV(HIGH,2*4+1);

Y1:=FILTER(Z1,3);

C1:=BACKSET(Y1,3+1);

D1:=FILTER(C1,3);

A2:=REF(LOW,3)=LLV(LOW,2*3+1);

V2:=FILTER(A2,3);

C2:=BACKSET(V2,3+1);

D2:=FILTER(C2,3);

E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;

E2:=(HIGH+LOW)/2;

H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

H2:=D1 AND NOT(D2 AND E1>=E2);

L1:=D2 AND NOT(D1 AND E1=E2);

X1:=REF(BARSLAST(H1),1)+1;

DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,''),COLORGREEN;

F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));

G1:=F1>REF(F1,1);

I1:=BACKSET(G1,2);

LD:=I1>REF(I1,1);

L2:=LD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

X2:=REF(BARSLAST(L2),1)+1;

F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));

G2:=F2>REF(F2,1);

I2:=BACKSET(G2,2);

HD:=I2>REF(I2,1);

UU2:=BACKSET(ISLASTBAR=1,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

突破线:REF(H,BARSLAST(VV2));

持仓线:REF(H,BARSLAST(XX2));

TP1:=CROSS(C,突破线);

TP2:=CROSS(C,持仓线);

STICKLINE(TP1,H,L,0,0),COLORYELLOW;

STICKLINE(TP1,C,O,3,0),COLORYELLOW;

STICKLINE(TP1,C,O,3,0),COLORYELLOW;

STICKLINE(TP1,C,O,1,0),COLORYELLOW;

DRAWTEXT(TP1,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW;

STICKLINE(TP2,H,L,0,0),COLORYELLOW;

STICKLINE(TP2,C,O,3,0),COLORYELLOW;

STICKLINE(TP2,C,O,3,0),COLORYELLOW;

STICKLINE(TP2,C,O,1,0),COLORYELLOW;

DRAWTEXT(TP2,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW;

 

{资金突破主图}

买线:=EMA(C,2);

卖线:=EMA(SLOPE(C,21)*20+C,42);

BU:=CROSS(买线,卖线);

SEL:=CROSS(卖线,买线);

Z1:=REF(HIGH,4)=HHV(HIGH,2*4+1);

Y1:=FILTER(Z1,3);

C1:=BACKSET(Y1,3+1);

D1:=FILTER(C1,3);

A2:=REF(LOW,3)=LLV(LOW,2*3+1);

V2:=FILTER(A2,3);

C2:=BACKSET(V2,3+1);

D2:=FILTER(C2,3);

E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2;

E2:=(HIGH+LOW)/2;

H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

H2:=D1 AND NOT(D2 AND E1>=E2);

L1:=D2 AND NOT(D1 AND E1=E2);

X1:=REF(BARSLAST(H1),1)+1;

DRAWTEXT_FIX(CURRBARSCOUNT=60,0.4,0.01,0,''),COLORGREEN;

F1:=BACKSET(H1 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,LOW,10000),X1));

G1:=F1>REF(F1,1);

I1:=BACKSET(G1,2);

LD:=I1>REF(I1,1);

L2:=LD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1;

X2:=REF(BARSLAST(L2),1)+1;

F2:=BACKSET(L2 AND COUNT(H2,X2)>0,HHVBARS(IF(H2,HIGH,0),X2));

G2:=F2>REF(F2,1);

I2:=BACKSET(G2,2);

HD:=I2>REF(I2,1);

UU2:=BACKSET(ISLASTBAR=1,BARSLAST(HD)+1);

VV2:=UU2>REF(UU2,1);

WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2);

XX2:=WW2>REF(WW2,1);

突破线:REF(H,BARSLAST(VV2));

持仓线:REF(H,BARSLAST(XX2));

TP1:=CROSS(C,突破线);

TP2:=CROSS(C,持仓线);

DRAWTEXT(TP1,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW;

DRAWTEXT(TP2,LOW*0.98,'资金突破'),LINETHICK1,COLORYELLOW;

231166145.jpg

231166145.jpg

231288241.jpg

231288241.jpg

231355969.jpg

231355969.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则