macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
26
2024 / 11 / 20
2023-05-02 11:05:56 通达信指标网
公式源码:
N:=46;
XX:=CLOSE;
X1:=(MA(XX,3)+MA(XX,5)+MA(XX,8)+MA(XX,13)+MA(XX,21))/5;
LO:=X1+5*SLOPE(X1,3);
LL:=SMA((LO-LLV(LO,N))/(HHV(LO,N)-LLV(LO,N))*100,3,1),COLORRED;
X:=IF(CROSS(LL,10),5,0);
J:=EMA(LL,5);
Y5:J-2*STD(J,10),COLORLIGRAY;
Y2:EMA(LL,13)*1.2,COLORLIGRAY;
DRAWBAND(Y5+3,RGB(76,76,76),Y2-3,RGB(76,76,76));{外}
STICKLINE(LL>=90 OR LL>=80,50,60,5,1),COLORBLUE;
DRAWTEXT(IF(X>REF(X,1),-8,0),-8, 'KKKK '),COLOR00FFFF,LINETHICK4;
DRAWTEXT(CROSS(10,LL),-10,'买警'),COLORMAGENTA;
DRAWTEXT(CROSS(LL,80),55,'卖警'),COLORYELLOW;
STICKLINE(Y2<20 ,-20 ,-15 ,5,1),COLORCYAN;
底部区域:STICKLINE(1 ,20 ,10 ,0,0 ),COLORBROWN;
DRAWTEXT(CROSS(20,Y2) ,40 ,'入底' ),COLORWHITE;
短线:SMA((LO-LLV(LO,N))/(HHV(LO,N)-LLV(LO,N))*100,3,1),COLORRED;
趋势:3*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-2*
SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-
LLV(LOW,N))*100,5,1),3,1),COLORGREEN;
118,POINTDOT,COLORCYAN;
-30,POINTDOT,COLORCYAN;
原文链接:https://www.tdxzb.com/?id=1238
本文版权:如无特别标注,本站文章均为原创。