N:=10;
M:=3;
CV:=CLOSE;
人龙:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
天龙:人龙+M*STD(人龙,N);
地龙:人龙-M*STD(人龙,N);
STICKLINE(C>天龙AND L<地龙,C,O,3,0),COLORYELLOW;
DRAWTEXT(C>天龙AND L<地龙,LOW*0.98,'突击买入'),COLORYELLOW;
STICKLINE(H>天龙AND H*0.95>C AND C<O,C,O,3,0),COLORRED;
DRAWTEXT(H>天龙AND H*0.95>C AND C<O ,HIGH*0.98,'减仓'),COLORRED;
STICKLINE(H>天龙AND C<地龙,C,O,3,0),COLORWHITE;
DRAWTEXT(H>天龙AND C<地龙,LOW*0.98,'继续卖'),COLORWHITE;