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;