短高H:=(20*H+19*REF(H,1)+18*REF(H,2)+17*REF(H,3)+16*REF(H,4)+15*REF(H,5)+14*REF(H,6)+13*REF(H,7)+12*REF(H,8)+11*REF(H,9)+10*REF(H,10)+9*REF(H,11)+8*REF(H,12)+7*REF(H,13)+6*REF(H,14)+5*REF(H,15)+4*REF(H,16)+3*REF(H,17)+2*REF(H,18)+REF(H,20))/210,COLORBLUE,HICK1;短低L:=(20*L+19*REF(L,1)+18*REF(L,2)+17*REF(L,3)+16*REF(L,4)+15*REF(L,5)+14*REF(L,6)+13*REF(L,7)+12*REF(L,8)+11*REF(L,9)+10*REF(L,10)+9*REF(L,11)+8*REF(L,12)+7*REF(L,13)+6*REF(L,14)+5*REF(L,15)+4*REF(L,16)+3*REF(L,17)+2*REF(L,18)+REF(L,20))/210,COLORBLUE,HICK1;D90H:=EMA(短高H,90),COLORYELLOW,HICK1;D90L:=EMA(短低L,90),COLORYELLOW,HICK1;D90差:=D90H-D90L;D90顶:=D90H+D90差*2,COLORYELLOW,HICK1;D90底:=D90L-D90差*2,COLORYELLOW,HICK1;//XMA(X,N)=REFX(MA(X,N),N/2);XH25:=REFX1(MA(H,25),25/2);XXH25:=REFX1(MA(XH25,25),25/2);XL25:=REFX1(MA(L,25),25/2);XXL25:=REFX1(MA(XL25,25),25/2);高0:=(XXH25-XXL25+XXH25),HICK1,COLORWHITE;低0:=XXL25*2-XXH25,HICK1,COLORWHITE;多头定位:=低0>=D90底AND高0>=D90顶;空头定位:=高0<=D90顶AND低0<=D90底;震荡定位:=低0>=D90底AND高0<=D90顶;XH60:=REFX1(MA(H,60),60/2);XXH60:=REFX1(MA(XH60,60),60/2);XL60:=REFX1(MA(L,60),60/2);XXL60:=REFX1(MA(XL60,60),60/2);波段顶0:=4*XXH60-3*XXL60,HICK2,COLORWHITE;波段底0:=4*XXL60-3*XXH60,HICK2,COLORWHITE;多止损:XXL25-(XXH25-XXL25)*,DOT,COLORWHITE;多止盈:(XXH25-XXL25)*1+XXH25,NODRAW,COLORWHITE;空止损:(XXH25-XXL25)*+XXH25,DOT,COLORYELLOW;空止盈:XXL25-(XXH25-XXL25)*,NODRAW,REEN;做空:(XXH25-XXL25)*1+XXH25,HICK1,REEN,DOT;做多:XXL25-(XXH25-XX
文华财经指标公式源码多空线指标使用技巧期货软件指标 来自淘豆网m.daumloan.com转载请标明出处.