论坛

请问怎么在策略中表达macd

比如我现在需要 //+------------------------------------------------------------------+ //| Check for open order conditions //自定义函数(无返回值) 开仓策略 | //+------------------------------------------------------------------+ //----卖出条件 if(Close[1]<ma && MACD//macd 均线小于0轴, ) //收盘价小于ma均线值 且macd 均线(单线macd)小于0轴 {