F1:=ZIG(3,15);
方向:IF((F1> REF(F1,1)),30,70),COLOR00FF00,LINETHICK2;
SAR1:=SAR_S(n,2,10);
高度控盘:0,NODRAW,colormagenta;
z:50,colorgreen, LINETHICK3;
x:40,colorgray, LINETHICK2;
s:60,colorgray;
MA5:=MA(C,5);
MA10:=MA(C,10);
TTT1:=IF((C>=SAR1) AND ((C > MA5) OR (C>MA10)),70,0);
TTT2:=IF((C>SAR1) AND ((C < MA5) AND (C<MA10)),50,0);
TTT3:=IF((C<SAR1),30,0);
仓位策略:TTT1+TTT2+TTT3,NODRAW,coloryellow;
MMM1:=IF((C>MA5) AND (MA5>MA10),70,0);
MMM2:=IF((C<MA5) AND (MA5<MA10),30,0);
TEMP2:=MMM1+MMM2;
MMM3:=IF(TEMP2=0,50,0);
安全分析:MMM1+MMM2+MMM3,NODRAW,colorwhite;
股市天气:仓位策略*0.5+安全分析*0.5, LINETHICK3,colorred;
STICKLINE(股市天气>59,60,58.5,6,0),coloryellow;
K:SMA(股市天气,8,1),colorcyan;
D:SMA(K,4,1),colorcyan,LINETHICK2;
股市天气:仓位策略*0.5+安全分析*0.5, LINETHICK3,colorred;
VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;
VAR400:=EMA(VAR300,5);
操盘:=3*VAR300-2*VAR400;
伏:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O;
DRAWICON(伏,40,5);
DRAWICON(伏,35,5);
DRAWTEXT(伏,45,'潜伏主力'),colorwhite;