关于MACD底背离选股公式(源码、探讨、贴图)
发现三个MACD底背离选股公式,选择出的票子不统一,发给大家看看,讨论一下哪个才是最好的版本。
选股一:(注意包含了DCLOSE函数,是个移动函数,但是和普通的未来函数有区别,陆老师用的三合一选股用的就是这款)
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9),COLORFFFF00;
MACD:=(DIFF-DEA)*2;
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
底背离:REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
选股二:(其实就是把第一个选股公式的DCLOSE改为了CLOSE)
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);
FILTER(B1>0,5)
选股三:
DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
AB:=REF(DEA,20);
BB:=REF(CLOSE,30);
低值:=LLV(DEA,25);
选股:CROSS("KDJ.J","KDJ.D")AND "KDJ.D"<30 AND DEA>AB AND DEA>低值 AND CLOSE<BB AND 低值<-0.2;
- 上一篇公式:通达信指标-- 空调主图,(主图、源码、贴图)
- 下一篇公式:我的抄底混搭-----(副图,源码,帖图)