文华指标71个(供参考)
更新时间:2024-06-04 19:20:01 阅读量: 综合文库 文档下载
- 文华期货指标推荐度:
- 相关推荐
文华指标1
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
B:(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; D:MA(B,10);
STICKLINE(B>D,B,D,8,COLORRED); STICKLINE(B 文华指标2 N:=21; HH:=HHV(HIGH,N); LL:=LLV(LOW,N); HH1:=BARSLAST((HH > REF(HH,1))); LL1:=BARSLAST((LL < REF(LL,1))); PARTLINE((HH1 < LL1),LL,COLORMAGENTA); PARTLINE((HH1 > LL1),HH,COLORGREEN); STICKLINE((HH1 < LL1),CLOSE,OPEN,COLORRED,0); DRAWLINE((HH1 < LL1),H,(HH1 < LL1),L,COLORRED); STICKLINE((HH1 > LL1),CLOSE,OPEN,COLORBLUE,0); DRAWLINE((HH1 > LL1),H,(HH1 > LL1),L,COLORBLUE); DRAWTEXT(CROSS(HH1,LL1),HH,'开空'); DRAWTEXT(CROSS(LL1,HH1),LL,'开多'); DRAWTEXT(FILTER(((HH1 < REF(HH1,1)) AND (HH1 < LL1)),90),LOW,'♂加多'); DRAWTEXT(FILTER(((LL1 < REF(LL1,1)) AND (HH1 > LL1)),90),HIGH,'♀加空'); (EMA(CLOSE,60)+EMA(CLOSE,90))/2,CIRCLEDOT; //文华财经洗钱 XQA:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE; XQB:=SMA(XQA,13,1); XQC:SMA(XQB,5.5,1.5),COLORCYAN; XQD:3*XQB-2*XQC,COLORYELLOW; XQE:4*XQC-3*XQB,COLORMAGENTA; L1:=EMA(XQA,3); L2:=EMA(XQA,5); L3:=EMA(XQA,7); STICKLINE(L1>L2,L3,L1,2,1),COLORRED; STICKLINE(L1 T1:=L2>L3&& L1REF(L1,1); STICKLINE(T1,L1,L3,2,0),COLORRED; STICKLINE(T2,L1,L3,2,0),COLORGREEN; 文华指标3 N1:=BARSLAST(DATE<>REF(DATE,1) )+1; N:=IFELSE(N1>=10,10,N1); HJ:=MAX(OPEN,CLOSE ); LJ:=MIN(OPEN,CLOSE); W:=MA(MA((HIGH+HJ)/2,N),10); E:=MA(MA((LOW+LJ)/2,N),10); A:=BARSLAST(CLOSE>W&&VOL>REF(VOL,1)); B:=BARSLAST(E>CLOSE&&VOL>REF(VOL,1)); DRAWLINE(AB,HIGH,A>B,LOW,COLORCYAN); STICKLINE(AB,CLOSE,OPEN,COLORCYAN,0); 文华指标4 58:58,COLORYELLOW; 85:85,COLORRED; 31:31,COLORGREEN; VAVER:=(2*CLOSE+HIGH+LOW)/4; VMIN:=LLV(LOW,34); VMAX:=HHV(HIGH,34); VARC:=EMA((VAVER-VMIN)/(VMAX-VMIN)*100,13); VARD:=EMA(2*REF(VARC,1)/3+VARC/3,2); SMX:EMA(VARD,10),COLORRED; IFELSE (SMX E1:EMA(((VAVER-VMIN)/(VMAX-VMIN))*(100),13),COLORRED; MAE1:EMA(E1,5),COLORYELLOW; J1:(E1>MAE1)*5,COLORRED; R1:(MAE1>E1)*5,COLORGREEN; DRAWTEXT(CROSS(E1,MAE1),E1-3,'B'); DRAWTEXT(CROSS(MAE1,E1),MAE1+3,'S'); STICKLINE(E1-MAE1>0,E1,MAE1,COLORRED,0); STICKLINE(E1-MAE1<0,E1,MAE1,COLORBLUE,0); 文华指标5 A1:=HHV(HIGH,10); A2:=LLV(LOW,10); A3:=(A1-A2)*0.618+A2; A4:=(A1-A2)*0.5+A2; A5:=(A1-A2)*0.382+A2; PD:=ISLASTBAR; ZH:A1; ZL:A2; F3:A3; F4:A4; F5:A5; DRAWNUMBER(PD,ZH,ZH,2,COLORYELLOW); DRAWNUMBER(PD,ZL,ZL,2,COLORYELLOW); DRAWNUMBER(PD,F3,F3,2,COLORYELLOW); DRAWNUMBER(PD,F4,F4,2,COLORYELLOW); DRAWNUMBER(PD,F5,F5,2,COLORYELLOW); 文华指标6 LC := REF(CLOSE,1); VID := SUM(VOL,2)/(((HHV(HIGH,2)-LLV(LOW,2)))*100); RC := (CLOSE-LC)*VID; LONG := SUM(RC,0); DIFF := SMA(LONG,10,1); DEA := SMA(LONG,20,1); LON : DIFF-DEA; LONMA : MA(LON,10); LONT : LON, COLORSTICK; 文华指标7 A1:=EMA(C,5)>EMA(C,6) && EMA(C,6)>EMA(C,7) && EMA(C,7)>EMA(C,8) && EMA(C,8)>EMA(C,9) && EMA(C,9)>EMA(C,10) && EMA(C,10)>EMA(C,11) && EMA(C,11)>EMA(C,12) && EMA(C,12)>EMA(C,13) && EMA(C,13)>EMA(C,14) && EMA(C,14)>EMA(C,15) && EMA(C,15)>EMA(C,20) && EMA(C,20)>EMA(C,30) && EMA(C,30)>EMA(C,60) && EMA(C,60)>EMA(C,90) && EMA(C,90)>EMA(C,120) && EMA(C,120)>EMA(C,250); A2:=EMA(C,5)>EMA(C,6) && EMA(C,6)>EMA(C,7) && EMA(C,7)>EMA(C,8) && EMA(C,8)>EMA(C,9) && EMA(C,9)>EMA(C,10) && EMA(C,10)>EMA(C,11) && EMA(C,11)>EMA(C,12) && EMA(C,12)>EMA(C,13) && EMA(C,13)>EMA(C,14); E5:=EMA(C,21); E6:=EMA(C,22); E7:=EMA(C,23); E8:=EMA(C,24); E9:=EMA(C,25); E10:=EMA(C,26); E11:=EMA(C,27); E12:=EMA(C,28); E13:=EMA(C,29); E14:=EMA(C,30); T:=IFELSE(A2,-1,IFELSE(A1,1,0)); G:=IFELSE(T=-1,E5,E5); H9:=IFELSE(T=1,E5,E5); J:=IFELSE(T=0,E5,E5); DRAWLINE(T=1&&REF(T,1)=1,H9,T=0&&REF(T,1)=1,REF(H9,1),COLORGREEN); DRAWLINE(T=-1&&REF(T,1)=-1,G,T=-1&&REF(T,1)=-1,REF(G,1),COLORRED); DRAWSL(T=1,H9,0,1,0,COLORGREEN); DRAWSL(T=-1,G,0,1,0,COLORRED); DRAWLINE(T=0&&REF(T,1)=0,J,T=0&&REF(T,1)=0,REF(J,1),COLORBLUE); DRAWSL(T=0,J,0,1,0,COLORBLUE); G1:=IFELSE(T=-1,E6,E6); H1:=IFELSE(T=1,E6,E6); J1:=IFELSE(T=0,E6,E6); DRAWLINE(T=1&&REF(T,1)=1,H1,T=0&&REF(T,1)=1,REF(H1,1),COLORGREEN); DRAWLINE(T=-1&&REF(T,1)=-1,G1,T=-1&&REF(T,1)=-1,REF(G1,1),COLORRED); DRAWSL(T=1,H1,0,1,0,COLORGREEN); DRAWSL(T=-1,G1,0,1,0,COLORRED); DRAWLINE(T=0&&REF(T,1)=0,J1,T=0&&REF(T,1)=0,REF(J1,1),COLORBLUE); DRAWSL(T=0,J1,0,1,0,COLORBLUE); G2:=IFELSE(T=-1,E7,E7); H2:=IFELSE(T=1,E7,E7); J2:=IFELSE(T=0,E7,E7); DRAWLINE(T=1&&REF(T,1)=1,H2,T=0&&REF(T,1)=1,REF(H2,1),COLORGREEN); DRAWLINE(T=-1&&REF(T,1)=-1,G2,T=-1&&REF(T,1)=-1,REF(G2,1),COLORRED); DRAWSL(T=1,H2,0,1,0,COLORGREEN); DRAWSL(T=-1,G2,0,1,0,COLORRED); DRAWLINE(T=0&&REF(T,1)=0,J2,T=0&&REF(T,1)=0,REF(J2,1),COLORBLUE); DRAWSL(T=0,J2,0,1,0,COLORBLUE); G3:=IFELSE(T=-1,E8,E8); H3:=IFELSE(T=1,E8,E8); J3:=IFELSE(T=0,E8,E8); DRAWLINE(T=1&&REF(T,1)=1,H3,T=0&&REF(T,1)=1,REF(H3,1),COLORGREEN); DRAWLINE(T=-1&&REF(T,1)=-1,G3,T=-1&&REF(T,1)=-1,REF(G3,1),COLORRED); DRAWSL(T=1,H3,0,1,0,COLORGREEN); DRAWSL(T=-1,G3,0,1,0,COLORRED); DRAWLINE(T=0&&REF(T,1)=0,J3,T=0&&REF(T,1)=0,REF(J3,1),COLORBLUE); DRAWSL(T=0,J3,0,1,0,COLORBLUE); 文华指标8 VAR1:=(HHV(HIGH,13)-LLV(LOW,13)); VAR2:=(HHV(HIGH,13)-CLOSE); VAR3:=(CLOSE-LLV(LOW,13)); VAR4:=(((VAR2/VAR1)*100)-70); VAR5:=(((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*100); VAR6:=((((2*CLOSE)+HIGH)+LOW)/4); VAR7:=SMA(((VAR3/VAR1)*100),3,1); VAR8:=LLV(LOW,8); VAR9:=(SMA(VAR7,3,1)-SMA(VAR4,9,1)); VAR10:=IFELSE((VAR9>100),(VAR9-100),0); VAR11:=HHV(HIGH,8); VAR12:=EMA((((VAR6-VAR8)/(VAR11-VAR8))*100),8); VAR13:=EMA(((0.667*REF(VAR12,1))+(0.333*VAR12)),2); STICKLINE(((VAR12-VAR13)>0),VAR12,VAR13,COLORRED,0); STICKLINE(((VAR12-VAR13)<0),VAR12,VAR13,COLORGREEN,0); MA11:EMA(VAR13,2),COLORYELLOW ; A:20,COLORCYAN; B:80,COLORLIGHTBLUE; A:=(EMA(CLOSE,21)-EMA(CLOSE,3))/2*0.95; 0; B:=(EMA(CLOSE,3)-EMA(CLOSE,21))/2*0.95; CC:(B-A),COLORRED; STICKLINE(B>A,0,B,COLORRED,1); STICKLINE(A>B,0,A,COLORCYAN,1); STICKLINE(B>A,0 ,A,COLORRED,1); STICKLINE(A>B,0 ,B,COLORCYAN,1); DRAWTEXT(CROSS(CC,0),CC+0.3,'B'); DRAWTEXT(CROSS(0,CC),CC+0.3,'S'); N1:=3; N2:=13; RSV1:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100; RSV2:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100; J1:=SMA(RSV1,3,1); J2:=SMA(J1,3,1); A:3*SMA(RSV2,5,1)-2*SMA(SMA(RSV2,5,1),3,1); K:SMA(RSV2,3,1); D:SMA(K,3,1); BB:100; AA:IFELSE(A<=10,30,0); CC:IFELSE(CROSS(J2,J1) AND J2>85,70,100); B:49; STICKLINE(A>88,100,A,COLORRED,1); STICKLINE(A<=10,0,A,COLORBLUE,1); STICKLINE(COUNT(A85,100,80,COLORRED,0); VAR1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; AA:SMA(VAR1,5,1),COLORRED; BB:SMA(AA,3,1),COLORYELLOW; CC:IFELSE(CROSS(AA,BB)&&BB<25,50,0),COLORRED; DRAWTEXT(CC>0,50,'买入'); DD:IFELSE(CROSS(BB,AA)&&AA>70,80,100),COLORGREEN; DRAWTEXT(DD<100,80,'卖出'); 文华指标10 KG1:=VOL>REF(HHV(VOL,6),1); W2:=OPEN-CLOSE; HH1:= IFELSE (HREF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0); HH2:=VALUEWHEN(HH1>0,HH1); LL2:=VALUEWHEN(LL1>0,LL1); KA1:= IFELSE (CLOSE>HH2,-3,IFELSE(CLOSE DRAWNUMBER(L>0,GA1,GA1,0,COLORCYAN); W1:=KA2; U1:=(HIGH+LOW+CLOSE*2)/4; HT:= IFELSE (OPEN>CLOSE,OPEN,CLOSE); LT:= IFELSE (OPEN P1:=MA(U1,10)+(REF(MA(CLOSE,5),2)-REF(MA(CLOSE,5),5)); P:=MA((P1+MA(CLOSE,4))/2,5); A1:=REF(HIGH,2)>REF(HIGH,1)||REF(LOW,2)>REF(LOW,1); A3:=HIGH>REF(HIGH,1)|| HIGH>REF(HIGH,2)||(HIGH-LOW)*0.3+LOW>P; A31:=CLOSE>P&&REF(LOW,1) REF((HIGH+LOW)/2,1); A4:=REF(MA(CLOSE,5),2)>REF(MA(CLOSE,5),1); A5:=VALUEWHEN(A1&&A3&&A4&&A31,REF((HIGH+LOW)/2 ,1)); DRAWSL(A1&&A3&&A4&&A31,A5,0,4,0,COLORRED); RSV:=(CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100; M:=MA(RSV,3); A:=MA(M,3); B:=MA(A,3); A6:=REF(LOW,2) A7:=LOWP&&CLOSE A9:=VALUEWHEN(A6&&A7&&A8&&A71,REF((HIGH+LOW)/2 ,1)); DRAWSL(A6&&A7&&A8&&A71,A9,0,4,0,COLORGREEN); DRAWSL(KG1&&VOL> REFX(VOL,1),(HIGH+LOW)/2,0,5,0,COLORYELLOW); D:= VALUEWHEN(KG1, (HIGH+LOW)/2); STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0); STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCYAN,0); GA2:=VALUEWHEN(ISLASTBAR,D); DRAWNUMBER(LOW>0, GA2,GA2,0,COLORRED); DRAWTEXT(CLOSE>0,(HIGH+LOW)/2,''); AI1:=BARSLAST(REF(CROSS(A,B),1)); M3:= BARSLAST(REF(CROSS(B,A),1)); SO:=VALUEWHEN(CROSS(A,B),LOW); S2:=VALUEWHEN(CROSS(B,A),HIGH); K1:=VALUEWHEN(CROSS(A,B),A); B2:= CROSS(A,B) && A> REF(A,AI1) && LLV(CLOSE,3) < REF(LLV(CLOSE,3),AI1) &&CLOSE>MA(CLOSE,5); K2:=VALUEWHEN(CROSS(B,A),A); D2:= CROSS(B,A) && A< REF(A,M3) && HHV(CLOSE,3)> REF(HHV(CLOSE,3),M3) &&CLOSE MA1:=MA(P,5); B2L:= CROSS(A,B) && A> REF(A,AI1) && LLV(CLOSE,3) < REF(LLV(CLOSE,3),AI1); DI2:= CROSS(B,A) && A< REF(A,M3) && HHV(CLOSE,3)> REF(HHV(CLOSE,3),M3); 文华指标11 HZ:=EMA(CLOSE,5); DB:=MA(HZ,1),COLORGREEN; ZB:=EMA(HZ,26),COLORRED; JX148:=EMA(C,148); HZ2:EMA(HZ,21),COLORMAGENTA; HZ4:=EMA(HZ,39),COLORRED; FILLRGN(DB>HZ2,DB,HZ2,COLORMAGENTA); FILLRGN(DB DRAWNUMBER(ISLASTBAR,DB,DB,0,COLORGREEN); DRAWNUMBER(ISLASTBAR,HZ2,HZ2,0,COLORRED); DRAWNUMBER(ISLASTBAR,ZB,ZB,0,COLORGREEN); DRAWNUMBER(ISLASTBAR,HZ4,HZ4,0,COLORRED); DRAWTEXT(CROSS(DB,HZ2),LOW-5,'多'); DRAWTEXT(CROSS(HZ2,DB),HIGH+25,'空'); KG1:=VOL>REF(HHV(VOL,4),1); W2:=OPEN-CLOSE; HH1:=IFELSE(HREF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0); HH2:=VALUEWHEN(HH1>0,HH1); LL2:=VALUEWHEN(LL1>0,LL1); KA1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE GA1:=VALUEWHEN(ISLASTBAR,GA);DRAWNUMBER(L>0,GA1,GA1,0,COLORCYAN); W1:=KA2; U1:=(HIGH+LOW+CLOSE)/3; HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE); LT:=IFELSE(OPEN DRAWLINE(W1=-3,LOW,W1=-3,LT,COLORRED); STICKLINE(W1>0,OPEN,CLOSE,COLORCYAN,1); STICKLINE(W1<=0,OPEN,CLOSE,COLORRED,1); P1:=MA(U1,5)+(REF(MA(CLOSE,5),2)-REF(MA(CLOSE,5),4)); P:=(P1+MA(CLOSE,4))/2; A1:=REF(HIGH,2)>REF(HIGH,1)||REF(LOW,2)>REF(LOW,1); A3:=HIGH>REF(HIGH,1)|| HIGH>REF(HIGH,2)||(HIGH-LOW)*0.3+LOW>P; A31:=CLOSE>P&&REF(LOW,1) REF((HIGH+LOW)/2,1); A4:=REF(MA(CLOSE,5),2)>REF(MA(CLOSE,5),1); A5:=VALUEWHEN(A1&&A3&&A4&&A31,REF((HIGH+LOW)/2 ,1)); DRAWSL(A1&&A3&&A4&&A31,A5,0,4,0,COLORRED); RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100; M:=SMA(RSV,3,1); A:=EMA(M,3); B:=EMA(A,3); A6:=REF(LOW,2) A7:=LOWP&&CLOSE A9:=VALUEWHEN(A6&&A7&&A8&&A71,REF((HIGH+LOW)/2 ,1)); DRAWSL(A6&&A7&&A8&&A71,A9,0,4,0,COLORGREEN); D:= VALUEWHEN(KG1, (HIGH+LOW)/2); STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0); STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCYAN,0); VAR0:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; VAR3:=SMA(VAR0,5,1); VAR1:=SMA(VAR3,3,1)-10; VAR4:=(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))*100; VAR5:=SMA(VAR4,5,1); VAR2:=SMA(VAR5,3,1)-90; STICKLINE(REF(VAR1,1) 文华指标12 A:=EMA2(HIGH,30); B:=EMA2(LOW,30); A1:=EMA2(HIGH,150); B1:=EMA2(LOW,150); S1:=CROSS(CLOSE,EMA2(HIGH,150)); X1:=CROSS(EMA2(LOW,150),CLOSE); WS1:=BARSLAST(S1)+1; WX1:=BARSLAST(X1)+1; SS1:=CROSS(SUM(S1,WX1),0.5); XX1:=CROSS(SUM(X1,WS1),0.5); S:=CROSS(CLOSE,EMA2(HIGH,30)); X:=CROSS(EMA2(LOW,30),CLOSE); WS:=BARSLAST(S)+1; WX:=BARSLAST(X)+1; SS:=CROSS(SUM(S,WX),0.5); XX:=CROSS(SUM(X,WS),0.5); STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1); STICKLINE(CLOSE STICKLINE(SUM(X,WS)>0.5 && CLOSE>=OPEN,OPEN,CLOSE,COLORCYAN,1); STICKLINE(SUM(X,WS)>0.5 && CLOSE 文华指标13 //轨道图; LBF1:PUBU(CLOSE,4),COLORMAGENTA; LBF2:LBF1-8,COLORBLUE; STICKLINE(LBF1>1 ,LBF1-1 ,LBF1+1 ,COLORGREEN , 1); TMP:=OPEN-CLOSE; DRAWLINE(TMP>0.00001,HIGH,TMP>0.00001,OPEN,COLORCYAN); DRAWLINE(TMP>0.00001,LOW,TMP>0.00001,CLOSE,COLORCYAN); DRAWLINE(TMP<-0.00001,HIGH,TMP<-0.00001,CLOSE,COLORRED); DRAWLINE(TMP<-0.00001,LOW,TMP<-0.00001,OPEN,COLORRED); DRAWLINE(ABS(TMP)<0.00001,LOW,ABS(TMP)<0.00001,OPEN,COLORWHITE); DRAWLINE(ABS(TMP)<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,COLORWHITE); STICKLINE(TMP>0,OPEN,CLOSE,COLORCYAN,0); STICKLINE(TMP<=0,OPEN,CLOSE,COLORRED,1); 文华指标14 //均线色 MA60:=MA(CLOSE,60); TJ:=IFELSE(MA60>REF(MA60,1),1,0); A:=MA60-REF(MA60,1); B:=REFX(A,1); DRAWSL(TJ=1,MA60,B,1,0,COLORRED); DRAWSL(TJ=0,MA60,B,1,0,COLORCYAN); 文华指标15 Var1:=(2*CLOSE+HIGH+LOW+OPEN)/5; GG: 80; Var2:=LLV(LOW,34); Var3:=HHV(HIGH,34); SK1: EMA((Var1-Var2)/(Var3-Var2)*100,13); SD1: EMA(SK1,3); DD: 20; QQ: 50; Var4:=IFELSE(CROSS(SK1,SD1),40,22); Var5:=IFELSE(CROSS(SD1,SK1),60,78); 文华指标16 //傻瓜指标 A:=MA(CLOSE,3),COLORMAGENTA; A1:=(CLOSE+HIGH+LOW)/3; B:=EMA(A1,10); B2:=REF(B,1); MA20:=EMA(CLOSE,20); STICKLINE(B>B2,MA20,MA(MA20,2),COLORYELLOW,0); STICKLINE(B STICKLINE(VAR1>MA21,CLOSE,OPEN,COLORLIGHTRED,0); STICKLINE(VAR1 DRAWLINE(VAR1>MA21,HIGH,VAR1>MA21,LOW,COLORLIGHTRED); DRAWLINE(VAR1 STICKLINE(VAR1>VAR2&&VAR1 VARF:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; VARJ:=MA(VARE,20)+STD(VARE,20); K:=SMA(VARF,3,1); BIAS18:=CLOSE/MA(CLOSE,18)*100-100; DRAWTEXT({REF(BIAS18,1)>=5&&}CROSS(VARJ,VARE)&&K>79,HIGH,'☆☆'); YY:=EMA(CLOSE,4); AA1:=YY-REF(YY,1); B1:=REFX(AA1,1); C1:=IFELSE(YY>REF(YY,1),1,-1); DRAWSL(C1=1,YY,B1,1,0,COLORMAGENTA); DRAWSL(C1=-1,YY,B1,1,0,COLORGREEN); VV:=EMA(CLOSE,9),COLORWHITE; A2:=VV-REF(VV,1); BB2:=REFX(A2,1); C2:=IFELSE(VV>REF(VV,1),1,-1); DRAWSL(C2=1,VV,BB2,1,0,COLORMAGENTA); DRAWSL(C2=-1,VV,BB2,1,0,COLORGREEN); Q4:=VALUEWHEN(ISLASTBAR,EMA(CLOSE,1)); DRAWNUMBER(LOW>0,Q4,Q4,0,COLORCYAN); MA60:=EMA(CLOSE,60); PARTLINE(MA60>0,MA60,COLORRED); Q5:=VALUEWHEN(ISLASTBAR,EMA(CLOSE,60)); DRAWNUMBER(LOW>0,Q5,Q5,0,COLORRED); 文华指标17 MA18:MA(CLOSE,20),COLORMAGENTA; MA2:MA(CLOSE,0),COLORGREEN; STICKLINE(CLOSE DRAWNUMBER(LOW>0,Q3,Q3,0,COLORMAGENTA); Q2:=VALUEWHEN(ISLASTBAR,MA2); DRAWNUMBER(LOW>0,Q2,Q2,0,COLORGREEN); 文华指标18 HH:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L LL:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L H1:=IFELSE(H>=REF(H,1)&&H>=REF(H,2)&&H>=REF(H,3)&&H>=REF(H,4)&&H>=REF(H,5)&& H>REFX(H,1) &&H>REFX(H,2)&&H>REFX(H,3)&&H>REFX(H,4) &&H>REFX(H,5),HH,0); L1:=IFELSE(L<=REF(L,1)&&L<=REF(L,2)&&L<=REF(L,3)&&L<=REF(L,4)&&L<=REF(L,5)&& L H5:=VALUEWHEN(H4REF(H4,2),HH); L5:=VALUEWHEN(L4>REF(L4,1)&&REF(L4,1) POLYLINE(H5>0,H5,COLORWHITE); POLYLINE(L5>0,L5,COLORWHITE); DRAWNUMBER(H5<>REF(H5,1),H5,H5-L5,0,COLORMAGENTA); DRAWNUMBER(L5<>REF(L5,1),L5,H5-L5,0,COLORMAGENTA); D:=VALUEWHEN(ISLASTBAR,H5); E:=VALUEWHEN(ISLASTBAR,L5); DRAWNUMBER(LOW>0,D,D,0,COLORWHITE); DRAWNUMBER(LOW>0,E,E,0,COLORWHITE); DRAWTEXT(CROSS(CLOSE,H5),H5,'★'); DRAWTEXT(CROSS(L5,CLOSE),L5,'☆'); 文华指标19 HH1:=IFELSE(HREF(L,2)&&REF(L,1)>REF(L,2),REF(L,2),0); HH2:=VALUEWHEN(HH1>0,HH1); LL2:=VALUEWHEN(LL1>0,LL1); K1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE DRAWNUMBER(L>0,G1,G1,0,COLORCYAN); W1:=K2; W2:=OPEN-CLOSE; DRAWLINE(W1=1&&REF(W1,1)=1,G,W1=1&&REF(W1,1)=1,REF(G,1),COLORGREEN); DRAWLINE(W1=-3&&REF(W1,1)=-3,G,W1=-3&&REF(W1,1)=-3,REF(G,1),COLORYELLOW); DRAWSL(K2=1,G,0,1,0,COLORGREEN); DRAWSL(K2=-3,G,0,1,0,COLORYELLOW); 文华指标20 N1:=5; N2:=10; N3:=50; M1:EMA(C,N1),COLORWHITE; M2:EMA(C,N2),COLORYELLOW; M3:EMA(C,N3),COLORRED; DRAWLINE(M1>M2 && M2 DRAWLINE(M1 DRAWLINE(M1>M2 && M2>M3,L,M1>M2 && M2>M3,H,COLORRED); STICKLINE(M1>M2 && M2>M3,O,C,COLORRED,1); DRAWLINE(M1 DRAWNUMBER(LOW>0,Q1,Q1,0,COLORWHITE); DRAWNUMBER(LOW>0,Q2,Q2,0,COLORYELLOW); DRAWNUMBER(LOW>0,Q3,Q3,0,COLORRED); HO:=HIGH>REF(HIGH,1) && HIGH>REF(HIGH,2) && HIGH>=REFX(HIGH,1) && IFELSE(HIGH=REFX(HIGH,2),HIGH>REFX(HIGH,3),HIGH>REFX(HIGH,2)); FXH:=CROSS(HO,0.9); FF:=REF(HIGH,BARSLAST(FXH)); LO:=LOW && LOW && LOW<=REFX(LOW,1) && IFELSE(LOW=REFX(LOW,2),LOW DRAWNUMBER(LOW>0,Q8,Q8,2,COLORMAGENTA); Q9:=VALUEWHEN(ISLASTBAR,JJ); DRAWNUMBER(LOW>0,Q9,Q9,2,COLORBLUE); HH:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L &&L LL:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L H1:=IFELSE(H>=REF(H,1)&&H>=REF(H,2)&&H>=REF(H,3)&&H>=REF(H,4)&&H>=REF(H,5)&& &&H>REFX(H,2)&&H>REFX(H,3)&&H>REFX(H,4) &&H>REFX(H,5),HH,0); L1:=IFELSE(L<=REF(L,1)&&L<=REF(L,2)&&L<=REF(L,3)&&L<=REF(L,4)&&L<=REF(L,5)&& L &&L H4:=ZIGZAG(H3,0,0); L4:=ZIGZAG(L3,0,0); H5:=VALUEWHEN(H4REF(H4,2),HH); L5:=VALUEWHEN(L4>REF(L4,1)&&REF(L4,1)0,H5,COLORWHITE); POLYLINE(L5>0,L5,COLORWHITE); DRAWNUMBER(H5<>REF(H5,1),H5,H5-L5,0,COLORMAGENTA); DRAWNUMBER(L5<>REF(L5,1),L5,H5-L5,0,COLORMAGENTA); D:=VALUEWHEN(ISLASTBAR,H5); E:=VALUEWHEN(ISLASTBAR,L5); DRAWNUMBER(LOW>0,D,D,0,COLORWHITE); DRAWNUMBER(LOW>0,E,E,0,COLORWHITE); DRAWTEXT(CROSS(CLOSE,H5),H5,'多'); DRAWTEXT(CROSS(L5,CLOSE),L5,'空'); 文华指标21 HO:=HIGH>REF(HIGH,1) && HIGH>REF(HIGH,2) && HIGH>=REFX(HIGH,1) IFELSE(HIGH=REFX(HIGH,2),HIGH>REFX(HIGH,3),HIGH>REFX(HIGH,2)); FXH:=CROSS(HO,0.9); PP:=REF(HIGH,BARSLAST(FXH)); LO:=LOW && LOW && LOW<=REFX(LOW,1) IFELSE(LOW=REFX(LOW,2),LOW JJ:=REF(LOW,BARSLAST(FXL)); STICKLINE(CLOSE,PP,PP+0.001,COLORMAGENTA,0); STICKLINE(CLOSE,JJ,JJ+0.001,COLORGREEN,0); A:=CLOSE; VAR1:=A>REF(A,1) && A>REF(A,2); VAR2:=REF(VAR1,1) && A<=REF(A,1) && A>=REF(A,2); VAR3:=REF(VAR2,1) && A>=REF(A,1) && A<=REF(A,2); VAR4:=REF(VAR3,1) && A<=REF(A,1) && A>=REF(A,2); VAR5:=REF(VAR4,1) && A>=REF(A,1) && A<=REF(A,2); && && VAR6:=REF(VAR5,1) && A<=REF(A,1) && A>=REF(A,2); VAR7:=REF(VAR6,1) && A>=REF(A,1) && A<=REF(A,2); VAR8:=REF(VAR7,1) && A<=REF(A,1) && A>=REF(A,2); VAR9:=REF(VAR8,1) && A>=REF(A,1) && A<=REF(A,2); VARA:=REF(VAR9,1) && A<=REF(A,1) && A>=REF(A,2); VARB:=REF(VARA,1) && A>=REF(A,1) && A<=REF(A,2); VARC:=REF(VARB,1) && A<=REF(A,1) && A>=REF(A,2); STICKLINE(VAR1||VAR2||VAR3||VAR4||VAR5||VAR6||VAR7||VAR8||VAR9||VARA||VARB||VARC,A,REF(A,1),COLORRED,1); VARD:=A VARE:=REF(VARD,1) && A>=REF(A,1) && A<=REF(A,2); VARF:=REF(VARE,1) && A<=REF(A,1) && A>=REF(A,2); VAR10:=REF(VARF,1) && A>=REF(A,1) && A<=REF(A,2); VAR11:=REF(VAR10,1) && A<=REF(A,1) && A>=REF(A,2); VAR12:=REF(VAR11,1) && A>=REF(A,1) && A<=REF(A,2); VAR13:=REF(VAR12,1) && A<=REF(A,1) && A>=REF(A,2); VAR14:=REF(VAR13,1) && A>=REF(A,1) && A<=REF(A,2); VAR15:=REF(VAR14,1) && A<=REF(A,1) && A>=REF(A,2); VAR16:=REF(VAR15,1) && A>=REF(A,1) && A<=REF(A,2); VAR17:=REF(VAR16,1) && A<=REF(A,1) && A>=REF(A,2); VAR18:=REF(VAR17,1) && A>=REF(A,1) && A<=REF(A,2); STICKLINE(VARD||VARE||VARF||VAR10||VAR11||VAR12||VAR13||VAR14||VAR15||VAR16||VAR17||VAR18,A,REF(A,1),COLORCYAN,1); VAR19:=REF(VARD||VARE||VARF||VAR10||VAR11||VAR12||VAR13||VAR14||VAR15||VAR16||VAR17||VAR18,1)&&VAR1; STICKLINE(VAR19,REF(A,1),REF(A,2),COLORMAGENTA,0); VAR1A:=REF(VAR1||VAR2||VAR3||VAR4||VAR5||VAR6||VAR7||VAR8||VAR9||VARA||VARB||VARC,1)&&VARD; STICKLINE(VAR1A,REF(A,1),REF(A,2),COLORGREEN,0); M1:=EMA(CLOSE,5); M2:=MA(CLOSE,0); M3:=MA(CLOSE,0); M4:=EMA(CLOSE,50); PARTLINE(M1>0,M1,COLORGREEN); PARTLINE(M2>0,M2,COLORYELLOW); PARTLINE(M3>0,M3,COLORBLUE); Q1:=VALUEWHEN(ISLASTBAR,M1); Q2:=VALUEWHEN(ISLASTBAR,M2); Q3:=VALUEWHEN(ISLASTBAR,M3); Q4:=VALUEWHEN(ISLASTBAR,M4); DRAWNUMBER(LOW>0,Q1,Q1,0,COLORGREEN); DRAWNUMBER(LOW>0,Q2,Q2,0,COLORYELLOW); DRAWNUMBER(LOW>0,Q3,Q3,0,COLORBLUE); DRAWNUMBER(LOW>0,Q4,Q4,0,COLORMAGENTA); HH:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L LL:=IFELSE(H>REF(H,1)&&H>REF(H,2)&&H>REF(H,3)&&H>REF(H,4)&&H>REF(H,5)&&L H1:=IFELSE(H>=REF(H,1)&&H>=REF(H,2)&&H>=REF(H,3)&&H>=REF(H,4)&&H>=REF(H,5)&& &&H>REFX(H,2)&&H>REFX(H,3)&&H>REFX(H,4) &&H>REFX(H,5),HH,0); L1:=IFELSE(L<=REF(L,1)&&L<=REF(L,2)&&L<=REF(L,3)&&L<=REF(L,4)&&L<=REF(L,5)&& &&L H5:=VALUEWHEN(H4REF(H4,2),HH); L5:=VALUEWHEN(L4>REF(L4,1)&&REF(L4,1)0,H5,COLORWHITE); POLYLINE(L5>0,L5,COLORWHITE); DRAWNUMBER(H5<>REF(H5,1),H5,H5-L5,0,COLORMAGENTA); DRAWNUMBER(L5<>REF(L5,1),L5,H5-L5,0,COLORMAGENTA); D:=VALUEWHEN(ISLASTBAR,H5); E:=VALUEWHEN(ISLASTBAR,L5); DRAWNUMBER(LOW>0,D,D,0,COLORWHITE); DRAWNUMBER(LOW>0,E,E,0,COLORWHITE); DRAWTEXT(CROSS(CLOSE,H5),H5,'★'); DRAWTEXT(CROSS(L5,CLOSE),L5,'☆'); 文华指标22 HZ:=EMA(CLOSE,13); DB:EMA(HZ,1),COLORWHITE; ZB:EMA(HZ,26),COLORMAGENTA; JX148:=EMA(C,148); HZ2:EMA(HZ,8),COLORGREEN; HZ4:EMA(HZ,39),COLORMAGENTA; FILLRGN(DB>HZ2,DB,HZ2,COLORGREEN); FILLRGN(DB L 文华指标23 VAR1:=(CLOSE-LLV(LOW,29))/(HHV(HIGH,29)-LLV(LOW,29))*100; K: SMA(SMA(VAR1,3,1),3,1); D: SMA(K,3,1); J: 3*K-2*D; VAR2:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1); VAR3:=(CLOSE+HIGH+LOW+OPEN)/4; VAR4:=LLV(LOW,34); VAR5:=HHV(HIGH,34); VAR6:=EMA((VAR3-VAR4)/(VAR5-VAR4)*100,8); VAR7:=EMA(VAR6,5); A:80, COLORYELLOW; B:50, COLORYELLOW; Ccc:20, COLORYELLOW; VAR8:=MA(CLOSE,3); VAR9:=REF(CLOSE,2)*0.865; VARA:=REF(CLOSE,13)*0.772; VARB:=MIN(VAR9,VARA); VARD:=MA(CLOSE,13); VARE:=CLOSE>0.899*REF(CLOSE,1) && CLOSE<0.901*REF(CLOSE,1); VARF:=EMA(CLOSE,30)-EMA(CLOSE,17); STICKLINE(VAR6-VAR7>0,VAR6,VAR7,COLORRED,1); STICKLINE(VAR6-VAR7<0,VAR6,VAR7,COLORGREEN,1); 文华指标24 //黄金分割2 A:LLV(LOW,0),COLORGREEN; B:HHV(HIGH,0),COLORMAGENTA; G:A+(B-A)*0.809,COLORLIGHTGREY; E:A+(B-A)*0.618,COLORLIGHTRED; F:A+(B-A)*0.5,COLORYELLOW; D:A+(B-A)*0.382,COLORLIGHTGREEN; GG:A+(B-A)*0.191,COLORLIGHTGREY; DRAWNUMBER(ISLASTBAR,G,0.809,3,COLORLIGHTGREY); DRAWNUMBER(ISLASTBAR,E,0.618,3,COLORLIGHTRED); DRAWNUMBER(ISLASTBAR,F,0.5,3,COLORYELLOW); DRAWNUMBER(ISLASTBAR,D,0.382,3,COLORLIGHTGREEN); DRAWNUMBER(ISLASTBAR,GG,0.191,3,COLORLIGHTGREY); TMP:=OPEN-CLOSE; SARLINE:=ABS(SAR(3,0.01,0.1)); DRAWLINE(CLOSE>SARLINE,HIGH,TMP>0.00001,OPEN,COLORRED); DRAWLINE(CLOSE>SARLINE,LOW,TMP>0.00001,CLOSE,COLORRED); DRAWLINE(CLOSE>SARLINE,HIGH,TMP<-0.00001,CLOSE,COLORRED); DRAWLINE(CLOSE>SARLINE,LOW,TMP<-0.00001,OPEN,COLORRED); DRAWLINE(CLOSE>SARLINE,LOW,ABS(TMP)<0.00001,OPEN,COLORRED); DRAWLINE(CLOSE>SARLINE,HIGH,ABS(TMP)<0.00001,OPEN,COLORRED); STICKLINE(TMP>0&&CLOSE>SARLINE,OPEN,CLOSE,COLORRED,0); STICKLINE(TMP<=0&&CLOSE>SARLINE,OPEN,CLOSE,COLORRED,1); DRAWLINE(CLOSE 文华指标25 TB:=IFELSE(HIGH>REF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW); TS:=IFELSE(REF(CLOSE,1)>LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE); VOL0:=(TB-TS)*VOL/(TB+TS)/10000; VOL1:=DMA(VOL0,0.1); VOL2:=DMA(VOL0,0.05); RES1:=VOL1-VOL2; LON:SUM(RES1,0),COLORSTICK; MA1:MA(LON,10),COLORYELLOW; FILLRGN( LON 文华指标26 DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MA(CLOSE,8),COLORWHITE; MA(CLOSE,21),COLORYELLOW; STICKLINE(DIFF>DEA,CLOSE,OPEN,COLORRED,0); STICKLINE(DIFF>DEA,HIGH,LOW,COLORRED,0); STICKLINE(DIFF<=DEA,CLOSE,OPEN,COLORBLUE,0); STICKLINE(DIFF<=DEA,HIGH,LOW,COLORBLUE,0); DRAWTEXT(CROSS(DIFF,DEA),LOW-0.2,'多'),COLORWHITE; DRAWTEXT(CROSS(DEA,DIFF),HIGH+0.2,'空'),COLORGREEN; 文华指标27 N1:=8; N2:=13; Y1:=(MA(CLOSE,2)+MA(CLOSE,3)+MA(CLOSE,4)+MA(CLOSE,5))/4; Y2:=EMA(Y1,5); Y3:=EMA(Y2,3); YY:EMA(Y3,N1),COLORRED; Z1:=(MA(CLOSE,9)+MA(CLOSE,6)+MA(CLOSE,7)+MA(CLOSE,8))/4; Z2:=EMA(Z1,5); Z3:=EMA(Z2,3); ZZ:EMA(Z3,N2),COLORGREEN; VERTLINE( CROSS( YY,ZZ ) , COLORRED); VERTLINE( CROSS( ZZ, YY), COLORGREEN); DRAWTEXT( CROSS( YY,ZZ ), ZZ, '▲'); DRAWTEXT( CROSS( ZZ,YY ),YY , '▽'); DRAWLINE(YY>=ZZ,HIGH,YY>=ZZ,OPEN,COLORRED); DRAWLINE(YY>=ZZ,LOW,YY>=ZZ,CLOSE,COLORRED); DRAWLINE(YY DRAWLINE(ABS(YY-ZZ)<0.00001,LOW,ABS(YY-ZZ)<0.00001,OPEN,COLORWHITE); DRAWLINE(ABS(YY-ZZ)<0.00001,HIGH,ABS(YY-ZZ)<0.00001,OPEN,COLORWHITE); STICKLINE((YY-ZZ)>0.00001,OPEN,CLOSE,COLORRED,1); STICKLINE((YY-ZZ)<-0.00001,OPEN,CLOSE,COLORCYAN,1); 文华指标28 VAR1:=MA(CLOSE,4); VAR2:=MA(CLOSE,10); VAR3:=MA(CLOSE,16); VAR4:=MA(CLOSE,22); VARA:=MA(CLOSE,28); VAR5:=(VAR1+VAR2+VAR3+VAR4+VARA)/5; VAR6:=(VAR5-REF(VAR5,6))/REF(VAR5,6)*2500; VAR7:=(VAR5-REF(VAR5,6))/REF(VAR5,6)*2500; VAR8:=EMA(VAR6,3); STICKLINE(VAR6>REF(VAR6,1) && VAR6<0 && VAR6 STICKLINE(VAR6REF(VAR8,1) && VAR6>0,VAR6,VAR8,COLORWHITE,0); STICKLINE(VAR6 文华指标29 DRAWLINE((EMA(CLOSE,13) >= EMA(CLOSE,34)),LOW,(EMA(CLOSE,13) >= EMA(CLOSE,34)),HIGH,COLORRED); STICKLINE((EMA(CLOSE,13) >= EMA(CLOSE,34)),OPEN,CLOSE,COLORRED,3); DRAWLINE((EMA(CLOSE,13) < EMA(CLOSE,34)),LOW,(EMA(CLOSE,13) < EMA(CLOSE,34)),HIGH,COLORGREEN); STICKLINE((EMA(CLOSE,13) < EMA(CLOSE,34)),OPEN,CLOSE,COLORGREEN,3); PARTLINE((EMA(CLOSE,13) >= EMA(CLOSE,34)),LLV(CLOSE,3),COLORMAGENTA); PARTLINE((EMA(CLOSE,13) < EMA(CLOSE,34)),HHV(CLOSE,3),COLORBLUE); DRAWTEXT(CROSS(EMA(CLOSE,13),EMA(CLOSE,34)),LOW,'多'); DRAWTEXT(CROSS(EMA(CLOSE,34),EMA(CLOSE,13)),HIGH,'空'); 文华指标30 MA1:=MA(HIGH,30); MA2:=MA(LOW,30); STICKLINE(CLOSE STICKLINE(CLOSE STICKLINE(CLOSE>=MA2 && CLOSE<=MA1 && CLOSE>=OPEN,OPEN,CLOSE,COLORYELLOW,1); STICKLINE(CLOSE>=MA2 && CLOSE<=MA1 && CLOSE C1:=IFELSE(MA3>=REF(MA3,1) && REF(MA3,1)>=REF(MA3,2),1,0); DRAWSL(C1=1,MA3,B,1,0,COLORMAGENTA); MA4:=MA(LOW,30); D:=MA4-REF(MA4,1); E:=REFX(D,1); F:=IFELSE(MA4>=REF(MA4,1) && REF(MA4,1)>=REF(MA4,2),1,0); DRAWSL(F=1,MA4,E,1,0,COLORMAGENTA); MA5:=MA(HIGH,30); G:=MA5-REF(MA5,1); H1:=REFX(G,1); I:=IFELSE(MA5<=REF(MA5,1) && REF(MA5,1)<=REF(MA5,2),1,0); DRAWSL(I=1,MA5,H1,1,0,COLORGREEN); MA6:=MA(LOW,30); J:=MA6-REF(MA6,1); K:=REFX(J,1); L1:=IFELSE(MA6<=REF(MA6,1) && REF(MA6,1)<=REF(MA6,2),1,0); DRAWSL(L1=1,MA6,K,1,0,COLORGREEN); 文华指标31 HH1:=IFELSE(HIGH REF(LOW,2)&&REF(LOW,1)>REF(LOW,2),REF(LOW,2),0); HH2:=VALUEWHEN(HH1>0,HH1); LL2:=VALUEWHEN(LL1>0,LL1); K1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE DRAWNUMBER(L>0,G1,G1,0,COLORCYAN); W1:=K2; W2:=OPEN-CLOSE; HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE); LT:=IFELSE(OPEN STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0); STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCYAN,0); DRAWLINE(W1=1&&REF(W1,1)=1,G,W1=1&&REF(W1,1)=1,REF(G,1),COLORGREEN); DRAWLINE(W1=-3&&REF(W1,1)=-3,G,W1=-3&&REF(W1,1)=-3,REF(G,1),COLORYELLOW); DRAWSL(K2=1,G,0,1,0,COLORGREEN); DRAWSL(K2=-3,G,0,1,0,COLORYELLOW); HH:=IFELSE(HIGH>REF(HIGH,1)&& HIGH >REF(HIGH,2)&& HIGH >REF(HIGH,3)&& HIGH >REF (HIGH,4)&& LOW && LOW REF(HIGH,1)&& HIGH>REF(HIGH,2)&& HIGH >REF(HIGH,3)&& HIGH >REF (HIGH,4)&& LOW && LOW H1:=IFELSE(HIGH >=REF(HIGH,1)&& HIGH >=REF(HIGH,2)&& HIGH >=REF(HIGH,3)&& HIGH >=REF(HIGH,4)&& HIGH >REFX(HIGH,1) && HIGH >REFX(HIGH,2)&& HIGH >REFX(HIGH,3)&& HIGH >REFX(HIGH,4),HH,0); L1:=IFELSE(LOW <=REF(LOW,1)&& LOW <=REF(LOW,2)&& LOW <=REF(LOW,3)&& LOW <=REF (LOW,4)&& LOW && LOW H3:=REFX(REF(H1,H2),2); L3:=REFX(REF(L1,L2),2); H4:=ZIGZAG(H3,0,0); L4:=ZIGZAG(L3,0,0); H5:=VALUEWHEN(H4REF(H4,2),HH); L5:=VALUEWHEN(L4>REF(L4,1)&&REF(L4,1)0,H5,COLORWHITE); POLYLINE(L5>0,L5,COLORWHITE); DRAWNUMBER(H5<>REF(H5,1),H5,H5-L5,0,COLORMAGENTA); DRAWNUMBER(L5<>REF(L5,1),L5,H5-L5,0,COLORMAGENTA); D:=VALUEWHEN(ISLASTBAR,H5); E:=VALUEWHEN(ISLASTBAR,L5); DRAWNUMBER(LOW>0,D,D,0,COLORWHITE); DRAWNUMBER(LOW>0,E,E,0,COLORWHITE); DRAWTEXT(CROSS(CLOSE,H5),H5,'♂'); DRAWTEXT(CROSS(L5,CLOSE),L5,'▼'); 文华指标32 MA1:=MA(HIGH,30); MA2:=MA(LOW,30); STICKLINE(CLOSE 文华指标33 VAR1:EMA(CLOSE,3),COLORGREEN; VAR2: EMA(CLOSE,21),COLORGREEN; STICKLINE(VAR1>VAR2,VAR2,VAR1,COLORMAGENTA,1); STICKLINE(VAR1 LM1:=SE; LM2:=BU; OK:=((KK1 > KK2)||(LM1 > LM2)); OK1:=((KK1 > KK2)||(LM1 > LM2)); NOK:=((KK2 > KK1)||(LM2 > LM1)); NOK1:=((KK2 > KK1)||(LM2 > LM1)); STICKLINE(OK1,CLOSE,OPEN,COLORGREEN,0); DRAWLINE(OK1,HIGH,OK1,LOW,COLORGREEN); STICKLINE(OK,CLOSE,OPEN,COLORRED,0); DRAWLINE(OK,HIGH,OK,LOW,COLORRED); STICKLINE(NOK,CLOSE,OPEN,COLORRED,0); DRAWLINE(NOK,HIGH,NOK,LOW,COLORRED); STICKLINE(NOK1,CLOSE,OPEN,COLORGREEN,0); DRAWLINE(NOK1,HIGH,NOK1,LOW,COLORGREEN); 文华指标34 DKX:EMA2(CLOSE,21),COLORYELLOW; DKXM:MA(DKX,10),COLORGREEN; STICKLINE(DKX>DKXM,DKX,DKXM,COLORYELLOW,0); STICKLINE(DKX<=DKXM,DKX,DKXM,COLORLIGHTGREY,0); 文华指标35 HNL:=IFELSE(HIGH>REF(HHV(HIGH,3),1),LOW,0); L1:=IFELSE(HNL>REF(L,1),REF(L,1),IFELSE(HNL>REF(L,2),REF(L,2),IFELSE(HNL>REF(L,3),REF(L,3),IFELSE(HNL>REF(L,4),REF(L,4),0)))); L2:=IFELSE(L1>REF(L,1),REF(L,1),IFELSE(L1>REF(L,2),REF(L,2),IFELSE(L1>REF(L,3),REF(L,3),IFELSE(L1>REF(L,4),REF(L,4),0)))); L3:=VALUEWHEN(L2>0,L2); LNH:=IFELSE(LOW H1:=IFELSE(LNH H2:=IFELSE(H1 H3:=VALUEWHEN(H2>0,H2); SEL:=VALUEWHEN((CLOSE>H3&&REF(CLOSE,1)<=H3)||(CLOSE LINE:IFELSE(SEL=1,L3,H3),COLORYELLOW; DRAWNUMBER(ISLASTBAR,LINE,LINE,0,COLORYELLOW); 文华指标36 H11:=HIGH; L11:=LOW; A:=IFELSE(HIGH>=REF(HIGH,1)&&HIGH>=REF(HIGH,2)&&HIGH>=REF(HIGH,3) &&HIGH>=REF(HIGH,4)&&HIGH>=REF(HIGH,5),LOW,0); B:=IFELSE(LOW<=REF(LOW,1)&&LOW<=REF(LOW,2)&&LOW<=REF(LOW,3) &&LOW<=REF(LOW,4)&&LOW<=REF(LOW,5),HIGH,888888); P1:=IFELSE(A>REF(L11,1),REF(L11,1),0); P2:=IFELSE(A>REF(L11,2)&&A<=REF(L11,1),REF(L,2),0); P3:=IFELSE(A>REF(L11,3)&&A<=REF(L11,1)&&A<=REF(L11,2),REF(L11,3),0); P4:=IFELSE(A>REF(L11,4)&&A<=REF(L11,1)&&A<=REF(L11,2)&&A<=REF(L11,3),REF(L11,4),0); P5:=IFELSE(A>REF(L11,5)&&A<=REF(L11,1)&&A<=REF(L11,2)&&A<=REF(L11,3)&&A<=REF(L11,4),REF(L11,5),0); P6:=IFELSE(A>REF(L11,6)&&A<=REF(L11,1)&&A<=REF(L11,2)&&A<=REF(L11,3)&&A<=REF(L11,4)&&A<=REF(L11,5),REF(L11,6),0); P7:=IFELSE(A>REF(L11,7)&&A<=REF(L11,1)&&A<=REF(L11,2)&&A<=REF(L11,3)&&A<=REF(L11,4)&&A<=REF(L11,5)&&A<=REF(L11,6),REF(L11,7),0); P8:=IFELSE(A>REF(L11,8)&&A<=REF(L11,1)&&A<=REF(L11,2)&&A<=REF(L11,3)&&A<=REF(L11,4)&&A<=REF(L11,5)&&A<=REF(L11,6)&&A<=REF(L11,7),REF(L11,8),0); P9:=IFELSE(A>REF(L11,9)&&A<=REF(L11,1)&&A<=REF(L11,2)&&A<=REF(L11,3)&&A<=REF(L11,4)&&A<=REF(L11,5)&&A<=REF(L11,6)&&A<=REF(L11,7)&&A<=REF(L11,8),REF(L11,9),0); P10:=IFELSE(A>REF(L11,10)&&A<=REF(L11,1)&&A<=REF(L11,2)&&A<=REF(L11,3)&&A<=REF(L11,4)&&A<=REF(L11,5)&&A<=REF(L11,6)&&A<=REF(L11,7)&&A<=REF(L11,8)&&A<=REF(L11,9),REF(L11,10),0); AA:=P1+P2+P3+P4+P5+P6+P7+P8+P9+P10; PP1:=IFELSE(AA>REF(L11,1),REF(L11,1),0); PP2:=IFELSE(AA>REF(L11,2)&&AA<=REF(L11,1),REF(L11,2),0); PP3:=IFELSE(AA>REF(L11,3)&&AA<=REF(L11,1)&&AA<=REF(L11,2),REF(L11,3),0); PP4:=IFELSE(AA>REF(L11,4)&&AA<=REF(L11,1)&&AA<=REF(L11,2)&&AA<=REF(L11,3),REF(L11,4),0); PP5:=IFELSE(AA>REF(L11,5)&&AA<=REF(L11,1)&&AA<=REF(L11,2)&&AA<=REF(L11,3)&&AA<=REF(L11,4),REF(L11,5),0); PP6:=IFELSE(AA>REF(L11,6)&&AA<=REF(L11,1)&&AA<=REF(L11,2)&&AA<=REF(L11,3)&&AA<=REF(L11,4)&&AA<=REF(L11,5),REF(L11,6),0); PP7:=IFELSE(AA>REF(L11,7)&&AA<=REF(L11,1)&&AA<=REF(L11,2)&&AA<=REF(L11,3)&&AA<=REF(L11,4)&&AA<=REF(L11,5)&&AA<=REF(L11,6),REF(L11,7),0); PP8:=IFELSE(AA>REF(L11,8)&&AA<=REF(L11,1)&&AA<=REF(L11,2)&&AA<=REF(L11,3)&&AA<=REF(L11,4)&&AA <=REF(L11,5)&&AA<=REF(L11,6)&&AA<=REF(L11,7),REF(L11,8),0); PP9:=IFELSE(AA>REF(L11,9)&&AA<=REF(L11,1)&&AA<=REF(L11,2)&&AA<=REF(L11,3)&&AA<=REF(L11,4)&&AA<=REF(L11,5)&&AA<=REF(L11,6)&&AA<=REF(L11,7)&&AA<=REF(L11,8),REF(L11,9),0); PP10:=IFELSE(AA>REF(L11,10)&&AA<=REF(L11,1)&&AA<=REF(L11,2)&&AA<=REF(L11,3)&&AA<=REF(L11,4)&&AA<=REF(L11,5)&&AA<=REF(L11,6)&&AA<=REF(L11,7)&&AA<=REF(L11,8)&&AA<=REF(L11,9),REF(L11,10),0); AAA:=PP1+PP2+PP3+PP4+PP5+PP6+PP7+PP8+PP9+PP10; C11:=VALUEWHEN(AAA>0,AAA); T1:=IFELSE(B T2:=IFELSE(B=REF(H11,1),REF(H11,2),0); T3:=IFELSE(B=REF(H11,1)&&B>=REF(H11,2),REF(H11,3),0); T4:=IFELSE(B=REF(H11,1)&&B>=REF(H11,2)&&B>=REF(H11,3),REF(H11,4),0); T5:=IFELSE(B=REF(H11,1)&&B>=REF(H11,2)&&B>=REF(H11,3)&&B>=REF(H11,4),REF(H11,5),0); T6:=IFELSE(B=REF(H11,1)&&B>=REF(H11,2)&&B>=REF(H11,3)&&B>=REF(H11,4)&&B>=REF(H11,5),REF(H11,6),0); T7:=IFELSE(B=REF(H11,1)&&B>=REF(H11,2)&&B>=REF(H11,3)&&B>=REF(H11,4)&&B>=REF(H11,5)&&B>=REF(H11,6),REF(H11,7),0); T10:=IFELSE(B=REF(H11,1)&&B>=REF(H11,2)&&B>=REF(H11,3)&&B>=REF(H11,4)&&B>=REF(H11,5)&&B>=REF(H11,6)&&B>=REF(H11,7)&&B>=REF(H11,8)&&B>=REF(H11,9),REF(H11,10),0); BB:=IFELSE((T1+T2+T3+T4+T5+T6+T7+T8+T9+T10)=0,888888,T1+T2+T3+T4+T5+T6+T7+T8+T9+T10); TT1:=IFELSE(BB TT2:=IFELSE(BB=REF(H11,1),REF(H11,2),0); TT3:=IFELSE(BB=REF(H11,1)&&BB>=REF(H11,2),REF(H11,3),0); TT4:=IFELSE(BB=REF(H11,1)&&BB>=REF(H11,2)&&BB>=REF(H11,3),REF(H11,4),0); TT5:=IFELSE(BB=REF(H11,1)&&BB>=REF(H11,2)&&BB>=REF(H11,3)&&BB>=REF(H11,4),REF(H11,5),0); TT6:=IFELSE(BB=REF(H11,1)&&BB>=REF(H11,2)&&BB>=REF(H11,3)&&BB>=REF(H11,4)&&BB>=REF(H11,5),REF(H11,6),0); TT7:=IFELSE(BB=REF(H11,1)&&BB>=REF(H11,2)&&BB>=REF(H11,3)&&BB>=REF(H11,4)&&BB>=REF(H11,5)&&BB>=REF(H11,6),REF(H11,7),0); TT8:=IFELSE(BB=REF(H11,1)&&BB>=REF(H11,2)&&BB>=REF(H11,3)&&BB>=REF(H11,4)&&BB>=REF(H11,5)&&BB>=REF(H11,6)&&BB>=REF(H11,7),REF(H11,8),0); UD:=IFELSE(CLOSE>D&&REF(CLOSE,1)<=D,1,IFELSE(CLOSE POLYLINE(LOW>0,G,COLORYELLOW); G1:=VALUEWHEN(ISLASTBAR,G); DRAWNUMBER(LOW>0,G1,G1,0,COLORYELLOW); TMP:=-K; DRAWLINE(C<=G,HIGH,C<=G,OPEN,COLORGREEN); DRAWLINE(C<=G,LOW,C<=G,CLOSE,COLORGREEN); DRAWLINE(C>G,HIGH,C>G,CLOSE,COLORRED); DRAWLINE(C>G,LOW,C>G,OPEN,COLORRED); DRAWLINE(ABS(TMP)<0.00001,LOW,ABS(TMP)<0.00001,OPEN,COLORWHITE); DRAWLINE(ABS(TMP)<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,COLORWHITE); STICKLINE(C<=G,OPEN,CLOSE,COLORGREEN,0); STICKLINE(C>G,OPEN,CLOSE,COLORRED,0); DRAWTEXT(CROSS(C,G),L-5,'买'); DRAWTEXT(CROSS(G,C),H+10,'卖'); 文华指标37 S:=CROSS(CLOSE,EMA2(HIGH,30)); X:=CROSS(EMA2(LOW,30),CLOSE); WS:=BARSLAST(S)+1; WX:=BARSLAST(X)+1; SS:=CROSS(SUM(S,WX),0.5); XX:=CROSS(SUM(X,WS),0.5); STICKLINE(CLOSE>EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1); STICKLINE(CLOSE STICKLINE(CLOSE>EMA2(HIGH,150),EMA2(HIGH,150),EMA2(LOW,150),COLORLIGHTRED,1); STICKLINE(CLOSE 文华指标38 MA50:MA(CLOSE,50); STICKLINE(CLOSE DRAWLINE(CLOSE 文华指标38 N:=34; A1:=IFELSE(DAY=1,CLOSE,0); A2:=IFELSE(DAY=2,CLOSE,0); A3:=IFELSE(DAY=3,CLOSE,0); A4:=IFELSE(DAY=4,CLOSE,0); A5:=IFELSE(DAY=5,CLOSE,0); A6:=IFELSE(DAY=6,CLOSE,0); A7:=IFELSE(DAY=7,CLOSE,0); A8:=IFELSE(DAY=8,CLOSE,0); A9:=IFELSE(DAY=9,CLOSE,0); A10:=IFELSE(DAY=10,CLOSE,0); A11:=IFELSE(DAY=11,CLOSE,0); A12:=IFELSE(DAY=12,CLOSE,0); A13:=IFELSE(DAY=13,CLOSE,0); A14:=IFELSE(DAY=14,CLOSE,0); A15:=IFELSE(DAY=15,CLOSE,0); A16:=IFELSE(DAY=16,CLOSE,0); A17:=IFELSE(DAY=17,CLOSE,0); A18:=IFELSE(DAY=18,CLOSE,0); A19:=IFELSE(DAY=19,CLOSE,0); A20:=IFELSE(DAY=20,CLOSE,0); A21:=IFELSE(DAY=21,CLOSE,0); A22:=IFELSE(DAY=22,CLOSE,0); A23:=IFELSE(DAY=23,CLOSE,0); A24:=IFELSE(DAY=24,CLOSE,0); A25:=IFELSE(DAY=25,CLOSE,0); A26:=IFELSE(DAY=26,CLOSE,0); A27:=IFELSE(DAY=27,CLOSE,0); A28:=IFELSE(DAY=28,CLOSE,0); A29:=IFELSE(DAY=29,CLOSE,0); A30:=IFELSE(DAY=30,CLOSE,0); A31:=IFELSE(DAY=31,CLOSE,0); B1:=IFELSE(DAY=1,VOL,0); B2:=IFELSE(DAY=2,VOL,0); B3:=IFELSE(DAY=3,VOL,0); B4:=IFELSE(DAY=4,VOL,0); B5:=IFELSE(DAY=5,VOL,0); B6:=IFELSE(DAY=6,VOL,0); B7:=IFELSE(DAY=7,VOL,0); B8:=IFELSE(DAY=8,VOL,0); B9:=IFELSE(DAY=9,VOL,0); B10:=IFELSE(DAY=10,VOL,0); B11:=IFELSE(DAY=11,VOL,0); B12:=IFELSE(DAY=12,VOL,0); B13:=IFELSE(DAY=13,VOL,0); B14:=IFELSE(DAY=14,VOL,0); B15:=IFELSE(DAY=15,VOL,0); B16:=IFELSE(DAY=16,VOL,0); B17:=IFELSE(DAY=17,VOL,0); B18:=IFELSE(DAY=18,VOL,0); B19:=IFELSE(DAY=19,VOL,0); B20:=IFELSE(DAY=20,VOL,0); B21:=IFELSE(DAY=21,VOL,0); B22:=IFELSE(DAY=22,VOL,0); B23:=IFELSE(DAY=23,VOL,0); B24:=IFELSE(DAY=24,VOL,0); B25:=IFELSE(DAY=25,VOL,0); B26:=IFELSE(DAY=26,VOL,0); B27:=IFELSE(DAY=27,VOL,0); B28:=IFELSE(DAY=28,VOL,0); B29:=IFELSE(DAY=29,VOL,0); B30:=IFELSE(DAY=30,VOL,0); B31:=IFELSE(DAY=31,VOL,0); AB1:=SUM(A1*B1,N)/SUM(B1,N); AB2:=SUM(A2*B2,N)/SUM(B2,N); AB3:=SUM(A3*B3,N)/SUM(B3,N); AB4:=SUM(A4*B4,N)/SUM(B4,N); AB5:=SUM(A5*B5,N)/SUM(B5,N); AB6:=SUM(A6*B6,N)/SUM(B6,N); AB7:=SUM(A7*B7,N)/SUM(B7,N); AB8:=SUM(A8*B8,N)/SUM(B8,N); AB9:=SUM(A9*B9,N)/SUM(B9,N); AB10:=SUM(A10*B10,N)/SUM(B10,N); AB11:=SUM(A11*B11,N)/SUM(B11,N); AB12:=SUM(A12*B12,N)/SUM(B12,N); AB13:=SUM(A13*B13,N)/SUM(B13,N); AB14:=SUM(A14*B14,N)/SUM(B14,N); AB15:=SUM(A15*B15,N)/SUM(B15,N); AB16:=SUM(A16*B16,N)/SUM(B16,N); AB17:=SUM(A17*B17,N)/SUM(B17,N); AB18:=SUM(A18*B18,N)/SUM(B18,N); AB19:=SUM(A19*B19,N)/SUM(B19,N); AB20:=SUM(A20*B20,N)/SUM(B20,N); AB21:=SUM(A21*B21,N)/SUM(B21,N); AB22:=SUM(A22*B22,N)/SUM(B22,N); AB23:=SUM(A23*B23,N)/SUM(B23,N); AB24:=SUM(A24*B24,N)/SUM(B24,N); AB25:=SUM(A25*B25,N)/SUM(B25,N); AB26:=SUM(A26*B26,N)/SUM(B26,N); AB27:=SUM(A27*B27,N)/SUM(B27,N); AB28:=SUM(A28*B28,N)/SUM(B28,N); AB29:=SUM(A29*B29,N)/SUM(B29,N); AB30:=SUM(A30*B30,N)/SUM(B30,N); AB31:=SUM(A31*B31,N)/SUM(B31,N); PARTLINE(DAY=1,AB1,COLORYELLOW); PARTLINE(DAY=2,AB2,COLORYELLOW); PARTLINE(DAY=3,AB3,COLORYELLOW); PARTLINE(DAY=4,AB4,COLORYELLOW); PARTLINE(DAY=5,AB5,COLORYELLOW); PARTLINE(DAY=6,AB6,COLORYELLOW); PARTLINE(DAY=7,AB7,COLORYELLOW); PARTLINE(DAY=8,AB8,COLORYELLOW); PARTLINE(DAY=9,AB9,COLORYELLOW); PARTLINE(DAY=10,AB10,COLORYELLOW); PARTLINE(DAY=11,AB11,COLORYELLOW); PARTLINE(DAY=12,AB12,COLORYELLOW); PARTLINE(DAY=13,AB13,COLORYELLOW); PARTLINE(DAY=14,AB14,COLORYELLOW); PARTLINE(DAY=15,AB15,COLORYELLOW); PARTLINE(DAY=16,AB16,COLORYELLOW); PARTLINE(DAY=17,AB17,COLORYELLOW); PARTLINE(DAY=18,AB18,COLORYELLOW); PARTLINE(DAY=19,AB19,COLORYELLOW); PARTLINE(DAY=20,AB20,COLORYELLOW); PARTLINE(DAY=21,AB21,COLORYELLOW); PARTLINE(DAY=22,AB22,COLORYELLOW); PARTLINE(DAY=23,AB23,COLORYELLOW); PARTLINE(DAY=24,AB24,COLORYELLOW); PARTLINE(DAY=25,AB25,COLORYELLOW); PARTLINE(DAY=26,AB26,COLORYELLOW); PARTLINE(DAY=27,AB27,COLORYELLOW); PARTLINE(DAY=28,AB28,COLORYELLOW); PARTLINE(DAY=29,AB29,COLORYELLOW); PARTLINE(DAY=30,AB30,COLORYELLOW); PARTLINE(DAY=31,AB31,COLORYELLOW); 文华指标39 Y:=(HIGH+LOW)/2; AO:=MA(Y ,5 )-MA(Y ,34 ),COLORWHITE; AO1:=REF(AO,1); AC:=AO-MA( AO,5),COLORYELLOW; A:=0.99*(AO+AC)/2,COLORRED; AC1:=REF(AC,1); STICKLINE(AO>0&&AC>0,0,AO+AC,COLORRED,0); STICKLINE(AO<0&&AC>0,0,AO,COLORWHITE,1); STICKLINE(AO<0&&AC>0,0,AO+AC,COLORWHITE,0); STICKLINE(AO>0&&AC<0,0,AO,COLORRED,1); STICKLINE(AO>0&&AC<0,0,AC+AO,COLORRED,0); STICKLINE(AO<0&&AC<0,0,AC+AO,COLORWHITE,0); 文华指标40 //考夫曼的ama-自适应移动平均线 N:=10; DIRECTION:=CLOSE-REF(CLOSE,N); VOLATILITY:=SUM(ABS((CLOSE-REF(CLOSE,1))),N); ER:=ABS(DIRECTION/VOLATILITY); FASTSC:=2/(2 + 1); SLOWSC:=2/(30 + 1); SSC:=ER*(FASTSC-SLOWSC)+SLOWSC; CONSTANT:=SSC*SSC; AMAHIGH:REF(EMA(HIGH,N),1)+CONSTANT*(HIGH- REF(EMA(HIGH,N),1)); AMALOW:REF(EMA(LOW,N),1)+CONSTANT*(LOW- REF(EMA(LOW,N),1)); 文华指标41 //金融天娇赢利公式 N1:=21; N2:=7; X1:=HHV(HIGH,N1); X2:=LLV(LOW,N2); D1:(X1+X2*2)/3,COLORGREEN; TMP:=D1-CLOSE; DRAWLINE(TMP>0.00001,HIGH,TMP>0.00001,OPEN,COLORCYAN); DRAWLINE(TMP>0.00001,LOW,TMP>0.00001,CLOSE,COLORCYAN); DRAWLINE(TMP<-0.00001,HIGH,TMP<-0.00001,CLOSE,COLORRED); DRAWLINE(TMP<-0.00001,LOW,TMP<-0.00001,OPEN,COLORRED); DRAWLINE(ABS(TMP)<0.00001,LOW,ABS(TMP)<0.00001,OPEN,COLORWHITE); DRAWLINE(ABS(TMP)<0.00001,HIGH,ABS(TMP)<0.00001,OPEN,COLORWHITE); STICKLINE(TMP>0.00001,OPEN,CLOSE,COLORCYAN,1); STICKLINE(TMP<-0.00001,OPEN,CLOSE,COLORRED,1); 文华指标42 RSV:=(C-LLV(L,7))/(HHV(H,7)-LLV(L,7))*100; RSV1:=(C-LLV(L,38))/(HHV(H,38)-LLV(L,38))*100; LJ:SMA(RSV1,5,1),COLORWHITE; SY:SMA(LJ,10,1),COLORYELLOW; FILLRGN(LJ<=SY,LJ,SY,COLORGREEN); FILLRGN(LJ>=SY,SY,LJ,COLORRED); A:=(3*C+L+O+H)/6; VAR2Q:=MA(C,80)-MA(C,13)/3; SQX:=MA((C-VAR2Q)/VAR2Q,1); XA:=EMA(SQX,12)*0.7; XB:=EMA(SQX,3); DBQY:IFELSE(LLV(XB-XA,12)>0,0,-15),COLORBLUE; DIFF:=(EMA(C,17)-EMA(C,73))*100; DEA:=EMA(DIFF,73); MACD:=2*(DIFF-DEA);
正在阅读:
文华指标71个(供参考)06-04
创先争优:优秀共产党基本标准03-14
入党申请书200702-24
徐小彬小学五年级数学试卷分析04-24
大学物理杨氏模量实验报告02-25
同学聚会活动策划书05-29
基质金属蛋白酶、血管内皮生长因子与子宫内膜异位症发病关系的研究进展03-18
2015年度宁波嘉隆工业有限公司销售收入与资产数据报告 - 图文05-02
护理教学培训概述03-08
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 文华
- 指标
- 参考