通达信10日内振幅小于10%的幅图源码
幅图源码为
XG:=(HHV(H,10)-LLV(L,10))/LLV(L,10)*100<10;
MA24:=MA(C,24);
MA60:=MA(C,60);
MA120:=MA(C,120);
MAYJ:=C>MA24 AND C>MA60;
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD1:=2*(DIFF-DEA);
MACD2:=EMA(MACD1,3);
MACDYJ:=MACD1>MACD2 AND MACD1>0 AND DEA>0;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
KDYJ:=K>D;
ZFXG:XG AND MAYJ AND MACDYJ AND KDYJ;
参数为
N 2 100 18
m1 2 100 3
m2 2 100 3