{家园买卖加箱}
箱顶:PEAK(CLOSE,10,1)*0.98,POINTDOT,COLORMAGENTA;
箱底:TROUGH(CLOSE,10,1)*1.02,COLORCYAN POINTDOT;
箱高:100*(箱顶-箱底)/箱底,NODRAW,COLORRED;
MA5:MA(C,5)COLORWHITE;
操盘线:MA(C,16),COLORYELLOW,LINETHICK2;
IF(操盘线 REF(操盘线,1),操盘线,DRAWNULL),COLORMAGENTA,LINETHICK2;
中期趋势:MA(CLOSE,60),COLORFF8000,LINETHICK2;
{整理:COUNT(CLOSE 0,0) N && (HHV(CLOSE,N)-LLV(CLOSE,N))/LLV(CLOSE,N) =(N1/100),NODRAW;}
A1:=HHV(H,10);
A2:=LLV(L,10);
A3:=(A1-A2)/A2*100 9 AND EXIST(CROSS(中期趋势,C),6) AND C REF(C,10);
A4:=FILTER(A3,5);
A5:=COUNT(A4,80) =3 AND A4;
A6:=EVERY(箱高=REF(箱高,1),40) AND 箱高
DRAWTEXT(A5 AND A6,L+0.05,'三洗'),COLORMAGENTA;
{绝佳买卖}{www.9m8.cn 九毛八公式指标网}
Q_1:=C-REF(C,1);
Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);
Q_3:=CROSS(EMA(C,19),EMA(C,7));
Q_4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BARSLAST(Q_3)+1);
Z2:=LLV(L,BARSLAST(Q_3)+1);
Z3:=H=HHV(H,BARSLAST(Q_4)+1);
Z4:=HHV(H,BARSLAST(Q_4)+1);
Q_A:=DRAWLINE(Z1,Z2,Z3,Z4,0),COLORMAGENTA,LINETHICK2;
Y1:=H=HHV(H,BARSLAST(Q_4)+1);
Y2:=HHV(H,BARSLAST(Q_4)+1);
Y3:=L=LLV(L,BARSLAST(Q_3)+1);
Y4:=LLV(L,BARSLAST(Q_3)+1);
Q_B:=DRAWLINE(Y1,Y2,Y3,Y4,0),COLORCYAN,LINETHICK2;
X01:=LLV(Q_2,2)=LLV(Q_2,7);
X2:=COUNT(Q_2 0,2);
X3:=CROSS(Q_2,MA(Q_2,2));
X4:=REF(Q_B,1) REF(Q_B,2);
X5:=Q_A REF(Q_B,1);
买进:=(X01 AND X2 AND X3) AND X4 AND X5;
TJ0:=IF(Q_A REF(Q_A,1) AND Q_B=Q_A,1,0);
TJ1:=IF(Q_B REF(Q_B,1) AND Q_B=Q_A,1,0);
持股:=IF(Q_B REF(Q_B,1) AND Q_B Q_A,23,0),NODRAW;
绿柱:STICKLINE(Q_B REF(Q_B,1),L-0.05,L-0.10,3,0),COLOR808080;
买:=IF(REF(TJ1,1)=0 AND TJ1 =1,60,0),NODRAW;
DRAWTEXT(买 0,L,'买'),COLORRED;
卖:=IF(REF(TJ0,1)=0 AND TJ0 =1,60,0),NODRAW;
DRAWTEXT(卖 0,H,'卖'),COLORYELLOW;
绿柱不买股:=IF(绿柱,60,0),COLORGREEN,LINETHICK3;
DRAWTEXT_FIX(1,0.001,0.98,0,'灰柱坚决不买股 '),COLORGREEN;
DRAWTEXT_FIX(1,0.980,20,1,'★股票下载网WWWGPXIAZAICOM'),COLOR666666;