VAR1:=(HIGH+LOW+CLOSE)/3;
VAR2:=(VAR1-ma(VAR1,14))/(0.015*AVEDEV(VAR1,14));
VAR3:=(VAR1-MA(VAR1,70))/(0.015*AVEDEV(VAR1,70));
VAR4:=IF(VAR2>=150 AND VAR2<200 AND VAR3>=150 AND VAR3<200,-10,0);
VAR5:=IF(VAR2<=-150 AND VAR2>-200 AND VAR3<=-150 AND VAR3>-200,10,0);
天线:=IF(BARSCOUNT(CLOSE)<70,120,IF(VAR3>=200 AND VAR2>=150,-15,VAR4)+120),LINETHICK2,COLORCCFF66;
地线:=IF(BARSCOUNT(CLOSE)<70,-120,IF(VAR3<=-200 AND VAR2<=-150,15,VAR5)-120),LINETHICK2,COLORFF99CC;
VAR6:=SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,4,1);
VAR7:=SMA((CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*100,4,1);
VAR8:=SMA((CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100,4,1);
VAR9:=SMA((CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100,4,1);
VARA:=SMA((VAR9-50)*2,3,1),LINETHICK2,COLORFF9933;
VAR10:=SMA((CLOSE-LLV(LOW,14))/(HHV(HIGH,14)-LLV(LOW,14))*100,4,1);
VAR11:=SMA((CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100,4,1);
波浪线:=SMA((VAR11-50)*2,3,1)+SMA((VAR10-50)*2,3,1)/2,LINETHICK2,COLORGREEN;
VAR12:=(VAR11-50)*6-2*SMA((VAR11-50)*2,3,1);
VAR13:=FILTER(波浪线>REF(波浪线,1)AND 波浪线<-20,10);
VAR14:=FILTER(波浪线REF(波浪线,1)AND 波浪线<-10,7);
VAR15:=FILTER(波浪线VAR16:=FILTER(波浪线110,10);
VAR17:=VAR11REF(VAR11,2)AND VAR11<30;
红箭头:FILTER(VAR13 OR VAR14 OR VAR17,5)AND VARA>REF(VARA,1);