DPZX:=EMA(C,1),NODRAW;
AMOUNT:=AVPRICE*V;
GGZX:=AMOUNT/V/100;
CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1;
重心:=IF(C<300,GGZX,DPZX),NODRAW;
今重心:LLV(重心,2),COLORGREEN,NODRAW;
ZC1:=REFX1(LLV(重心,2),10000);
ZC2:=REFX1(LLV(重心,4),10000);
VAR1:=(C+H+O+L)/4;
卖出:=REFX1(MA(VAR1,20),20/2)*(1+80/1000),POINTDOT,COLORGREEN,LINETHICK3;
买入:=REFX1(MA(VAR1,32),32/2)*(1-100/1000),POINTDOT,COLORMAGENTA,LINETHICK3;
FILLRGN(SMA(C,,1)>=SMA(C,,1),SMA(C,,1),SMA(C,,1),RGB(255,97,0));
FILLRGN(SMA(C,,1)<SMA(C,,1),SMA(C,,1),SMA(C,,1),RGB(0,128,0));
MA5:=MA(C,5),COLOR000099;
MA10:=MA(C,10),COLOR006600;
MA20:=MA(C,20),COLOR005555;
ZB1:=EMA(C,34);
长期趋势:EMA(ZB1,13),COLORRED,LINETHICK3;
SQX:=(C-MA(CLOSE,13))*100;
DIFF:=EMA(MA(SQX,7),1),COLORWHITE;
DEA:=EMA(DIFF,7),COLORYELLOW;
MACD:=(DIFF-DEA)*2,COLORSTICK;
VAR10B:=IF(TROUGHBARS(C,16,1,1)=0 AND HIGH>LOW+,4,0);
VAR11B:=ZIGZAG(C,6,1)>REF(ZIGZAG(C,6,1),1) AND REF(ZIGZAG(C,6,1),1)<=REF(ZIGZAG(C,6,1),2) AND REF(ZIGZAG(C,6,1),2)<=REF(ZIGZAG(C,6,1),3);
VAR12B:=ZIGZAG(C,6,1)<REF(ZIGZAG(C,6,1),1) AND REF(ZIGZAG(C,6,1),1)>=REF(ZIGZAG(C,6,1),2) AND REF(ZIGZAG(C,6,1),2)>=REF(ZIGZAG(C,6,1),3);
VAR13B:=ZIGZAG(C,22,1)>REF(ZIGZAG(C,22,1),1) AND REF(ZIGZAG(C,22,1),1)<=REF(ZIGZAG(C,22,1),2) AND REF(ZIGZAG(C,22,1),2)<=REF(ZIGZAG(C,22,1),3);
VAR14B:=ZIGZAG(C,22,1)<REF(ZIGZAG(C,22,1),1) AND REF(ZIGZAG(C,22,1),1)>=REF(ZIGZAG(
期货软件指标文华财经指标公式源码期货指标cci指标使用技巧 来自淘豆网m.daumloan.com转载请标明出处.