MA1:=MA(close, 5);
MA2:=MA(close, 10);
MA3:=MA(close, 20);
MA4:=MA(close, 30);
MA5:=MA(close, 60);
MA6:=MA(close, 120);
MA7:=MA(close, 250);
a1:=atan((MA1/ref(MA1,1)-1)*100)*180/3.1416;
a2:=atan((MA2/ref(MA2,1)-1)*100)*180/3.1416;
a3:=atan((MA3/ref(MA3,1)-1)*100)*180/3.1416;
a4:=atan((MA4/ref(MA4,1)-1)*100)*180/3.1416;
a5:=atan((MA5/ref(MA5,1)-1)*100)*180/3.1416;
a6:=atan((MA6/ref(MA6,1)-1)*100)*180/3.1416;
a7:=atan((MA7/ref(MA7,1)-1)*100)*180/3.1416;
dw1:=ma1<ma3 and ma2<ma3 and (o<min(ma1,min(ma2,ma3)) or ref(c<min(ma1,min(ma2,ma3)),1)=1);
dw2:=ma1>ma3 and ma2>ma3 and (o<min(ma1,ma2) or ref(c<min(ma1,ma2),1)=1);
dw3:=(count(c>ma1,3)=0 or (count(c>ma1,3)=1 and c>ma1)) or (count(a1>0,3)=0 or (count(a1>0,3)=1 and a1>0));
dw4:=((count(l<ref(l,1) and h<ref(h,1),3)>=2) or (count(c<ref(c,1) and c<o,3)>=2));
低买:=(c>o or c>ref(c,1)) and (dw1 or dw2 or dw3);
超低:=(c>o or c>ref(c,1)) and (dw1 or dw2 or dw3) and (dw4);
其中‘买’ ‘强’ 是引用指标,不外乎基本指标和涨幅产生的买点