{信号越高,反弹越强烈。当20日、60日均线向下斜率太大时,出信号谨慎进入}
VAR2:=MA(HHV(HIGH,500),21);
VAR3:=MA(HHV(HIGH,240),21);
VAR4:=MA(HHV(HIGH,90),21);
VAR5:=MA(LLV(LOW,500),21);
VAR6:=MA(LLV(LOW,240),21);
VAR7:=MA(LLV(LOW,90),21);
VAR8:=MA((VAR5*0.96+VAR6*0.96+VAR7*0.96+VAR2*0.558+VAR3*0.558+VAR4*0.558)/6,21);
VAR9:=MA((VAR5*1.25+VAR6*1.23+VAR7*1.2+VAR2*0.55+VAR3*0.55+VAR4*0.65)/6,21);
VARA:=MA((VAR5*1.3+VAR6*1.3+VAR7*1.3+VAR2*0.68+VAR3*0.68+VAR4*0.68)/6,21);
VARB:=MA((VAR8*3+VAR9*2+VARA)/6*1.738,21);
VARC:=IF(DATE<=1341231,VARB,VARB*DAY);
VARD:=LOW;
VARE:=REF(LOW,1);
VARF:=SMA(ABS(VARD-VARE),3,1)/SMA(MAX(VARD-VARE,0),3,1);
VAR10:=MA(IF(CLOSE*1.35<=VARC,VARF*10,VARF/10),3);
VAR11:=LLV(LOW,30);
VAR12:=HHV(VAR10,30);
VAR13:=1391231;
买进: IF(DATE<=VAR13,MA(IF(LOW<=VAR11,(VAR10+VAR12*2)/2,0),3),1)/10;
50,POINTDOT;
金底:IF(REF(买进,1)>REF(买进,2) AND REF(买进,1)>买进,买进,0);