买入:IF((V7 AND COUNT(V7,3)=1),50,0),LINETHICK2;
DRAWTEXT(买入,50,'买入 ');
V10:=PEAKBARS(3,15,1)
V12:=IF(V10=1,50,0);
头部:= IF(V12=50,100,0);
卖:IF(头部 REF(头部,1),50,0),COLORGREEN,LINETHICK2;
V9:=TROUGHBARS(3,15,1)
V11:=IF(V9=1,50,0);
底部:= IF(V11=50,50,0);
买:IF( 底部 REF(底部,1),40,0),COLORRED,LINETHICK2;
DRAWTEXT(买,40,'买 '),COLORYELLOW;