魔鬼线:=MA(C,10),COLORYELLOW,LINETHICK1;
操盘线:MA(C,20),COLORRED,LINETHICK2;
AAA:=操盘线+操盘线-REF(操盘线,1);
BBB:=IF(操盘线<AAA,AAA,操盘线);
趋势线:=BBB-(EMA(C,2)-BBB),COLORLIBLUE;
IF(操盘线<REF(操盘线,1),操盘线,DRAWNULL),COLORLIBLUE,LINETHICK2;
STICKLINE((C>趋势线)<(C<趋势线),H,L,0,2),COLORGREEN;
STICKLINE((C>趋势线)<(C<趋势线),C,O,3,2),COLORGREEN;
STICKLINE((C>趋势线)>=(C<趋势线),H,L,0,2),COLORFF00FF;
STICKLINE((C>趋势线)>=(C<趋势线),C,O,3,2),COLORFF00FF;
DRAWTEXT(BARSLAST(C<趋势线)=1,L,'发财')COLORYELLOW;
DRAWTEXT(BARSLAST(C>趋势线)=1,L,'恭喜')COLORFF00FF;