{垂帘听股主图}
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<92;
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;
{这个指标的图形比较形象,当浅粉色帘低垂时正是阳光普照之时,反映在股票上就是一波阳多阴少开始上升的趋势,如果出现垂帘听股信号,这个时候买入再加上有浅粉色垂帘相映一定会心情不错吧!当绿色帘低垂时,预示着明媚的阳光即将被乌云遮盖,随之而来的阴雨绵绵,反映在股票上就是阴多阳少或者连续阴跌,这可不是踏青赏绿的时候,而是止盈止损保住钱袋子,这才是英明的选择,此时应该结束垂帘听股.
圆弧底或平底,只要股价由锅底外运行到锅底内,即股价由均线下方运行到均线上方,K线以小阴小阳最佳,(阳多阴少更佳),无量做锅底最好。若股价在13均线上方运行并且乖离13均线过大,此时介入要慎重。待回调到13日线处(未跌破13日线)可择机介入。13均线形成一个相对平坦的水平底,股价也是由平底外运行至平底内,以小阴小阳的方式最佳 (阳多阴少更佳),试探买入点是股价运行到平底内。一但股价跌破均线,应考虑出局。}