【股票指标公式下载】-【通达信】准确出击(重亏、全亏、超跌) 下载本文

内容发布更新时间 : 2024/12/24 20:17:39星期一 下面是文章的全部内容请认真阅读。

【通达信】准确出击(重亏、全亏、超跌)-指标公式源码

{N=26}

RSVP:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50; KV:=SMA(RSVP,3,1); DV:=SMA(KV,3,1); JV:=3*KV-2*DV; ZDZK1:=EMA(JV,6); ZDZK2:=REF(ZDZK1,1);

XW1:=IF(O<=REF(O,1),0,MAX((H-O),(O-REF(O,1)))); XW2:=IF(O>=REF(O,1),0,MAX((O-L),(O-REF(O,1)))); XW3:=SUM(XW1,21); XW4:=SUM(XW2,21);

XW5:=IF(XW3>XW4,(XW3-XW4)/XW3,IF(XW3=XW4,0,(XW3-XW4)/XW4)); {14天强弱}

RS:=SMA(MAX(C-REF(C,1),0),14,1)/SMA(ABS(C-REF(C,1)),14,1)*100; ZD:= EMA(EMA(EMA(RS,7),3),3); ZD1:=(ZD-REF(ZD,1))/REF(ZD,1)*15;

STICKLINE(ZD1>=0,0,ZD1*50,0.5,0),COLOR0000BE; STICKLINE(ZD1<=0,0,ZD1*50,0.5,0),COLORCYAN; Y1:=AMOUNT/V/100; Y2:=(3*H+L+O+2*C)/7;

Y3:=100*(WINNER(1.1*C)-WINNER(0.9*C)); Y4:=SUM(AMOUNT,13)/Y1/100; Y5:= DMA(Y2,V/Y4); Y6:=(C-Y5)/Y5*100; Y7:=(Y3<10) AND (Y6<=-10);

Y8:=SMA(MAX(C-REF(C,1.5),0),6,1)/SMA(ABS(C-REF(C,1.5)),1,1)*100; 重亏:STICKLINE(Y6<=-10 AND ZD1<0,ZD1*55,ZD1*45,1,0),COLORFF89B2; 全亏:STICKLINE(Y6<=-16 AND ZD1<0,ZD1*60,ZD1*55,1,1),COLORBLUE; 超跌:STICKLINE(Y7 AND ZD1<0,ZD1*65,ZD1*60,1,0),COLORFFFFFF;

【通达信】准确出击(重亏、全亏、超跌)-指标公式效果图

(文档来源:若水财经社区)