TY:=CLOSE;HD:=FILTER(BACKSET(FILTER(REF(TY,10)=HHV(TY,2*10+1),10),10+1),10);LD:=FILTER(BACKSET(FILTER(REF(TY,10)=LLV(TY,2*10+1),10),10+1),10);A:=REF(CLOSE,BARSLAST(HD));B:=REF(CLOSE,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD)ANDNOT(HD);T2:=BARSLAST(HD)>BARSLAST(LD)ANDNOT(LD);波浪顶:IF(T1,A,A),COLORFF00FF,POINTDOT,HICK1;STICKLINE(T1,A,A,9,0),COLORFF00FF;波浪底:IF(T2,B,B),COLOR80FF00,POINTDOT,HICK1;//DRAWKLINEEX(ISUP&&V/2>MA(V,30),H,O,L,C),COLORRED;STICKLINE(ISUP&&V/2>MA(V,30),O,C,10,0),COLORRED;DRAWCOLORKLINE(ISDOWN&&V/2>MA(V,30),REEN,0);//DRAWKLINEEX(ISUP&&V/4>MA(V,30),H,O,L,C),COLORMAGENTA;STICKLINE(ISUP&&V/4>MA(V,30),O,C,10,0),COLORMAGENTA;DRAWCOLORKLINE(ISDOWN&&V/4>MA(V,30),COLOR008000,0);NN:=BARSLAST(DATE<>REF(DATE,1))+1;//分钟周期,当日K线数。NN2:=BARSLAST(DATE<>REF(DATE,1))+2;HH1:=REF(HHV(H,NN),NN),NODRAW;LL1:=REF(LLV(L,NN),NN),
文华财经期货软件指标公式源码期货多空趋势指标准确率最高的期货指标 来自淘豆网m.daumloan.com转载请标明出处.