CURRBARSCOUNT:=DATACOUNT-BARPOS+1;MA7:MA(C,7),COLORWHITE;MA14:MA(C,14),COLORYELLOW;MA25:MA(C,25),COLORFF00FF;MA120:MA(C,120),66;QA:=REF(H,10)=HHV(H,2*10+1);QB:=BACKSET(QA,10+1);QC:=FILTER(QB,10)ANDH=HHV(H,10+1);QD:=BARSLAST(QC);QE:=IF(QC,CURRBARSCOUNT,0);QF:=IF(QD,REF(QE,QD),QE);QG:=REFX1(QF,10000);QH:=REF(QF,QD+1);QW:=REFX1(QH,10000);DRAWLINE1(CURRBARSCOUNT=QW,H,CURRBARSCOUNT=QG,H,1),REEN;DRAWLINE1(CURRBARSCOUNT=QW,H,ISLASTBAR,REF(H,QW-1),1),COLOR0099FF,POINTDOT;DRAWLINE1(CURRBARSCOUNT=QG,H,ISLASTBAR,REF(H,QG-1),1),COLOR0099FF,POINTDOT;QM:=4;QR:=REF(H,QM)=HHV(H,2*QM+1);QT:=FILTER(QR,4);QY:=BACKSET(QT,QM+1);QU:=FILTER(QY,4);QI:=BACKSET(ISLASTBAR,BARSLAST(QU)+1);QP:=QI>REF(QI,1);AA:=BACKSET(QP,REF(BARSLAST(QU),1)+1+1);DRAWLINE1(CROSS(AA,),H,QP,H,1),COLORRED;/////QA1:=REF(L,8)=LLV(L,2*8+1);QB1:=BACKSET(QA1,8+1);QC1:=FILTER(QB1,8)ANDL=LLV(L,8+1);QD1:=BARSLAST(QC1);QE1:=IF(QC1,CURRBARSCOUNT,0);QF1:=IF(QD1,REF(L,QD1),L);QG1:=IF(QD1,REF(QE1,QD1),QE1);QH1:=REFX1(QG1,10000);QW1:=REF(QF1,QD1+1);QM1:=REF(QG1,QD1+1);QR1:=REFX1(QM1,10000);DRAWLINE1(CURRBARSCOUNT=QR1,L,CURRBARSCOUNT=QH1,L,1),COLORBLUE;DRAWLINE1(CURRBARSCOUNT=QH1,L,ISLASTBAR,REF(L,QH1-1)
文华期货指标公式趋势买卖指标公式 来自淘豆网m.daumloan.com转载请标明出处.