1、【大智慧】准确出击(做多、做空、重亏、全亏)-指标公式源码input:N(26,2,100);DRAWGBK(CLOSE0,STRIP(RGB(0,150,130),RGB(0,0,0),1);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);做多:IF(zdzk1=zdzk2,zdzk1+2,zdzk2),PRECIS2,COLORRED;做空:IF(zdzk2-zdzk1,zdz
2、k2,zdzk1),PRECIS2,COLORGREEn;xw1:=IF(O=REF(O,1),0,MAX(O-L),(O-REF(O,1);xw3:=SUM(xw1,21);xw4:=SUM(xw2,21);xw5:=IF(xw3xw4,(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(Z
3、D1=0,0,ZD1*50,4,0),Color0000BE;STICKLINE(ZD11.35;Vw3:=(COST(20)-C)/C0.15;Vw4:=HL*1.051;Vw5:=Vw4 AND COUNT(Vw4,5)1;Vw6:=(C-Vw1)/Vw1*100-30) or Vw2) and Vw3 and Vw5;STICKLINE(Vw6,0,ZD1*40,4,0),Color0000FF;48DRAWICON(Vw6,0,6);买 2XL1:=MA(LOW,2)*0.96; XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)XL2 AND REF(XL1,1)XL1 AND REF(XL1,1)REF(XL1,2);【大智慧】准确出击(做多、做空、重亏、全亏)-指标公式效果图(文档来源:若水财经社区)