N:=4;
VAR1:=IF(C>=REF(C,1),V,0);
VAR2:=IF(C<REF(C,1),V,0);
VAR3:=SUM(VAR1,N);
VAR4:=SUM(VAR2,N);
能量:=3*SMA((VAR3-LLV(VAR4,34))/(HHV(VAR3,34)-LLV(VAR4,34))*100,5,1)-2*SMA(SMA((VAR3-LLV(VAR4,34))/(HHV(VAR3,34)-LLV(VAR4,34))*100,5,1),3,1);
MA3:=MA(能量,3);
低拐点:=IF(REF(MA3,1)=LLV(MA3,4) AND MA3>REF(MA3,1) AND REF(能量,1)<18,REF(MA3,1),0);
HL:=EMA(WINNER(CLOSE)*75,3);
强底:低拐点=REF(MA3,1) AND LLV(HL,10)<=25 AND BArslAST(LLV(HL,10))<=5;