macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
48
2024 / 11 / 20
2023-12-05 22:00:36 通达信指标网
{参数:N:2 1000 14; N1:2 1000 5}
JJ:=(H+L+C)/3;
QJ0:=VOL/IF(H=L,4,H-L);
TD1:=QJ0*(MIN(O,C)-L);
DD1:=QJ0*(JJ-MIN(C,O));
DD2:=QJ0*(H-MAX(O,C));
TD2:=QJ0*(MAX(C,O)-JJ);
TD:=TD1-TD2;DA:=DD1-DD2;
XD1:=1-(TD1+DD1);
XD2:=1-(TD2+DD2);
TZ:=VOL/SUM(VOL,60)*100;
DT:=((XD1-XD2)/10000)/TZ;
SHCC:SUM(DT,N),COLORWHITE;
MSHCC:EMA(EMA(EMA(SHCC,N1),N1),N1),COLORGREEN;
STICKLINE(DT>0,SHCC,SHCC+DT,1,0),COLORFF8800;
STICKLINE(DT<0,SHCC+DT,SHCC,1,0),COLORFF00FF;
原文链接:https://www.tdxzb.com/?id=1999
本文版权:如无特别标注,本站文章均为原创。