MA5:=MA(C,5);
a:=(3*C+L+O+H)/6;
垂帘:(20*a+19*REF(a,1)+18*REF(a,2)+17*REF(a,3)+16*REF(a,4)+15*REF(a,5)
+14*REF(a,6)+13*REF(a,7)+12*REF(a,8)+11*REF(a,9)+10*REF(a,10)
+9*REF(a,11)+8*REF(a,12)+7*REF(a,13)+6*REF(a,14)+5*REF(a,15)
+4*REF(a,16)+3*REF(a,17)+2*REF(a,18)+REF(a,20))/210,colorred,POINTDOT;
听股:MA(垂帘,13),colorffcccc,CIRCLEDOT;
zar1:=SLOPE(EMA(CLOSE,2),5)*15+C;
zar2:=EMA(zar1,5);
zarA:=EMA(EMA(EMA(EMA(EMA(EMA(EMA(EMA(zar2,5),5),5),5),5),5),5),5);
zarB:=BARSLAST(CROSS(CLOSE,zarA));
zarC:=BARSLAST(CROSS(zarA,CLOSE));
STICKLINE(CLOSE zarA,REF(CLOSE,zarC),REF(CLOSE,zarC),12,0),linethick2,colorFFCCCC;
上涨:IF(CLOSE zarA AND CLOSE REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB)),COLORFFC8FF,POINTDOT;
STICKLINE(CLOSE zarA AND CLOSE REF(CLOSE,zarB),REF(CLOSE,zarB),垂帘,1,0),colorFFC8FF;
STICKLINE(CLOSE zarA AND CLOSE REF(CLOSE,zarB),REF(CLOSE,zarB),REF(CLOSE,zarB),12,0),COLORFFC8FF,LINETHICK2;
止盈止损:IF(CLOSE zarA AND CLOSE REF(CLOSE,zarC),REF(CLOSE,zarC),REF(CLOSE,zarC)),COLOR00FF00,POINTDOT;
STICKLINE(CLOSE zarA AND CLOSE REF(CLOSE,zarC),REF(CLOSE,zarC),垂帘,1,0),COLOR00FF00;
VAR41:= EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
VAR42:=EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3);
VAR4A:=REF(VAR41,1) 92 AND VAR41
DRAWTEXT(VAR4A,H+0.12,'短卖'),COLOR00FF00;
DRAWTEXT(VAR4A,H+0.05,'●'),COLOR00FF00;
STICKLINE(C =O,H,L,0,0),colorred;
STICKLINE(C O,H,L,0,0),colorFFFF52;
STICKLINE(C =O,C,O,4,1),colorred;
STICKLINE(C O,C,O,4,0),colorFFFF52;
MA13:MA(C,13),colorwhite,LINETHICK2;
MA55:MA(C,55),COLORFF00FF;
MA125:MA(C,125),COLORFFCC66;
MA250:MA(C,250),colorblue;
STICKLINE(CROSS(ma5,听股) AND ma5 听股 AND C O,ma13,ma13-0.09,4,0),coloryellow;
DRAWTEXT(CROSS(ma5,听股) AND ma5 听股 AND C O,ma13-0.12,'垂帘听股'),coloryellow;