OMA:MA(C,5),COLORWHITE,LINETHICK2;
IF(OMA REF(OMA,1),OMA,DRAWNULL),COLORRED,LINETHICK2;
IF(OMA REF(OMA,1),OMA,DRAWNULL),COLORGREEN,LINETHICK2;
E:=(HIGH+LOW+OPEN+2*CLOSE)/5;明日阻力:=2*E-LOW,NODRAW;
明日支撑:=2*E-HIGH;明日突破:=E+(HIGH-LOW);明日反转:=E-(HIGH-LOW);
今日阻力:=REF(明日阻力 , 1);今日支撑:=REF(明日支撑 , 1);
DRAWTEXT_FIX(ISLASTBAR,0.6,0.05,0, '【动态读盘(元)】'),COLOR767676;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.1,0,'明日阻力'),COLOR545454;
DRAWNUMBER_FIX(ISLASTBAR,0.7,0.1,0,明日阻力),COLOR545454;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.15,0,'明日支撑'),COLOR545454;
DRAWNUMBER_FIX(ISLASTBAR,0.7,0.15,0,明日支撑),COLOR545454;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.2,0,'明日突破'),COLOR545454;
DRAWNUMBER_FIX(ISLASTBAR,0.7,0.2,0,明日突破),COLOR545454;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.25,0,'明日反转'),COLOR545454;
DRAWNUMBER_FIX(ISLASTBAR,0.7,0.25,0,明日反转),COLOR545454;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.3,0,'今日阻力'),COLOR545454;
DRAWNUMBER_FIX(ISLASTBAR,0.7,0.3,0,今日阻力),COLOR545454;
DRAWTEXT_FIX(ISLASTBAR,0.6,0.35,0,'今日支撑'),COLOR545454;
DRAWNUMBER_FIX(ISLASTBAR,0.7,0.35,0,今日支撑),COLOR545454;
AAA:=CONST(HHV(C,90));
X:=(3*C+L+O+H)/6;
多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORMAGENTA,LINETHICK3,NODRAW;
PMA:=MA(C,4),COLORWHITE,LINETHICK2;
DDD:=多空线 REF(多空线,1);
IF(DDD,多空线,DRAWNULL),COLORYELLOW,LINETHICK2,NODRAW;A:=(PMA 多空线);
IF(A,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;
降:=HHV(EMA(C,3),8),COLORCYAN; 升:=LLV(EMA(C,3),8),COLORRED;走势:=EMA(C,3),COLORYELLOW;
线上多:IF(走势 降,降,DRAWNULL),COLOR9F9F5F,LINETHICK2;
线下空:IF(走势 升,升,DRAWNULL),COLOREEEE00,LINETHICK1;