{}
s50:COST(50);
时段:=if(HOUR>9 AND HOUR<15 ,1,0);{9是全时段给信号,也可以自定为10,11,13等时段才给信号}
M5:ma(c,5);
{以下是青丝信号}
X1:POLYLINE(C<COST(50),COST(1)),COLOR008800;
X3:POLYLINE(C<COST(50),COST(3)),COLOR008800;
X5:POLYLINE(C<COST(50),COST(5)),COLOR008800;
X7:POLYLINE(C<COST(50),COST(7)),COLOR008800;
X9:POLYLINE(C<COST(50),COST(9)),COLOR008800;
十:POLYLINE(C<COST(50),COST(10)),POINTDOT,COLOR008800;
X11:POLYLINE(C<COST(50),COST(11)),COLOR66CC00;
X31:POLYLINE(C<COST(50),COST(13)),COLOR66CC00;
X51:POLYLINE(C<COST(50),COST(15)),COLOR66CC00;
X71:POLYLINE(C<COST(50),COST(17)),COLOR66CC00;
X91:POLYLINE(C<COST(50),COST(19)),COLOR66CC00;
二十:POLYLINE(C<COST(50),COST(20)),POINTDOT,COLOR66CC00;
X12:POLYLINE(C<COST(50),COST(21)),COLORFF9933;
X32:POLYLINE(C<COST(50),COST(23)),COLORFF9933;
X52:POLYLINE(C<COST(50),COST(25)),COLORFF9933;
X72:POLYLINE(C<COST(50),COST(27)),COLORFF9933;
X92:POLYLINE(C<COST(50),COST(29)),COLORFF9933;
三十:POLYLINE(C<COST(50),COST(30)),POINTDOT,COLORFF9933;
X13:POLYLINE(C<COST(50),COST(31)),COLOR008800;
X33:POLYLINE(C<COST(50),COST(33)),COLOR008800;
X53:POLYLINE(C<COST(50),COST(35)),COLOR008800;
X73:POLYLINE(C<COST(50),COST(37)),COLOR008800;
X93:POLYLINE(C<COST(50),COST(39)),COLOR008800;
四十:POLYLINE(C<COST(50),COST(40)),POINTDOT,COLOR008800;
X14:POLYLINE(C>0,COST(41)),COLOR33CC00;
X34:POLYLINE(C>0,COST(43)),COLOR33CC00;
X54:POLYLINE(C>0,COST(45)),COLOR33CC00;
X74:POLYLINE(C>0,COST(47)),COLOR33CC00;
X94:POLYLINE(C>0,COST(49)),COLOR33CC00;
COST(50),COLORYELLOW,CIRCLEDOT;
STICKLINE(C>=O,C,O,9,1),COLORRED;
STICKLINE(C>=O,L,O,0.1,0),COLORRED;
STICKLINE(C>=O,C,H,0.1,0),COLORRED;
STICKLINE(C<O,C,O,9,0),COLORFFFF00;
STICKLINE(C<O,H,L,0.1,0),COLORFFFF00;
{以下是‘上突’信号,小秘密:日K线上不能出现,要到分时线上去看}
尖刀:=时段 and C>COST(50);{这是我做的信号利器哦!}
p1:= FILTER(尖刀,48) ;
DRAWTEXT(p1,C*1.05,'★上突'),COLORFF00FF,LINETHICK2;
VERTLINE( p1,2),COLOR00FFFF,LINETHICK2;