九毛八公式指标
请老师贴一个大智慧的MACD顶背离的程序。 谢谢!
公式模块:
DIFF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIFF,9); A1:=BArslAST(REF(crOSS(DEA,DIFF),1)); 顶背离:REF(C,A1+1)<C AND DIFF<REF(DIFF,A1+1) AND CROSS(DEA,DIFF);
九毛八公式指标
请老师贴一个大智慧的MACD顶背离的程序。 谢谢!
DIFF:=EMA(C,12)-EMA(C,26);
DEA:=EMA(DIFF,9); A1:=BArslAST(REF(crOSS(DEA,DIFF),1)); 顶背离:REF(C,A1+1)<C AND DIFF<REF(DIFF,A1+1) AND CROSS(DEA,DIFF);