以下是发一个自己编写的背离指标
这里的高手很多,不过我相信基本的原则,即背离往往会导致反转。
这个指标用的都系统的基本指标,提示是否出现了背离。
B1:=”MACD.MACD” ;
M底: (LLV(C,60)=REF(C,1)) AND NOT(LLV(B1,60)=REF(B1,1)) AND B1>REF(B1,1);
{M顶: (HHV(C,60)=REF(C,1)) AND NOT(HHV(B1,60)=REF(B1,1)) AND B1<REF(B1,1);}
B2:=”MACD.DIF” ;
M1底: (LLV(C,60)=REF(C,1)) AND NOT(LLV(B2,60)=REF(B2,1)) AND B2>REF(B2,1);
{M1顶: (HHV(C,60)=REF(C,1)) AND NOT(HHV(B2,60)=REF(B2,1)) AND B2<REF(B2,1);}
J:=”KDJ.J”(9,3,3);
J底: (LLV(C,60)=REF(C,1)) AND NOT(LLV(J,60)=REF(J,1)) AND J>REF(J,1);
{J顶: (HHV(C,60)=REF(C,1)) AND NOT(HHV(J,60)=REF(J,1)) AND J<REF(J,1);}
R:=”RSI.RSI2″;
R底: (LLV(C,60)=REF(C,1)) AND NOT(LLV(R,60)=REF(R,1)) AND R>REF(R,1);
{R顶: (HHV(C,60)=REF(C,1)) AND NOT(HHV(R,60)=REF(R,1)) AND R<REF(R,1);};
M:=”MTM.MTM”;
MTM底: (LLV(C,60)=REF(C,1)) AND NOT(LLV(M,60)=REF(M,1)) AND M>REF(M,1);
评论(0)