通达信井喷式买入副图
选股公式副图源码测试图
RSV:=(C-LLV(L,30))/(HHV(H,30)-LLV(L,30))*100-50;
KV:=SMA(RSV,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),,COLORRED;
做空:IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),,COLOR334499;
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));
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,4,0),COLOR0000BE;
STICKLINE(ZD1 =0,0,ZD1*50,4,0),COLORCDFF88;
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)),6,1)*100;
重亏:STICKLINE(Y6 =-10 AND ZD1 0,ZD1*55,ZD1*45,6,0),COLORFF89B2;
全亏:STICKLINE(Y6 =-16 AND ZD1 0,ZD1*60,ZD1*55,6,1),COLORBLUE;
超跌:STICKLINE(Y7 AND ZD1 0,ZD1*65,ZD1*60,6,0),COLORFFFFFF;
JCT:=100*(C-COST(10))/COST(10);
IF(C,IF(JCT 0,JCT,0)*3,0),COLORWHITE;
ZDD1:=(HHV(H,21)-C)/(HHV(H,21)-LLV(L,21))*100-10;
ZDD2:=(C-LLV(L,21))/(HHV(H,21)-LLV(L,21))*100;
ZDD3:=SMA(ZDD2,13,8);
ZDD4:=CEILING(SMA(ZDD3,13,8));
ZDD5:=SMA(ZDD1,21,8);
XH1:=SMA(MAX(C-REF(C,2),0),7,1)/SMA(ABS(C-REF(C,2)),7,1)*100;
XH2:=ZDD4-ZDD5 -65 AND XH1
备战区:DRAWICON(XH2,0,12),COLOR006EFF;
STICKLINE(XH2,0,ZD1*20,4,0),COLOR006EFF;
XX1:=MA(LOW,2)*0.96;
XX2:=MA(LOW,26)*0.85;
XX3:= REF(XX1,1) XX2 AND REF(XX1,1) XX1 AND REF(XX1,1) REF(XX1,2);
STICKLINE(XX3,0,ZD1*16,4,0),COLOR006EFF;
DRAWICON(XX3,0,12);
C0:=REF(C,2)*0.865;
C1:=REF(C,13)*0.772;
DSY:=100*VOL/CAPITAL;
STICKLINE((C-MIN(C0,C1))/C 0.1 AND SUM(DSY,5)/5 1.8,0,ZD1*25,4,0),COLOR006EFF;
DRAWICON((C-MIN(C0,C1))/C 0.1 AND SUM(DSY,5)/5 1.8,0,12);
WW1:= SUM( MA(C,10),9)/10.110;
WW2:=CROSS(C,WW1);
STICKLINE(WW2,0,ZD1*26,4,0),COLOR006EFF;
DRAWICON(WW2,0,12);
VW1:=DMA(EMA(C,12),SUM(V,5)/3/CAPITAL);
VW2:=REF(H,10)/C 1.35;
VW3:=(COST(20)-C)/C 0.15;
VW4:=H L*1.051;
VW5:=VW4 AND COUNT(VW4,5)
VW6:=(((C-VW1)/VW1*100 -30) OR VW2) AND VW3 AND VW5;
STICKLINE(VW6,0,ZD1*40,4,0),COLOR0000FF;
DRAWICON(VW6,0,6);
XL1:=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);
STICKLINE(XL3,0,15,4,0),COLORF8B7F0;
DRAWTEXT(XL3,25,' 买'),COLORF8B7F0;
JJP1:=REF(INDEXC,1);
JJP2:=FILTER((INDEXC-JJP1)/JJP1 0.03 AND ZDZK1 =ZDZK2,7);
STICKLINE(JJP2,0,-15,4,0),COLORFF00FF;
DRAWTEXT(JJP2,-15,' 井喷买'),COLORFF00FF;