{}
s50:COST(50);
时段:=if(HOUR>9 AND HOUR<15 ,1,0);{9是全时段给信号,也可以自定为10,11,13等时段才给信号}
M5:ma(c,5);
{以下是青丝信号}
X1:POLYLINE(C
X3:POLYLINE(C
X5:POLYLINE(C
X7:POLYLINE(C
X9:POLYLINE(C
十:POLYLINE(C
X11:POLYLINE(C
X31:POLYLINE(C
X51:POLYLINE(C
X71:POLYLINE(C
X91:POLYLINE(C
二十:POLYLINE(C
X12:POLYLINE(C
X32:POLYLINE(C
X52:POLYLINE(C
X72:POLYLINE(C
X92:POLYLINE(C
三十:POLYLINE(C
X13:POLYLINE(C
X33:POLYLINE(C
X53:POLYLINE(C
X73:POLYLINE(C
X93:POLYLINE(C
四十:POLYLINE(C
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
STICKLINE(C
{以下是‘上突’信号,小秘密:日K线上不能出现,要到分时线上去看}
尖刀:=时段 and C>COST(50);{这是我做的信号利器哦!}
p1:= FILTER(尖刀,48) ;
DRAWTEXT(p1,C*1.05,'★上突'),COLORFF00FF,LINETHICK2;
VERTLINE( p1,2),COLOR00FFFF,LINETHICK2;