网友求助:
将 神雕猎狐 的公式改写成选股公式,谢谢! 主力资金指数: EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M);
散户资金指数: EMA(100*(INDEXDATA("1a0001",&CLOSE)-LLV(INDEXDATA("1a0001",&LOW),N))/(HHV(INDEXDATA("1a0001",&HIGH),N)-LLV(INDEXDATA("1a0001",&LOW),N)),M);
博弈线: 80;
解答如下:
主力资金指数:= EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),M);
散户资金指数:= EMA(100*(INDEXDATA("1a0001",&CLOSE)-LLV(INDEXDATA("1a0001",&LOW),N))/(HHV(INDEXDATA("1a0001",&HIGH),N)-LLV(INDEXDATA("1a0001",&LOW),N)),M);
xg:CROSS(主力资金指数,散户资金指数);