【精选指标】通达信【私募操盘预测】主图指标 ,助你股海擒牛!

财富   2025-01-04 21:22   湖北  



  精 彩 内 容 呈 现  


 指    标    源    码


DRAWGBK(C>0,RGB(0,0,110),RGB(0,25,0),0,' ',0);

JRH:=HHV(C,2);

JRL:=LLV(C,2);

MA3:=MA(CLOSE,3);

YTSL:=(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),COLORFF0000,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;

急速超跌:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100< -14,COLORFFFFFF,NODRAW;

辰星线:=(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL,3)+16*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL,8)+11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL,11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YTSL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18)+REF(YTSL,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(C>=O,C,O,3.5,0),COLOR0000E5;

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;

顶价:=REF(H,BARSLAST(H>REF(H,1)));

底价:=REF(L,BARSLAST(L< REF(L,1)));

分型顶0:=H>REF(顶价,1) AND L>REF(底价,1);

分型底0:=L< REF(底价,1) AND H< REF(顶价,1);

分型顶1:=分型顶0 AND H=HHV(H,BARSLAST(分型底0));

分型底1:=分型底0 AND L=LLV(L,BARSLAST(分型顶0));

分型顶:=FILTERX(分型顶1,BARSLAST(分型底1));

分型底:=FILTERX(分型底1,BARSLAST(分型顶1));

UP1:=BARSLAST(分型底);

顶力度1:=HHV(L,UP1+1)>LLV(H,UP1+1);

顶包含1:=COUNT(L>REF(L,1),UP1)>2 AND COUNT(H>REF(H,1),UP1)>2;

DN1:=BARSLAST(分型顶);

底力度1:=HHV(L,DN1+1)>LLV(H,DN1+1);

底包含1:=COUNT(H< REF(H,1),DN1)>2 AND COUNT(L< REF(L,1),DN1)>2;

章鱼哥顶10:=分型顶 AND UP1>3 AND 顶力度1 AND 顶包含1;

章鱼哥底10:=分型底 AND DN1>3 AND 底力度1 AND 底包含1;

章鱼哥顶11:=章鱼哥顶10 AND H=HHV(H,BARSLAST(章鱼哥底10));

章鱼哥底11:=章鱼哥底10 AND L=LLV(L,BARSLAST(章鱼哥顶10));

章鱼哥顶12:=章鱼哥顶11 AND H=HHV(H,BARSLAST(章鱼哥底11));

章鱼哥底12:=章鱼哥底11 AND L=LLV(L,BARSLAST(章鱼哥顶11));

章鱼哥顶1:=FILTERX(章鱼哥顶12,BARSLAST(章鱼哥底12));

章鱼哥底1:=FILTERX(章鱼哥底12,BARSLAST(章鱼哥顶12));

UP2:=BARSLAST(章鱼哥底1);

顶力度2:=HHV(L,UP2+1)>LLV(H,UP2+1);

顶包含2:=COUNT(L>REF(L,1),UP2)>2 AND COUNT(H>REF(H,1),UP2)>2;

DN2:=BARSLAST(章鱼哥顶1);

底力度2:=HHV(L,DN2+1)>LLV(H,DN2+1);

底包含2:=COUNT(H< REF(H,1),DN2)>2 AND COUNT(L< REF(L,1),DN2)>2;

章鱼哥顶20:=分型顶 AND UP2>3 AND 顶力度2 AND 顶包含2;

章鱼哥底20:=分型底 AND DN2>3 AND 底力度2 AND 底包含2;

章鱼哥顶21:=章鱼哥顶20 AND H=HHV(H,BARSLAST(章鱼哥底20));

章鱼哥底21:=章鱼哥底20 AND L=LLV(L,BARSLAST(章鱼哥顶20));

章鱼哥顶2:=FILTERX(章鱼哥顶21,BARSLAST(章鱼哥底21));

章鱼哥底2:=FILTERX(章鱼哥底21,BARSLAST(章鱼哥顶21));

章鱼哥顶3:=章鱼哥顶1 OR 章鱼哥顶2;

章鱼哥底3:=章鱼哥底1 OR 章鱼哥底2;

章鱼哥顶41:=FILTERX(章鱼哥顶3 AND H=HHV(H,BARSLAST(章鱼哥底3)),BARSLAST(章鱼哥底3));

章鱼哥底41:=FILTERX(章鱼哥底3 AND L=LLV(L,BARSLAST(章鱼哥顶3)),BARSLAST(章鱼哥顶3));

章鱼哥顶42:=FILTERX(章鱼哥顶41 AND H=HHV(H,BARSLAST(章鱼哥底41)),BARSLAST(章鱼哥底41));

章鱼哥底42:=FILTERX(章鱼哥底41 AND L=LLV(L,BARSLAST(章鱼哥顶41)),BARSLAST(章鱼哥顶41));

章鱼哥顶431:=章鱼哥顶42 AND (BARSLAST(章鱼哥底42)>1 OR BARSLAST(章鱼哥底42)=DRAWNULL);

章鱼哥底431:=章鱼哥底42 AND (BARSLAST(章鱼哥顶42)>1 OR BARSLAST(章鱼哥顶42)=DRAWNULL);

章鱼哥顶432:=章鱼哥顶431 AND (H=HHV(H,BARSLAST(章鱼哥底431)) OR BARSLAST(章鱼哥底431)=DRAWNULL);

章鱼哥底432:=章鱼哥底431 AND (L=LLV(L,BARSLAST(章鱼哥顶431)) OR BARSLAST(章鱼哥顶431)=DRAWNULL);

章鱼哥顶43:=FILTERX(章鱼哥顶432,BARSLAST(章鱼哥底431));

章鱼哥底43:=FILTERX(章鱼哥底432,BARSLAST(章鱼哥顶431));

章鱼哥顶441:=章鱼哥顶43 AND (BARSLAST(章鱼哥底43)>2 OR BARSLAST(章鱼哥底43)=DRAWNULL);

章鱼哥底441:=章鱼哥底43 AND (BARSLAST(章鱼哥顶43)>2 OR BARSLAST(章鱼哥顶43)=DRAWNULL);

章鱼哥顶442:=章鱼哥顶441 AND (H=HHV(H,BARSLAST(章鱼哥底441)) OR BARSLAST(章鱼哥底441)=DRAWNULL);

章鱼哥底442:=章鱼哥底441 AND (L=LLV(L,BARSLAST(章鱼哥顶441)) OR BARSLAST(章鱼哥顶441)=DRAWNULL);

DRAWTEXT_FIX(C>O,0,0.2,0,'更多实用指标指标,请关注微信公众号:通达信指标指标'),COLOR333333;

章鱼哥顶44:=FILTERX(章鱼哥顶442,BARSLAST(章鱼哥底441));

章鱼哥底44:=FILTERX(章鱼哥底442,BARSLAST(章鱼哥顶441));

章鱼哥顶451:=章鱼哥顶44 AND (BARSLAST(章鱼哥底44)>3 OR BARSLAST(章鱼哥底44)=DRAWNULL);

章鱼哥底451:=章鱼哥底44 AND (BARSLAST(章鱼哥顶44)>3 OR BARSLAST(章鱼哥顶44)=DRAWNULL);

章鱼哥顶452:=章鱼哥顶451 AND (H=HHV(H,BARSLAST(章鱼哥底451)) OR BARSLAST(章鱼哥底451)=DRAWNULL);

章鱼哥底452:=章鱼哥底451 AND (L=LLV(L,BARSLAST(章鱼哥顶451)) OR BARSLAST(章鱼哥顶451)=DRAWNULL);

章鱼哥顶45:=FILTERX(章鱼哥顶452,BARSLAST(章鱼哥底452));

章鱼哥底45:=FILTERX(章鱼哥底452,BARSLAST(章鱼哥顶452));

DN511:=BARSLAST(章鱼哥顶45);

底力度511:=HHV(L,DN511+1)>LLV(H,DN511+1);

底包含511:=COUNT(H< REF(H,1),DN511)>2 AND COUNT(L< REF(L,1),DN511)>2;

章鱼哥底511:=章鱼哥底43 AND (章鱼哥底45<>1) AND DN511>3 AND 底力度511 AND 底包含511 AND (L=LLV(L,BARSLAST(章鱼哥顶45)));

章鱼哥底51:=FILTERX(章鱼哥底511,BARSLAST(章鱼哥顶45));

UP512:=BARSLAST(章鱼哥底45);

顶力度512:=HHV(L,UP512+1)>LLV(H,UP512+1);

顶包含512:=COUNT(L>REF(L,1),UP512)>2 AND COUNT(H>REF(H,1),UP512)>2;

章鱼哥顶512:=章鱼哥顶43 AND (章鱼哥顶45<>1) AND UP512>3 AND 顶力度512 AND 顶包含512 AND (H=HHV(H,BARSLAST(章鱼哥底45)));

章鱼哥顶51:=FILTERX(章鱼哥顶512,BARSLAST(章鱼哥底45));

章鱼哥顶521:=章鱼哥顶45 OR 章鱼哥顶51;

章鱼哥底521:=章鱼哥底45 OR 章鱼哥底51;

章鱼哥顶52:=FILTERX(章鱼哥顶521 AND H=HHV(H,BARSLAST(章鱼哥底521)),BARSLAST(章鱼哥底521));

章鱼哥底52:=FILTERX(章鱼哥底521 AND L=LLV(L,BARSLAST(章鱼哥顶521)),BARSLAST(章鱼哥顶521));

UP53:=BARSLAST(章鱼哥底52);

顶力度53:=HHV(L,UP53+1)>LLV(H,UP53+1);

顶包含53:=COUNT(L>REF(L,1),UP53)>2 AND COUNT(H>REF(H,1),UP53)>2;

DN53:=BARSLAST(章鱼哥顶52);

底力度53:=HHV(L,DN53+1)>LLV(H,DN53+1);

底包含53:=COUNT(H< REF(H,1),DN53)>2 AND COUNT(L< REF(L,1),DN53)>2;

章鱼哥顶53:=章鱼哥顶52 AND UP53>3 AND 顶力度53 AND 顶包含53 AND (H=HHV(H,BARSLAST(章鱼哥底52)));

章鱼哥底53:=章鱼哥底52 AND DN53>3 AND 底力度53 AND 底包含53 AND (L=LLV(L,BARSLAST(章鱼哥顶52)));

章鱼哥顶54:=FILTERX(章鱼哥顶53 AND H=HHV(H,BARSLAST(章鱼哥底53)),BARSLAST(章鱼哥底53));

章鱼哥底54:=FILTERX(章鱼哥底53 AND L=LLV(L,BARSLAST(章鱼哥顶53)),BARSLAST(章鱼哥顶53));

章鱼哥顶55:=H=HHV(H,BARSLAST(章鱼哥底54)) AND L>LLV(L,BARSLAST(章鱼哥底54)) AND BARSLAST(章鱼哥顶54)< BARSLAST(章鱼哥底54) AND (BARSNEXT(章鱼哥底54)< BARSNEXT(章鱼哥顶54) OR BARSNEXT(章鱼哥顶54)=DRAWNULL);

章鱼哥底55:=L=LLV(L,BARSLAST(章鱼哥顶54)) AND H< HHV(H,BARSLAST(章鱼哥顶54)) AND BARSLAST(章鱼哥底54)< BARSLAST(章鱼哥顶54) AND (BARSNEXT(章鱼哥顶54)< BARSNEXT(章鱼哥底54) OR BARSNEXT(章鱼哥底54)=DRAWNULL);

章鱼哥顶56:=章鱼哥顶54 OR 章鱼哥顶55;

章鱼哥底56:=章鱼哥底54 OR 章鱼哥底55;

章鱼哥顶6:=FILTERX(章鱼哥顶56 AND H=HHV(H,BARSLAST(章鱼哥底56)),BARSLAST(章鱼哥底56));

章鱼哥底6:=FILTERX(章鱼哥底56 AND L=LLV(L,BARSLAST(章鱼哥顶56)),BARSLAST(章鱼哥顶56));

章鱼哥顶7:=章鱼哥顶6 AND BARSLAST(章鱼哥底6)>3;

章鱼哥底7:=章鱼哥底6 AND BARSLAST(章鱼哥顶6)>3;

章鱼哥顶:=BARSLAST(章鱼哥顶6),NODRAW;

章鱼哥底:=BARSLAST(章鱼哥底6),NODRAW;

NOTEXT_上笔:DRAWLINE(章鱼哥底=0,L,章鱼哥顶=0,H,0),COLORRED,LINETHICK2;

NOTEXT_下笔:DRAWLINE(章鱼哥顶=0,H,章鱼哥底=0,L,0),COLORGREEN,LINETHICK2;

DRAWICON(章鱼哥顶=0,H*1.01,2);

DRAWICON(章鱼哥底=0,L*0.99,1);

N:=99;

HH:=HHVBARS(H,N);

LL:=LLVBARS(L,N);

XX:=CONST(HH)>CONST(LL);

SX:=CONST(HH)< CONST(LL);

G:=CONST(REF(H,HH));

D:=CONST(REF(L,LL));

D1:=D*1.0418;

D2:=(G-D1)*0.218+D1;

D3:=(G-D2)*0.382+D2;

G1:=G*0.9618;

G3:=(G1-D)*0.382+D;

G2:=(G1-D)*0.682+D;

DRAWLINE(SX AND CURRBARSCOUNT=CONST(LL)+1,L,SX AND CURRBARSCOUNT=CONST(HH)+1,H,0),COLORFF0080,LINETHICK2;

DRAWLINE(XX AND CURRBARSCOUNT=CONST(HH)+1,H,XX AND CURRBARSCOUNT=CONST(LL)+1,L,0),COLOR408000,LINETHICK2;

STICKLINE(SX AND CURRBARSCOUNT=CONST(HH)+1,H,D1,0,-1),COLORFF0080;

低3:DRAWLINE(SX AND CURRBARSCOUNT=CONST(HH)+1,D1,SX AND ISLASTBAR,D1,0),COLORFF0080,DOTLINE;

低2:DRAWLINE(SX AND CURRBARSCOUNT=CONST(HH)+1,D2,SX AND ISLASTBAR,D2,0),COLORFF0080,DOTLINE;

低1:DRAWLINE(SX AND CURRBARSCOUNT=CONST(HH)+1,D3,SX AND ISLASTBAR,D3,0),COLORFF0080,DOTLINE;

STICKLINE(XX AND CURRBARSCOUNT=CONST(LL)+1,L,G1,0,-1),COLOR408000;

高3:DRAWLINE(XX AND CURRBARSCOUNT=CONST(LL)+1,G1,XX AND ISLASTBAR,G1,0),,COLOR408000,DOTLINE;

高2:DRAWLINE(XX AND CURRBARSCOUNT=CONST(LL)+1,G2,XX AND ISLASTBAR,G2,0),,COLOR408000,DOTLINE;

高1:DRAWLINE(XX AND CURRBARSCOUNT=CONST(LL)+1,G3,XX AND ISLASTBAR,G3,0),,COLOR408000,DOTLINE;

A:=SX AND CURRBARSCOUNT=CONST(HH)+15;

B:=SX AND CURRBARSCOUNT=CONST(HH)+3;

A1:=XX AND CURRBARSCOUNT=CONST(HH);

B1:=XX AND CURRBARSCOUNT=CONST(LL)+3;

DRAWTEXT(A,G*0.998,VARCAT(VARCAT('区间振幅:',VAR2STR((G-D)/D*100,2)),'%,')),COLORFF0080;

DRAWNUMBER(B,D1,D1),COLORFF0080;

DRAWNUMBER(B,D2,D2),COLORFF0080;

DRAWNUMBER(B,D3,D3),COLORFF0080;

DRAWTEXT(A1,G*0.98,VARCAT(VARCAT('区间振幅:',VAR2STR((G-D)/D*100,2)),'%,')),COLOR408000;

DRAWNUMBER(B1,G1,G1),COLOR408000;

DRAWNUMBER(B1,G2,G2),COLOR408000;

DRAWNUMBER(B1,G3,G3),COLOR408000;

波1:=12;

高:=5;

低:=10;

高选:=1;

低选:=1;

波2:=1;

PURC:=CONST(FINDHIGH(H,0,高*5,高选));

PLZ:=CONST(BARSLAST(PURC=H))+1;

顶X:=CONST(IF(PLZ=1,H,REF(H,PLZ-1)));

QQT:=CONST(FINDLOW(L,0,低*10,低选));

PLL:=CONST(BARSLAST(QQT=L))+1;

低X:=CONST(IF(PLL=1,L,REF(L,PLL-1)));

顶点:=顶X,COLORRED;

底点:=低X,COLORRED;

波动速率:=100*((顶X-低X)/(IF(PLL>PLZ,低X,顶X)))/(PLL-PLZ),NODRAW,COLORMAGENTA;

波动幅度:=((顶X-低X)/(IF(PLL>PLZ,低X,顶X)))*100;

波动价位:=(顶X-低X)*(IF(PLL>PLZ,1,-1));

BPURC:=CONST(FINDHIGH(H,0,(IF(波1>0,波1,IF(PLZ< PLL,高,低)))*5,波2));

BPLZ:=CONST(BARSLAST(BPURC=H))+1;

BQQT:=CONST(FINDLOW (L,0,(IF(波1>0,波1,IF(PLZ< PLL,高,低)))*5,波2));

BPLL:=CONST(BARSLAST(BQQT =L))+1;

章鱼1:=CONST(FINDHIGH(H,0,(IF(波1>0,波1,IF(PLZ< PLL,高,低)))*5,波2));

章鱼2:=CONST(BARSLAST(BPURC=H))+1;

章鱼顶X:=CONST(IF(BPLZ=1,H,REF(H,BPLZ-1)));

章鱼3:=CONST(FINDLOW(L,0,(IF(波1>0,波1,IF(PLZ< PLL,高,低)))*5,波2));

B6C4:=CONST(BARSLAST(BQQT=L))+1;

章鱼低X:=CONST(IF(BPLL=1,L,REF(L,BPLL-1)));

BASE:=IF(波动速率< 0,章鱼顶X,章鱼低X),COLORRED;

章鱼X:=IF(波动速率< 0,-1,1);

章鱼Z:=(顶点-底点)*(IF(PLL>PLZ,1,-1));

B12:=BASE+(章鱼Z*0.775),COLORRED;

B14:=BASE+(章鱼Z*0.868),COLORRED;

B200:=BASE+(章鱼Z*1 ),COLORRED;

鱼哥:=IF(PLL>PLZ,BPLL,BPLZ);

X1:=SX AND CURRBARSCOUNT=鱼哥;

STICKLINE(SX AND CURRBARSCOUNT=鱼哥 ,L,B200,0,-1),COLORGREEN;

DRAWNUMBER(X1,B12,B12),COLORGREEN;

DRAWNUMBER(X1,B14,B14),COLORGREEN;

DRAWNUMBER(X1,B200,B200),COLORGREEN;

顶1:DRAWLINE(SX AND CURRBARSCOUNT=鱼哥,B12,SX AND ISLASTBAR,B12,0),,COLORGREEN,DOTLINE;

顶2:DRAWLINE(SX AND CURRBARSCOUNT=鱼哥,B14,SX AND ISLASTBAR,B14,0),,COLORGREEN,DOTLINE;

顶3:DRAWLINE(SX AND CURRBARSCOUNT=鱼哥,B200,SX AND ISLASTBAR,B200,0),,COLORGREEN,DOTLINE;





使用说明:





.点击下方通达信指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!

    

温馨提示



如果你喜欢本文,请分享到朋友圈,想要获得更多信息,请关注我。

通达信指标公式
专业分享通达信各类指标公式,给喜欢倒腾指标公式的股友一个纯净交流平台,以股会友,广交五湖四海股友!!!
 最新文章