VAR2:=(HIGH+MAX(CLOSE,OPEN))/2;
VAR3:=MA(VAR2,3);
VAR6:=(HIGH+LOW+CLOSE+OPEN)/4;
VAR7:=MA(VAR6,3);
VAR8:=REF((CLOSE+OPEN)/2,1)>REF((CLOSE+OPEN)/2,2) AND REF(MIN(CLOSE,OPEN),1)>REF(MAX(CLOSE,OPEN),2);
VAR9:=(VAR7-(REF(VAR7,1)-VAR7)-LOW)/LOW*100;
VAR10:=(VAR3+(VAR3-REF(VAR3,1))-LOW)/LOW*100;
VAR13:=IF(VAR8,VAR10,VAR9);
VAR16:=SMA(LOW,4,3);
VAR19:=REF(LOW,1)-HHV(MAX(REF(LOW,2),REF(LOW,1))-MIN(REF(LOW,2),REF(LOW,1)),2);
VAR20:=REF((CLOSE+OPEN)/2,1)>REF((CLOSE+OPEN)/2,2);
VAR21:=LOW<=VAR19+VAR19*0.01 AND OPEN>REF(OPEN,2) AND OPEN>=REF(LOW,3) AND COUNT(CLOSE>OPEN,7)>3;
VAR22:=(VAR19-LOW)/LOW*100;
VAR24:=(VAR16-LOW)/LOW>5/1000;
VAR25:=VAR24;
VAR26:=(REF(HIGH,1)-OPEN)/OPEN*100-(REF(MAX(CLOSE,OPEN),2)-REF(MAX(CLOSE,OPEN),1))/REF(MAX(CLOSE,OPEN),1)*100;
VAR27:=IF(VAR20,VAR22,VAR26);
VAR28:=VAR22+VAR27>2;
VAR29:=IF(VAR20,VAR21,VAR28) AND VAR13>2;
VAR30:=VAR1 AND VAR25 AND VAR29;
VAR31:=REF(VAR30,1) AND LOWVAR32:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
VAR33:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
VAR34:=VAR32>95 OR VAR33>95;
VAR35:=MA(CLOSE,12);
VAR36:=MA(CLOSE,26);
VAR37:=CLOSE
小魔要卖金钻:REF(VAR34,1) AND (REF(CLOSE,1)-CLOSE)/REF(CLOSE,1)*VAR31 AND VAR38;