止赢线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORWHITE,LINETHICK2;
生命线:(MA(CLOSE,30)+MA(C,72))/2,POINTDOT,COLORFFFFFF,LINETHICK4;
MA102:(MA(CLOSE,60)+MA(C,142))/2,COLORFF00FF,LINETHICK0;
MA153:(MA(CLOSE,90)+MA(C,214))/2,COLORCCCCCC,LINETHICK0;
MA204:(MA(CLOSE,120)+MA(C,284))/2,COLORBLUE,LINETHICK0;
STICKLINE( C 生命线 AND 生命线 止赢线 ,生命线 ,止赢线,0.1,0 ) ,COLORBLUE;
UPR:止赢线+3*STD(止赢线,10),COLORYELLOW,LINETHICK0;
DWN:止赢线-3*STD(止赢线,10),COLORFF00FF,LINETHICK0;
DRAWTEXT(CROSS(生命线,止赢线),生命线,'空') ,COLORGREEN,LINETHICK4;
DRAWTEXT(CROSS(止赢线,生命线),生命线,'多') ,COLORRED,LINETHICK4;
DRAWTEXT(CROSS(C,止赢线) AND 止赢线 生命线,L,'买') ,COLORRED,LINETHICK4;
DRAWTEXT(CROSS(止赢线,REF(L,1)) AND C 止赢线 AND 止赢线 生命线,H,'卖') ,COLORGREEN,LINETHICK4;
DRAWTEXT(CROSS(止赢线,L) AND 止赢线 生命线,H,'卖') ,COLORGREEN,LINETHICK4;
日均量:=(EMA(V,10)+EMA(V,40)+EMA(V,70))/2;
长期资金:=SMA(日均量,5,1)/4;
BBI:=(MA(长期资金,3)+MA(长期资金,6)+MA(长期资金,12)+MA(长期资金,24))/4;
MA51:=(MA(长期资金,30)+MA(长期资金,72))/2;
MID:MA(CLOSE,26),COLORBLUE,LINETHICK0;
卖: MID + 2*STD(CLOSE,26),COLORCCCCCC,LINETHICK1;
买: MID - 2*STD(CLOSE,26),COLORCCCCCC,LINETHICK1;
{布林抢反弹}
STICKLINE(买 C,CLOSE,OPEN,6,1),COLORFFFFFF;
{布林底位}
STICKLINE(DWN L AND L 买 AND DWN 买 AND C REF(C,1),CLOSE,OPEN,4,0),COLORRED;
{布林顿化}
STICKLINE(C 卖,CLOSE,OPEN,4,1) ,COLORGREEN;
{布林高位}
STICKLINE( UPR H AND H 卖 AND UPR 卖 AND C REF(C,1),CLOSE,OPEN,4,0),COLORGREEN;