AA:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*1000;
BB:=MA(AA,10);
趋势线:=MA(BB,3)/10,LINETHICK2,COLORRED;
JNYY2:=(((CLOSE - LLV(LOW,26)) / (HHV(HIGH,26) - LLV(LOW,26))) * 100);
判断:=MA(JNYY2,32)-20,COLOR00FF00,LINETHICK1;
建仓:crOSS(判断,趋势线),LINETHICK2,COLORYELLOW;