A3:(EMA(CLOSE,5)+MA(CLOSE,10)+MA(CLOSE,15))/3,colorff00ff;
a4:(EMA(CLOSE,20)+MA(CLOSE,25)+MA(CLOSE,30))/3,color00ff00; A5:(EMA(CLOSE,40)+MA(CLOSE,50)+MA(CLOSE,60))/3,coloryellow; a6:(EMA(CLOSE,80)+MA(CLOSE,85)+MA(CLOSE,90))/3,colorff9900; A7:(EMA(CLOSE,120)+MA(CLOSE,130)+MA(CLOSE,150))/3,color0000ff; a8:(EMA(CLOSE,160)+MA(CLOSE,170)+MA(CLOSE,180))/3,coloryellow; A9:(EMA(CLOSE,200)+MA(CLOSE,225)+MA(CLOSE,250))/3,color00ff00; V1:EMA(CLOSE,5),Color00FFFF;V2:EMA((EMA(CLOSE,29))*(1.01),10),ColorFF00FF; V3:EMA(CLOSE,10),ColorFFFFFF;V4:EMA((EMA(CLOSE,60))*(0.99),10),ColorFFFF00;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
VarA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; VarB:=EMA(0.667*REF(VarA,1)+0.333*VarA,5); DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VarA>=VarB and VarA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'注意買入'); Varr1:=SMA(MAX(CLOSE-ref(c,1),0),12,1)/SMA(ABS(CLOSE-ref(c,1)),15,1)*100; DRAWTEXT(CROSS(82,Varr1),high,'快賣'),coloryellow; Var1:=(HIGH+LOW+OPEN+2*CLOSE)/5;Var2:=REF(Var1,1); Var3:=SMA(MAX(Var1-Var2,0),10,1)/SMA(ABS(Var1-Var2),10,1)*100; HY3:=IF(COUNT(Var3<20,5)>=1 AND COUNT(Var1=LLV(Var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0); DRAWTEXT(hy3,low,'買入'),colorred; 短線之王 n:=5;m1:=3;m2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K5:SMA(RSV,M1,1),linethick3,colorff00ff; D5:SMA(K5,M2,1),linethick3,color00ffff; J5:3*K5-2*D5,linethick5,color00ff00; K5a:(SMA(RSV,M1,1))*-1,linethick1,colorffff00; D5a:(SMA(K5,M2,1))*-1,linethick1,colorffffff; J5a:(3*K5-2*D5)*-1,linethick1,color0000ff; vv0:0,color00ff00,linethick3; vv10:10,POINTDOT,color00ff00; vv20:20,POINTDOT,color00ff00; vv50:50,color00ff00; vv80:80,POINTDOT,color00ff00; vv100:100,color00ff00; vv10a:-10,POINTDOT,coloraaaaaa; vv20a:-20,POINTDOT,coloraaaaaa; vv50a:-50,coloraaaaaa; vv80a:-80,POINTDOT,coloraaaaaa; vv100a:-100,coloraaaaaa; DRAWICON(CROSS(ZIG(3,10) ,REF(ZIG(3 ,10),1)) ,20,1);{未來函數(shù)} DRAWICON(CROSS(REF(ZIG(3,10),1),ZIG(3,10)) ,90,2);{未來函數(shù)} 同花順波段 k34:="kdj.k"(34,3,3);
d34:="kdj.d"(34,3,3); 中k34:k34,CoLor0000FF; STICKLINE((k34-d34>=0),k34,d34,10,0),CoLor0000FF; STICKLINE((k34-d34<0),k34,d34,10,0),CoLor00FF00; d89:="kdj.d"(89,8,3); 長(zhǎng)d89:d89,colorWHITE,linethick1; stickline(d89>=ref(d89,1),d89,ref(d89,1),5,0),colorWHITE,linethick2; stickline(d89<ref(d89,1),d89,ref(d89,1),5,0),colorFF9900,linethick2; DRAWTEXT(CROSS(K34,D34) AND (K34<50),D34,'●'),CoLor00FFFF; DRAWTEXT(CROSS(K34,D34) AND (K34<50),d34,'買點(diǎn)'),CoLor00FFFF; 0,color00ff00; 20,color00ff00,pointdot; 50,color00ff00; 80,color00ff00,pointdot; 100,color00ff00; 同花順拐點(diǎn) p1:=(5); p2:=(4);
Var1:=LLV(LOW,P1); Var2:=HHV(HIGH,P1); 短: EMA((CLOSE-Var1)/(Var2-Var1)*100,P2),COLORFF00FF,colorred; 線: EMA(0.667*REF(短,1)+0.333*短,2),colorcyan; 中: EMA((短+線)/2,13); 拐點(diǎn):REF(線,1),colorgreen,LINETHICK0; 次日買入價(jià):IF(CLOSE>OPEN,OPEN+(CLOSE-OPEN)/2+0.05,0),colorred,LINETHICK0; 次日賣出價(jià):IF(OPEN>CLOSE AND 線>短,CLOSE+(OPEN-CLOSE)/2-0.1,0),colorgreen,LINETHICK0; 買入?yún)⒖?=CROSS(短,線); 賣出參考:=CROSS(線,短); DRAWICON(買入?yún)⒖?AND 線<40,線,1); DRAWICON(賣出參考 AND 線>60,線,2); 頂1:80;
底1:20; 頂2:60; 底2:40; 次日漲停
A : MA(CLOSE,26);
UP: A + 2*STD(CLOSE,26); LOWER: A - 2*STD(CLOSE,26); W1:=C=HHV(C,20); W2:=BARSLAST(W1); W3:=IF(W2>0,REF(C,W2),REF(C,W2)); W4:=CROSS(C,REF(W3,1)); DRAWICON(W4 AND COUNT(W4,5)=1,LOW,3); 天下奇兵 多:EMA(C,3),COLORYELLOW;
空:EMA(C,5),COLOR00FF00; 均衡:EMA(空,5),COLORWHITE,; varF1:=COUNT(CROSS(多,均衡),2)=1; varF2:=COUNT(CROSS(空,均衡),2)=1; ZAI:=FILTER(varF1 AND varF2,2); DRAWTEXT(ZAI,均衡*0.98,' 主升行情'),color00ff00; VV2:=REF(CLOSE,1); VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100; DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2); DRAWTEXT(REF(VV3,1)>81 AND VV3<80,HIGH,' 沽空↓'),COLORYELLOW; VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2; DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),COLORRED; varA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; varB:=EMA(0.667*REF(varA,1)+0.333*varA,5); DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(varA>=varB AND varA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意買入'); varR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,varR1),HIGH,2); DRAWTEXT(CROSS(82,varR1),HIGH,'短空↓'),COLORYELLOW; var1:=(HIGH+LOW+OPEN+2*CLOSE)/5; var2:=REF(var1,1); var3:=SMA(MAX(var1-var2,0),10,1)/SMA(ABS(var1-var2),10,1)*100; HY3:=IF(COUNT(var3<20,5)>=1 AND COUNT(var1=LLV(var1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0); DRAWTEXT(HY3,LOW,' 注意買入'),COLORyellow; S:=MA(VOL,5)/MA(VOL,60),COLORRED,,LINETHICK2; A:=MA(S,5),COLORGREEN,,LINETHICK2; BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; F:=MA(S,121); RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; K:=SMA(RSV,15,1); D:=SMA(K,15,1); J:=3*K-2*D; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(84,RSI) , HIGH,'逃頂!'),COLORYELLOW ; S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0),STICK,LINETHICK3,COLOR00ff00; DRAWTEXT(S1=2,LOW,'關(guān)注!'), COLORGREEN; 中軌:HHV(MA(H,13),13),COLORRED,LINETHICK2; (MA(H,13)),COLORGREEN,LINETHICK2; 暴漲啟動(dòng)線 {暴漲啟動(dòng)線}
k2:=EMA(c,5); k3:=EMA(c,10); k5:=EMA(c,30); kk5:=EMA(indexc,30); A10:=EMA(C,10); k6:=2*(k2-k5);k7:=2*(k2-k3);k8:=2*(k7+k6); VAR1:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); 年:MA(CLOSE,26),COLORGREEN,linethick0; 箱底:LLV(MA((LOW),5),30),pointDOT,colorGREEN,linethick1; 長(zhǎng)箱底:LLV(MA((LOW),5),60),pointDOT,linethick1; 長(zhǎng)長(zhǎng)箱底:LLV(MA((LOW),5),100),pointDOT,coloryellow,linethick1; 長(zhǎng)長(zhǎng)箱頂:HHV(MA((HIGH),6),120),pointDOT,linethick1; 長(zhǎng)箱頂:HHV(MA((HIGH),6),60),colorred,linethick1; 箱頂:HHV(MA((HIGH),6),30),color00aaff,linethick2; 中間:(箱頂+箱底)/2,COLORff00ff,linethick3; wx:EMA(c,5),colorwhite,linethick2; STICKLINE(CROSS(wx,中間),中間-0.8,中間+0.8,0,0) ,colorwhite; STICKLINE(CROSS(wx,長(zhǎng)箱頂),長(zhǎng)箱頂-0.8,長(zhǎng)箱頂+0.8,1,0) ,coloryellow,linethick2; STICKLINE(CROSS(wx,箱頂),箱頂-0.5,箱頂+0.5,1,0) ,colorgreen; 啟動(dòng)線:EMA(c,2),color00ff00,linethick2; STICKLINE(wx<中間,wx,中間,0.01,1),COLORff00ff,POINTDOT; STICKLINE(wx>中間,wx,中間,0.01,1),COLOR00ff00,POINTDOT; STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),LOW,HIGH,0.1,0),colorff00ff; STICKLINE(CLOSE>OPEN or CLOSE=OPEN and CLOSE>REF(CLOSE,1),OPEN,CLOSE,7,0),colorff00ff; STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),LOW,HIGH,0.1,0),color00FF00; STICKLINE(CLOSE<OPEN or CLOSE=OPEN and CLOSE<=REF(CLOSE,1),OPEN,CLOSE,7,0),color00FF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLOR00FF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,8,0 ),COLOR008800; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLOR009900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLOR00AA00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLOR00BB00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLOR00CC00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLOR00DD00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLOR00EE00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLOR00FF00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLORFFBBFF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,8,0) ,COLORFF00FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLORFF22FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLORFF44FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLORFF66FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLORFF88FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLORFF99FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLORFFAAFF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLORFFBBFF; 靈敏的買入賣出點(diǎn) 00*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60));
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100; K:=SMA(RSV,5,1); D:=SMA(K,3,1); J:=3*K-2*D; 主力線:EMA(J,6),COLORYELLOW; VAR2:=REF(LOW,1); VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(MA(CLOSE,58),1,0); VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7; VAR9:=IF(VAR8>100,100,VAR8); 吸籌:STICKLINE(VAR9>-120,0,VAR9,6,1),COLORMAGENTA; AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10; AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100; AA5:=SMA(AA4,13,8); 走勢(shì):CEILING(SMA(AA5,13,8)),COLORRED,LINETHICK2; AA6:=SMA(AA3,21,8); 買觀注: STICKLINE(走勢(shì)-AA6<-65,0,7,15,1); DRAWICON(FILTER(J>REF(J,1)AND 走勢(shì)>=REF(走勢(shì),1)AND 走勢(shì)<25 ,5),走勢(shì),1); 賣觀注: STICKLINE(走勢(shì)-AA6>85,98,90,15,1),COLORFFFF00; DRAWICON(FILTER(J<REF(J,1)AND 走勢(shì)<=REF(走勢(shì),1)AND J>85 ,5),J,2); 超級(jí)主圖 E:=(H+L+O+2*C)/5;
zl:=2*E-L; zc:=2*E-H; fz:=E-(H-L); MA5:MA(C,5),COLORF4E202; MA6:=MA(CLOSE,6); MA18:=MA(CLOSE,18); MA13:MA(C,13),colorRED; BALANCE:=EMA(C,30); UP:=BALANCE + 2*STD(C,30); DOWN:=BALANCE- 2*STD(C,30); var9Q:=c= hhv(c,4)and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3)) or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and c>=ref(c,1) and c>=ref(c,2); varaQ:=c=hhv(c,4) and ref(c,1)=llv(c,4); varbQ:=c=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<>hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and c<ref(c,1) and c<ref(c,2); varcQ:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1); vardQ:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and ref(c,2)>=ref(c,4) and c<ref(c,1); Y1:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9),3),1); VAR1w:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR2w:=(100 - ((90 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21)))); VAR3w:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34)); Var3p:=IF(CLOSE/REF(CLOSE,1)>1.050 AND HIGH/CLOSE<1.010 AND IF(CLOSE>REF(CLOSE,1),88,0)>0, 91, 0); Ss:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2); SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O; MR:=SC AND COUNT(Ss,2); 買:=MR AND NOT(REF(MR,1)); 多方:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1) -3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1) -SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1); Var1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*1; Var2:=SMA(Var1,3,1)*100; 趨勢(shì)線:=SMA((SMA(Var2,3,1)*var1),3,1)*1; Var9:=CROSS(趨勢(shì)線,(SMA(Var2,3,1)*var1)) AND (SMA(Var2,3,1)*var1)>8; AAx:=AMOUNT/VOL; BBx:=L<AAx*0.9; CCx:=(C-REF(C,1))/REF(C,1)*100>1.2; DDx:=L<MA(C,5)*0.921; EEx:=VOL<MA(V,5)*1.5; FFx:=BBx AND CCx AND DDx AND EEx; a:=(3*c+l+o+h)/6; X:=(20*a+19*ref(a,1)+18*ref(a,2)+17*ref(a,3)+16*ref(a,4)+15*ref(a,5)+ 14*ref(a,6)+13*ref(a,7)+12*ref(a,8)+11*ref(a,9)+10*ref(a,10)+9*ref(a,11)+8*ref(a,12) +7*ref(a,13)+6*ref(a,14)+5*ref(a,15)+4*ref(a,16)+3*ref(a,17)+2*ref(a,18)+ ref(a,20))/210; MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); CB:=eMA(X,13); STICKLINE((CLOSE >BALANCE),BALANCE,BALANCE,1,0),LINETHICK2,color0000ff; STICKLINE((BALANCE > CLOSE),BALANCE,BALANCE,1,0),LINETHICK2,colorff6600; STICKLINE(CLOSE>OPEN,OPEN,LOW,0.5,0 ),COLOR0000FF; STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0.5 ,0 ),COLOR0000FF; STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0.5 ,0 ),COLOR00FF00; STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0.5 ,0 ),COLOR00FF00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,7,0 ),COLORff7700; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,6,0 ),COLORff9900; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,5,0 ),COLORffbb00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,4,0 ),COLORffcc00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORffdd00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORffee00; STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORffFF00; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,7,0) ,COLOR000055; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,6,0) ,COLOR000066; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,5,0) ,COLOR000077; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0) ,COLOR000099; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR0000bb; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR0000dd; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000ff; 紅:=var9Q; stickline(var9Q,c,(o+c)/2,7,0),color000055; stickline(var9Q,c,(o+c)/2,6,0),color000066; stickline(var9Q,c,(o+c)/2,5,0),color000077; stickline(var9Q,c,(o+c)/2,4,0),color000099; stickline(var9Q,c,(o+c)/2,3,0),color0000bb; stickline(var9Q,c,(o+c)/2,2,0),color0000dd; stickline(var9Q,c,(o+c)/2,1,0),color0000ff; 粉:=varaQ; stickline(varaQ,c,(o+c)/2,7,0),colorff11ff; stickline(varaQ,c,(o+c)/2,6,0),colorff33ff; stickline(varaQ,c,(o+c)/2,5,0),colorff55ff; stickline(varaQ,c,(o+c)/2,4,0),colorff77ff; stickline(varaQ,c,(o+c)/2,3,0),colorff99ff; stickline(varaQ,c,(o+c)/2,2,0),colorffbbff; stickline(varaQ,c,(o+c)/2,1,0),colorffddff; 灰:=varbQ; stickline(varbQ,c,(o+c)/2,7,0),color333333; stickline(varbQ,c,(o+c)/2,6,0),color555555; stickline(varbQ,c,(o+c)/2,5,0),color777777; stickline(varbQ,c,(o+c)/2,4,0),color999999; stickline(varbQ,c,(o+c)/2,3,0),colorbbbbbb; stickline(varbQ,c,(o+c)/2,2,0),colordddddd; stickline(varbQ,c,(o+c)/2,1,0),colorffffff; 綠:=varcQ; stickline(varcQ,o,(o+c)/2,7,0),color003300; stickline(varcQ,o,(o+c)/2,6,0),color005500; stickline(varcQ,o,(o+c)/2,5,0),color007700; stickline(varcQ,o,(o+c)/2,4,0),color009900; stickline(varcQ,o,(o+c)/2,3,0),color00bb00; stickline(varcQ,o,(o+c)/2,2,0),color00dd00; stickline(varcQ,o,(o+c)/2,1,0),color00ff00; 藍(lán):=vardQ; stickline(vardQ,o,(o+c)/2,7,0),colorff1100; stickline(vardQ,o,(o+c)/2,6,0),colorff3300; stickline(vardQ,o,(o+c)/2,5,0),colorff5500; stickline(vardQ,o,(o+c)/2,4,0),colorff7700; stickline(vardQ,o,(o+c)/2,3,0),colorff9900; stickline(vardQ,o,(o+c)/2,2,0),colorffbb00; stickline(vardQ,o,(o+c)/2,1,0),colorffdd00; 賣:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0); DRAWTEXT(filter(賣=1,1),HIGH*1.02,'賣'),COLORWHITE; 買:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); DRAWTEXT(filter(買=1,5),LOW-0.03,'買'),COLORRED; RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; BDGD:=HHV(J,2)=HHV(J,8) AND J>80; 注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0); DRAWTEXT(注意 AND 賣<>1,HIGH*1.02,'減'),COLORFFFF50; 加倉(cāng)A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10; DRAWTEXT(FILTER((CROSS(加倉(cāng)A,0) OR CROSS(CLOSE,CB)) AND 買<>1,3),LOW-0.03,'加'),COLOR0080FF; 跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0); DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW*0.96,'跟'),COLOR7F52AF; {飛狐用下面這段顯示阻力支撐}
DRAWTEXTEX(C,0,10,15,'上升阻力:' +NUMTOSTR(zl,2)),colorred; DRAWTEXTEX(C,0,10,35,'下跌支撐:' +NUMTOSTR(zc,2)),COLORGREEN; DRAWTEXTEX(C,0,10,55,'下跌反轉(zhuǎn):' +NUMTOSTR(fz,2)),colorwhite; 大智慧——紫買黃賣
MA6:MA(CLOSE,6),CoLor0000FF;
MA18:MA(CLOSE,18),CoLor0096FF; MA30:MA(CLOSE,30),CoLor00FF99; MA60:MA(CLOSE,60),CoLorFF00FF; AAF:LLV(LOW,34),Linethick1,CoLorFFFFCC; BBF:MA(AAF,4),Linethick1,CoLor00FFFF; LC:=REF(CLOSE,1); RSI:=((SMA(MAX(CLOSE-LC,0),4.1,1))/(SMA(ABS(CLOSE-LC),4.1,1)))*(100); DRAWICON(CROSS(84,RSI),(HIGH)*(1.03),5),CoLor008000; DRAWICON(CROSS(RSI,11),(LOW)*(0.99),4),CoLorFF0000; VAR27:=REF(CLOSE,1); VAR28:=((SMA(MAX(CLOSE-VAR27,0),5.5,1))/(SMA(ABS(CLOSE-VAR27),6,1)))*(100); DRAWICON(IF(CROSS(76,VAR28),1,0),(HIGH)*(1.03),5),CoLor000080; DRAWTEXT(FILTER((EMA(CLOSE,60)-EMA(CLOSE,12)>0) AND ((EMA(CLOSE,12))/(LOW)>1.15),5),LOW,'☆'),Linethick7,CoLorFF00FF; VARA:=((AMOUNT)/(VOL))/(100); VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7); VARC:=((SUM(AMOUNT,7))/(VARA))/(100); VARD:=DMA(VARB,(VOL)/(VARC)); VARE:=((CLOSE-VARD)/(VARD))*(100); VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100); VARJ:=MA(VARE,20)+STD(VARE,20); BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100); AA:=SMA(VARF,3,1); SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>SS),(HIGH)*(1.02),'☆'),Linethick7,CoLor008000; {www.stock08.cn} VAR1:=(ZIG(3,10)<REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1)>REF(ZIG(3,10),2)); VAR2:=(ZIG(3,10)>REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1)<REF(ZIG(3,10),2)); STICKLINE(VAR1,CLOSE,OPEN,8,0),Linethick2,CoLor00FFFF; STICKLINE(VAR1,CLOSE,OPEN,3,0),Linethick2,CoLor00FFFF; STICKLINE(VAR1,HIGH,LOW,1,0),Linethick2,CoLor00FFFF; STICKLINE(VAR2,CLOSE,OPEN,8,0),Linethick2,CoLorFF00FF; STICKLINE(VAR2,CLOSE,OPEN,3,0),Linethick2,CoLorFF00FF; STICKLINE(VAR2,HIGH,LOW,1,0),Linethick2,CoLorFF00FF; S:=(MA(VOL,5))/(MA(VOL,60)); A:=MA(S,5); BIAS:=((CLOSE-MA(CLOSE,5))/(MA(CLOSE,5)))*(100); F:=MA(S,121); RSV:=((CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45)))*(100); K:=SMA(RSV,15,1); D:=SMA(K,15,1); J:=(3)*(K)-(2)*(D); LC1:=REF(CLOSE,1); RSI1:=((SMA(MAX(CLOSE-LC,0),6,1))/(SMA(ABS(CLOSE-LC),6,1)))*(100); {www.gupiaogongshi.com} DRAWTEXT(CROSS(84,RSI),HIGH,'→ 逃頂 '),CoLor00FFFF; DRAWTEXT(CROSS(RSI,11),LOW,'→ 低吸 '),CoLor0000FF; MID:=MA(CLOSE,26); UPPER:=MID+(2)*(STD(CLOSE,26)); LOWER:=MID-(2)*(STD(CLOSE,26)); S1:=IF((J<11) AND (BIAS>(-11)) AND CROSS(S,F) AND (S-F>0.01),2,0); DRAWTEXT((S1=2),LOW,'→關(guān)注 '),CoLor008000; DRAWICON(FILTER(CROSS(S,A) AND (A<0.5) AND (J<20),13),LOW,1),CoLorFFFFFF; 波段王 VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1); VAR3:=REF(LOW,1)-LOW; VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25); VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25); VAR6:=VAR4*100/VAR1; VAR7:=VAR5*100/VAR1; VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15); VAR9:=(VAR8+REF(VAR8,15))/2; A:=(VAR7>VAR6 AND VAR7>25 AND VAR6<25); B:ZIG(3,50/5)*100,COLORWHITE; S:MA(B,2),COLORYELLOW; D:=CROSS(B,S)*1000,COLORRED; W:=CROSS(S,B)*1000,COLORBLUE; E:=REF(INDEXC,1); F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1); VAR10:=F AND F<8; VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR12:=SMA(VAR11,3,1); VAR13:=SMA(VAR12,3,1); VAR14:=VAR13 AND VAR13<20; MM:=A AND D AND VAR10 AND VAR14 ; DRAWTEXT(W=1000,B*1.05,'S賣' ),COLOR00FF00; DRAWTEXT(D=1000,B*1.08,'B買'),COLORRED; |
|