/*
AA:=CROSSDOWN(DIFF,DEA)&&TMP1;
BB:=CROSS(DIFF,DEA)&&TMP2;
PP:SUMBARS(AA,3),NODRAW;
VAR2222:=CROSS(VAR1111,);
VAR3333:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR4444:=CROSS(VAR3333,);
A:=BACKSET(ISLASTBAR,SUMBARS(VAR2222,N)),NODRAW;
B:=BACKSET(ISLASTBAR,SUMBARS(VAR4444,N)),NODRAW;
压力:REF(HIGH,BARSLAST(VAR2222)),NODRAW;
STICKLINE(A&&BARSLASTCOUNT(压力=REF(压力,1))<3,REF(HIGH,BARSLAST(VAR2222)),REF(HIGH,BARSLAST(VAR2222)),,2),COLOREA91B5,LINETHICK5;
支撑:REF(LOW,BARSLAST(VAR4444)),NODRAW;
STICKLINE(B&&BARSLASTCOUNT(支撑=REF(支撑,1))<3,REF(LOW,BARSLAST(VAR4444)),REF(LOW,BARSLAST(VAR4444)),,2),COLOR00B4FF,LINETHICK5;
DRAWNUMBER(VAR2222&&A,H,H,2,COLOREA91B5),ALIGN0;
DRAWNUMBER(VAR4444&&B,L,L,2,COLOR00B4FF),ALIGN0;
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
多止盈:=(REFX1(MA(HH,25),25/2)-REFX1(MA(LL,25),25/2))*1+REFX1(MA(HH,25),25/2),NODRAW,COLORWHITE,PRECIS0;
空止损:=(REFX1(MA(HH,25),25/2)-REFX1(MA(LL,25),25/2))*+REFX(MA(HH,25),25/2),NODRAW,COLORBLUE,PRECIS0;
空止盈:=REFX1(MA(LL,25),25/2)-(REFX1(MA(HH,25),25/2)-REFX1(MA(LL,25),25/2))*1,NODRAW,COLORCYAN,PRECIS0;
短高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,RGB(0,128,255),LINETHICK1,PRECIS0
期货指标公式文华财经期货指标趋势线指标 来自淘豆网m.daumloan.com转载请标明出处.