请高手把文华指标改成通达信指标? 10
请高手把文华指标改成通达信指标,谢谢了!AZ:=(3*C+L+O+H)/6;BZ:(20*AZ+19*REF(AZ,1)+18*REF(AZ,2)+17*REF(AZ,3...
请高手把文华指标改成通达信指标,谢谢了!
AZ:=(3*C+L+O+H)/6;
BZ:(20*AZ+19*REF(AZ,1)+18*REF
(AZ,2)+17*REF(AZ,3)+16*REF
(AZ,4)+15*REF(AZ,5)+14*REF(AZ,6)
+13*REF(AZ,7)+12*REF(AZ,8)+11*REF
(AZ,9)+10*REF(AZ,10)+9*REF
(AZ,1)+8*REF(AZ,2)
+7*REF(AZ,3)+6*REF(AZ,4)+5*REF
(AZ,5)+4*REF(AZ,6)+3*REF
(AZ,7)+2*REF(AZ,8)+
REF
(AZ,2))/210,COLOR00FF0F,LINETHICK2
;
PARTLINE1(BZ>REF
(BZ,1),BZ),COLOR0000FF,LINETHICK2;
DZ:=MA
(BZ,5),COLORFFFFFF,LINETHICK1;
//VAR2:=1;
VAR3:=EMA(100*(CLOSE-LLV
(LOW,100))/(HHV(HIGH,100)-LLV
(LOW,100)),18)/4;
VAR4:=IF(1,IF
(VAR3>23.16,VAR3,0),0);
VAR5:=VAR3<10;
VAR6:=VAR3<2;
VAR7:=VAR5 OR VAR6;
LLQ:=LLV(LOW,1)/5+LLV
(LOW,2)/5+LLV(LOW,2)/5+LLV
(LOW,5)/5+LLV(LOW,8)/5;
H1Q:= IFELSE(H<REF(H,2)&&REF(H,1)
<REF(H,2),REF(H,2),0);
L1Q:= IFELSE(L>REF(L,2)&&REF(L,1)
>REF(L,2),REF(L,2),0);
H2Q:=VALUEWHEN(H1Q>0,H1Q);
L2:=VALUEWHEN(L1Q>0,L1Q);
K1:=IFELSE(CLOSE>H2Q,-3,IFELSE
(CLOSE<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
GG:=IFELSE(K2=1,H2Q,L2);
GG1:=VALUEWHEN(ISLASTBAR,GG);
TMP1:=K2;
W1:=K2;
W2:=OPEN-CLOSE;
HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);
TY:=C;
A:=(3*C+L+O+H)/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,1)+8*REF(A,2)
+7*REF(A,3)+6*REF(A,4)+5*REF
(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF
(A,8)+REF
(A,2))/210,COLORGREEN,LINETHICK3;
PARTLINE1(B>REF(B,1),B),COLORRED,LINETHICK3; 展开
AZ:=(3*C+L+O+H)/6;
BZ:(20*AZ+19*REF(AZ,1)+18*REF
(AZ,2)+17*REF(AZ,3)+16*REF
(AZ,4)+15*REF(AZ,5)+14*REF(AZ,6)
+13*REF(AZ,7)+12*REF(AZ,8)+11*REF
(AZ,9)+10*REF(AZ,10)+9*REF
(AZ,1)+8*REF(AZ,2)
+7*REF(AZ,3)+6*REF(AZ,4)+5*REF
(AZ,5)+4*REF(AZ,6)+3*REF
(AZ,7)+2*REF(AZ,8)+
REF
(AZ,2))/210,COLOR00FF0F,LINETHICK2
;
PARTLINE1(BZ>REF
(BZ,1),BZ),COLOR0000FF,LINETHICK2;
DZ:=MA
(BZ,5),COLORFFFFFF,LINETHICK1;
//VAR2:=1;
VAR3:=EMA(100*(CLOSE-LLV
(LOW,100))/(HHV(HIGH,100)-LLV
(LOW,100)),18)/4;
VAR4:=IF(1,IF
(VAR3>23.16,VAR3,0),0);
VAR5:=VAR3<10;
VAR6:=VAR3<2;
VAR7:=VAR5 OR VAR6;
LLQ:=LLV(LOW,1)/5+LLV
(LOW,2)/5+LLV(LOW,2)/5+LLV
(LOW,5)/5+LLV(LOW,8)/5;
H1Q:= IFELSE(H<REF(H,2)&&REF(H,1)
<REF(H,2),REF(H,2),0);
L1Q:= IFELSE(L>REF(L,2)&&REF(L,1)
>REF(L,2),REF(L,2),0);
H2Q:=VALUEWHEN(H1Q>0,H1Q);
L2:=VALUEWHEN(L1Q>0,L1Q);
K1:=IFELSE(CLOSE>H2Q,-3,IFELSE
(CLOSE<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
GG:=IFELSE(K2=1,H2Q,L2);
GG1:=VALUEWHEN(ISLASTBAR,GG);
TMP1:=K2;
W1:=K2;
W2:=OPEN-CLOSE;
HT:=IFELSE(OPEN>CLOSE,OPEN,CLOSE);
LT:=IFELSE(OPEN<CLOSE,OPEN,CLOSE);
TY:=C;
A:=(3*C+L+O+H)/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,1)+8*REF(A,2)
+7*REF(A,3)+6*REF(A,4)+5*REF
(A,5)+4*REF(A,6)+3*REF(A,7)+2*REF
(A,8)+REF
(A,2))/210,COLORGREEN,LINETHICK3;
PARTLINE1(B>REF(B,1),B),COLORRED,LINETHICK3; 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询