STICKLINE(8=8,H,L,4,1),COLOR000000;{隐藏K线[设置与背景色一样]}CURRRSCOUNT:=DATACOUNT-BARPOS+1;CURR:=CURRRSCOUNT;DRAWKLINE1(IF(CURR>3,REFX(H,3),NULL),IF(CURR>3,REFX(O,3),NULL),IF(CURR>3,REFX(L,3),NULL),IF(CURR>3,REFX(C,3),NULL));RM5:IF(CURR>3,REFX(MA(C,5),3),NULL),COLOR0000FF;RM10:IF(CURR>3,REFX(MA(C,10),3),NULL),COLOR00FFFF;RM20:IF(CURR>3,REFX(MA(C,20),3),NULL),COLORFF0000;ABSM5:=REFX1(IF(MA(C,5)-REF(MA(C,5),1)>0,ABS(MA(C,5)-REF(MA(C,5),1)),0-ABS(MA(C,5)-REF(MA(C,5),1))),10000);ABSM10:=REFX1(IF(MA(C,10)-REF(MA(C,10),1)>0,ABS(MA(C,10)-REF(MA(C,10),1)),0-ABS(MA(C,10)-REF(MA(C,10),1))),10000);ABSM20:=REFX1(IF(MA(C,20)-REF(MA(C,20),1)>0,ABS(MA(C,20)-REF(MA(C,20),1)),0-ABS(MA(C,20)-REF(MA(C,20),1))),10000);R2M5:=IF(CURR=3,REFX1(MA(C,5),10000)+ABSM5,NULL);R2M10:=IF(CURR=3,REFX1(MA(C,10),10000)+ABSM10,NULL);R2M20:=IF(CURR=3,REFX1(MA(C,20),10000)+ABSM20,NULL);R1M5:=IF(CURR=2,REFX1(MA(C,5),10000)+2*ABSM5,NULL);R1M10:=IF(CURR=2,REFX1(MA(C,10),10000)+2*ABSM10,NULL);R1M20:=IF(CURR=2,REFX1(MA(C,20),10000)+2*ABSM20,NULL);R0M10:=IF(ISLASTBAR,REFX1(MA(C,10),10000)+3*ABSM10,NULL);R0M20:=IF(ISLASTBAR,R
文华期货软件指标公式源码期货软件最准指标期货专用指标公式 来自淘豆网m.daumloan.com转载请标明出处.