当前位置 - 股票行情交易網 - 國際漫評 - 55aaa

55aaa

DVOL不定周期成交量。

DCLOSE不定周期收盤價。

這兩個都是未來函數,未導致信號漂移。

這兩個函數比較特殊,通達信軟件並沒有提示是未來函數,但確實能產生信號漂移!

謹慎使用!

以下是改好的選股源碼:

VAR1:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*50;

AA1:=(EMA(VAR1,3))*2;

TT2:=DMA((((HIGH+LOW)+(CLOSE*2))/4.15),0.9);

TT1:=REF(EMA(TT2,3),1);

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;

K:=SMA(RSV,3,1);

D:=SMA(K,3,1);

J:=3*K-2*D;

LC:=REF(CLOSE,1);

RSI:=((SMA(MAX((CLOSE-LC),0),3,1)/SMA(ABS((CLOSE-LC)),3,1))*100);

AA:=CROSS(CLOSE,TT1)AND J<55;

AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);

AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);

AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);

BB1:=0;

B1萬元:=DVOL*DCLOSE/100;

B1差:=B1萬元-REF(B1萬元,1);

B2萬元:=DVOL*DCLOSE/100;

B2比:=B2萬元/REF(B2萬元,1);

凈流入萬元:=(AAA2-AAA3-0.5*AAA4);

PM:=MA(凈流入萬元,1);

PMA:=PM/REF(PM,1)>1;

PMB:=REF(PMA,1)<1 AND PMA;

密碼:=(EMA(MA(B1萬元,2),2))/100000;

二日比:=密碼/REF(密碼,1);

選股:=PMB AND 密碼>REF(密碼,1) AND 二日比>1;

CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;

經典抄底:=IF((EMA(CS,2))*2>REF((EMA(CS,2))*2,1) AND REF((EMA(CS,2))*2,1)<REF((EMA(CS,2))*2,2) AND (EMA(CS,2))*2<26,1.6,0);

DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);

DEA:=EMA(DIFF,9),COLORRED;

MACD:=(DIFF-DEA)*2;

MACD>=0 AND MACD>=REF(MACD,1) AND REF(MACD,1)<0 AND MACD>=0.01;