同花顺资金背离副图指标 源码介绍
同花顺资金背离副图指标 源码
0,coloryellow;
ZJX1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4;
ZJX2:=EMA(CLOSE,2)-EMA(CLOSE,89);
ZJX3:=2*(ZJX2- EMA(ZJX2,30))*10;
ZJX4:=EMA(CLOSE,2)-EMA(CLOSE,150);
ZJX5:=2*(ZJX4-EMA(ZJX4,100));
背离值:(POW(ZJX3,3)*0.1+POW(ZJX3,2))/45+(POW(ZJX5,3)*0.1+POW(ZJX5,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;
gd47151