高手帮编写个通达信的选股公式,条件是10天内MACD0轴下两次金叉,谢谢!!!!
发布网友
发布时间:2022-04-30 05:18
我来回答
共1个回答
热心网友
时间:2023-10-16 04:15
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
AA:=CROSS(DIFF,DEA);
二次金叉:AA AND COUNT(AA AND DEA<0,10)=2;
(已测试)
热心网友
时间:2023-10-16 04:15
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
AA:=CROSS(DIFF,DEA);
二次金叉:AA AND COUNT(AA AND DEA<0,10)=2;
(已测试)