精 彩 内 容 呈 现
DRAWGBK(C>0,RGB(0,0,110),RGB(0,25,0),0,' ',0);
总涨幅:(H-LLV(L,180))/LLV(L,180)*100,NODRAW,COLORYELLOW;
通达信:=STRCAT(HYBLOCK,' ');
指标:=STRCAT(通达信,DYBLOCK);
公式:=STRCAT(指标,' ');
DRAWTEXT_FIX(ISLASTBAR,0.02,0.05,0,STRCAT(公式,GNBLOCK)),COLORMAGENTA;
上涨:"999999$ADVANCE"+"399001$ADVANCE",COLORRED,NODRAW;
下跌:"999999$DECLINE"+"399001$DECLINE",COLORLIGREEN,NODRAW;
章鱼:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLORYELLOW;
章鱼成妖趋势:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COLORRED;
章鱼2:EMA(章鱼成妖趋势,25)COLORCYAN,LINETHICK2;
DRAWBAND(章鱼成妖趋势,RGB(55,0,0),章鱼2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(章鱼成妖趋势>LOW AND 章鱼成妖趋势<HIGH,章鱼成妖趋势,MIN(MIN(OPEN,CLOSE),章鱼成妖趋势),2,0),COLORYELLOW;
STICKLINE(章鱼成妖趋势>MIN(C,O) AND 章鱼成妖趋势<MAX(C,O),章鱼成妖趋势,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(章鱼成妖趋势>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(章鱼成妖趋势>HIGH,HIGH,LOW,0,0),COLORYELLOW;
章鱼哥指标23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
章鱼哥回调买:=LLV(章鱼哥指标23,2)=LLV(章鱼哥指标23,7) AND COUNT(章鱼哥指标23<0,2) AND CROSS(章鱼哥指标23,MA(章鱼哥指标23,2));
章鱼02:= 章鱼成妖趋势>HIGH AND 章鱼哥回调买 AND L<=章鱼成妖趋势;
DRAWTEXT(章鱼02,L,'▲买'),COLORRED;
JJ:=(HIGH+LOW+CLOSE)/3;
章鱼010:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
章鱼011:=IF(CAPITAL=0,章鱼010*(JJ-MIN(CLOSE,OPEN)),章鱼010*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
章鱼012:=IF(CAPITAL=0,章鱼010*(MIN(OPEN,CLOSE)-LOW),章鱼010*IF(HIGH=LOW,1,(JJ-MIN(CLOSE,OPEN))));
章鱼013:=IF(CAPITAL=0,章鱼010*(HIGH-MAX(OPEN,CLOSE)),章鱼010*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
章鱼014:=IF(CAPITAL=0,章鱼010*(MAX(CLOSE,OPEN)-JJ),章鱼010*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JJ)));
DDX:=((章鱼011+章鱼012)-(章鱼013+章鱼014))/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;
章鱼022:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<章鱼;
DRAWTEXT(章鱼022 AND L<章鱼成妖趋势,L,'妖'),COLORWHITE;
高60:REFDATE(HHV(H,60),DATE),DOTLINE,COLOR00FF00;
底60:REFDATE(LLV(L,60),DATE),DOTLINE,COLORFF00FF;
高30:REFDATE(HHV(H,30),DATE),DOTLINE,COLORLIBLUE;
底30:REFDATE(LLV(L,30),DATE),DOTLINE,COLORLIRED;
获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;
MA5:MA(CLOSE,5),COLORWHITE,DOTLINE,LINETHICK1;
通达信1:=EMA(C,3),COLORWHITE;
跟随主力线:=EMA(C,5),COLORYELLOW;
章鱼哥:=EMA(C,7),COLORBROWN;
短线回踩支撑:=EMA(C,10),COLORLIGREEN;
启动线:=EMA(C,20),COLORRED,LINETHICK2;
SS:=CROSS(通达信1,跟随主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(跟随主力线,章鱼哥) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(跟随主力线,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(通达信1,章鱼哥) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(通达信1,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(跟随主力线,章鱼哥) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(跟随主力线,启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(章鱼哥,短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(跟随主力线,启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(通达信1,启动线);
DRAWTEXT(SS,L-0.04,''),COLORMAGENTA;
DRAWICON(SS,L-0.04,9);
N:=3;
A线:=EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK1,COLOR0000FF;
B线:=EMA(REF(A线,1),2),LINETHICK1,COLOR00FFFF;
趋势:=EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK1,COLORFF00FF;
C2:=REF(C,1);
章鱼哥指标1:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>REF(ZIG(3,10),2);
章鱼哥指标2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2);
STICKLINE(章鱼哥指标1,C,O,2,0),COLORYELLOW,LINETHICK1;
STICKLINE(章鱼哥指标1,C,O,2,0),COLORYELLOW,LINETHICK1;
STICKLINE(章鱼哥指标1,H,L,1,0),COLORYELLOW,LINETHICK1;
STICKLINE(章鱼哥指标2,C,O,2,0),COLORFF00FF,LINETHICK1;
STICKLINE(章鱼哥指标2,C,O,2,0),COLORFF00FF,LINETHICK1;
STICKLINE(章鱼哥指标2,H,L,1,0),COLORFF00FF,LINETHICK1;
DRAWTEXT_FIX(C>O,0,0.2,0,'更多实用指标指标,请关注微信公众号:通达信指标指标'),COLOR333333;
AA:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),LOW*0.978,'买') ,LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),HIGH*1.02,'卖'),LINETHICK2,COLOR00FF00;
MA1:=MA(章鱼哥指标1,3);
章鱼哥指标3:=LLV(HIGH,240);
章鱼哥指标4:=100*(CLOSE-章鱼哥指标3)/章鱼哥指标3;
章鱼哥指标5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
章鱼哥指标6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
章鱼哥指标7:=0;章鱼哥指标8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
章鱼哥指标9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
章鱼哥指标10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
章鱼哥指标11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
章鱼哥指标12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
章鱼哥指标13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
章鱼哥指标14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
章鱼哥指标15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
章鱼哥指标16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
章鱼哥指标17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
章鱼哥指标18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
章鱼哥指标19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1:=章鱼哥指标10;
买2:=(章鱼哥指标11+章鱼哥指标13+章鱼哥指标15+章鱼哥指标17);
卖1:=(章鱼哥指标12+章鱼哥指标14+章鱼哥指标16+章鱼哥指标18);
DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),3)),LOW*0.98,1) ;
DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.01,2);
ZB:=EMA(EMA(章鱼哥指标3,5),5)*3, ;
章鱼哥指标A:=IF(章鱼哥指标9 AND CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);
K:=5*2,, COLORFF00FF;
D:=5,, COLORWHITE;
J:=K*3-D*2, ,COLORYELLOW;
章鱼哥指标B:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) AND J>10;
HS:=VOL/CAPITAL*100, , COLORGREEN;
章鱼哥指标E:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;
章鱼哥指标F:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
章鱼哥指标1A:=IF(章鱼哥指标E>0,章鱼哥指标E,0);
章鱼哥指标1B:=IF(章鱼哥指标14>=200 AND 章鱼哥指标13>=150,15,IF(章鱼哥指标14<=-200 AND 章鱼哥指标13<=-150,-15,章鱼哥指标16))+60;
章鱼哥指标1C:=章鱼哥指标1A>48 AND 章鱼哥指标1B>60 AND 章鱼哥指标19<100;
STICKLINE((C-REF(C,1))/REF(C,1)>=0.0985,O,C,2,0),COLORYELLOW;
STICKLINE((C-REF(C,1))/REF(C,1)>=-0.0985 AND (C-REF(C,1))/REF(C,1)<0,O,C,2,0),COLORCYAN;
STICKLINE(C>REF(C,1) AND C<O ,O,C,2,0),COLORCYAN;
STICKLINE((C-REF(C,1))/REF(C,1)<=-0.0985,O,C,2,0),COLORBLUE;
DRAWICON(CROSS( A线, B线),L*0.99,23);
DRAWICON(CROSS( B线, A线),H*1.02,15);
章鱼哥总额:=AMOUNT;
买0:=IF(O=C AND (C-REF(C,1))/REF(C,1)*100>9.8,AMOUNT,AMOUNT/((H-L)*2-ABS(O-C))*(C-L));
买%:=买0/AMOUNT*100;
章鱼哥流入:=AMOUNT*买%/10000000000;
章鱼哥流出:=AMOUNT/100000000-章鱼哥流入;
章鱼哥净流:=(章鱼哥流入-章鱼哥流出);
章鱼哥总额3:=SUM(AMOUNT,3);
章鱼哥流入3:=SUM(章鱼哥流入,3);
章鱼哥流出3:=SUM(章鱼哥流出,3);
章鱼哥净流3:=SUM(章鱼哥流入-章鱼哥流出,3);
章鱼哥总额5:=SUM(AMOUNT,5);
章鱼哥流入5:=SUM(章鱼哥流入,5);
章鱼哥流出5:=SUM(章鱼哥流出,5);
章鱼哥净流5:=SUM(章鱼哥流入-章鱼哥流出,5);
DRAWTEXT_FIX(1,0.35,0.05,0,'净章鱼哥流入(亿):'),COLOR8080FF,COLORYELLOW;
DRAWTEXT_FIX(1,0.45,0.05,0,'1日'),COLOR8080FF,COLORWHITE;
DRAWNUMBER_FIX(1,0.55,0.05,0,CONST((章鱼哥净流))),COLORYELLOW;
DRAWTEXT_FIX(1,0.65,0.05,0,'3日'),COLOR8080FF,COLORWHITE;
DRAWNUMBER_FIX(1,0.75,0.05,0,CONST((章鱼哥净流3))),COLORYELLOW;
X01:=IF(MA(C,5)>MA(C,10),20,0);
X02:=IF(MA(C,20)>MA(C,60),10,0);
X3:=IF(KDJ.J>KDJ.K,10,0);
X4:=IF(MACD.DIF>MACD.DEA,10,0);
X5:=IF(MACD.MACD>0,10,0);
X6:=IF(V>MA(V,60),10,0);
X7:=IF(WINNER(C)>0.5,10,0);
X8:=IF(C/REF(C,1)>1.03,10,0);
XX:=X01+X02+X3+X4+X5+X6+X7+X8;
DRAWTEXT_FIX(V>O,0.99,0.99,0,STRCAT('趋势评分:',STRCAT(CON2STR(XX,0),' '))),COLORYELLOW;
使用说明:
无
.点击下方通达信指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!
温馨提示
如果你喜欢本文,请分享到朋友圈,想要获得更多信息,请关注我。