点击蓝色字免费订阅,标星置顶 以防丢失,做好强势超短。
提醒:各位股友请注意,指标是死的,不是万能的,所以也会出现很多无效的信号,这就需要朋友们结合均线、K线等其它指标以及具体的行情趋势作出分析判断,且不可照搬照抄,生搬硬套,切记安全为上。
第一部分 指标源码:
获利筹码:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;
DRAWKLINE(H,O,L,C);
均线25:=MA(CLOSE,25);
均线43:=MA(CLOSE,43);
均线50:=MA(CLOSE,50),COLOR0000FF;
均线88:=MA(CLOSE,88);
N8:=STRCAT(CON2STR(YEAR,0),'年');
Y8:=STRCAT(CON2STR(MONTH,0),'月');
R8:=STRCAT(CON2STR(DAY,0),'日');
K:=BARSLAST(CURRBARSCOUNT=120);
GD:=CONST(IF(ISLASTBAR=1,HHV(H,K),0));
章鱼D:=CONST(IF(ISLASTBAR=1,LLV(L,K),0));
KJ:=GD-章鱼D;
GD4:=IF(CURRBARSCOUNT<=120/30,GD,DRAWNULL);
低:=IF(CURRBARSCOUNT<=120/30,章鱼D,DRAWNULL),COLORFFFF00;
高:=IF(CURRBARSCOUNT<=120/30,GD,DRAWNULL),COLOR00FFFF;
支撑:=IF(CURRBARSCOUNT<=120/30,章鱼D+KJ*0.191,DRAWNULL),COLOR00FFFF;
强势:=IF(CURRBARSCOUNT<=120/30,章鱼D+KJ*0.382,DRAWNULL),COLORFF00FF;
突破:=IF(CURRBARSCOUNT<=120/30,章鱼D+KJ/2,DRAWNULL),COLOR0000FF;
警示:=IF(CURRBARSCOUNT<=120/30,章鱼D+KJ*0.618,DRAWNULL),COLORCYAN;
压力:=IF(CURRBARSCOUNT<=120/30,章鱼D+KJ*0.809,DRAWNULL),COLORGREEN;
章鱼买:=ZIG(3,6);
章鱼卖:=MA(章鱼买,2);
STICKLINE(章鱼买>章鱼卖 AND O>=C,C,O,-1,0),COLORRED;
STICKLINE(章鱼买>章鱼卖 AND O>=C,L,H,0,0),COLORRED;
STICKLINE(章鱼买 < 章鱼卖 AND O<=C,O,C,-1,1),COLORCYAN;
STICKLINE(章鱼买 < 章鱼卖 AND O<=C,O,L,0,1),COLORCYAN;
STICKLINE(章鱼买 < 章鱼卖 AND O<=C,C,H,0,1),COLORCYAN;
AH:=HHV(H,60);
章鱼哥O:=LLV(L,60);
A0:=(AH-章鱼哥O)/21;
A01:=C>REF(C,4);
NT:=BARSLASTCOUNT(A01);
章鱼11:=NT=9;
章鱼13:=ISLASTBAR AND BETWEEN(NT,5,8);
AY:=(BACKSET(章鱼11>0,9) OR BACKSET(章鱼13>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;
B1:=C<REF(C,4);
NT0:=BARSLASTCOUNT(B1);
章鱼21:=NT0=9 ;
章鱼23:=ISLASTBAR AND BETWEEN(NT0,5,8);
AY1:=(BACKSET(章鱼21>0,9) OR BACKSET(章鱼23>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;
N11:=2,200,13;
UR00:=2,200,6;
LR0:=2,200,6;
TC01:=IF(H=HHV(H,8*UR00),H,DRAWNULL);
TC02:=CONST(BARSLAST(TC01=H))+1;
UPPER:=CONST(IF(TC02=1,H,REF(H,TC02-1)));
BC1:=IF(L=LLV(L,8*LR0),L,DRAWNULL);
BC2:=CONST(BARSLAST(BC1=L))+1;
LOWER:=CONST(IF(BC2=1,L,REF(L,BC2-1)));
LP:=CURRBARSCOUNT<=BC2 AND L=LOWER;
HP:=CURRBARSCOUNT<=TC02 AND H=UPPER;
NOD:=(IF(TC02>BC2,TC02,BC2)-IF(TC02>BC2,BC2,TC02));
LR1:=FORCAST(C,NOD+1);
NP:=IF(CURRBARSCOUNT<=MAX(BC2,TC02),CONST(IF(MIN(TC02,BC2)=1,LR1,REF(LR1,MIN(TC02,BC2)-1))),DRAWNULL),POINTDOT,COLORRED;
LR2:=SLOPE(C,NOD+1);
LR3:=CONST(IF(MIN(TC02,BC2)=1,LR2,REF(LR2,MIN(TC02,BC2)-1)));
FP:=NP-LR3*(NOD),POINTDOT,COLORYELLOW;
EQU:=(NP+FP)/2,POINTDOT,COLORWHITE;
AD:=ABS(NP-FP);
DBL0:=BARSLAST(BC1!=DRAWNULL)+1;
DBH:=BARSLAST(TC01!=DRAWNULL)+1;
BSP:=IF(BC2>TC02,DBL0,DBH)-1;
LRL:=IF(NP>FP,FP+AD/NOD*BSP,FP-AD/NOD*BSP);
AT1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC02) AND H>LRL,H,LRL);
AT2:=HHV(AT1-LRL,MAX(BC2,TC02));
AT3:=CONST(BARSLAST(AT1-LRL=AT2));
AT4:=CONST(IF(AT3=0,H,REF(H,AT3)));
AT5:=CONST(IF(AT3=0,AT1-LRL,REF(AT1-LRL,AT3)));
鱼哥:=LRL+AT5;
鱼哥K1:=IF(BETWEEN(CURRBARSCOUNT,BC2,TC02) AND L<LRL,L,LRL);
鱼哥K2:=HHV(LRL-鱼哥K1,MAX(BC2,TC02));
鱼哥K3:=CONST(BARSLAST(LRL-鱼哥K1=鱼哥K2));
鱼哥K4:=CONST(IF(鱼哥K3=0,H,REF(H,鱼哥K3)));
鱼哥K5:=CONST(IF(鱼哥K3=0,LRL-鱼哥K1,REF(LRL-鱼哥K1,鱼哥K3)));
鱼哥L:=LRL-鱼哥K5;
RH:=IF(CURRBARSCOUNT>=MIN(BC2,TC02)-10,鱼哥,CONST(REF(鱼哥,MIN(BC2,TC02)-11)));
RL:=IF(CURRBARSCOUNT>=MIN(BC2,TC02)-10,鱼哥L,CONST(REF(鱼哥L,MIN(BC2,TC02)-11)));
中轨:IF(NP>FP,IF(LRL<=RH,LRL,DRAWNULL),IF(LRL>=RL,LRL,DRAWNULL)),COLORBBBBBB;
上轨:IF(NP>FP,IF(鱼哥<=RH,鱼哥,DRAWNULL),IF(鱼哥>=RL,鱼哥,DRAWNULL)),COLORFF0000;
下轨:IF(NP>FP,IF(鱼哥L<=RH,鱼哥L,DRAWNULL),IF(鱼哥L>=RL,鱼哥L,DRAWNULL)),COLORFF00FF;
章鱼哥1:=(REF(HIGH,3) = HHV(HIGH,((2 * 3) + 1)));
章鱼哥2:=FILTER(章鱼哥1,3);
章鱼哥3:=BACKSET(章鱼哥2,(3 + 1));
章鱼哥4:=FILTER(章鱼哥3,3);
章鱼哥5:=(REF(LOW,3) = LLV(LOW,((2 * 3) + 1)));
章鱼哥6:=FILTER(章鱼哥5,3);
章鱼哥7:=BACKSET(章鱼哥6,(3 + 1));
章鱼哥8:=FILTER(章鱼哥7,3);
章鱼哥9:=((REF(LLV(LOW,(2 * 3)),1) + REF(HHV(HIGH,(2 * 3)),1)) / 2);
章鱼哥10:=((HIGH + LOW) / 2);
章鱼哥11:=(((章鱼哥4 AND NOT((章鱼哥8 AND (章鱼哥9 >= 章鱼哥10)))) OR BARSTATUS) OR (BARSCOUNT(CLOSE) = 1));
章鱼哥12:=(章鱼哥8 AND NOT((章鱼哥4 AND (章鱼哥9 < 章鱼哥10))));
章鱼哥13:=(章鱼哥4 AND NOT((章鱼哥8 AND (章鱼哥9 >= 章鱼哥10))));
章鱼哥14:=(REF(BARSLAST(章鱼哥11),1) + 1);
章鱼哥15:=BACKSET((章鱼哥11 AND (COUNT(章鱼哥12,章鱼哥14) > 0)),LLVBARS(IF(章鱼哥12,LOW,10000),章鱼哥14));
章鱼哥16:=(章鱼哥15 > REF(章鱼哥15,1));
章鱼哥17:=BACKSET(章鱼哥16,2);
章鱼哥18:=(章鱼哥17 > REF(章鱼哥17,1));
章鱼哥19:=((章鱼哥18 OR BARSTATUS) OR (BARSCOUNT(CLOSE) = 1));
章鱼哥20:=(REF(BARSLAST(章鱼哥19),1) + 1);
章鱼哥21:=BACKSET((章鱼哥19 AND (COUNT(章鱼哥13,章鱼哥20) > 0)),HHVBARS(IF(章鱼哥13,HIGH,0),章鱼哥20));
章鱼哥22:=(章鱼哥21 > REF(章鱼哥21,1));
章鱼哥23:=BACKSET(章鱼哥22,2);
章鱼哥24:=(章鱼哥23 > REF(章鱼哥23,1));
章鱼哥25:=BACKSET(BARSTATUS,(BARSLAST(章鱼哥18) + 1));
章鱼哥26:=(章鱼哥25 > REF(章鱼哥25,1));
章鱼哥27:=BACKSET(BARSTATUS,(BARSLAST(章鱼哥24) + 1));
章鱼哥28:=(章鱼哥27 > REF(章鱼哥27,1));
底0:REF(LOW,BARSLAST(章鱼哥26)),COLORLIRED;
章鱼顶0:REF(HIGH,BARSLAST(章鱼哥28)),COLORLIGREEN;
DRAWTEXT(CURRBARSCOUNT=3,章鱼顶0,STRCAT(('压:'),CON2STR(章鱼顶0,2))),COLORLIGREEN;
DRAWTEXT(CURRBARSCOUNT=5,底0,STRCAT(('支:'),CON2STR(底0,2))),COLORLIRED;
DRAWLINE(章鱼哥28,HIGH,章鱼哥26,章鱼顶0,1),COLORLIGREEN,LINETHICK1;
DRAWLINE(章鱼哥26,LOW,章鱼哥28,底0,1),COLORLIRED,LINETHICK1;
章鱼哥O0:=SUMBARS(V,CAPITAL*1);
章鱼哥O1:=SUM(COST(10),章鱼哥O0)/章鱼哥O0;
章鱼哥O2:=SUM(COST(20),章鱼哥O0)/章鱼哥O0;
章鱼哥O3:=SUM(COST(30),章鱼哥O0)/章鱼哥O0;
章鱼哥O4:=SUM(COST(40),章鱼哥O0)/章鱼哥O0;
章鱼哥O5:=SUM(COST(50),章鱼哥O0)/章鱼哥O0;
章鱼成本2:=(5*章鱼哥O1+4*章鱼哥O2+3*章鱼哥O3+2*章鱼哥O4+章鱼哥O5)/15,COLOR0080FF,DOTLINE;
章鱼成本1:REFDATE(章鱼成本2,DATE),COLORLIGRAY,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=30,章鱼成本1,STRCAT('庄本:',CON2STR(章鱼成本1,2))),COLORGRAY;
章鱼成妖趋势:=XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK1,COLORRED,DOTLINE;
STICKLINE(章鱼成妖趋势>LOW AND 章鱼成妖趋势<HIGH,章鱼成妖趋势,MIN(MIN(OPEN,CLOSE),章鱼成妖趋势),2,1),COLOR00CCFF;
STICKLINE(章鱼成妖趋势>MIN(C,O) AND 章鱼成妖趋势<MAX(C,O),章鱼成妖趋势,MIN(OPEN,CLOSE),2,1),COLOR00CCFF;
STICKLINE(章鱼成妖趋势>HIGH,OPEN,CLOSE,2,1),COLOR00CCFF;
ZYG30:=PEAKBARS(3,15,1)<10;
ZYG50:=IF(ZYG30=1,2,0);
章鱼顶1:= IF(ZYG50=2,2,0);
章鱼顶A:=IF(章鱼顶1>REF(章鱼顶1,1),2,0),COLORGREEN;
DRAWICON(章鱼顶A=2,H*1.02,2);
AR1:=EMA(OPEN,7);
AR2:=EMA(AR1,21);
AR3:=CROSS(AR1,AR2);
AR5:=EMA(SMA((CLOSE-LLV(LOW,20))/(HHV(HIGH,16)-LLV(LOW,20))*100,8,1),3);
章鱼短买:=IF(TROUGHBARS(1,6,1)=0 AND HIGH>LOW+0,2,0),COLORRED;
DRAWICON(章鱼短买=2,L*0.98,1);
底:DRAWTEXT(CROSS(ZIG(3,8),REF(ZIG(3,8),1)),H,''),LINETHICK2,COLORYELLOW;
DRAWICON(底,L*0.99,9);
章鱼顶:DRAWTEXT(CROSS(REF(ZIG(3,10),1),ZIG(3,10)),H,''),LINETHICK2,COLORYELLOW;
DRAWICON(章鱼顶,H*1.01,15);DRAWTEXT_FIX(C>O,0,0.2,0,'更多实用指标公式,请关注微信公众号:金钻指标精选'),COLOR333333;
章鱼顶点:=IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORLIBLUE,DOTLINE;
低点:=IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORLIRED,DOTLINE;
STICKLINE(CCI>=200 AND H>=章鱼顶点,C+(O-C)/3,C,2,0),COLORGREEN;
STICKLINE(CCI<=100 AND L<=低点,C-(C-O)/3,C,2,0),COLORLIMAGENTA;
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,DOTLINE;
STICKLINE(C*0.999,小压2,小压2,1,1), COLORLIGREEN;
AB1:=REF(H,5)=HHV(H,2*5+1);
B91:=FILTER(AB1,5);
CD1:=BACKSET(B91,5+1);
D1:=FILTER(CD1,5);
A2:=REF(L,5)=LLV(L,2*5+1);
B92:=FILTER(A2,5);
CD2:=BACKSET(B92,5+1);
D2:=FILTER(CD2,5);
E1:=(REF(LLV(L,2*5),1)+REF(HHV(H,2*5),1))/2; E2:=(H+L)/2;
H91:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR OR BARSCOUNT(C)=1;
L1:=(D2 AND NOT(D1 AND E1<E2));
H92:=D1 AND NOT(D2 AND E1>=E2);
X1:=REF(BARSLAST(H91),1)+1; F1:=BACKSET(H91 AND COUNT(L1,X1)>0,LLVBARS(IF(L1,L,10000),X1));
G1:=F1>REF(F1,1);
I1:=BACKSET(G1,2);
LD:=I1>REF(I1,1);
T91:=BACKSET(ISLASTBAR,BARSLAST(LD)+1); U1:=T91>REF(T91,1);
T92:=BACKSET(U1,REF(BARSLAST(LD),1)+2);
U2:=T92>REF(T92,1);
短期支撑:DRAWLINE(U2,L,U1,L,1),COLORRED LINETHICK2;
DRAWICON(U1,L*0.99,38);
DRAWICON(U2,L*0.99,38);
HIGHN:=10;
LOWN:=10;
HIGHDISPLAY:=0;
LOWDISPLAY:=0;
ZGDISPLAY:=0;
MADISPLAY:=0;
AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);
QY:=BACKSET(AA,HIGHN+1);
CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);
DRAWICON(CC,H*1.02,2);
章鱼DD:=BARSLAST(CC);
GDTS:=IF(CC,CURRBARSCOUNT,0);
DINGBU:=IF(章鱼DD,REF(H,章鱼DD),H);
DINGBUTS:=IF(章鱼DD,REF(GDTS,章鱼DD),GDTS);DINGBU1:=REF(DINGBU,章鱼DD+1);
GDCS1:=CONST(DINGBUTS);
DINGBUTS1:=REF(DINGBUTS,章鱼DD+1);
GDCS2:=CONST(DINGBUTS1);
次高:DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H,GDCS2-1),1),COLORYELLOW,DOTLINE;
极高:DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H,GDCS1-1),1),COLORLIBLUE,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=1,次高,CON2STR(次高,1)),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,极高,CON2STR(极高,1)),COLORLIBLUE;
AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);
QY1:=BACKSET(AA1,LOWN+1);
CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);
章鱼D1:=BARSLAST(CC1);
章鱼DTS:=IF(CC1,CURRBARSCOUNT,0);
YDB:=IF(章鱼D1,REF(L,章鱼D1),L);
章鱼DTS1:=IF(章鱼D1,REF(章鱼DTS,章鱼D1),章鱼DTS);
章鱼DCS1:=CONST(章鱼DTS1);
ZDB:=REF(YDB,章鱼D1+1);
章鱼DTS2:=REF(章鱼DTS1,章鱼D1+1);
章鱼DCS2:=CONST(章鱼DTS2);
低点支撑:DRAWLINE(CURRBARSCOUNT=章鱼DCS2,L,CURRBARSCOUNT=章鱼DCS1,L,1) COLORRED,DOTLINE;
章鱼哥K:=6;
A11:=REF(HIGH,6)=HHV(HIGH,2*章鱼哥K+1); B11:=FILTER(A11,章鱼哥K); C11:=BACKSET(B11,章鱼哥K+1); D11:=FILTER(C11,章鱼哥K);
A22:=REF(LOW,章鱼哥K)=LLV(LOW,2*章鱼哥K+1); B22:=FILTER(A22,章鱼哥K); C22:=BACKSET(B22,章鱼哥K+1); D22:=FILTER(C22,章鱼哥K);
E21:=(REF(LLV(LOW,2*章鱼哥K),1)+REF(HHV(HIGH,2*章鱼哥K),1))/2;
E22:=(HIGH+LOW)/2;
H21:=(D11 AND NOT(D22 AND E21>=E22)) OR BARSTATUS OR BARSCOUNT(CLOSE)=1;
L21:=(D22 AND NOT(D11 AND E21<E22));
X21:=REF(BARSLAST(H21),1)+1; F21:=BACKSET(H21 AND COUNT(L21,X21)>0,LLVBARS(IF(L21,LOW,10000),X21));
G21:=F21>REF(F21,1);
I21:=BACKSET(G21,2);
LD1:=I21>REF(I21,1);
UU:=BACKSET(BARSTATUS,BARSLAST(LD1)+1);
VV:=UU>REF(UU,1);
近低:REF(L,BARSLAST(VV)),COLORLIRED,LINETHICK1,DOTLINE;
DRAWTEXT(CURRBARSCOUNT=2,近低,STRCAT('',CON2STR(近低,1))),COLORLIRED;
章鱼哥P2:=REF(CLOSE,1);
章鱼哥P3:=REF(CLOSE,1)*1.097;
章鱼哥P4:=CLOSE>=章鱼哥P3 AND CLOSE=HIGH;
STICKLINE(章鱼哥P4,CLOSE-(CLOSE-OPEN)/3,CLOSE,2,0),COLORRED;
章鱼哥P5:=IF(DTPRICE(REF(CLOSE,1),0.1)=CLOSE,2,0);
STICKLINE(章鱼哥P5,CLOSE+(OPEN-CLOSE)/3,CLOSE,2,0),COLORBLUE;
MV5:=MA(V,5);
破5:=CROSS(MV5,V);
断量:DRAWLINE(破5 AND CURRBARSCOUNT<9,C,REF(破5,1),REF(C,1),1),COLORWHITE;
DRAWTEXT(CURRBARSCOUNT=1,断量,STRCAT((''),CON2STR(断量,1))),COLORWHITE;
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),DOTLINE,COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=20,顾比,STRCAT(('顾比:'),CON2STR(顾比,1))),COLORYELLOW;
下降压力线:DRAWLINE(CURRBARSCOUNT<20 AND HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORGRAY ,LINETHICK1,DOTLINE;
AA05:MA(C,5),LINETHICK1,COLOR0099CC;
五日乖离率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
IF(BB05>30 AND AA05>REF(AA05,1),AA05,DRAWNULL),LINETHICK1,COLORRED;
IF(BB05<0 AND AA05<REF(AA05,1),AA05,DRAWNULL),LINETHICK1,COLORGREEN;
AA10:=MA(C,10),COLOR00FF00;
AA20:=MA(C,20);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
AA30:=MA(C,30);
三拾日乖离率:=(C-AA30)/AA30*100;
ZYG1:=(AA20-AA30)>REF((AA20-AA30),1)
AND AA20>REF(AA20,1) AND AA30>REF(AA30,1);
ZYG2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND AA30<REF(AA30,1);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1) AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;
清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND AA05<REF(AA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10<REF(AA10,1),10);
DRAWTEXT(加仓,LOW*0.99,'加'),COLORMAGENTA;
JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND AA10>REF(AA10,1) ;
减仓:=FILTER(JC,10);
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
章鱼买入:=FILTER(MR,10);
DRAWTEXT(减仓,HIGH*1.02,'减'),COLORCYAN;
DRAWTEXT(章鱼买入,LOW*0.98,'章鱼买'),COLORYELLOW;
DRAWTEXT(强势狙击,LOW*0.98,'启'),COLORYELLOW;
MID:=MA(C,15)*1.005;
ZYGT1:=POW((C-MID),2);
ZYGT2:=MA(ZYGT1,15);
ZYGT3:=SQRT(ZYGT2);
UPPER1:=MID+2*ZYGT3;
LOWER1:=MID-2*ZYGT3;
揽月线:=REF(UPPER1,1),COLOR00FFFF;
DRAWICON(CLOSE>揽月线,LOW*0.98,36);
A3:=MA(C,3);
A5:=MA(C,5);
章鱼资金:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2;
进入启动区:= 65,COLOR00FF00;
快速拉伸区:=80,COLORWHITE,LINETHICK1;
DRAWTEXT(CROSS(章鱼资金,快速拉伸区),L*0.99,'爆') ,COLORYELLOW;
筹码集中区:= 50,COLOR00FF00;
抄底阶段:=20,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(章鱼资金,抄底阶段),L*0.99,'抄') ,COLORWHITE;
DRAWTEXT(CROSS(快速拉伸区,章鱼资金),H*1.01,'减') ,COLORGREEN;
STICKLINE(CROSS(章鱼资金,快速拉伸区),C,O,2,0),COLORYELLOW;
主力线:=SMA(100*(C-LLV(LOW,45))/(HHV(H,45)-LLV(LOW,45)),5,2);
DRAWTEXT(CROSS(主力线,42),L*0.97,'建'),COLORRED;
第二部分 选股公式:
无
第三部分 使用方法:
无
第四部分 效果图展示
需要的请联系下面VX二维码
感兴趣可以私聊↑↑↑
找到一个好的老师,带你入门,安安心心练技术。
你也可以随时随地赚钱,自由潇洒的生活!
2. 本文章交流表达的观点和意见不代表本平台或本人(作者)的观点,也不承担任何相关法律责任。
3. 股市交流内容的真实性和准确性需自行核实,本平台或本人(作者)不对其内容进行保证。
4. 参与股市交流的个人需承担全部风险和责任,如导致投资损失或盈利等后果,本平台或本人概不负责。
5. 参与股市交流的个人需要遵守相关法律法规、自觉遵守诚信、规范交流,不得进行违法违规的股票交易等行为。
总之,股市交流仅为交流之用,并不构成交易建议或股票交易的任何形式的承诺。本平台或本人(作者)不承担任何因股市交流而产生的法律责任或连带责任。
END
👇👇欢迎关注👇👇
“标星置顶” 、“点赞” 、“转发” 、天天涨不停