macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
26
2024 / 11 / 20
2023-05-03 20:55:24 通达信指标网
公式源码:
N:=21;
VAR1:=(CLOSE-MA(CLOSE,N))/MA(CLOSE,N)*100;
VAR2:=EMA(VAR1,13);
VAR3:=REF(VAR2,1);
STICKLINE(VAR2>=VAR3,VAR3,VAR2,4,0), COLORRED;
STICKLINE(VAR3>VAR2,VAR2,VAR3,4,0), COLORFFFF00;
MA1:MA(VAR2,3);
MA2:MA(VAR2,7);
MA3:MA(VAR2,9);
MA4:MA(VAR2,18);
XG:CROSS(VAR2,VAR3),NODRAW;
DRAWICON(XG=1,MA1,7),COLORYELLOW;
NHDG0:=MAX(MAX(MA1,MA2),MAX(MA2,MA3));
NHDG1:=MAX(MAX(NHDG0,MA4),MAX(MA3,MA4));
NHDG3:=MIN(MIN(MA1,MA2),MIN(MA2,MA3));
NHDG4:=MIN(MIN(NHDG0,MA4),MIN(MA3,MA4));
顾比:=(NHDG1/NHDG4-1)*100<1.5 AND MA1>=MA2 AND V<=HHV(V,15)*0.9 AND C<=0.93*MA(C,60);
顾比粘合:FILTER(顾比,5),COLORYELLOW,LINETHICK0;
DRAWTEXT(顾比粘合=1,MA1*0.99,'☆'),COLORYELLOW;
TG:CROSS(VAR2,MA4) AND V<=HHV(V,15)*0.9,LINETHICK0;
DRAWTEXT(TG=1,MA4*0.99,'◆'),COLORFF00FF;
原文链接:https://www.tdxzb.com/?id=1242
本文版权:如无特别标注,本站文章均为原创。