笔周期:=10;半分位:=50;画趋势:=1;涨停位:=50;时间:=1;日线:=IF(PERIOD=5,1,0);CA3:=REF(C,1)*日线;CURRBARSCOUNT:=REFX1(BARPOS,10000)-BARPOS+1;涨停:=C/CA3>;A1:=REF(H,3)=HHV(H,笔周期*3+1)*1;B1:=FILTER(A1,3);C1:=BACKSET(B1,3+1);D1:=FILTER(C1,3);{高点}A2:=REF(L,3)=LLV(L,笔周期*3+1)*1;B2:=FILTER(A2,3);C2:=BACKSET(B2,3+1);D2:=FILTER(C2,3);{低点}E1:=(REF(LLV(L,2*3),1)+REF(HHV(H,2*3),1))/2;E2:=(H+L)/2;H1:=(D1ANDNOT(D2ANDE1>=E2))ORBARSTATUS=2ORBARSCOUNT(C)=1;H2:=D1ANDNOT(D2ANDE1>=E2);L1:=D2ANDNOT(D1ANDE1=E2);X1:=REF(BARSLAST(H1),1)+1;F1:=BACKSET(H1ANDCOUNT(L1,X1)>0,LLVBARS(IF(L1,L,100000),X1)+1);G1:=F1>REF(F1,1);I1:=BACKSET(G1,1);LD:=I1>REF(I1,1);L2:=LDORBARSTATUS=2ORBARSCOUNT(C)=1;X2:=REF(BARSLAST(L2),1)+1;F2:=BACKSET(L2ANDCOUNT(H2,X2)>0,HHVBARS(IF(H2,H,0),X2)+1);G2:=F2>REF(F2,1);I2:=BACKSET(G2,1);HD:=I2>REF(I2,1);DRAWLINE3(LD,REF(H,BARSLAST(HD)),BARSLAST(HD),HD,REF(L,BARSLAST(LD)),BARSLAST(LD),0),REEN,HICK3;DRAWLINE3(HD,REF(L,BARSLAST(LD)),BARSLAST(LD),LD,REF(H,BARSLAST(HD)),BARSLAST(HD),0),COLORRED,HICK3;J1:=BACKSET(ISLASTBAR,MIN(BARSLAST(HD),BARSLAST(LD))+1);J2:=J1>REF(J1,1);A3:=H;B3:=REF(H,REF(BARSLAST(HD),1)+1)>REF(H,REF(BARSLAST(HD),1)+2+REF(BARSLAST(HD),REF(BARSLAST(HD),1)+2));D3:=A3ANDB3ANDHD;E3:=BACKSET(D3,REF(BARSLAST(HD),1)+2);HH:=E3>REF(E3,1);A4:=L>REF(L,REF(BARSLAST(LD),1)+1);B4:=REF(L,REF(BARSLAST(LD),1)+1);D4:=A4ANDB4ANDLD;E4:=BACKSET(D4,REF(BARSLAST(LD),1)+2);LL:=E4>REF(E4,1);H3:=HHORBARSTATUS=2ORBAR
期货指标公式文华财经期货指标精准多空画线指标 来自淘豆网m.daumloan.com转载请标明出处.