麻烦您 帮忙编制一个 60分钟MACD指标 底背离公式 在股票池的 谢谢 | |||
陈勇亮 | 答 | INPUT:SHORT(12),LONG(26),M(9),N(55); DIFF:=EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA:=EMA(DIFF,M); MACD:=2*(DIFF-DEA); 底背离:LLV(L,N)=L AND NOT(LLV(MACD,N)=MACD); {分析周期用60分钟} |
请帮我编个选股公式:短期顾比均线在5天内依次上穿长期线,谢谢。 | |||
陈勇亮 | 答 | MA1:=EMA(Close,3); MA2:=EMA(Close,5); MA3:=EMA(Close,8); MA4:=EMA(Close,10); MA5:=EMA(Close,12); MA6:=EMA(Close,15); MA7:=EMA(Close,30); MA8:=EMA(Close,35); MA9:=EMA(Close,40); MA10:=EMA(Close,45); MA11:=EMA(Close,50); MA12:=EMA(Close,60); count(cross(ma1,ma7) and cross(ma1,ma8) and cross(ma1,ma9) and cross(ma1,ma10) and cross(ma1,ma11) and cross(ma1,ma12),5)>=1; |
联系客服