A:=(3*C+H+L+O)/6;XJ:=(A+*REF(A,1)+*REF(A,2)+*REF(A,3)+*REF(A,4))/;YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A,2),32))/4;YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),32))/4;SMH:EMA(YCZXH,21),COLOR004000,HICK2;SML:EMA(YCZXL,21),COLOR004000,HICK2;SMJ:(SML+SMH)/2,COLOR004000,HICK2;PJ:=(10*A+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,9))/55;A1:=EMA(PJ,3),COLOR004000;A2:=EMA(PJ,5),COLOR004000;A3:=EMA(PJ,7),COLOR004000;A4:=EMA(PJ,9),COLOR004000;A5:=EMA(PJ,11),COLOR004000;LX:=REF(XJ,1);ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;KX1:=(CLOSE>=OPEN)ANDZD>=50;KX2:=(CLOSE<OPEN)ANDZD>=50;KX3:=(CLOSE>=OPEN)ANDZD<50;KX4:=(CLOSE<OPEN)ANDZD<50;IF(A5<REF(A5,1),A5,NULL),COLOR820000,HICK2;IF(A5>REF(A5,1),A5,NULL),COLOR00005B,HICK2;IF(A4<REF(A4,1),A4,NULL),COLOR8C0000,HICK1;IF(A4>REF(A4,1),A4,NULL),COLOR000055,HICK1;IF(A3<REF(A3,1),A3,NULL),COLOR9B0000,HICK1;IF(A3>REF(A3,1),A3,NULL),COLOR00006C,HICK1;IF(A2<REF(A2,1),A2,NULL),COLORBB0000,HICK1;IF(A2>REF(A2,1),A2,NULL),COLOR00007D,HICK1;IF(A1<REF(A1,1),A1,NULL),0000,HICK1;IF(A1>REF(A1,1),A1,NULL),COLOR00009B,HICK1;AAA2:=SUM(IF(CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF(CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF(CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=VOL*CLOSE/1
文华期货软件指标公式源码期货波段多空点指标 来自淘豆网m.daumloan.com转载请标明出处.