趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*130;
AAA:=((REF(趋势线1,1)=REF(趋势线1,1)) OR (REF(crOSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;
买:AAA;
趋势线1:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*130;
AAA:=((REF(趋势线1,1)=REF(趋势线1,1)) OR (REF(crOSS(-30,趋势线1),1) AND CROSS(趋势线1,-30)) OR 趋势线1=-30;
买:AAA;