VAR1:=MA(HHV(HIGH,485),17);
VAR2:=MA(HHV(HIGH,222),17);
VAR3:=MA(HHV(HIGH,96),17);
VAR4:=MA(LLV(LOW,485),17);
VAR5:=MA(LLV(LOW,222),17);
VAR6:=MA(LLV(LOW,96),17);
VAR7:=MA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,17);
VAR8:=MA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,17);
VAR9:=MA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,17);
VARA:=MA((VAR7*3+VAR8*2+VAR9)/6*1.738,17);
VARB:=IF(DATE =1050531,VARA,VARA*DAY);
VARC:=LOW;{}
VARD:=REF(LOW,1);
VARE:=SMA(ABS(VARC-VARD),3,1)/SMA(MAX(VARC-VARD,0),N,1)*100;
VARF:=MA(IF(CLOSE*1.35 =VARB,VARE*10,VARE/10),N);
VAR10:=LLV(LOW,30);
VAR11:=HHV(VARF,30);
VAR12:=1990831;
绝佳买点:IF(DATE =VAR12,MA(IF(LOW =VAR10,(VARF+VAR11*2)/2,0),N),100000000)/160,COLOR00FF33,LINETHICK2;
I:=IF(CLOSE REF(CLOSE,1),VOL/CAPITAL*10053,0);
骤雨初晴:= ABS(EMA(I,13.3)-18)/WINNER(CLOSE)*IF((CLOSE-MA(CLOSE,6))/MA(CLOSE,6) -0.04,1,0);
短线买:=IF(绝佳买点 500 AND 绝佳买点 2500,61,0),COLORYELLOW,LINETHICK2;
中线买:=IF(绝佳买点 10000 AND 绝佳买点 20000,72,0),COLORFF00FF,LINETHICK2;
倾买:IF(绝佳买点 30000 AND 绝佳买点 30000,198,0),COLORFFFF00,LINETHICK6;
A1:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=EMA(A1,5),LINETHICK2,COLOR6600FF;
A2:=(黑马线-REF(黑马线,1))/REF(黑马线,1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(黑马线,1) 90 AND A2 0,7),黑马线,'跑'),COLOR00FF00;
DRAWTEXT(CROSS(A1,黑马线)AND 黑马线 A5,黑马线+35,'黑马');
DRAWTEXT(CROSS(黑马线,A5)AND 趋势线 80,黑马线+45,'追涨');
DRAWTEXT(CROSS(趋势线,0)AND 黑马线 40,80,'大黑马');
底部:=(A2 -10 AND A2 REF(A2,1))*25,COLORRED;
DRAWICON(底部 AND A3 REF(A3,1),35,4);
机来:REF(IF((MA(C,5)-C)/C 0.04 AND (MA(C,10)-MA(C,5))/MA(C,5) 0.04,185,0),1),LINETHICK4,COLORFFFFFF;
走坏:IF(CROSS(黑马线,A1)AND 黑马线 70 AND 趋势线 80,150,200),COLOR00FF66;
VARA1:=REF(LOW,1);
VARB1:=SMA(ABS(LOW-VARA1),3,1)/SMA(MAX(LOW-VARA1,0),3,1)*100;
VARC1:=EMA(IF(CLOSE*1.3,VARB1*10,VARB1/10),3);
VARD1:=LLV(LOW,30);
VARE1:=HHV(VARC1,30);
VARF1:=IF(MA(CLOSE,58),1,0);
VARG1:=EMA(IF(LOW =VARD1,(VARC1+VARE1*2)/2,0),3)/618*VARF1;
VARH1:=IF(VARG1 28,28,VARG1);
吸筹:STICKLINE(VARH1 -120,0,VARH1,2,1),COLOR0FFFFF;
备钱1:=IF(吸筹,1,0),COLOR0FFFFF;
RSV1:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K1:=SMA(RSV1,3,1);
D1:=SMA(K1,3,1);
J1:=3*K1-2*D1;
X1:=LLV(J1,2)=LLV(J1,8);
买入时机:IF(CROSS(J1,3),85,0),COLOR9933CC,LINETHICK4;
DRAWTEXT(买入时机,150,' 跟庄'),COLOR00FF00;
VA1:=(2*C+H+L)/4;
VB1:=LLV(L,5);
VC1:=HHV(H,5);
红线上穿买1:=EMA((VA1-VB1)/(VC1-VB1)*100,5),COLORRED;
红线下穿卖1:=EMA(红线上穿买1,3),COLORFFFF00;
趋势1:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),COLOR00FFFF;
秘买: IF(趋势1 =3,168,0),COLORBLUE,LINETHICK8;
机建: IF(趋势1 5,128,0),COLORFFFFFF,LINETHICK6;
VZR2:=(HIGH+LOW+CLOSE*2)/4;
VZR3:=EMA(VZR2,21);
VZR4:=STD(VZR2,21);
VZR5:=((VZR2-VZR3)/VZR4*100+200)/4;
VZR6:=(EMA(VZR5,5)-25)*1.56;
{AK: EMA(VZR6,2)*1.22;
AD1: EMA(AK,2);
AJ: 3*AK-2*AD1;
DRAWTEXT(CROSS(AK,AD1),AK,'*'),COLORRED;
DRAWTEXT(CROSS(AD1,AK),AK,'*'),COLORWHITE;}
{金手指}
RA:=LLV(LOW,35);{本文来源:小牛网WWW.028588.COM }
RB:=HHV(HIGH,30);
RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;
近日均价:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;
DRAWICON(RC 6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19)) 97,100,11);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
ZL:=EMA( (CLOSE-MA(CLOSE,7))/MA(CLOSE,7)*480,2)*5;
SH:=EMA( (CLOSE-MA(CLOSE,11))/MA(CLOSE,11)*480,7)*5;
BT1:=CROSS(RSI1,25);
BT2:=CROSS(ZL,SH) AND ZL
BT:=FILTER(COUNT(BT1 OR BT2,3) =2,3);
BIAS:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VZRC:=LOW;
VZRD:=REF(LOW,1);
VZRE:=SMA(ABS(VZRC-VZRD),3,1)/SMA(MAX(VZRC-VZRD,0),3,1)*100;
VZRF:=MA(VZRE/10,3);
VZR10:=LLV(LOW,30);
VZR11:=HHV(VZRF,30);
MA(IF(LOW =VZR10,(VZRF+VZR11*2)/5,0),3);
VZR1B:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VZR2B:=SMA(ABS(LOW-VZR1B),13,1)/SMA(MAX(LOW-VZR1B,0),10,1);
VZR3B:=EMA(VZR2B,10);
VZR4B:=LLV(LOW,33);
VZR5B:=EMA(IF(LOW =VZR4B,VZR3B,0),3);
{主力进场:IF(VZR5B REF(VZR5B,1),VZR5B,0),COLORRED;}
STICKLINE(VZR5B REF(VZR5B,1),0,VZR5B*2,2,0 ),COLORYELLOW;
洗盘:=IF(VZR5B REF(VZR5B,1),VZR5B,0),COLORLIGREEN;
VZRR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VZRR2:=SMA(ABS(LOW-VZRR1),13,1)/SMA(MAX(LOW-VZRR1,0),10,1);
VZRR3:=EMA(VZRR2,10);
VZRR4:=LLV(LOW,33);
VZRR5:=EMA(IF(LOW =VZRR4,VZRR3,0),3);
STICKLINE(VZRR5 REF(VZRR5,1),0,VZRR5,2,0 ),COLORGREEN;
STICKLINE(VZRR5 REF(VZRR5,1),0,VZRR5*2,2,0),COLORRED;
主吸筹:VZRR5 REF(VZRR5,4) {AND C REF(C,1)},COLORMAGENTA;
VZR2C:=(HIGH+LOW+CLOSE*2)/4;
VZR3C:=EMA(VZR2C,7);
VZR4C:=STD(VZR2C,7);
VZR5C:=(VZR2C-VZR3C)*100/VZR4;
VZR6C:=EMA(VZR5C,3);
{WW:(EMA(VZR6C,5)+100)/2-3,COLORFF00FF;
MM:HHV(WW,3),COLORFF3333;}
AAA:=AMOUNT/VOL/100;
主进场:IF(VZR5B REF(VZR5B,1),VZR5B*1.5,0),COLORRED,LINETHICK6;
{吸筹}{本文来源:小牛网WWW.028588.COM }
VZR2Q:=REF(LOW,1);
VZR3Q:=SMA(ABS(LOW-VZR2Q),3,1)/SMA(MAX(LOW-VZR2Q,0),3,1)*100;
VZR4Q:=EMA(IF(CLOSE*1.3,VZR3Q*10,VZR3Q/10),3);
VZR5Q:=LLV(LOW,30);
VZR6Q:=HHV(VZR4Q,30);
VZR7Q:=IF(MA(CLOSE,58),1,0);
VZR8Q:=EMA(IF(LOW =VZR5Q,(VZR4Q+VZR6Q*2)/2,0),3)/618*VZR7Q;
VZR9Q:=IF(VZR8Q 100,100,VZR8Q);
吸筹8:STICKLINE(VZR9Q -120,0,VZR9Q,2,1),COLORRED;
VZRY2:=REF(LOW,1);
VZRY3:=SMA(ABS(LOW-VZRY2),3,1)/SMA(MAX(LOW-VZRY2,0),3,1)*100;
VZRY4:=EMA(IF(CLOSE*1.3,VZRY3*10,VZRY3/10),3);
VZRY5:=LLV(LOW,30);
VZRY6:=HHV(VZRY4,30);
VZRY7:=IF(MA(CLOSE,58),1,0);
VZRY8:=EMA(IF(LOW =VZRY5,(VZRY4+VZRY6*2)/2,0),3)/618*VZRY7;
VZRY9:=IF(VZRY8 100,100,VZRY8);
吸筹2:STICKLINE(VZRY9 -120,0,VZRY9/3,2,1),COLORMAGENTA;
LCC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LCC,0),4.1,1)/SMA(ABS(CLOSE-LCC),4.1,1)*100,COLORYELLOW,LINETHICK1;
黄买:FILTER((REF(CLOSE,2) CLOSE AND RSI 25),7),COLORYELLOW;
STICKLINE(黄买,0,20,4,1),COLORYELLOW;
黄卖:=FILTER((REF(CLOSE,2) CLOSE AND RSI 80),7);
STICKLINE(黄卖,200,162,4,0),COLORYELLOW;
DRAWTEXT(黄卖,160,'黄卖1'),COLORYELLOW;
红买:FILTER(CROSS(RSI,11),7),COLORRED;
STICKLINE(红买,0,15,4,0),COLORRED;
红卖:=FILTER(CROSS(89,RSI),7);
STICKLINE(红卖,200,172,4,0),COLORRED;
DRAWTEXT(红卖,164,'红卖2'),COLORRED;
绿买:FILTER(CROSS(RSI,20),7),COLORGREEN;
STICKLINE(绿买,0,20,4,0),COLORGREEN;
绿卖:=FILTER(CROSS(80,RSI),7);
STICKLINE(绿卖,200,182,4,0),COLORGREEN;
DRAWTEXT(绿卖,176,'绿卖3'),COLORGREEN;
ZLC:= EMA((WINNER(CLOSE) * 70),3);
SHC:= EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),3);
主控盘:= ((ZLC / (ZLC+ SHC)) * 100),COLOR00FFFF,LINETHICK2;
K2:=EMA(C,5),COLORFFFF00;
K3:=EMA(C,10),COLORFFFF00;
K5:=EMA(C,30),COLORFFFF00;KK5:=EMA(INDEXC,30),COLORFFFF00;
K6:=2*(K2-K5);K7:=2*(K2-K3);K8:=2*(K7+K6),COLORRED;
STICKLINE(CROSS(K8,0),0,60,2,0) ,COLORRED;
K91:=IF(K8 REF(K8,5) AND K3 REF(K3,5) ,1,0 ),COLORYELLOW;
K21:=IF(K8 REF(K8,7) AND K3 REF(K3,7) ,1,0 ),COLORYELLOW;
K31:=IF(K8 REF(K8,9) AND K3 REF(K3,9) ,1,0 ),COLORYELLOW;
K4:=IF(K8 REF(K8,11) AND K3 REF(K3,11) ,1,0 ),COLORYELLOW;
底部区:STICKLINE((K91 OR K21 OR K31 OR K4) AND K8 0 AND K8 REF(K8,1),25,0,2,0) ,COLORYELLOW;
DRAWTEXT((K91 OR K21 OR K31 OR K4) AND K8 0 AND K8 REF(K8,1),60,'*'),COLORYELLOW;
0;
VAR31:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;
VAR32:=SMA(VAR31,3,1);
VAR33:=SMA(VAR32,3,1);
VAR34:=SMA(VAR33,3,1);
波:= VAR33*2;
段:= VAR34*2;
VAR36:=CROSS(VAR33,VAR34) AND VAR33
DRAWTEXT(FILTER(VAR36,10)=1,236,'抄底'),COLORRED,LINETHICK3;
STICKLINE(FILTER(VAR36,10)=1,0,230,2,0),COLORRED;
VAR37:=CROSS(VAR34,VAR33) AND VAR33
STICKLINE(FILTER(VAR37,5)=1,180,200,4,0),COLORYELLOW;
DRAWTEXT(FILTER(VAR37,5)=1,150,'逃顶'),LINETHICK3,COLORYELLOW;
VAR38:=CROSS(VAR32,VAR33) AND VAR33 80 AND VAR33 VAR34;
STICKLINE(VAR38,160,200,2,0) ;
{觅庄建仓}
VABR1:=REF(LOW,1);
VABR2:=SMA(ABS(LOW-VABR1),13,1)/SMA(MAX(LOW-VABR1,0),13,1)*4;
VABR3:=EMA(VABR2,13);
VABR4:=LLV(LOW,34);
VABR5:=EMA(IF(LOW =VABR4,VABR3,0),3);
主力进场:
STICKLINE(VABR5 REF(VABR5,1),0,VABR5*8,2,0 ),COLORFF00FF;
DRAWTEXT(VABR5 REF(VABR5,1),75,'吸'),COLORFF00FF;
N:=9;
M1:=3;
M2:=3;
P:=9;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1),COLORRED,LINETHICK2;
D:=SMA(K,M2,1),COLOR00FF00;
JJ:=P*(3*D-2*K),COLOR00FF00;
J:=((3 * K) - (2 * D));
MAIRU:= CROSS(K,D) AND K
MAICHU:= CROSS(D,K) AND D
VAR52:=REF(LOW,1);
VAR53:=SMA(ABS(LOW-VAR52),3,1)/SMA(MAX(LOW-VAR52,0),3,1)*100;
VAR54:=EMA(IF(CLOSE*1.3,VAR53*10,VAR53/10),3);
VAR55:=LLV(LOW,13);
VAR56:=HHV(VAR54,13);
VAR57:=IF(MA(CLOSE,34),1,0);
VAR58:=EMA(IF(LOW =VAR55,(VAR54+VAR56*2)/2,0),3)/618*VAR57;
VAR59:=IF(VAR58 100,100,VAR58);
吸筹线:VAR59*3,LINETHICK2,COLORFFFFFF;
STICKLINE(VAR59 -120,0,VAR59*0.05,2,1),COLORLIRED;
短线:=(CLOSE- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORMAGENTA,LINETHICK2;
中线B:=SMA(短线,M1,1),COLORYELLOW;
长线:=SMA(中线B,M2,1),COLORLIBLUE;
超强吸筹:=IF(BARSLAST(CROSS(中线B,长线)) P AND CROSS(中线B,长线) AND 中线B 20,90,DRAWNULL);
STICKLINE(超强吸筹,0,200,4,0),COLORYELLOW;
DRAWTEXT(超强吸筹 0,180,'超'),COLORBLUE;
DRAWTEXT(超强吸筹 0,140,'强'),COLORBLUE;
DRAWTEXT(超强吸筹 0,100,'吸'),COLORBLUE;
BBB:=IF(BARSLAST(CROSS(中线B,短线)) =3 AND CROSS(短线,中线B) AND 中线B 30,20,0);
STICKLINE(BBB,0,110,1,0),COLORBLUE;
DRAWICON(BBB 0,75,1);
AAB:=IF(BARSLAST(CROSS(短线,中线B)) =4 AND CROSS(中线B,短线) AND 短线 50,20,0);
STICKLINE(AAB,150,200,2,0),COLORGREEN;
DRAWICON(AAB 0,150,2);
DRAWTEXT(AAB 0,140,'逃'),COLORGREEN;
DRAWTEXT(AAB 0,110,'警'),COLORGREEN;
DRAWTEXT(AAB 0,90,'告'),COLORGREEN;
吸筹线99:VAR59*3,LINETHICK4,COLORYELLOW;