VAR0:=(EMA(CLOSE,12) - EMA(CLOSE,26));
VAR1:=EMA(VAR0,9);
VAR2:=(2 * (VAR0 - VAR1));
VAR3:=((LLV(LOW,21) = LOW) AND NOT((LLV(VAR1,21) = VAR1)));
VAR4:=((HHV(HIGH,21) = HIGH) AND NOT((HHV(VAR1,21) = VAR1)));
VAR5:=(100 * (CLOSE - MA(CLOSE,21)));
VAR6:=EMA(VAR5,4);
VAR7:=((LLV(LOW,45) = LOW) AND NOT((LLV(VAR6,45) = VAR6)));
VAR8:=((HHV(HIGH,21) = HIGH) AND NOT((HHV(VAR6,21) = VAR6)));
VAR9:=(((HIGH + LOW) + CLOSE) / 3);
VAR10:=((VAR9 - MA(VAR9,14)) / (0.015 * AVEDEV(VAR9,14)));
VAR11:=((LLV(LOW,55) = LOW) AND NOT((LLV(VAR10,55) = VAR10)));
顶背:((HHV(HIGH,55) = HIGH) AND NOT((HHV(VAR10,55) = VAR10)));
VAR12:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
VAR13:=SMA(VAR12,3,1);
VAR14:=SMA(VAR13,3,1);
VAR15:=((3 * VAR13) - (2 * VAR14));
VAR16:=(VAR15
VAR17:=(HIGH - MA(HIGH,7));
VAR18:=(LOW - MA(LOW,7));
VAR19:=(CLOSE - MA(CLOSE,7));
VAR20:=IF((VAR19 = 0),(VAR17 * 100),(VAR18 * 100));
VAR21:=(((LLV(LOW,144) = LOW) AND NOT((LLV(VAR20,144) = VAR20))) AND VAR16);
顶背离:(((((HHV(HIGH,144) = HIGH) AND NOT((HHV(VAR20,144) = VAR20))) AND (HHV(HIGH,55) = HIGH)) AND NOT((HHV(VAR10,55) = VAR10))) AND VAR8),LINETHICK2,COLORGREEN;
VAR22:=SMA(((3 * SMA((((CLOSE - LLV(LOW,30)) / (HHV(HIGH,30) - LLV(LOW,30))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,30)) / (HHV(HIGH,30) - LLV(LOW,30))) * 100),5,1),3,1))),3,1);
VAR23:=(VAR22 = 7);
危区RR:=(VAR22 = 93);
很危险66:=(((VAR22 = 93) AND (HHV(HIGH,55) = HIGH)) AND NOT((HHV(VAR10,55) = VAR10)));
VAR24:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);
小心卖66:=IF(((CROSS(-92,VAR24) AND (HHV(HIGH,55) = HIGH)) AND NOT((HHV(VAR10,55) = VAR10))),1,0);
VAR25:=(EMA(CLOSE,60) - EMA(CLOSE,300));
VAR26:=EMA(VAR25,300);
VAR27:=(((CLOSE - LLV(LOW,8)) / (HHV(HIGH,8) - LLV(LOW,8))) * 100);
VAR28:=SMA(VAR27,2,1);
VAR29:=SMA(VAR28,2,1);
QQ2:=((VAR22 = 93) AND (VAR28 VAR29));
STICKLINE(QQ2,0,1,4,0),COLOR800080;
STICKLINE(VAR23,0,1,4,0),COLOR006400;
STICKLINE(IF(((CROSS(-92,VAR24) AND (HHV(HIGH,55) = HIGH)) AND NOT((HHV(VAR10,55) = VAR10))),1,0),0,0.9,1.5,0),COLORRED;
危区:(VAR22 = 93),COLORFF8080;
很危险:(((VAR22 = 93) AND (HHV(HIGH,55) = HIGH)) AND NOT((HHV(VAR10,55) = VAR10))),COLORCYAN;
小心卖:IF(((CROSS(-92,VAR24) AND (HHV(HIGH,55) = HIGH)) AND NOT((HHV(VAR10,55) = VAR10))),1,0),NODRAW,COLORRED;