背离波段走势 清晰买卖信号【指标公式】(含选股)
第一部分 副图公式 手机/电脑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;
第二部分 选股公式
{选股公式:红柱信号}
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(CROSS(背离,走势),0,走势*1.2,3,0),COLORRED;}
红柱信号:CROSS(背离,走势);
{卖出公式:绿柱信号}
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(CROSS(走势,背离),0,走势*1.2,3,0),COLORGREEN;}
绿柱信号:CROSS(走势,背离);
感谢分享好资源 帮你顶下哈!! 感谢感谢!楼主功德无量,哈哈!
页:
[1]