收藏 分享(赏)

文华指标71个(供参考).doc

上传人:weiwoduzun 文档编号:2897924 上传时间:2018-09-29 格式:DOC 页数:52 大小:170KB
下载 相关 举报
文华指标71个(供参考).doc_第1页
第1页 / 共52页
文华指标71个(供参考).doc_第2页
第2页 / 共52页
文华指标71个(供参考).doc_第3页
第3页 / 共52页
文华指标71个(供参考).doc_第4页
第4页 / 共52页
文华指标71个(供参考).doc_第5页
第5页 / 共52页
点击查看更多>>
资源描述

1、文华指标1A:=(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(BD,

2、B,D,8,COLORRED);STICKLINE(B REF(HH,1);LL1:=BARSLAST(LL LL1),HH,COLORGREEN);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 LL1),90),HIGH,加空);(EMA(CLOSE,60)+EMA(CLOSE,90)/2,CIRCLEDO

3、T;/文华财经洗钱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(L1L2,L3,L1,2,1),COLORRED;STICKLINE(L1L3STICKLINE(T1,L1,L3,2,0),COLORR

4、ED;STICKLINE(T2,L1,L3,2,0),COLORGREEN;文华指标3N1:=BARSLAST(DATE=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(CLOSEWB:=BARSLAST(ECLOSEDRAWLINE(AB,HIGH,AB,LOW,COLORCYAN);STICKLINE(AB,CLOSE,OPEN,COLORCYAN,0);文华指标458:58,COLORYELLOW;85:8

5、5,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 (SMXMAE1)*5,COLORRED;R1:(MAE1E1)*5,COLORGREEN;DRAWTEXT(CROSS(E1,MAE1),E1-3,B);DRAWTEXT(CROSS(MA

6、E1,E1),MAE1+3,S);STICKLINE(E1-MAE10,E1,MAE1,COLORRED,0);STICKLINE(E1-MAE1EMA(C,6) A2:=EMA(C,5)EMA(C,6) 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)

7、;H9:=IFELSE(T=1,E5,E5);J:=IFELSE(T=0,E5,E5);DRAWLINE(T=1DRAWLINE(T=-1DRAWSL(T=1,H9,0,1,0,COLORGREEN);DRAWSL(T=-1,G,0,1,0,COLORRED);DRAWLINE(T=0DRAWSL(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=1DRAWLINE(T=-1DRAWSL(T=1,H1,0,1,0,COLORGREEN);DRA

8、WSL(T=-1,G1,0,1,0,COLORRED);DRAWLINE(T=0DRAWSL(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=1DRAWLINE(T=-1DRAWSL(T=1,H2,0,1,0,COLORGREEN);DRAWSL(T=-1,G2,0,1,0,COLORRED);DRAWLINE(T=0DRAWSL(T=0,J2,0,1,0,COLORBLUE);G3:=IFELSE(T=-1,E8,E8);H3:=IFEL

9、SE(T=1,E8,E8);J3:=IFELSE(T=0,E8,E8);DRAWLINE(T=1DRAWLINE(T=-1DRAWSL(T=1,H3,0,1,0,COLORGREEN);DRAWSL(T=-1,G3,0,1,0,COLORRED);DRAWLINE(T=0DRAWSL(T=0,J3,0,1,0,COLORBLUE);文华指标8VAR1:=(HHV(HIGH,13)-LLV(LOW,13);VAR2:=(HHV(HIGH,13)-CLOSE);VAR3:=(CLOSE-LLV(LOW,13);VAR4:=(VAR2/VAR1)*100)-70);VAR5:=(CLOSE-LLV(

10、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(VAR9100),(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);ST

11、ICKLINE(VAR12-VAR13)0),VAR12,VAR13,COLORRED,0);STICKLINE(VAR12-VAR13)A,0,B,COLORRED,1);STICKLINE(AB,0,A,COLORCYAN,1);STICKLINE(BA,0 ,A,COLORRED,1);STICKLINE(AB,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,

12、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(A85,70,100);B:49;STICKLINE(A88,100,A,COLORRED,1);STICKLINE(A85,100,80,COLORRED,0);VAR1:=(CLOSE-LLV(LOW,34)/(HHV(HI

13、GH,34)-LLV(LOW,34)*100;AA:SMA(VAR1,5,1),COLORRED;BB:SMA(AA,3,1),COLORYELLOW;CC:IFELSE(CROSS(AA,BB)DD:IFELSE(CROSS(BB,AA)DRAWTEXT(DDREF(HHV(VOL,6),1);W2:=OPEN-CLOSE;HH1:= IFELSE (HREF(L,2)HH2:=VALUEWHEN(HH10,HH1);LL2:=VALUEWHEN(LL10,LL1);KA1:= IFELSE (CLOSEHH2,-3,IFELSE(CLOSE0,KA1);GA:=IFELSE(KA2=1,H

14、H2,LL2);GA1:=VALUEWHEN(ISLASTBAR,GA);DRAWNUMBER(L0,GA1,GA1,0,COLORCYAN);W1:=KA2;U1:=(HIGH+LOW+CLOSE*2)/4;HT:= IFELSE (OPENCLOSE,OPEN,CLOSE);LT:= IFELSE (OPEN0,OPEN,CLOSE,COLORCYAN,1);STICKLINE(W1REF(HIGH,1)|REF(LOW,2)REF(LOW,1);A3:=HIGHREF(HIGH,1)| HIGHREF(HIGH,2)|(HIGH-LOW)*0.3+LOWP;A31:=CLOSEPA4:=

15、REF(MA(CLOSE,5),2)REF(MA(CLOSE,5),1);A5:=VALUEWHEN(A1DRAWSL(A1RSV:=(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)PD:= VALUEWHEN(KG1, (HIGH+LOW)/2);STICKLINE(W20GA2:=VALUEWHEN(ISLASTBAR,D);DRAWNUMBER(LOW0, GA2,GA2,0,COLORRED);DRAWTEXT(CLOSE0,(HIGH+L

16、OW)/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) K2:=VALUEWHEN(CROSS(B,A),A);D2:= CROSS(B,A) 文华指标11HZ:=EMA(CLOSE,5);DB:=MA(HZ,1),COLORGREEN;ZB:=EMA(HZ,26),COLORRED;JX148:=E

17、MA(C,148);HZ2:EMA(HZ,21),COLORMAGENTA;HZ4:=EMA(HZ,39),COLORRED;FILLRGN(DBHZ2,DB,HZ2,COLORMAGENTA);FILLRGN(DBHZ4,ZB,HZ4,COLORRED);FILLRGN(ZBREF(HHV(VOL,4),1);W2:=OPEN-CLOSE;HH1:=IFELSE(HREF(L,2)HH2:=VALUEWHEN(HH10,HH1);LL2:=VALUEWHEN(LL10,LL1);KA1:=IFELSE(CLOSEHH2,-3,IFELSE(CLOSE0,KA1);GA:=IFELSE(KA2

18、=1,HH2,LL2);GA1:=VALUEWHEN(ISLASTBAR,GA);DRAWNUMBER(L0,GA1,GA1,0,COLORCYAN);W1:=KA2;U1:=(HIGH+LOW+CLOSE)/3;HT:=IFELSE(OPENCLOSE,OPEN,CLOSE);LT:=IFELSE(OPEN0,OPEN,CLOSE,COLORCYAN,1);STICKLINE(W1REF(HIGH,1)|REF(LOW,2)REF(LOW,1);A3:=HIGHREF(HIGH,1)| HIGHREF(HIGH,2)|(HIGH-LOW)*0.3+LOWP;A31:=CLOSEPA4:=RE

19、F(MA(CLOSE,5),2)REF(MA(CLOSE,5),1);A5:=VALUEWHEN(A1DRAWSL(A1RSV:=(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)PVAR0:=(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(H

20、IGH,34)-LLV(LOW,34)*100;VAR5:=SMA(VAR4,5,1);VAR2:=SMA(VAR5,3,1)-90;STICKLINE(REF(VAR1,1)VAR1,VAR1,REF(VAR1,1),COLORBLUE,0);STICKLINE(REF(VAR2,1)VAR2,VAR2,REF(VAR2,1),COLORRED,0);STICKLINE(REF(VAR2,1)EMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1);STICKLINE(CLOSEEMA2(HIGH,150),EMA2(HIGH,150)

21、,EMA2(LOW,150),COLORRED,1);STICKLINE(CLOSEEMA2(HIGH,30),EMA2(HIGH,30),COLORMAGENTA);PARTLINE(CLOSEEMA2(LOW,30),EMA2(LOW,30),COLORMAGENTA);PARTLINE(CLOSEEMA2(HIGH,150),EMA2(HIGH,150),COLORRED);PARTLINE(CLOSEEMA2(LOW,150),EMA2(LOW,150),COLORRED);PARTLINE(CLOSE0.5 STICKLINE(SUM(X,WS)0.5 DRAWLINE(SUM(X,

22、WS)0.5,LOW,CLOSEOPEN,OPEN,COLORCYAN);DRAWLINE(SUM(X,WS)0.5,HIGH,CLOSE0.5,LOW,CLOSE0.5,HIGH,CLOSE=OPEN,LOW,COLORCYAN);STICKLINE(SUM(S,WX)0.5 STICKLINE(SUM(S,WX)0.5 DRAWLINE(SUM(S,WX)0.5,LOW,CLOSEOPEN,OPEN,COLORRED);DRAWLINE(SUM(S,WX)0.5,HIGH,CLOSE0.5,LOW,CLOSE0.5,HIGH,CLOSE=OPEN,LOW,COLORRED);DRAWTEX

23、T(SS,LOW-5,买);DRAWTEXT(XX,HIGH+20,卖);文华指标13/轨道图;LBF1:PUBU(CLOSE,4),COLORMAGENTA;LBF2:LBF1-8,COLORBLUE;STICKLINE(LBF11 ,LBF1-1 ,LBF1+1 ,COLORGREEN , 1);TMP:=OPEN-CLOSE;DRAWLINE(TMP0.00001,HIGH,TMP0.00001,OPEN,COLORCYAN);DRAWLINE(TMP0.00001,LOW,TMP0.00001,CLOSE,COLORCYAN);DRAWLINE(TMP0,OPEN,CLOSE,COLO

24、RCYAN,0);STICKLINE(TMPREF(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);文华指标15Var1:=(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:=IFE

25、LSE(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(BB2,MA20,MA(MA20,2),COLORYELLOW,0);STICKLINE(BMA21,CLOSE,OPEN,COLORLIGHTRED,0);STICKLINE(VAR1MA21,HIGH,VAR1MA21,LOW,COLO

26、RLIGHTRED);DRAWLINE(VAR1MA21,CLOSE,OPEN,COLORGREEN,0);DRAWLINE(VAR1MA21,LOW,COLORGREEN);STICKLINE(VAR1VAR2YY:=EMA(CLOSE,4);AA1:=YY-REF(YY,1);B1:=REFX(AA1,1);C1:=IFELSE(YYREF(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,

27、1);BB2:=REFX(A2,1);C2:=IFELSE(VVREF(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(LOW0,Q4,Q4,0,COLORCYAN);MA60:=EMA(CLOSE,60);PARTLINE(MA600,MA60,COLORRED);Q5:=VALUEWHEN(ISLASTBAR,EMA(CLOSE,60);DRAWNUMBER(LOW0,Q5,

28、Q5,0,COLORRED);文华指标17MA18:MA(CLOSE,20),COLORMAGENTA;MA2:MA(CLOSE,0),COLORGREEN;STICKLINE(CLOSE=OPEN,OPEN,CLOSE,COLORCYAN,1);STICKLINE(CLOSEOPEN,CLOSE,COLORCYAN);DRAWLINE(CLOSEOPEN,OPEN,COLORCYAN);DRAWLINE(CLOSEMA18STICKLINE(CLOSEMA18DRAWLINE(CLOSEMA18,LOW,CLOSEOPEN,OPEN,COLORRED);DRAWLINE(CLOSEMA18,

29、HIGH,CLOSEMA18,LOW,CLOSEMA18,HIGH,CLOSE=OPEN,LOW,COLORRED);Q3:=VALUEWHEN(ISLASTBAR,MA18);DRAWNUMBER(LOW0,Q3,Q3,0,COLORMAGENTA);Q2:=VALUEWHEN(ISLASTBAR,MA2);DRAWNUMBER(LOW0,Q2,Q2,0,COLORGREEN);文华指标18HH:=IFELSE(HREF(H,1)L1:=IFELSE(LREF(H4,2),HH);L5:=VALUEWHEN(L4REF(L4,1) POLYLINE(L50,L5,COLORWHITE);DR

30、AWNUMBER(H5REF(L5,1),L5,H5-L5,0,COLORMAGENTA);D:=VALUEWHEN(ISLASTBAR,H5);E:=VALUEWHEN(ISLASTBAR,L5);DRAWNUMBER(LOW0,D,D,0,COLORWHITE);DRAWNUMBER(LOW0,E,E,0,COLORWHITE);DRAWTEXT(CROSS(CLOSE,H5),H5,);DRAWTEXT(CROSS(L5,CLOSE),L5,);文华指标19HH1:=IFELSE(HREF(L,2)HH2:=VALUEWHEN(HH10,HH1);LL2:=VALUEWHEN(LL10,

31、LL1);K1:=IFELSE(CLOSEHH2,-3,IFELSE(CLOSE0,K1);G:=IFELSE(K2=1,HH2,LL2);G1:=VALUEWHEN(ISLASTBAR,G);DRAWNUMBER(L0,G1,G1,0,COLORCYAN);W1:=K2;W2:=OPEN-CLOSE;DRAWLINE(W1=1DRAWLINE(W1=-3DRAWSL(K2=1,G,0,1,0,COLORGREEN); DRAWSL(K2=-3,G,0,1,0,COLORYELLOW);文华指标20N1:=5;N2:=10;N3:=50;M1:EMA(C,N1),COLORWHITE;M2:E

32、MA(C,N2),COLORYELLOW;M3:EMA(C,N3),COLORRED;DRAWLINE(M1M2 STICKLINE(M1M3,O,C,COLORCYAN,1);DRAWLINE(M1M2 STICKLINE(M1M2 DRAWLINE(M10,Q1,Q1,0,COLORWHITE);DRAWNUMBER(LOW0,Q2,Q2,0,COLORYELLOW);DRAWNUMBER(LOW0,Q3,Q3,0,COLORRED);HO:=HIGHREF(HIGH,1) FXH:=CROSS(HO,0.9);FF:=REF(HIGH,BARSLAST(FXH);LO:=LOW0,Q8,

33、Q8,2,COLORMAGENTA);Q9:=VALUEWHEN(ISLASTBAR,JJ); DRAWNUMBER(LOW0,Q9,Q9,2,COLORBLUE);HH:=IFELSE(HREF(H,1)L1:=IFELSE(LREF(H4,2),HH);L5:=VALUEWHEN(L4REF(L4,1)POLYLINE(L50,L5,COLORWHITE); DRAWNUMBER(H5REF(L5,1),L5,H5-L5,0,COLORMAGENTA); D:=VALUEWHEN(ISLASTBAR,H5);E:=VALUEWHEN(ISLASTBAR,L5);DRAWNUMBER(LOW

34、0,D,D,0,COLORWHITE);DRAWNUMBER(LOW0,E,E,0,COLORWHITE);DRAWTEXT(CROSS(CLOSE,H5),H5,多);DRAWTEXT(CROSS(L5,CLOSE),L5,空);文华指标21HO:=HIGHREF(HIGH,1) FXH:=CROSS(HO,0.9);PP:=REF(HIGH,BARSLAST(FXH);LO:=LOWREF(A,1) VAR2:=REF(VAR1,1) VAR3:=REF(VAR2,1) VAR5:=REF(VAR4,1) VAR7:=REF(VAR6,1) VAR9:=REF(VAR8,1) VARB:=

35、REF(VARA,1) STICKLINE(VAR1|VAR2|VAR3|VAR4|VAR5|VAR6|VAR7|VAR8|VAR9|VARA|VARB|VARC,A,REF(A,1),COLORRED,1);VARD:=A=REF(A,1) VAR10:=REF(VARF,1) VAR12:=REF(VAR11,1) VAR14:=REF(VAR13,1) VAR16:=REF(VAR15,1) VAR18:=REF(VAR17,1) PARTLINE(M20,M2,COLORYELLOW);PARTLINE(M30,M3,COLORBLUE);Q1:=VALUEWHEN(ISLASTBAR

36、,M1);Q2:=VALUEWHEN(ISLASTBAR,M2);Q3:=VALUEWHEN(ISLASTBAR,M3);Q4:=VALUEWHEN(ISLASTBAR,M4);DRAWNUMBER(LOW0,Q1,Q1,0,COLORGREEN);DRAWNUMBER(LOW0,Q2,Q2,0,COLORYELLOW);DRAWNUMBER(LOW0,Q3,Q3,0,COLORBLUE);DRAWNUMBER(LOW0,Q4,Q4,0,COLORMAGENTA);HH:=IFELSE(HREF(H,1)L1:=IFELSE(LREF(H4,2),HH);L5:=VALUEWHEN(L4REF

37、(L4,1)POLYLINE(L50,L5,COLORWHITE);DRAWNUMBER(H5REF(L5,1),L5,H5-L5,0,COLORMAGENTA);D:=VALUEWHEN(ISLASTBAR,H5);E:=VALUEWHEN(ISLASTBAR,L5);DRAWNUMBER(LOW0,D,D,0,COLORWHITE);DRAWNUMBER(LOW0,E,E,0,COLORWHITE);DRAWTEXT(CROSS(CLOSE,H5),H5,);DRAWTEXT(CROSS(L5,CLOSE),L5,);文华指标22HZ:=EMA(CLOSE,13);DB:EMA(HZ,1)

38、,COLORWHITE;ZB:EMA(HZ,26),COLORMAGENTA;JX148:=EMA(C,148);HZ2:EMA(HZ,8),COLORGREEN;HZ4:EMA(HZ,39),COLORMAGENTA;FILLRGN(DBHZ2,DB,HZ2,COLORGREEN);FILLRGN(DBHZ4,ZB,HZ4,COLORMAGENTA);FILLRGN(ZB0.899*REF(CLOSE,1) STICKLINE(VAR6-VAR7SARLINE,HIGH,TMP0.00001,OPEN,COLORRED);DRAWLINE(CLOSESARLINE,LOW,TMP0.0000

39、1,CLOSE,COLORRED);DRAWLINE(CLOSESARLINE,HIGH,TMPSARLINE,LOW,TMPSARLINE,LOW,ABS(TMP)SARLINE,HIGH,ABS(TMP)0STICKLINE(TMPSARLINE,OPEN,CLOSE,COLORRED,1);DRAWLINE(CLOSE0.00001,OPEN,COLORGREEN);DRAWLINE(CLOSE0.00001,CLOSE,COLORGREEN);DRAWLINE(CLOSE0TS:=IFELSE(REF(CLOSE,1)LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HI

40、GH-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=MA1, LON, MA1,COLORLIGHTRED);文华指标26DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MA(CLOSE,8),COLORWHITE;MA(CLOSE,21),COLORYELLOW;

41、STICKLINE(DIFFDEA,CLOSE,OPEN,COLORRED,0);STICKLINE(DIFFDEA,HIGH,LOW,COLORRED,0);STICKLINE(DIFF=ZZ,HIGH,YY=ZZ,OPEN,COLORRED);DRAWLINE(YY=ZZ,LOW,YY=ZZ,CLOSE,COLORRED);DRAWLINE(YY0.00001,OPEN,CLOSE,COLORRED,1);STICKLINE(YY-ZZ)REF(VAR6,1) STICKLINE(VAR6REF(VAR6,1) STICKLINE(VAR6REF(VAR8,1) STICKLINE(VAR

42、6= 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),LLV(CLOSE,3),COLORMAGENTA);PARTLINE(EMA(CLOSE,13) =OPEN,OPEN,CLOSE,COLORCYAN,1);STICKLINE(CLOSEOPEN,CLOSE,COLORCYAN);DRAWLINE(CLOSE

43、OPEN,OPEN,COLORCYAN);DRAWLINE(CLOSEMA2 STICKLINE(CLOSEMA2 DRAWLINE(CLOSEMA2,LOW,CLOSEOPEN,OPEN,COLORRED);DRAWLINE(CLOSEMA2,HIGH,CLOSEMA2,LOW,CLOSEMA2,HIGH,CLOSE=OPEN,LOW,COLORRED);DRAWLINE(CLOSEMA1,MA1,OPENMA1,MA2,COLORMAGENTA );DRAWLINE(CLOSE=MA2 STICKLINE(CLOSE=MA2 DRAWLINE(CLOSE=MA2 DRAWLINE(CLOS

44、E=MA2 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) DRAWSL(F=1,MA4,E,1,0,COLORMAGENTA);MA5:=MA(HIGH,30);G:=MA5-REF(MA5,1);H1:=REFX(G,1);I:=IFELSE(MA5REF(LOW,2)HH2:=VALUEWHEN(HH10,HH1);LL2:=VALUEWHEN(LL10,LL1);K1:=IFELSE(CLOSEHH2,-3,IFELSE

45、(CLOSE0,K1);G:=IFELSE(K2=1,HH2,LL2);G1:=VALUEWHEN(ISLASTBAR,G);DRAWNUMBER(L0,G1,G1,0,COLORCYAN);W1:=K2;W2:=OPEN-CLOSE;HT:=IFELSE(OPENCLOSE,OPEN,CLOSE);LT:=IFELSE(OPEN0,OPEN,CLOSE,COLORCYAN,1);STICKLINE(W10DRAWLINE(W1=1DRAWLINE(W1=-3DRAWSL(K2=1,G,0,1,0,COLORGREEN);DRAWSL(K2=-3,G,0,1,0,COLORYELLOW);HH

46、:=IFELSE(HIGHREF(HIGH,1)L1:=IFELSE(LOW REF(H4,2),HH);L5:=VALUEWHEN(L4REF(L4,1)POLYLINE(L50,L5,COLORWHITE);DRAWNUMBER(H5REF(L5,1),L5,H5-L5,0,COLORMAGENTA);D:=VALUEWHEN(ISLASTBAR,H5);E:=VALUEWHEN(ISLASTBAR,L5);DRAWNUMBER(LOW0,D,D,0,COLORWHITE);DRAWNUMBER(LOW0,E,E,0,COLORWHITE);DRAWTEXT(CROSS(CLOSE,H5)

47、,H5,);DRAWTEXT(CROSS(L5,CLOSE),L5,);文华指标32MA1:=MA(HIGH,30);MA2:=MA(LOW,30);STICKLINE(CLOSE=OPEN,OPEN,CLOSE,COLORCYAN,1);STICKLINE(CLOSEMA2 STICKLINE(CLOSEMA2 STICKLINE(VAR1 KK2)|(LM1 LM2);OK1:=(KK1 KK2)|(LM1 LM2);NOK:=(KK2 KK1)|(LM2 LM1);NOK1:=(KK2 KK1)|(LM2 LM1);STICKLINE(OK1,CLOSE,OPEN,COLORGREEN,

48、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);文华指标34DKX:EMA2(CLOSE,21),COLORYELLOW

49、;DKXM:MA(DKX,10),COLORGREEN;STICKLINE(DKXDKXM,DKX,DKXM,COLORYELLOW,0);STICKLINE(DKXREF(HHV(HIGH,3),1),LOW,0);L1:=IFELSE(HNLREF(L,1),REF(L,1),IFELSE(HNLREF(L,2),REF(L,2),IFELSE(HNLREF(L,3),REF(L,3),IFELSE(HNLREF(L,4),REF(L,4),0);L2:=IFELSE(L1REF(L,1),REF(L,1),IFELSE(L1REF(L,2),REF(L,2),IFELSE(L1REF(L,3),REF(L,3),IFELSE(L1REF(L,4),REF(L,4),0);L3:=VALUEWHEN(L20,L2);LNH:=IFELSE(LOW0,H2);SEL:=VALUEWHEN(CLOSEH3B:=IFELSE(LOWREF(L11,1),REF(L11,1),0);P2:

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 企业管理 > 经营企划

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报