Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
帮忙写:
MACD的DIFF突破DEA形成金叉,且金叉的位置比前一个金叉位置高进多,有单则不进。
U:ref(close,ref(BARSLAST(cross(DIFF,DEA)),1)+1);if cross(DIFF,DEA) and close>u and holding=0 then buy();
diff和dea 可以直接从macd代码里面复制过来。