精 彩 内 容 呈 现
通达信:=STRCAT(HYBLOCK,' ');
指标:=STRCAT(通达信,DYBLOCK);
公式:=STRCAT(指标,' ');
DRAWTEXT_FIX(1,0.02,0.05,0,STRCAT(公式,GNBLOCK)),COLORYELLOW;
DRAWKLINE(H,O,L,C);
章鱼哥1:=SUM((WINNER(C)*100),30)/30*0.1;
章鱼哥2:=SUM((WINNER(C)*100),20)/20*0.4;
章鱼哥3:=SUM((WINNER(C)*100),10)/10*0.3;
章鱼哥4:=SUM((WINNER(C)*100),5)/5*0.1;
章鱼哥5:=SUM((WINNER(C)*100),3)/3*0.1;
章鱼哥Z:=章鱼哥1+章鱼哥2+章鱼哥3+章鱼哥4+章鱼哥5;
赚钱效应:IF(章鱼哥Z>38,章鱼哥Z,章鱼哥Z*1.3),NODRAW;
活跃度:IF(SUMBARS(VOL,CAPITAL)<100,100-SUMBARS(VOL,CAPITAL),1),NODRAW;
获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;
DRAWKLINE(H,O,L,C);
JRH:=HHV(C,2);
JRL:=LLV(C,2);
MA3:=MA(CLOSE,3);
章鱼:=(3*CLOSE+LOW+OPEN+HIGH)/6;
ZYG1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
ZYG2:=(REF(ZYG1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG3:=(REF(ZYG2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG4:=(REF(ZYG3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG5:=(REF(ZYG4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG6:=(REF(ZYG5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG7:=(REF(ZYG6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG8:=(REF(ZYG7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG9:=(REF(ZYG8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYGA:=(REF(ZYG9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYGB:=(REF(ZYGA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYGC:=(REF(ZYGB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYGD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));
ZYGE:=(REF(ZYGD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYGF:=(REF(ZYGE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG10:=(REF(ZYGF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG11:=(REF(ZYG10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG12:=(REF(ZYG11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG13:=(REF(ZYG12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG14:=(REF(ZYG13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG15:=(REF(ZYG14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG16:=(REF(ZYG15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG17:=(REF(ZYG16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));
ZYG18:=(REF(ZYG17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));
ZYG19:=((REF(ZYGD OR ZYGE OR ZYGF OR ZYG10 OR ZYG11 OR ZYG12 OR ZYG13 OR ZYG14 OR ZYG15 OR ZYG16 OR ZYG17 OR ZYG18,1)) AND ZYG1);
ZYG1A:=((REF(ZYG1 OR ZYG2 OR ZYG3 OR ZYG4 OR ZYG5 OR ZYG6 OR ZYG7 OR ZYG8 OR ZYG9 OR ZYGA OR ZYGB OR ZYGC,1)) AND ZYGD);
红色持股:=ZYG1 OR ZYG2 OR ZYG3 OR ZYG4 OR ZYG5 OR ZYG6 OR ZYG7 OR ZYG8 OR ZYG9 OR ZYGA OR ZYGB OR ZYGC,COLOR0000FF,NODRAW;
机构离场:=IF(红色持股,JRL,DRAWNULL);
明离场价:=机构离场,COLORFF99FF,NODRAW;
今离场价:=REF(机构离场,1)COLOR0000FF,NODRAW;
青色观望:=ZYGD OR ZYGE OR ZYGF OR ZYG10 OR ZYG11 OR ZYG12 OR ZYG13 OR ZYG14 OR ZYG15 OR ZYG16 OR ZYG17 OR ZYG18,COLORFFFF00,NODRAW;
进:=IF(青色观望,JRH,DRAWNULL);
明进场价:=进,COLOR33AACC,NODRAW;
今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;
机构短买:=ZYG19,COLOR33AACC,NODRAW;
品红离场:=ZYG1A,COLORFF99FF,NODRAW;
DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:通达信指标公式'),COLORMAGENTA;
急速超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORFFFFFF,NODRAW;
辰星线:=(20*章鱼+19*REF(章鱼,1)+18*REF(章鱼,2)+17*REF(章鱼,3)+16*REF(章鱼,4)+15*REF(章鱼,5)+14*REF(章鱼,6)+13*REF(章鱼,7)+12*REF(章鱼,8)+11*REF(章鱼,9)+10*REF(章鱼,10)+9*REF(章鱼,11)+8*REF(章鱼,12)+7*REF(章鱼,13)+6*REF(章鱼,14)+5*REF(章鱼,15)+4*REF(章鱼,16)+3*REF(章鱼,17)+2*REF(章鱼,18)+REF(章鱼,20))/211,COLOR0000FF;
牵牛线:=MA(CLOSE,26),COLORFF00FF;
等待:=IF(MA3>辰星线,辰星线,MA3);
STICKLINE(ISLASTBAR AND (红色持股 OR REF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;
STICKLINE(ISLASTBAR AND (青色观望 OR REF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;
STICKLINE(C>=O,L,H,0,0),COLOR0000CC;
STICKLINE(C<O,L,H,0,0),COLOR999900;
STICKLINE(1,C,O,3.5,0),COLOR858500;
STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055;
STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088;
STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA;
STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC;
STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE;
STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500;
STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800;
STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00;
STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;
STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;
CO:=(C-O);
STICKLINE(急速超跌,O,C-CO/2,2.8,0),COLOR555555;
STICKLINE(急速超跌,O,C-CO/2,2,0),COLOR888888;
STICKLINE(急速超跌,O,C-CO/2,1.5,0),COLORAAAAAA;
STICKLINE(急速超跌,O,C-CO/2,1,0),COLORCCCCCC;
STICKLINE(急速超跌,O,C-CO/2,0.5,0),COLOREEEEEE;
STICKLINE(机构短买,O,O+CO/3,2.8,0),COLOR335555;
STICKLINE(机构短买,O,O+CO/3,2,0),COLOR338888;
STICKLINE(机构短买,O,O+CO/3,1.5,0),COLOR33AAAA;
STICKLINE(机构短买,O,O+CO/3,1,0),COLOR33CCCC;
STICKLINE(机构短买,O,O+CO/3,0,0),COLOR33EEEE;
STICKLINE(品红离场,O,O+CO/3,2.8,0),COLOR550055;
STICKLINE(品红离场,O,O+CO/3,2,0),COLOR880088;
STICKLINE(品红离场,O,O+CO/3,1.5,0),COLORAA00AA;
STICKLINE(品红离场,O,O+CO/3,1,0),COLORCC00CC;
STICKLINE(品红离场,O,O+CO/3,0.5,0),COLOREE00EE;
SN1:=(L+H)/2;
N5:IF(BARSCOUNT(C),SMA(SN1,3,1),C),COLORWHITE;
N10:MA(CLOSE,10),COLORCYAN,LINETHICK1;
N20:MA(CLOSE,20),COLORGREEN,LINETHICK1;
N30:MA(CLOSE,30),COLORRED,LINETHICK1;
N60:MA(CLOSE,60),COLORLIRED,LINETHICK1;
N120:MA(CLOSE,120),COLORMAGENTA,LINETHICK1;
N250:MA(CLOSE,250),COLORBLUE,LINETHICK1;
底:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),20,''),LINETHICK2,COLORYELLOW;
DRAWICON(底,L*0.99,9);
顶:DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),20,''),LINETHICK2,COLORYELLOW;
DRAWICON(顶,H*1.01,15);
P:=21;
鱼哥指标1:=IF(L=LLV(L,P),L,DRAWNULL);
鱼哥指标2:=CONST(BARSLAST(鱼哥指标1!=DRAWNULL));
鱼哥指标3:=CONST(IF(鱼哥指标2=0,H,REF(H,鱼哥指标2)));
鱼哥指标4:=CONST(REF(BARSLAST(H>鱼哥指标3),鱼哥指标2+1)+鱼哥指标2+1);
鱼哥指标5:=CONST(IF(鱼哥指标4=0,H,REF(H,鱼哥指标4)));
鱼哥指标6:=CONST(REF(BARSLAST(H>鱼哥指标5),鱼哥指标4+1)+鱼哥指标4+1);
进场:IF(CURRBARSCOUNT<=鱼哥指标2+21,CONST(IF(鱼哥指标6=0,H,REF(H,鱼哥指标6))),DRAWNULL),COLORYELLOW;
IF(CURRBARSCOUNT<=鱼哥指标2+1,IF(L=LLV(L,P),L,DRAWNULL),DRAWNULL),CIRCLEDOT,COLORYELLOW;
A:=HHV(HIGH,6)=HIGH AND HIGH>REF(HIGH,1);
A1:=FILTER(A,5);
TS1:=BARSLAST(A1);
短期压力:REF(HIGH,TS1),COLORLIBLUE,NODRAW;STICKLINE(1,短期压力,短期压力,4,0),COLORLIBLUE;
鱼哥A0:=REF(C,1)<REF(短期压力,1) AND C>REF(短期压力,1);
DRAWICON(鱼哥A0,L*0.99,1);
H1:=REF(C,9)=HHV(C,2*9+1);
H2:=FILTER(H1,9);
H3:=BACKSET(H2,9+1);
H4:=FILTER(H3,9);
小压:=REF(C*0.999,BARSLAST(H4)),COLORWHITE,NODRAW;
H5:=ABS(REF(小压,1)-小压)>小压*0.075 AND H4;
小压2:REF(C*0.999,BARSLAST(H5)),COLORLIGREEN,{NODRAW}DOTLINE;
STICKLINE(C*0.999,小压2,小压2,1,1), COLORLIGREEN;
鱼哥A:=REF(C,1)<REF(小压2,1) AND C>REF(小压2,1);
DRAWICON(鱼哥A,L*0.99,38);
鱼哥K1:=(REF(HIGH,3) = HHV(HIGH,((2 * 3) + 1)));
鱼哥K2:=FILTER(鱼哥K1,3);
鱼哥K3:=BACKSET(鱼哥K2,(3 + 1));
鱼哥K4:=FILTER(鱼哥K3,3);
鱼哥K5:=(REF(LOW,3) = LLV(LOW,((2 * 3) + 1)));
鱼哥K6:=FILTER(鱼哥K5,3);
鱼哥K7:=BACKSET(鱼哥K6,(3 + 1));
鱼哥K8:=FILTER(鱼哥K7,3);
鱼哥K9:=((REF(LLV(LOW,(2 * 3)),1) + REF(HHV(HIGH,(2 * 3)),1)) / 2);
鱼哥K10:=((HIGH + LOW) / 2);
鱼哥K11:=(((鱼哥K4 AND NOT((鱼哥K8 AND (鱼哥K9 >= 鱼哥K10)))) OR BARSTATUS) OR (BARSCOUNT(CLOSE) = 1));
鱼哥K12:=(鱼哥K8 AND NOT((鱼哥K4 AND (鱼哥K9 < 鱼哥K10))));
鱼哥K13:=(鱼哥K4 AND NOT((鱼哥K8 AND (鱼哥K9 >= 鱼哥K10))));
鱼哥K14:=(REF(BARSLAST(鱼哥K11),1) + 1);
鱼哥K15:=BACKSET((鱼哥K11 AND (COUNT(鱼哥K12,鱼哥K14) > 0)),LLVBARS(IF(鱼哥K12,LOW,10000),鱼哥K14));
鱼哥K16:=(鱼哥K15 > REF(鱼哥K15,1));
鱼哥K17:=BACKSET(鱼哥K16,2);
鱼哥K18:=(鱼哥K17 > REF(鱼哥K17,1));
鱼哥K19:=((鱼哥K18 OR BARSTATUS) OR (BARSCOUNT(CLOSE) = 1));
鱼哥K20:=(REF(BARSLAST(鱼哥K19),1) + 1);
鱼哥K21:=BACKSET((鱼哥K19 AND (COUNT(鱼哥K13,鱼哥K20) > 0)),HHVBARS(IF(鱼哥K13,HIGH,0),鱼哥K20));
鱼哥K22:=(鱼哥K21 > REF(鱼哥K21,1));
鱼哥K23:=BACKSET(鱼哥K22,2);
鱼哥K24:=(鱼哥K23 > REF(鱼哥K23,1));
鱼哥K25:=BACKSET(BARSTATUS,(BARSLAST(鱼哥K18) + 1));
鱼哥K26:=(鱼哥K25 > REF(鱼哥K25,1));
鱼哥K27:=BACKSET(BARSTATUS,(BARSLAST(鱼哥K24) + 1));
鱼哥K28:=(鱼哥K27 > REF(鱼哥K27,1));
底0:REF(LOW,BARSLAST(鱼哥K26)),COLORRED;
頂0:REF(HIGH,BARSLAST(鱼哥K28)),COLORGREEN;
DRAWTEXT(ISLASTBAR,頂0,STRCAT((''),CON2STR(頂0,2))),COLORGREEN;
DRAWTEXT(ISLASTBAR,底0,STRCAT((''),CON2STR(底0,2))),COLORRED;
STICKLINE(鱼哥K26,頂0,底0,0,0),COLORBLUE,LINETHICK2;
DRAWLINE(鱼哥K28,HIGH,鱼哥K26,LOW,0),COLORBLUE,LINETHICK2;
DRAWLINE(鱼哥K28,HIGH,鱼哥K26,頂0,1),COLORGREEN,LINETHICK2;
STICKLINE(鱼哥K28,頂0,底0,0,0),COLORBLUE,LINETHICK2;
DRAWLINE(鱼哥K26,LOW,鱼哥K28,HIGH,0),COLORBLUE,LINETHICK2;
DRAWLINE(鱼哥K26,LOW,鱼哥K28,底0,1),COLORRED,LINETHICK2;
XP1:=V=HHV(V,60) AND C<O;
XP2:=V<REF(V,1) AND H/C>1.04 AND C<O AND EXIST(H>HHV(L,60),5);
STICKLINE(XP2,O,C,2,0), COLORGREEN;
AH:=HHV(H,60);
AL:=LLV(L,60);
A0:=(AH-AL)/21;
A01:=C>REF(C,4);
NT:=BARSLASTCOUNT(A01);
鱼哥A11:=NT=9;
鱼哥A13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(鱼哥A11>0,9) OR BACKSET(鱼哥A13>0,NT))*NT;
DRAWTEXT(AY>0,H+1.1*A0,VAR2STR(AY,0)),COLORYELLOW;
DRAWTEXT(NT=9,H+1.1*A0,'9'),COLORGREEN;
DRAWTEXT(NT=13,H+1.1*A0,'13'),COLORGREEN;
DRAWTEXT(NT=18,H+1.1*A0,'18'),COLORGREEN;
B01:=C<REF(C,4);
NT0:=BARSLASTCOUNT(B01);
鱼哥A21:=NT0=9 ;
鱼哥A23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(鱼哥A21>0,9) OR BACKSET(鱼哥A23>0,NT0))*NT0;
DRAWTEXT(AY1>0,L-1*A0,VAR2STR(AY1,0)),COLORLIGREEN;
DRAWTEXT(NT0=9,H+1.1*A0,'9'),COLORYELLOW;
DRAWTEXT(NT0=13,H+1.1*A0,'13'),COLORYELLOW;
DRAWTEXT(NT0=18,H+1.1*A0,'18'),COLORYELLOW;
使用说明:
无
.点击下方通达信指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!
温馨提示
如果你喜欢本文,请分享到朋友圈,想要获得更多信息,请关注我。