文华财经指标公式 平均线波段指标 精准买卖点 黄金白银原油恒指
期货最好用的指标公式文华财经指标公式通道线精准买
MA5:=MA(C,5),COLORF00FF0;MA10:=MA(C,10);MA20:=MA(C,20);MA60:=MA(C,60),COLORGREEN;买线:=ZIGZAG(C,10,1);卖线:=MA(买线,3);CAPITAL:=GETPRICE1('流通股本');换手:=V/CAPITAL*100;基线:=MA(REF(LLV(C,30),1),2),NODRAW;AMOUNT:=AVPRICE*V;量能饱和度:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT, 20)/HHV(C,20))*100),NODRAW;MA8:=MA(C,8),COLORYELLOW;MA13:=MA(C,13),COLORE66878;MA50:=MA(C,50),COLORWHITE;MA55:=MA(C,55),COLORGREEN;MA144:=MA(C,144),COLORBLUE;X1:=(C+L+H)/3;X2:=EMA(X1,6);X3:=EMA(X2,5);VARF1:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA( (CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR101:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA ((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR111:=VARF1<REF(VAR101,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);游资:=(VAR111 AND COUNT(VAR111,30)=1 AND 买线>=卖线);DRAWTEXT(游资,(基线*0.97),'--游资进'),COLORBLUE;STICKLINE(游资,(基线*0.96),(基线+0.2),9,0),COLORBLUE;VARS1:=(C-LLV(L,36))/(HHV(H,36)-LLV(L,36))*100;VARS2:=SMA(VARS1,3,1);VARS3:=SMA(VARS2,3,1);VARS4:=SMA(VARS3,3,1);抄底:=((FILTER((CROSS(VARS3,VARS4) AND VARS3<20),10)=1) AND 买线>=卖线); DRAWTEXT(抄底,(基线*0.94),'--抄底'),COLORFF00FF;STICKLINE(抄底,(基线*0.92),基线,9,0),COLORFF00FF;YY:=(CROSS(X2,X3) AND (买线>=卖线));DRAWTEXT(YY,(L*0.99),'--精准买'),COLORYELLOW;//STICKLINE1(YY,C,(L*0.98),9,0),COLORYELLOW;F:=100*(C-REF(C,1))/REF(C,1);S1:=IF(C<REF(O,1) AND F<0,1,0);S2:=IF(C<REF(O,2) AND F<0,1,0);短买点:=((CROSS((SMA(MAX(C-(REF(C,1)),0),4.1,1)/SMA(ABS(C-(REF(C,1))),4.1,1)*100),11)*1) AND S1=0 AND REF(S1,1)=1 AND S2=0 AND REF(S2,1)=1 AND 换手>=3 AND 买线>=卖线);//DRAWTEXT(短买点,(基线*0.94),'--短买点'),COLORFF00FF;//STICKLINE1(短买点,(基线*0.92),(基线*0.98),9,0),COLORFF00FF;VAR5:=(3*(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)-2*(EMA((SMA(S MA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57),5)));奔牛:=(CROSS(VAR5,(SMA(SMA(((C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100),3,1),3,1)/28.57)) AND 买线>=卖线);//DRAWTEXT(奔牛,(基线*0.98),'--奔牛'),COLOR00AAFF;//STICKLINE1(奔牛,(基线*0.96),基线,9,0),COLOR00AAFF;VARQ1:=EMA(CLOSE,3);VARQ2:=EMA(CLOSE,21);VARQ3:=BARSLAST(CROSS(VARQ2,VARQ1))>15;VARQ4:=VOL>MA(VOL,5)*2 AND VOL<MA(VOL,5)*5;黑马:=((CROSS(VARQ1,VARQ2) AND VARQ4 AND VARQ3) AND 买线>=卖线);//DRAWTEXT(黑马,(基线*0.98),'--黑马'),COLORFF6600;//STICKLINE1(黑马,(基线*0.96),基线,9,0),COLORFF6600;波段买点:=CROSS((ZIGZAG(C,10,1)),(MA((ZIGZAG(C,10,1)),3)));DRAWTEXT(波段买点,(基线*0.98),'--波段买'),COLOR00AAFF;STICKLINE1(波段买点,(基线*0.96),基线,9,0),COLORRED;VARDD:=(ZIGZAG(C,5,1)<REF(ZIGZAG(C,5,1),1)) AND (REF(ZIGZAG(C,5,1),1)>=REF(ZIGZAG(C,5,1),2)) AND (REF(ZIGZAG(C,5,1),2)>=REF(ZIGZAG(C,5,1),3));DRAWTEXT((VARDD=1),(H*1.05),'波段卖'),COLORWHITE;STICKLINE1((VARDD=1),(H*1.01),(H*1.03),9,0),COLORWHITE;大黑马:=(IF(CROSS((MA(3*SMA(((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100,6,1)-2*SMA(SMA(((C-LLV(L, 21))/(HHV(H,21)-LLV(L,21)))*100,5,1),5,1),2)),0) AND EMA(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),5)<40,8,0) AND 买线>=卖线);DRAWTEXT(大黑马,(基线*0.94),'-大黑马'),COLORBLUE;短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6) +13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,LINETHICK1;短低L:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6) +13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,LINETHICK1;D90H:=EMA(短高H,90),COLORYELLOW,LINETHICK1;D90L:=EMA(短低L,90),COLORYELLOW,LINETHICK1;D90差:=D90H-D90L;D90顶:=D90H+D90差*2,COLORYELLOW,LINETHICK1;D90底:=D90L-D90差*2,COLORYELLOW,LINETHICK1;//XMA(X,N)=REFX(MA(X,N),N/2);XH25:=REFX1(MA(H,25),25/2);XXH25:=REFX1(MA(XH25,25),25/2);XL25:=REFX1(MA(L,25),25/2);XXL25:=REFX1(MA(XL25,25),25/2);高0:=(XXH25-XXL25+XXH25),LINETHICK1,COLORWHITE;低0:=XXL25*2-XXH25,LINETHICK1,COLORWHITE;多头定位:=低0>=D90底AND 高0>=D90顶;空头定位:=高0<=D90顶AND 低0<=D90底;震荡定位:=低0>=D90底AND 高0<=D90顶;XH60:=REFX1(MA(H,60),60/2);XXH60:=REFX1(MA(XH60,60),60/2);XL60:=REFX1(MA(L,60),60/2);XXL60:=REFX1(MA(XL60,60),60/2);波段顶0:=4*XXH60-3*XXL60,LINETHICK2,COLORWHITE;波段底0:=4*XXL60-3*XXH60,LINETHICK2,COLORWHITE;多止损:XXL25-(XXH25-XXL25)*3.5,DOT,COLORWHITE;多止盈:(XXH25-XXL25)*1+XXH25,NODRAW,COLORWHITE;空止损:(XXH25-XXL25)*3.5+XXH25,DOT,COLORYELLOW;空止盈:XXL25-(XXH25-XXL25)*0.5,NODRAW,COLORGREEN;做空:(XXH25-XXL25)*1+XXH25,LINETHICK1,COLORGREEN,DOT;做多:XXL25-(XXH25-XXL25)*1,LINETHICK1,COLORRED,DOT;空损:=(XXH25-XXL25)*3.9+XXH25,LINETHICK1,COLORYELLOW;多损:=XXL25-(XXH25-XXL25)*3.9,LINETHICK1,COLORYELLOW;波段顶:=(XXH60-XXL60)*3+XXH60,LINETHICK1,COLORYELLOW;波段底:=XXL60-(XXH60-XXL60)*3,LINETHICK1,COLORWHITE;止盈差:多止盈-空止盈,NODRAW;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;今D:=EMA(D,3);昨D:=REF(今D,1);白色点多定位1:=L<做多AND H>做多;白色点空定位1:=H>做空AND L<做空;白色点多定位2:=H<做多;白色点空定位2:=L>做空;多头红色点:=今D>昨D;空头红色点:=今D<昨D;多头红色点定位1:=白色点多定位1=1 AND 多头红色点=1;多头红色点定位2:=白色点多定位2=1 AND 多头红色点=1;空头红色点定位2:=白色点空定位2=1 AND 空头红色点=1;空头红色点定位1:=白色点空定位1=1 AND 空头红色点=1;多头多定位:=CROSS(做多,L) AND 多头定位=1;多头平定位:=CROSS(H,做空) AND 多头定位=1 AND 震荡定位=0;空头空定位:=CROSS(H,做空) AND 空头定位=1;空头平定位:=CROSS(做多,L) AND 空头定位=1 AND 震荡定位=0;震荡多定位:=CROSS(做多,L) AND 震荡定位=1;震荡空定位:=CROSS(H,做空) AND 震荡定位=1;DRAWICON(多头多定位=1 OR 震荡多定位=1,多损,'ICO116');DRAWICON(空头空定位=1 OR 震荡空定位=1,空损,'ICO117');//VERTLINE1(REFX(ISLASTBAR,11));G:=MA5;DY:=MA10;NNH:=BARSLAST(H=HHV(H,15)) ,NODRAW;NNL:=BARSLAST(L=LLV(L,15)) ,NODRAW;NN:=IF(REF(G,NNH)>REF(DY,NNH) AND NNH<=12,NNH,IF(REF(G,NNL)<REF(DY,NNL) AND NNL<=12,NNL,13)) ,NODRAW;YN:=IF(ISLASTBAR AND NN>0,NN,13) ,NODRAW;HHY:=REF(H,YN)=HHV(H,14);LLY:=REF(L,YN)=LLV(L,14);FG01:=BACKSET(HHY,YN+1)>BACKSET(HHY,YN),NODRAW;//只设置前面第6个FD01:=BACKSET(LLY,YN+1)>BACKSET(LLY,YN) ,NODRAW;FG02:=FG01=FD01 AND G>DY,NODRAW;FD02:=FG01=FD01 AND G<DY,NODRAW;TTTT:=BARSLAST(FD01),NODRAW;FG0:=FG01 AND IF(FG02=1,H=HHV(H,BARSLAST(REF(FD01,1))+1),H=HHV(H,IF(BARSLAST(L=LLV(L,7))>=5,5,BARSLA ST(FD01)))) AND FD02=0 ,NODRAW;FD0:=FD01 AND IF(FD02=1,L=LLV(L,BARSLAST(REF(FG01,1))+1),L=LLV(L,IF(BARSLAST(H=HHV(L,7))>=5,5,BARSLAST( FG01)))) AND FG02=0 ,NODRAW;GT:=BARSLAST(FG0),NODRAW;DT:=BARSLAST(FD0),NODRAW;LLLL:=DT=0 AND REF(DT,1)<GT AND L>REF(L,REF(DT,1)+1),NODRAW;FG1:=BACKSET(REFX(GT,1)=0 AND GT<DT AND REFX(H,1)>=REF(H,GT),GT+1),NODRAW;FD1:=BACKSET(REFX(DT,1)=0 AND DT<GT AND REFX(L,1)<=REF(L,DT),DT+1),NODRAW;FG11:=IF(GT=0 AND REF(GT,1)<DT ANDIF(REF(G,BARSLAST(L=LLV(L,7)))>REF(DY,BARSLAST(L=LLV(L,7))),BARSLAST(L=LLV(L,7))<5,1) AND H<REF(H,REF(GT,1)+1),1,0),NODRAW;FD11:=IF(DT=0 AND REF(DT,1)<GT AND IF(REF(G,BARSLAST(H=HHV(H,7)))<REF(DY,BARSLAST(H=HHV(H,7))),BARSLAST(H=HHV(H,7))<5,1) AND L>REF(L,REF(DT,1)+1),1,0),NODRAW;GT1:=BARSLAST(FG11<>1 AND FG1<>1 AND FG0),NODRAW;DT1:=BARSLAST(FD11<>1 AND FD1<>1 AND FD0),NODRAW;FD2:=BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)>LLV(L,GT1+5),DT1+1),NODRAW;FG2A:=BACKSET(REFX(GT1,1)=0 AND DT1<3 AND GT1-DT1<4 AND REF(L,DT1)<=LLV(L,GT1+5) AND REF(H,GT1)>HHV(H,GT1+5),GT1+1),NODRAW;FG2B:=IF(GT1=0 AND DT1<4 AND REF(GT1,1)-DT1<4 AND REF(L,DT1)<=LLV(L,REF(GT1,1)+6) AND H>HHV(H,REF(GT1,1)+6),1,0),NODRAW;FG2:=BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)<HHV(H,DT1+5),GT1+1),NODRAW;FD2A:=BACKSET(REFX(DT1,1)=0 AND GT1<3 AND DT1-GT1<4 AND REF(H,GT1)>=HHV(L,DT1+5) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW;FD2B:=IF(DT1=0 AND GT1<4 AND REF(DT1,1)-GT1<4 AND REF(H,GT1)>=HHV(H,REF(DT1,1)+6) AND L>LLV(L,REF(DT1,1)+6),1,0),NODRAW;TTTTTT:= H<REF(H,REF(GT1,1)+1) AND DT1<4,NODRAW;HHHHHH:=REF(LLV(L,10),DT1),NODRAW;FG21:=IF(GT1=0 AND DT1<4 AND H<=REF(H,REF(GT1,1)+1) ,1,0),NODRAW;FD21:=IF(DT1=0 AND GT1<4 AND L>=REF(L,REF(DT1,1)+1) ,1,0),NODRAW;FD231:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND REF(L,DT1)>REF(LLV(L,10),DT1),DT1+1),NODRAW;FG23:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)>REF(H,GT1) AND (REF(H,GT1)<REF(HHV(H,13),GT1) OR REF(FD231,DT1)=0),GT1+1),NODRAW;FG231:=BACKSET(REFX(DT1,1)=0 AND GT1>3 AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND REF(H,GT1)<REF(HHV(H,10),GT1) ,GT1+1),NODRAW;FD23:=BACKSET(REFX(DT1,1)=0 AND GT1>3 AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)<REF(L,DT1) AND ( REF(L,DT1)>REF(LLV(L,13),DT1) OR REF(FG231,GT1)=0),DT1+1),NODRAW;FDD23:=REF(H,GT1)<REF(HHV(H,10),GT1) OR REF(FD23,DT1)=0,NODRAW;FD24:=BACKSET(REFX(GT1,1)=0 AND DT1>3 AND GT1>DT1 AND GT1-DT1<4 AND REFX(H,1)<HHV(H,GT1+3) AND REF(L,DT1)>LLV(L,DT1+5),DT1+1),NODRAW;FG24:=BACKSET(REFX(DT1,1)=0 AND GT1>3 AND DT1>GT1 AND DT1-GT1<4 AND REFX(L,1)>LLV(L,DT1+3) AND REF(H,GT1)<HHV(H,GT1+5),GT1+1),NODRAW;GT2:=BARSLAST(FG21<>1 AND FG23<>1 AND FG231<>1 AND FG24<>1 AND FG2<>1 AND FG2A<>1 AND FG2B<>1 AND GT1=0),NODRAW;DT2:=BARSLAST(FD21<>1 AND FD23<>1 AND FD231<>1 AND FD24<>1 AND FD2<>1 AND FD2A<>1 AND FD2B<>1 AND DT1=0),NODRAW;FG3:=BACKSET(REFX(GT2,1)=0 AND GT2<DT2 AND REFX(H,1)>=REF(H,GT2),GT2+1),NODRAW;FD3:=BACKSET(REFX(DT2,1)=0 AND DT2<GT2 AND REFX(L,1)<=REF(L,DT2),DT2+1),NODRAW;FG31:=IF(GT2=0 AND REF(GT2,1)<DT2 AND H<REF(H,REF(GT2,1)+1),1,0),NODRAW;FD31:=IF(DT2=0 AND REF(DT2,1)<GT2 AND L>REF(L,REF(DT2,1)+1),1,0),NODRAW;GT3:=BARSLAST(GT2=0 AND FG3<>1 AND FG31<>1 ),NODRAW;DT3:=BARSLAST(DT2=0 AND FD3<>1 AND FD31<>1),NODRAW;FG4:=BACKSET(REFX(GT3,1)=0 AND GT3<DT3 AND REFX(H,1)>=REF(H,GT3),GT3+1),NODRAW; FD4:=BACKSET(REFX(DT3,1)=0 AND DT3<GT3 AND REFX(L,1)<=REF(L,DT3),DT3+1),NODRAW; FG41:IF(GT3=0 AND REF(GT3,1)<DT3 AND H<REF(H,REF(GT3,1)+1),1,0),NODRAW;FD41:IF(DT3=0 AND REF(DT3,1)<GT3 AND L>REF(L,REF(DT3,1)+1),1,0),NODRAW;HHH:=GT3=0 AND FG31<>1 AND FG3<>1,NODRAW;LLL:=DT3=0 AND FD31<>1 AND FD3<>1,NODRAW;DX:=HHH||LLL;L1:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DX,3)),0.5);L2:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DX,2)),0.5);L3:=CROSS(BACKSET(ISLASTBAR,SUMBARS(DX,1)),0.5);PP:=IF(HHH,H,L);A1:=VALUEWHEN(L1,PP);A2:=VALUEWHEN(L2,PP);A3:=VALUEWHEN(L3,PP);AAA:=REFX1((A2-A1)*0.618+A3,1000);DRAWTEXT(HHH,H,'●'),COLORWHITE,FONTSIZE30;DRAWTEXT(LLL,L,'●'),COLORWHITE,FONTSIZE30;HHH,SOUND('B');LLL,SOUND('A');DRAWCOLORKLINE(买线>=卖线&& C>=O&&(HHH||LLL),COLORRED,1); DRAWCOLORKLINE(买线>=卖线&& C<O&&(HHH||LLL),COLORRED,0); DRAWCOLORKLINE(买线<卖线&& C>=O&&(HHH||LLL),COLORGREEN,1); DRAWCOLORKLINE(买线<卖线&& C<O&&(HHH||LLL),COLORGREEN,0);STICKLINE1(CROSS(买线,卖线),O,C,9,0),COLOR00AAFF;STICKLINE1(买线<卖线&&(HHH||LLL),H,L,0,0),COLORGREEN;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,9,0),COLOR007700;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,8,0),COLOR008E00;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,7,0),COLOR009900;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,6,0),COLOR00A600;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,5,0),COLOR00B500;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,4,0),COLOR00C600;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,3,0),COLOR00D500;STICKLINE1(买线<卖线&&(HHH||LLL),C,O,2,0),COLOR00E600;STICKLINE1(买线>=卖线&&(HHH||LLL),H,L,0,0),COLOR0000FF;STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,9,0),COLOR0000A3;STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,8,0),COLOR0000B7;STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,6,0),COLOR0000C8; STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,5,0),COLOR0000D9; STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,4,0),COLOR0000CD; STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,3,0),COLOR0000E9; STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,2,0),COLOR0000EA; STICKLINE1(买线>=卖线&&(HHH||LLL),C,O,1,0),COLOR0000FF;。
文华财经指标公式 红多蓝空指标 精准买卖点 黄金白银原油恒指
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);。
最准确的指标期货指标公式文华财经指标精准多空波段指标
最准确的指标期货指标公式文华财经指标精准多空波段指标指标是金融市场分析中非常重要的工具,期货指标是用于预测期货市场未来走势的技术指标。
在期货交易中,投资者可以利用各种指标来预测未来的趋势和价格变动,以便做出更准确的交易决策。
文华财经指标精准多空波段指标是一种常用的期货指标,通过计算特定时期内的价格和交易量的变动,来帮助投资者判断市场的多空趋势,从而更好地进行波段交易。
1. 平均真实波幅(Average True Range, ATR): ATR指标可以测量市场波动性的大小,以实际的价格波动范围为基础。
ATR的计算公式为:ATR = (前一交易日收盘价与当日最高价之差的绝对值)、(前一交易日收盘价与当日最低价之差的绝对值)及(当日最高价与当日最低价之差的绝对值)的最大值ATR可以作为止损价位或者波动性指导,投资者可以根据ATR的大小来确定交易的止损位置,以控制风险。
2. MACD指标(Moving Average Convergence Divergence,MACD):MACD指标是一种趋势跟踪指标,通过计算一组长周期和短周期的移动平均线之间的差距,来判断市场的多空趋势。
MACD的计算公式为:DIF =12日EMA - 26日EMA,DEA = 9日DIF的移动平均线,MACD =(DIF - DEA)* 2当MACD曲线上穿零轴时,为多头市场,投资者可以考虑做多;当MACD曲线下穿零轴时,为空头市场,投资者可以考虑做空。
3. 相对强弱指标(Relative Strength Index, RSI):RSI指标用于衡量市场超买超卖的情况,它通过计算一段时间内涨幅和跌幅之和的比率来判断市场的多空情况。
RSI的计算公式为:RSI = 100 - 100/(1 + RS),其中RS =(n日内收盘价上涨总幅度的平均值)/(n日内收盘价下跌总幅度的平均值)当RSI超过70时,为超买区域,可能会出现调整或者回调,投资者可以考虑减仓;当RSI低于30时,为超卖区域,可能会出现反弹或者反转,投资者可以考虑逢低买入。
文华财经指标公式波段最准确的指标最准的实战指标期货5分钟周期稳定盈利公式源码
/*DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW;DEA:EMA(DIF,9),COLOR00FFFF,NODRAW;MACD:8*(DIF-DEA),NODRAW;GLM:COST(50)-COST(20),COLORRED,LINETHICK0;GL50:EMA(C-COST(50),5),COLOR00FFFF,LINETHICK0;GL20:EMA(C-COST(20),5),COLORFF00FF,LINETHICK0;DRAWBAND(GLM,RGB(60,60,60),0,RGB(60,60,60));DRAWBAND(GL20,RGB(100,40,100),GLM,RGB(30,100,30));STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099; STICKLINE(MACD>REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB; STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR888888; STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,1.1,0),COLORBBBBBB; STICKLINE(MACD<=REF(MACD,1) AND MACD>0,0,MACD,0.6,0),COLORDDDDDD; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR3377AA; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR3388BB; STICKLINE(MACD>REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR4499CC; STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.8,0),COLORFF3300; STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,1.1,0),COLORFF5500; STICKLINE(MACD<=REF(MACD,1) AND MACD<0,0,MACD,0.6,0),COLORFF7700; IF(C,0,DRAWNULL),COLORRED,LINETHICK2;IF(DIF>0 AND MACD<=0,0,DRAWNULL),COLORFFFFFF,LINETHICK2;IF(DIF<=0 AND MACD>0,0,DRAWNULL),COLORFF09FF,LINETHICK2;IF(DIF<=0 AND MACD<=0,0,DRAWNULL),COLORBBB000,LINETHICK2;GLM,COLORRED,LINETHICK1;IF(GLM<REF(GLM,1),GLM,DRAWNULL),COLOR00FF00;STICKLINE(CROSS(GL20,GLM),GLM*2,GLM,2,0),COLORFF00FF;GL50,COLOR00FFFF,LINETHICK1;GL20,COLORFF00FF,LINETHICK1;HHJSJDA:=(3*CLOSE+OPEN+LOW+HIGH)/6;HHJSJDB:(20*HHJSJDA+19*REF(HHJSJDA,1)+18*REF(HHJSJDA,2)+17*REF(HHJSJDA,3) +16*REF(HHJSJDA,4)+15*REF(HHJSJDA,5)+14*REF(HHJSJDA,6)+13*REF(HHJSJDA,7)+12*REF(HHJSJDA,8)+11*REF(HHJSJDA,9)+10*REF(HHJSJDA,10) +9*REF(HHJSJDA,11)+8*REF(HHJSJDA,12)+7*REF(HHJSJDA,13)+6*REF(HHJSJDA,14)+5*REF(HHJSJDA,15)+4*REF(HHJSJDA,16)+ 3*REF(HHJSJDA,17)+2*REF(HHJSJDA,18)+REF(HHJSJDA,20))/210,COLORYELLOW;HHJSJDC:MA(HHJSJDB,5),COLORRED;MA5:=MA(C,7),COLORWHITE;MA20:=MA(C,20),COLORFF00FF;MA90:MA(C,90),COLORFFCC66;Y1:=BARSLAST(CROSS(MA5,MA20)) AND MA5>MA20;Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));Y3:=Y2 AND CROSS(MA20,MA90);DRAWICON(Y3,L-0.10,1);DRAWTEXT(Y3,L-0.40,'双跨越'),COLORMAGENTA;F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));F1:=F0 AND BARSLAST(CROSS(MA(C,20),MA(C,90)));F2:=F1 AND CROSS(MA(C,5),MA(C,20)) AND MA(C,20)>MA(C,90);DRAWICON(F2,L-0.10,1);DRAWTEXT(F2,L-0.40,'双蹄奋起');MA51:=MA(C,5);MA10:=MA(C,10);MA201:=MA(C,20);MA30:=MA(C,30);MA60:=MA(C,60);MA120:=MA(C,120);FA:=BARSLAST(CROSS(MA10,MA51)) AND CROSS(MA51,MA10);FB:=FA AND MA51>MA30 AND MA10>MA30 AND MA10>REF(MA10,1);STICKLINE(FB,L,L-0.09,1,0),COLORYELLOW;DRAWTEXT(FB,L-0.13,'雄起'),COLORYELLOWIF(GL50<=REF(GL50,1),GL50,DRAWNULL),COLORBB0000;IF(GL20<=REF(GL20,1),GL20,DRAWNULL),COLORFFF000;*/N:=30;M1:=3;M2:=3;P:=3;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,68);VAR6:=HHV(VAR4,68);VAR7:=IF(MA(CLOSE,60),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/100*VAR7;VAR9:=IF(VAR8>100,100,VAR8);VAR10:=REF(HIGH,1);VAR11:=SMA(ABS(LOW-VAR10),3,1)/SMA(MIN(LOW-VAR10,0),3,1)*100; VAR12:=EMA(IF(CLOSE*1.3,VAR11/10,VAR11*10),3);VAR13:=HHV(HIGH,68);VAR14:=LLV(VAR12,68);VAR15:=IF(MA(CLOSE,60),100,0);VAR16:=EMA(IF(HIGH>=VAR13,(VAR12+VAR14*2)/2,0.01),3)/10*VAR15; VAR17:=IF(VAR16<-100,-100,VAR16);STICKLINE(VAR9>0,-VAR9,0,1,0),COLOR00FF00;STICKLINE(VAR17<0,0,-VAR17,1,0),COLOR00FF00;。
文华财经指标公式 混沌理论指标 精准买卖点指标 黄金白银原油
Y:=(HIGH+LOW)/2;AO:=MA(Y ,5 )-MA(Y ,34 );AO1:=REF(AO,1);AC:=AO-MA( AO,5);AC1:=REF(AC,1);E:REF(SMA(Y,13,1),8);CHI:REF(SMA(Y,8,1),5),COLORRED;CHUN:REF(SMA(Y,5,1),3),COLORYELLOW;STICKLINE(AO1>AO && AC1>AC && CLOSE<OPEN ,OPEN ,CLOSE ,COLORYELLOW ,0 );DRAWLINE(AO1>AO && AC1>AC && CLOSE<OPEN ,HIGH ,AO1>AO && AC1>AC && CLOSE<OPEN ,LOW ,COLORYELLOW);STICKLINE(AO1>AO && AC1>AC && CLOSE=OPEN ,OPEN ,CLOSE ,COLORYELLOW ,0 );DRAWLINE(AO1>AO && AC1>AC && CLOSE=OPEN ,HIGH ,AO1>AO && AC1>AC && CLOSE=OPEN ,LOW ,COLORYELLOW);STICKLINE(AO1>AO && AC1>AC && CLOSE>OPEN ,OPEN ,CLOSE ,COLORYELLOW ,1);DRAWLINE(AO1>AO && AC1>AC && CLOSE>OPEN,HIGH ,AO1>AO && AC1>AC && CLOSE>OPEN,CLOSE,COLORYELLOW );DRAWLINE(AO1>AO && AC1>AC && CLOSE>OPEN,LOW ,AO1>AO && AC1>AC && CLOSE>OPEN,OPEN ,COLORYELLOW );STICKLINE(AO1<AO && AC1<AC && CLOSE<OPEN,OPEN ,CLOSE ,COLORRED ,0 ); DRAWLINE(AO1<AO && AC1<AC && CLOSE<OPEN,HIGH,AO1<AO && AC1<AC && CLOSE<OPEN,LOW ,COLORRED );STICKLINE(AO1<AO && AC1<AC && CLOSE=OPEN ,OPEN ,CLOSE ,COLORRED ,0 ); DRAWLINE(AO1<AO && AC1<AC && CLOSE=OPEN ,HIGH ,AO1<AO && AC1<AC && CLOSE=OPEN,LOW ,COLORRED);STICKLINE(AO1<AO && AC1<AC && CLOSE>OPEN,OPEN ,CLOSE ,COLORRED,1); DRAWLINE(AO1<AO && AC1<AC && CLOSE>OPEN,HIGH ,AO1<AO && AC1<AC && CLOSE>OPEN,CLOSE,COLORRED);DRAWLINE(AO1<AO && AC1<AC && CLOSE>OPEN,LOW ,AO1<AO && AC1<AC && CLOSE>OPEN,OPEN ,COLORRED);STICKLINE(AO1>AO && AC1<AC && CLOSE<OPEN ,OPEN ,CLOSE ,COLORCY AN ,0 ); DRAWLINE(AO1>AO && AC1<AC && CLOSE<OPEN,HIGH ,AO1>AO && AC1<AC && CLOSE<OPEN,LOW ,COLORCYAN );STICKLINE(AO1>AO && AC1<AC && CLOSE=OPEN,OPEN ,CLOSE ,COLORCY AN ,0 ); DRAWLINE(AO1>AO && AC1<AC && CLOSE=OPEN,HIGH ,AO1>AO && AC1>AC && CLOSE=OPEN,LOW ,COLORCYAN );STICKLINE(AO1>AO && AC1<AC && CLOSE>OPEN,OPEN ,CLOSE ,COLORCY AN ,1 ); DRAWLINE(AO1>AO && AC1<AC && CLOSE>OPEN ,HIGH ,AO1>AO && AC1<AC && CLOSE>OPEN,CLOSE ,COLORCY AN );DRAWLINE(AO1>AO && AC1<AC && CLOSE>OPEN,LOW ,AO1>AO && AC1<AC && CLOSE>OPEN,OPEN ,COLORCYAN );STICKLINE(AO1<AO && AC1>AC && CLOSE<OPEN,OPEN ,CLOSE ,COLORCY AN ,0 ); DRAWLINE(AO1<AO && AC1>AC && CLOSE<OPEN,HIGH ,AO1<AO && AC1>AC && CLOSE<OPEN,LOW ,COLORCYAN );STICKLINE(AO1<AO && AC1>AC && CLOSE=OPEN,OPEN ,CLOSE ,COLORCY AN ,0 ); DRAWLINE(AO1<AO && AC1>AC && CLOSE=OPEN,HIGH,AO1<AO && AC1>AC && CLOSE=OPEN,LOW ,COLORCYAN );STICKLINE(AO1<AO && AC1>AC && CLOSE>OPEN,OPEN ,CLOSE ,COLORCYAN ,1 ); DRAWLINE(AO1<AO && AC1>AC && CLOSE>OPEN,HIGH ,AO1<AO && AC1>AC && CLOSE>OPEN,CLOSE ,COLORCY AN );DRAWLINE(AO1<AO && AC1>AC && CLOSE>OPEN,LOW ,AO1<AO && AC1>AC && CLOSE>OPEN,OPEN ,COLORCYAN );。
文华财经指标公式集1[转]待续
文华财经指标公式集1[转]待续[1]K线倒置源码:STICKLINE(-CLOSE>-OPEN,-CLOSE,-OPEN,COLORRED,1);DRAWLINE(-CLOSE>-OPEN,-HIGH,-CLOSE>-OPEN,-MAX(CLOSE,OPEN),COLORRED);DRAWLINE(-CLOSE>-OPEN,-MIN(CLOSE,OPEN),-CLOSE>-OPEN,-LOW,COLORRED);STICKLINE(-CLOSE=-OPEN,-CLOSE,-OPEN,COLORWHITE,0);DRAWLINE(-CLOSE=-OPEN,-HIGH,-CLOSE=-OPEN,-LOW,COLORWHITE);STICKLINE(-CLOSE<-OPEN,-CLOSE,-OPEN,COLORCYAN,0);DRAWLINE(-CLOSE<-OPEN,-HIGH,-CLOSE<-OPEN,-MAX(CLOSE,OPEN),COLORCYAN);DRAWLINE(-CLOSE<-OPEN,-MIN(CLOSE,OPEN),-CLOSE<-OPEN,-LOW,COLORCYAN);MA20:MA(-CLOSE,20);图示:评价:如果你不知道什么时候卖出,那么如果你知道什么时候买入,用此办法就可以解决问题;[2]平均线波段源码:DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MA(CLOSE,5),COLORWHITE;MA(CLOSE,15),COLORYELLOW;STICKLINE(DIFF>DEA,CLOSE,OPEN,COLORRED,0);STICKLINE(DIFF>DEA,HIGH,LOW,COLORRED,0);STICKLINE(DIFF<=DEA,CLOSE,OPEN,COLORGREEN,0);STICKLINE(DIFF<=DEA,HIGH,LOW,COLORGREEN ,0);DRAWTEXT(CROSS(DIFF,DEA),LOW-0.2,''买入''),COLORWHITE;DRAWTEXT(CROSS(DEA,DIFF),HIGH+0.2,''卖出''),COLORGREEN;图示:评价:有趋势的行情,平均线最管用,没有趋势的行情,平均线最无用。
文华财经指标公式微盘交易获利就走公式指标软件多空买卖点波段
文华财经指标公式微盘交易获利就走公式指标软件多空买卖点波段以下是一些常见的文华财经指标公式及其使用方法:1.移动平均线(MA):MA=(C1+C2+...+Cn)/n其中,C1,C2,...,Cn为n个连续周期的收盘价。
移动平均线可以平滑价格数据,帮助分析师和交易者识别市场趋势。
2.相对强弱指标(RSI):RSI=100-(100/(1+RS)其中,RS为平均上涨幅度和平均下跌幅度之比。
RSI可以显示过买和过卖的区域,帮助分析师和交易者判断价格的超买和超卖情况。
3.随机指标(KD):K=((Ct-Ln)/(Hn-Ln))×100D=(K1+K2+...+Kn)/n其中,Ct为当日收盘价,Ln为n日内最低价,Hn为n日内最高价,K为未成熟随机值,D为平滑过后的K值。
随机指标可以显示市场的超买和超卖情况。
4. 动量指标(Momentum):Momentum=Ct/Ct-n其中,Ct为当日收盘价,Ct-n为n日前的收盘价。
动量指标可以衡量价格上涨或下跌的速度和幅度,帮助分析师和交易者捕捉市场的买卖信号。
5. 布林带(Bollinger Bands):上轨线=MA+2×标准差下轨线=MA-2×标准差其中,MA为移动平均线,标准差为价格的统计量。
布林带可以帮助分析师和交易者确定价格波动的上限和下限,判断价格的过高和过低情况。
以上只是文华财经指标公式中的一部分,实际上还有很多其他的指标公式可供选择。
交易者在使用这些指标公式时应注意,不要仅仅依赖于指标信号,还要结合其他市场分析方法和交易经验,制定合理的交易策略,降低投资风险。
另外,选择适合自己的交易软件也是必要的,可以帮助交易者更方便地使用指标公式进行分析和交易决策。
文华财经指标公式多空生命线指标精准买卖点黄金白银原油恒指
文华财经指标公式多空生命线指标精准买卖点黄金白银
原油恒指
多空生命线指标的计算公式如下:
1.计算多空比率(DP):
多空比率=(多方力量值/空方力量值)*100
2.计算多空生命线(DR):
如果多立场力量值>空立场力量值,则DR=100-100/(1+多空比率)
如果多立场力量值<空立场力量值,则DR=100/(1+(1/多空比率))
如果多立场力量值=空立场力量值,则DR=100
3.计算买卖点:
当多空生命线上穿50时,为买入信号
当多空生命线下穿50时
多空生命线指标主要是通过比较市场中多方力量和空方力量的大小来
判断市场走势。
当多方力量大于空方力量时,多空生命线指示市场上涨趋势;相反,当空方力量大于多方力量时,多空生命线指示市场下跌趋势。
买卖点的产生是通过多空生命线穿越50这一信号线来判断的,可以用来
指导投资者的买卖决策。
多空生命线指标适用于各种金融市场,如黄金、白银、原油和恒指等。
投资者可以根据该指标的信号来进行交易,但需要注意的是,技术指标只
是辅助决策工具,还需要结合其他因素进行综合分析,以降低风险。
总之,多空生命线指标是文华财经指标的一种,通过比较多方力量和空方力量的大小,并给出买卖点的建议,帮助投资者进行决策。
不过,投资者在使用技术指标时,还需要综合考虑其他因素,做出更准确的决策。
文华财经指标公式 战龙主图指标 精准买卖点 黄金白银原油恒指
HH1:=IFELSE(HIGH <REF(HIGH,2)&&REF(HIGH,1)<REF(HIGH,2),REF(HIGH,2),0);LL1:=IFELSE(LOW >REF(LOW,2)&&REF(LOW,1)>REF(LOW,2),REF(LOW,2),0);HH2:=V ALUEWHEN(HH1>0,HH1);LL2:=V ALUEWHEN(LL1>0,LL1);K1:=IFELSE(CLOSE>HH2,-3,IFELSE(CLOSE<LL2,1,0));K2:=V ALUEWHEN(K1<>0,K1);G:=IFELSE(K2=1,HH2,LL2);G1:=V ALUEWHEN(ISLASTBAR,G);DRAWNUMBER(L>0,G1,G1,0,COLORCYAN);W1:=K2;W2:=OPEN-CLOSE;HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);DRAWLINE(W1=1,HIGH,W1=1,HT,COLORCY AN);DRAWLINE(W1=1,LOW,W1=1,LT,COLORCY AN);DRAWLINE(W1=-3,HIGH,W1=-3,HT,COLORRED);DRAWLINE(W1=-3,LOW,W1=-3,LT,COLORRED);STICKLINE(W1>0,OPEN,CLOSE,COLORCYAN,1);STICKLINE(W1<=0,OPEN,CLOSE,COLORRED,1);STICKLINE(W2>0&&W1<=0,OPEN,CLOSE,COLORRED,0);STICKLINE(W2>0&&W1>0,OPEN,CLOSE,COLORCY AN,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),COLORYELLO W);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 <REF(LOW,1)&& LOW <REF(LOW,2)&& LOW <REF(LOW,3)&&L<REF(LOW,4), HIGH -(HIGH- LOW)*0.333, HIGH);LL:=IFELSE (HIGH>REF(HIGH,1)&& HIGH>REF(HIGH,2)&& HIGH >REF(HIGH,3)&& HIGH >REF(HIGH,4)&& LOW <REF(LOW,1)&&L<REF(LOW,2)&& LOW <REF(LOW,3)&&L<REF(LOW,4),( HIGH - LOW)*0.333+ 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 <REFX(LOW,1)&& LOW <REFX(LOW,2)&& LOW <REFX(LOW,3)&& LOW <REFX(LOW,4),LL,0);H2:=BARSLAST(H1);L2:=BARSLAST(L1);H3:=REFX(REF(H1,H2),2);L3:=REFX(REF(L1,L2),2);H4:=ZIGZAG(H3,0,0);L4:=ZIGZAG(L3,0,0);H5:=V ALUEWHEN(H4<REF(H4,1)&&REF(H4,1)>REF(H4,2),HH);L5:=V ALUEWHEN(L4>REF(L4,1)&&REF(L4,1)<REF(L4,2),LL);POL YLINE(H5>0,H5,COLORWHITE);POL YLINE(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:=V ALUEWHEN(ISLASTBAR,H5);E:=V ALUEWHEN(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,'▼');。
文华财经指标公式波段最准确的指标最准的实战指标顶底之王指标公式源码
文华财经指标公式波段最准确的指标最准的实战指标顶
底之王指标公式源码
一、KDJ指标
KDJ指标快速向下的时候,一般为股价接近底部的迹象,K下穿D或者J下穿K,应当注意把握好买点;而KDJ指标快速向上的时候,为股价接近顶部的迹象,K上穿D或者J上穿K,也应当注意把握好卖出机会。
KDJ的取值范围为0-100,默认情况下,K值大于80时,股价易于达到超买状态,K值小于20时,股价易于达到超卖状态;通常情况下,当K值低于D值时,股价反转可能性较大,当K线穿越D线时,可能会有较大反转走势,反之当K线与D线交叉时,前期走势继续发展的可能性较大。
KDJ指标的公式如下:
RSV=(C-L9)÷(H9-L9)×100
K=2÷3×前一日K值+1÷3×RSV
D=2÷3×前一日D值+1÷3×K
J=3×K-2×D
其中,9指的是一个计算周期,每次计算时都会使用这九个期间的K 值、D值和RSV值,而计算后K值、D值和J值也都是这九个期间的平均值而已。
二、RSI指标
RSI指标是相对强弱指标(Relative Strength Index),简称RSI,是通过比较一段时间内的平均收盘涨数和平均收盘跌数来分析市场买沽盘
的意愿和实力,从而作出未来市场的走势,RSI指标是一种量化的技术分析工具。