DRAWTEXT_FIX(C-O>0,0.1,0.2,0,'1、交易要点:波段交易,以最大化收获大波段'),COLORWHITE;
DRAWTEXT_FIX(C-O>0,0.1,0.25,0,'2、系统测试:2005年4月14日--2015年4月14日,不设止盈止损,年化收益率150%'),COLORLIBLUE;
DRAWTEXT_FIX(C-O>0,0.1,0.3,0,'3、你可根据自己的情况设置止盈止损,牛市中会降低收益,熊市中降低风险'),COLORYELLOW;
MA60:MA(C,60),COLORGREEN;
AA:=MA60>REF(MA60,1);
A60:IF(AA,MA60,DRAWNULL),COLORRED;
FF:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,6))),ABS(LOW-REF(CLOSE,3))),23);
GG :=HIGH-REF(HIGH,1);
HH :=REF(LOW,1)-LOW;
KK:=SUM(IF(GG>0&&GG>HH,GG,0),16);
JJ:=SUM(IF(HH>0&&HH>GG,HH,0),11);
B:=KK*100/FF;
S:=JJ*100/FF;
BB:=CROSS(B,S);
SS:=CROSS(S,B);
STICKLINE(BB,C,O,3,0),COLORGREEN;
STICKLINE(SS,C,O,3,0),COLORYELLOW;
DRAWICON(BB,L*0.99,1);
DRAWICON(BB,L*0.98,13);
DRAWICON(SS,H*1.02,2);
DRAWICON(SS,H*1.01,26);