以下是通达信中线买点和爆发买点选股公式 通用源码(无源码的请下载附件导入)
{中线买点和爆发买点}
MA2:=MA(CLOSE,6);
MA3:=MA(CLOSE,15);
MA4:=MA(CLOSE,90);
MA5:=MA(CLOSE,288);
AA:=IF(1.1>SMA(CLOSE,2,1)/SMA(CLOSE,13,2)>1.05,SMA(HIGH,21,5)*1.05,SMA(HIGH,21,2)*1.05);
AA1:= IF(1.09>SMA(CLOSE,5,1)/SMA(CLOSE,15,1)>0.45,SMA(LOW,10,1),SMA(LOW,5,1));
AA2:=IF(MA(VOL,2)>MA(VOL,3)/2>MA(VOL,5), SMA(HIGH,2,1),SMA(CLOSE,3,1)) ;
AA3:= IF(MA(VOL,3)>MA(VOL,5)>MA(VOL,9),SMA(CLOSE,3,1),SMA(CLOSE,5,1));
AA4:=SMA(LOW,21,2)*0.95;
买点:CROSS(AA2,AA) OR CROSS(MA4,AA1) OR CROSS(AA,MA5) OR CROSS(AA2,AA4) OR CROSS(AA2,MA3) OR CROSS(AA3,AA4); |