以下是通达信阻击点选股源码
D:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
D1:=3*SMA(D,3,1)-2*SMA(D,3,1);
D2:=(((2 * CLOSE) + HIGH) + LOW) / 4;
A1:=EMA((((D2 - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),13);
A2:=EMA(((0.667 * (REF(A1,1))) + (0.333 * A1)),2);
A3:=(HHV(HIGH,9)) - (LLV(LOW,9));
A4:=(HHV(HIGH,9)) - CLOSE;
A5:=((CLOSE - (LLV(LOW,60))) / ((HHV(HIGH,60)) - (LLV(LOW,60)))) * 100;
D3:=SMA(((CLOSE - (LLV(LOW,9)) / A3) * 100),3,1);
D4:=(SMA(D3,3,1)) - (SMA(((A4 / A3) * 100) - 70,9,1));
D5:=IF((D4 > 100),(D4 - 100),0);
D6:=EMA((((D2 - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100),5);
D7:=CROSS(EMA(D6,13),D6) AND "MACD.MACD">0.01;
狙击点:CROSS(CLOSE,REF(EMA(DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9),3),1))AND D1<55 AND D7;