背离波段走势 清晰买卖信号【指标公式】(含选股)
第一部分 副图公式 手机/电脑
0,COLORYELLOW;
CAIH1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
CAIH2:=EMA(CLOSE,2)-EMA(CLOSE,89);
CAIH3:=2*(CAIH2- EMA(CAIH2,30))*10;
CAIH4:=EMA(CLOSE,2)-EMA(CLOSE,150);
CAIH5:=2*(CAIH4-EMA(CAIH4,100));
背离 POW(CAIH3,3)*0.1+POW(CAIH3,2))/45+(POW(CAIH5,3)*0.1+POW(CAIH5,1))*5,COLORRED;
走势:EMA(背离,5),COLORYELLOW;
STICKLINE(走势>REF(走势,1),0,走势,1,1),COLORRED;
STICKLINE(走势<=REF(走势,1),0,走势,1,1),COLORGREEN;
STICKLINE(CROSS(背离,走势),0,走势*1.2,3,0),COLORRED;
STICKLINE(CROSS(走势,背离),0,走势*1.2,3,0),COLORGREEN;
第二部分 选股公式
0,COLORYELLOW;
CAIH1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
CAIH2:=EMA(CLOSE,2)-EMA(CLOSE,89);
CAIH3:=2*(CAIH2- EMA(CAIH2,30))*10;
CAIH4:=EMA(CLOSE,2)-EMA(CLOSE,150);
CAIH5:=2*(CAIH4-EMA(CAIH4,100));
背离
走势:EMA(背离,5),COLORYELLOW;
STICKLINE(走势>REF(走势,1),0,走势,1,1),COLORRED;
STICKLINE(走势<=REF(走势,1),0,走势,1,1),COLORGREEN;
STICKLINE(CROSS(背离,走势),0,走势*1.2,3,0),COLORRED;
STICKLINE(CROSS(走势,背离),0,走势*1.2,3,0),COLORGREEN;
第二部分 选股公式