以下是通达信买特灵选股公式源码贴图(无源码的请下载附件导入)
A3:=REF(CLOSE, 1.000);
A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;
A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;
超短线2:=(((A4<= 20) AND (A5 <= 49)) * 1);
超卖1:=IF(SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12,0.5,0);
超卖2:=IF(SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12,0.5,0);
买特灵:超短线2 OR 超卖1 OR 超卖2;
63577723.png
|