macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
26
2024 / 11 / 20
2022-10-06 11:13:43 通达信指标网
公式源码:
MA1:=MA(C,10);
MA20:=MA(C,20);
STICKLINE(MA1>=REF(MA1,1),MA1,REF(MA1,1),2,0),COLORRED;
STICKLINE(MA1<REF(MA1,1),MA1,REF(MA1,1),2,1),COLORGREEN;
STICKLINE(MA20>=REF(MA20,1),MA20,REF(MA20,1),2,0),COLORYELLOW;
STICKLINE(MA20<REF(MA20,1),MA20,REF(MA20,1),2,1),COLORFFFFFF;
赢在龙头:=(L+H+C*4)/6;
趋势轨:=EMA(赢在龙头,12);
赢在:=(趋势轨-REF(趋势轨,1))/REF(趋势轨,1)*100;
G:=BARSLAST(CROSS(赢在,0));
止损线:=REF(L,G);
上涨斜率:=(趋势轨-止损线)/止损线*100,NODRAW;
V1:=EMA(EMA(EMA(CLOSE,8),13),55);
V2:=(REF(HIGH,1)+REF(LOW,1))/2;
V3:=MA(CLOSE,20)+2*STD(CLOSE,20);
DRAWICON(CROSS(V2,V3),HIGH*1.035,10);
DRAWTEXT(CROSS(V2,V3),HIGH*1.02,'卖'),COLORBLUE;
V4:=REF(CLOSE,1);
V5:=SMA(MAX(CLOSE-V4,0),7,1)/SMA(ABS(CLOSE-V4),7,1)*100;
V6:=CROSS(79,V5);
V7:=FILTER(V6,4);
DRAWICON(V7,HIGH*1.035,10);
DRAWTEXT(V7,HIGH*1.02,'卖'),COLORGREEN;
A1:=REF(C,5)<REF(O,5) AND REF(C,4)<REF(O,4) AND REF(C,3)<REF(O,3);
原文链接:https://www.tdxzb.com/?id=638
本文版权:如无特别标注,本站文章均为原创。