通达信必杀王中王选股/副图公式源码
付费指标,绝对超值。附带指标使用截图与指标用法
{选股,预警一体}
Q1:=C=HHV(C,20);Q2:=BARSLAST(Q1);
Q3:=IF(Q2 0,REF(C,Q2),REF(C,Q2));
Q4:=CROSS(C,REF(Q3,1));Q5:=Q4 AND COUNT(Q4,5)=1;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);A:=CROSS(K,D);
XX:=MACD 0 AND LAST(MACD 0 AND MACD REF(MACD,1),3,1)
AND MACD REF(MACD,1)AND Q5 AND A;M5:=MA(C,5);M10:=MA(C,10);
必杀王中王:CROSS(C,M5) AND CROSS(C,M10) AND XX;