通达信指标转换成同花顺指标,谢谢!

发布时间:2019-07-29 16:49:41

抓妖雄鹰主图


DRAWGBK(C>O,RGB(60,0,0),RGB(0,0,0),1,2,1);

DRAWTEXT_FIX(1,0.88,5,0,''),COLORRED;

Z1:=STRCAT(HYBLOCK,' ');

Z2:=STRCAT(Z1,DYBLOCK);

Z3:=STRCAT(Z2,' ');

DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED;

ZK1:(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1+EMA(EMA(H,25),25),DOTLINE,COLORLIRED;

ZD1:EMA(EMA(L,25),25)-(EMA(EMA(H,25),25)-EMA(EMA(L,25),25))*1,LINETHICK2,COLORRED;

ZD2:EMA(ZD1,25),LINETHICK2;

DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));

DRAWKLINE(H,O,L,C);

STICKLINE(ZD1>LOW AND ZD1<HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW;

STICKLINE(ZD1>MIN(C,O) AND ZD1<MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;

STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;

STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;

VAR23:=100*EMA(EMA((C-REF(C,1)),6),6)/EMA(EMA(ABS((C-REF(C,1))),6),6);

回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));

XG:=ZD1>HIGH AND 回调买 AND L<=ZD1;

DRAWTEXT(XG,L,'▲建仓'),COLORRED;

JJ:=(HIGH+LOW+CLOSE)/3;

QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);

QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));

QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));

QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));

QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));

DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK;

V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);

V5:=SMA(V2*120/FROMOPEN*5,2,1);

V10:=SMA(V5,5,1);

V20:=SMA(V10,5,1);

DY:=CURRBARSCOUNT=1 AND C<REF(C,1);

DY2:=REF(V2,1)-DY;

XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1;

DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;

DRAWTEXT(XG2 AND L<ZD1,L,'黑马暴涨'),COLORRED;

SR1:=REF(HIGH,10)=HHV(HIGH,2*10+1); 

SR2:=FILTER(SR1,10); 

SR3:=BACKSET(SR2,10+1); 

HD:=FILTER(SR3,10); 

前高:=REF(H,BARSLAST(HD));

倍量:=VOL/REF(VOL,1)>=1.9;

突破前高:=CROSS(C,前高);

DRAWICON(倍量 AND 突破前高,L*0.99,34);

DRAWTEXT(倍量 AND 突破前高,(H* 0.97),'突破左峰'),COLOR4080FF;

白色:=SMA(HIGH,21,2)*1.05,; 

黄色:=SMA(LOW,21,2)*0.95; 

粉色:=SMA(LOW,5,1); 

绿色:=SMA(CLOSE,2,1),; 

波段买入:=IF(CROSS(绿色,粉色),白色*1.05,粉色); 

领头羊:=IF(CROSS(绿色,白色),白色*1.10,黄色); 

信号:=领头羊>黄色;

STICKLINE(信号,O,C,3,0),COLOR0000FF;

涨停价:=ZTPRICE(REF(C,1),0.1);

涨停:=C>=涨停价-0.01 AND C=H;

STICKLINE(涨停,O,C,3,0),COLOR00FFFF;

STICKLINE(信号 AND 涨停,O,(O+C)/2,3,0),COLOR0000FF;

DRAWICON(信号,L*0.99,27);

DRAWICON(涨停,H*1.01,29);

A0:=((L + H) + (C * 2)) / 4;

AAA1:=EMA(A0,14);

A1X:=(AAA1-REF(AAA1,1)) / REF(AAA1,1) * 100;

G1:=BARSLAST(CROSS(A1X,0));

真妖显身:IF(H>=REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,REF(A0,BARSLAST(CROSS(A1X,0)))*1.3,DRAWNULL),COLORYELLOW,LINETHICK2;

DRAWTEXT(ISLASTBAR,真妖显身,' 妖股显身'),COLORYELLOW;

FD:=(C-REF(C,1))/REF(C,1)*100;

DF:=FD<-5;

情绪线:DRAWLINE(DF,H,REF(DF,1),REF(H,1),1),COLORWHITE,DOTLINE;

X_1:=CLOSE*VOL;

X_2:=EMA((EMA(X_1,3)/EMA(VOL,3)+EMA(X_1,6)/EMA(VOL,6)+EMA(X_1,12)/EMA(VOL,12)+EMA(X_1,24)/EMA(VOL,24))/4,13);

X_3:=1.08*X_2;

X_4:=EMA(X_3-(EMA(CLOSE,3)-X_3),5);

A7:IF(X_4<=X_3,X_4,X_3),COLORYELLOW,LINETHICK2;

X_5:=2*X_3-A7;

A9:IF(X_5>=X_3,X_5,X_3),COLORYELLOW,LINETHICK2;

观望:IF(A7=A9,A7,DRAWNULL),COLORGREEN,LINETHICK2;

DRAWKLINE(HIGH,OPEN,LOW,CLOSE);

X_6:=REF(CLOSE,1)*1.1-CLOSE<0.01 AND HIGH=CLOSE;

X_7:=X_3>=REF(X_3,1) AND A7<REF(A7,1) AND CLOSE>X_3 AND OPEN>X_3;

STICKLINE(X_7,OPEN,(OPEN+CLOSE)/2,3,0),COLORYELLOW;

STICKLINE(X_7,CLOSE,(OPEN+CLOSE)/2,3,0),COLORRED;

X_8:=CROSS(CLOSE,X_3) AND X_6;

DRAWTEXT(X_8,LOW,2),COLORYELLOW;

X_9:=CROSS(CLOSE,A7);

DRAWTEXT(X_9,LOW,3),COLORYELLOW;

SAT:=(AMOUNT/C)/(HHV(AMOUNT,120)/HHV(C,120));

量能饱和:=IF(SAT>1,1,SAT)*100;

倒灌:=REF((C/REF(C,1)>=1.099 AND C=H),1) AND 量能饱和>75  AND O>REF(C,1) AND C<O AND O<H  ;

BAB1:=REF(H,BARSLAST(倒灌 AND CURRBARSCOUNT<90));

{DRAWLINE(ZT,C,1,REF(AA,1),1);}

DD:=ABS((CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100)>=10;

DRAWTEXT(DD,H*1.02,''),COLORGREEN,LINETHICK3;

ZTCS:=COUNT(涨停,BARSLAST(涨停+1));

ZTCS90:=COUNT(涨停,90);

DRAWNUMBER(涨停,HIGH*1.04,ZTCS90),COLORYELLOW;

GZT1:=STRCAT(' 共涨停: ',CON2STR(ZTCS,0));

GZT2:=STRCAT(GZT1,'次');

SSTS1:=STRCAT(' 上市: ',CON2STR(FINANCE(42),0));

SSTS2:=STRCAT(SSTS1,'天');

NTZZT1:=STRCAT(' 距今:',CON2STR(CONST(BARSLAST(涨停)),0));

NTZZT2:=STRCAT(NTZZT1,'天有涨停');

ZTTJ1:=STRCAT(SSTS2,GZT2);

ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);

ZTTJ:=STRCAT('涨停统计:',ZTTJ2);

DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.1,0,ZTTJ),COLORYELLOW;


推荐回答

还没有选出推荐答案,请稍候访问或查看其他回答!

其他回答

可以在同花顺软件中进行设定。

同花顺里有通达信模式,直接导入即可

把“”真妖显身“”调整成一行试一试,你要把错误提示说出来就好聊这样长的公式看起来太费劲

以上问题属网友观点,不代表本站立场,仅供参考!