TYP:=(CLOSE+HIGH+LOW)/3;
CCI:=(TYP-MA(TYP,14))/(*AVEDEV(TYP,14));
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;
AADATE:=DATE<331230;
SJMY:=331230;
XSJMY:=IFELSE(DATE<SJMY,1,NULL);
ZK1:=(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1+REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)*XSJMY,LINETHICK1,COLORBLUE;
ZD1:=REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1,LINETHICK1,COLORRED;
ZD2:=EMA(ZD1,25)*XSJMY,LINETHICK1;
压力位:IF(AADATE,(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1+REFX1(MA(REFX1(MA(H,25),25/2),25),25/2),NULL)*XSJMY,LINETHICK2,RGB(300,50,10);
中:IF(AADATE,REFX1(MA(REFX1(MA(L,25),25/2),25),25/2)-(REFX1(MA(REFX1(MA(H,25),25/2),25),25/2)-REFX1(MA(REFX1(MA(L,25),25/2),25),25/2))*1,NULL)*XSJMY,LINETHICK1,RGB(0,128,0);
下:IF(AADATE,EMA(ZD1,25),NULL)*XSJMY,LINETHICK1,RGB(128,0,255);
KQGD:=下<中 && L<中;
FILLRGN(ZD1>ZD
文华财经指标公式源码WH6指标公式期货软件指标期货波段指标 来自淘豆网m.daumloan.com转载请标明出处.