AA:=1;
VAR1:=10;
VAR2:=11;
VAR3:=11;
VAR4:=12;
VAR5:=12;
VAR6:=13;
VAR7:=13;
VAR8:=14;
VAR9:=14;
VARA:=15;
VARB:=15;
VARC:=SMA((CLOSE-LLV(LOW,VAR1))/(HHV(HIGH,VAR1)-LLV(LOW,VAR1))*100,4,1);
VARD:=SMA((CLOSE-LLV(LOW,VAR2))/(HHV(HIGH,VAR2)-LLV(LOW,VAR2))*100,4,1);
VARE:=SMA((CLOSE-LLV(LOW,VAR3))/(HHV(HIGH,VAR3)-LLV(LOW,VAR3))*100,4,1);
VARF:=SMA((CLOSE-LLV(LOW,VAR4))/(HHV(HIGH,VAR4)-LLV(LOW,VAR4))*100,4,1);
VAR10:=SMA((CLOSE-LLV(LOW,VAR5))/(HHV(HIGH,VAR5)-LLV(LOW,VAR5))*100,4,1);
VAR11:=SMA((CLOSE-LLV(LOW,VAR6))/(HHV(HIGH,VAR6)-LLV(LOW,VAR6))*100,4,1);
VAR12:=SMA((CLOSE-LLV(LOW,VAR7))/(HHV(HIGH,VAR7)-LLV(LOW,VAR7))*100,4,1);
VAR13:=SMA((CLOSE-LLV(LOW,VAR8))/(HHV(HIGH,VAR8)-LLV(LOW,VAR8))*100,4,1);
VAR17:=SMA((CLOSE-LLV(LOW,VARB))/(HHV(HIGH,VARB)-LLV(LOW,VARB))*100,4,1);
A:=(SMA((VAR17-50)*2,3,1)+SMA((VAR13-50)*2,3,1))/2*AA,LINETHICK2;
股价:=3*(VAR17-50)*2-2*SMA((VAR17-50)*2,3,1)*AA;
红箭头:crOSS(股价, A);