DRAWTEXT_FIX(1,0.49,0.9,1,'@---------------------------------------');
DRAWTEXT_FIX(1,0.68,0.9,1,'----------------------------------------@');
DRAWTEXT_FIX(1,0.68,0.1,1,'----------------------------------------@');
DRAWTEXT_FIX(1,0.49,0.1,1,'@---------------------------------------');
DRAWTEXT_FIX(1,0.794,0.34,1,'︱');
DRAWTEXT_FIX(1,0.794,0.36,1,'︱');
DRAWTEXT_FIX(1,0.794,0.38,1,'︱');
DRAWTEXT_FIX(1,0.794,0.40,1,'︱');
DRAWTEXT_FIX(1,0.794,0.42,1,'︱');
DRAWTEXT_FIX(1,0.794,0.44,1,'︱');
DRAWTEXT_FIX(1,0.794,0.46,1,'︱');
DRAWTEXT_FIX(1,0.794,0.48,1,'︱');
DRAWTEXT_FIX(1,0.794,0.50,1,'︱');
DRAWTEXT_FIX(1,0.794,0.52,1,'︱');
DRAWTEXT_FIX(1,0.794,0.54,1,'︱');
DRAWTEXT_FIX(1,0.794,0.56,1,'︱');
DRAWTEXT_FIX(1,0.794,0.58,1,'︱');
DRAWTEXT_FIX(1,0.794,0.60,1,'︱');
DRAWTEXT_FIX(1,0.794,0.62,1,'︱');
DRAWTEXT_FIX(1,0.794,0.64,1,'︱');
DRAWTEXT_FIX(1,0.794,0.66,1,'︱');
DRAWTEXT_FIX(1,0.794,0.665,1,'︱');
DRAWTEXT_FIX(1,0.21,0.34,1,'︱');
DRAWTEXT_FIX(1,0.21,0.36,1,'︱');
DRAWTEXT_FIX(1,0.21,0.38,1,'︱');
DRAWTEXT_FIX(1,0.21,0.40,1,'︱');
DRAWTEXT_FIX(1,0.21,0.42,1,'︱');
DRAWTEXT_FIX(1,0.21,0.44,1,'︱');
DRAWTEXT_FIX(1,0.21,0.46,1,'︱');
DRAWTEXT_FIX(1,0.21,0.48,1,'︱');
DRAWTEXT_FIX(1,0.21,0.50,1,'︱');
DRAWTEXT_FIX(1,0.21,0.52,1,'︱');
DRAWTEXT_FIX(1,0.21,0.54,1,'︱');
DRAWTEXT_FIX(1,0.21,0.56,1,'︱');
DRAWTEXT_FIX(1,0.21,0.58,1,'︱');
DRAWTEXT_FIX(1,0.21,0.60,1,'︱');
DRAWTEXT_FIX(1,0.21,0.62,1,'︱');
DRAWTEXT_FIX(1,0.21,0.64,1,'︱');
DRAWTEXT_FIX(1,0.21,0.66,1,'︱');
DRAWTEXT_FIX(1,0.69,0.89,1,'/');
DRAWTEXT_FIX(1,0.70,0.87,1,'/');
DRAWTEXT_FIX(1,0.71,0.85,1,'/');
DRAWTEXT_FIX(1,0.72,0.83,1,'/');
DRAWTEXT_FIX(1,0.73,0.81,1,'/');
DRAWTEXT_FIX(1,0.74,0.79,1,'/');
DRAWTEXT_FIX(1,0.75,0.77,1,'/');
DRAWTEXT_FIX(1,0.76,0.75,1,'/');
DRAWTEXT_FIX(1,0.77,0.73,1,'/');
DRAWTEXT_FIX(1,0.78,0.71,1,'/');
DRAWTEXT_FIX(1,0.69,0.12,1,'\');
DRAWTEXT_FIX(1,0.70,0.14,1,'\');
DRAWTEXT_FIX(1,0.71,0.16,1,'\');
DRAWTEXT_FIX(1,0.72,0.18,1,'\');
DRAWTEXT_FIX(1,0.73,0.20,1,'\');
DRAWTEXT_FIX(1,0.74,0.22,1,'\');
DRAWTEXT_FIX(1,0.75,0.24,1,'\');
DRAWTEXT_FIX(1,0.76,0.26,1,'\');
DRAWTEXT_FIX(1,0.77,0.28,1,'\');
DRAWTEXT_FIX(1,0.78,0.30,1,'\');
DRAWTEXT_FIX(1,0.22,0.70,1,'\');
DRAWTEXT_FIX(1,0.23,0.72,1,'\');
DRAWTEXT_FIX(1,0.24,0.74,1,'\');
DRAWTEXT_FIX(1,0.25,0.76,1,'\');
DRAWTEXT_FIX(1,0.26,0.78,1,'\');
DRAWTEXT_FIX(1,0.27,0.80,1,'\');
DRAWTEXT_FIX(1,0.28,0.82,1,'\');
DRAWTEXT_FIX(1,0.29,0.84,1,'\');
DRAWTEXT_FIX(1,0.30,0.86,1,'\');
DRAWTEXT_FIX(1,0.31,0.88,1,'\');
DRAWTEXT_FIX(1,0.215,0.30,1,'/');
DRAWTEXT_FIX(1,0.225,0.28,1,'/');
DRAWTEXT_FIX(1,0.235,0.26,1,'/');
DRAWTEXT_FIX(1,0.245,0.24,1,'/');
DRAWTEXT_FIX(1,0.255,0.22,1,'/');
DRAWTEXT_FIX(1,0.265,0.20,1,'/');
DRAWTEXT_FIX(1,0.275,0.18,1,'/');
DRAWTEXT_FIX(1,0.285,0.16,1,'/');
DRAWTEXT_FIX(1,0.295,0.14,1,'/');
DRAWTEXT_FIX(1,0.305,0.12,1,'/');
DRAwrECTREL(198,500,800,501,90);
DRAWRECTREL(500,10,501,990,90);
DRAWTEXT_FIX(1,0.53,0.95,1,'阳转信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.78,0.88,1,'买进信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.75,0.48,1,'加仓'),COLORYELLOW;
DRAWTEXT_FIX(1,0.78,0.20,1,'观望'),COLORYELLOW;
DRAWTEXT_FIX(1,0.53,0.08,1,'警戒信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.26,0.10,1,'卖出信号'),COLORYELLOW;
DRAWTEXT_FIX(1,0.25,0.48,1,'清仓'),COLORYELLOW;
DRAWTEXT_FIX(1,0.25,0.88,1,'观望'),COLORYELLOW;
DRAWTEXT_FIX(1,0.21,0.31,1,'@');
DRAWTEXT_FIX(1,0.21,0.68,1,'@');
DRAWTEXT_FIX(1,0.79,0.32,1,'@');
DRAWTEXT_FIX(1,0.79,0.68,1,'@');
价涨幅1:=(C-REF(C,1))/REF(C,1);
量涨幅1:=(V-REF(V,1))/REF(V,1);
价涨幅:=SUM(价涨幅1,0);
量涨幅:=SUM(量涨幅1,0);
量涨幅2:=EMA(量涨幅,50)/EMA(价涨幅,20);
量涨幅线:=量涨幅/量涨幅2;
A1:=crOSS(价涨幅,0) OR CROSS(价涨幅,量涨幅);
A2:=V>MA(V,20);
A3:=C/REF(C,1)*100-100>-1 AND C/REF(C,1)*100-100<3.5;
A4:=CURRBARSCOUNT=1;
买入信号:=A1+A2+A3+A4;
DRAWNUMBER_FIX(买入信号=4,0.78,0.85,1,C),COLORRED;
A5:=V/MA(V,20)>2;
加仓:=买入信号+A5;
DRAWNUMBER_FIX(加仓=5,0.75,0.45,1,C),COLORRED;
观望1:=C>REF(C,1) AND V>REF(V,1);
DRAWNUMBER_FIX(观望1=1 AND A4,0.78,0.16,1,C),COLORRED;
警戒:=C>REF(C,1) AND V
卖出:=C
DRAWNUMBER_FIX(卖出=1 AND A4,0.30,0.10,1,C),COLORCYAN;
清仓:=CREF(V,1) AND C
阳转:=C
DRAWNUMBER_FIX(阳转=1 AND A4,0.58,0.95,1,C),COLORRED;