X:40,COLORGRAY;
S:60,COLORGRAY;
MA5:=MA(C,5);
MA10:=MA(C,10);
VAR11:=IF((C>=SAR.SAR) AND ((C > MA5) OR (C>MA10)),70,0);
VAR12:=IF((C>SAR.SAR) AND ((C < MA5) AND (C<MA10)),50,0);
VAR13:=IF((C<SAR.SAR),30,0);
仓位:VAR11+VAR12+VAR13,NODRAW,COLORYELLOW;
VAR21:=IF((C>MA5) AND (MA5>MA10),70,0);
VAR22:=IF((C<MA5) AND (MA5<MA10),30,0);
TEMP2:=VAR21+VAR22;
VAR23:=IF(TEMP2=0,50,0);
安全分析:VAR21+VAR22+VAR23,NODRAW,COLORWHITE;
股市趋势:仓位*0.5+安全分析*0.5, LINETHICK3,COLORRED;
VA2:=100*WINNER(CLOSE*0.95);
M5:=MA(C,5);
STICKLINE(VA2>40 AND C>M5,30,38,3,0),COLORMAGENTA;
K:=SMA(股市趋势,3,1),COLORCYAN,DOTLINE;
D:SMA(K,4,1),COLORCYAN;
JX:MA(股市趋势,20),COLORCYAN,LINETHICK2;
STICKLINE(股市趋势>59,60,58.5,6,0),COLORYELLOW;