觅庄建仓
DRAWGBK(DATE>900101,COLORRGB(0,150,130),COLORRGB(0,0,0),1);
RSVP:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,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),colorFF;
做空:IF(ZDZK2-ZDZK1,ZDZK2,ZDZK1),colorFF00;
ZS1:=WINNER(MA(CLOSE,1))*25;
ZS2:=WINNER(MA(CLOSE,20))*25;
ZS3:=(ZS1-ZS2)*3;
强势:STICKLINE(ZS1-ZS2>-0.02,ZS3,0,2,1),COLORSTICK,LINETHICK2,color5454FF;
CD1:=REF(CLOSE,1)/CLOSE;
CD2:=(1-MA(LOW,3)/(MA((HIGH+LOW+2*CLOSE)/4,20)))*100-5;
CD3:=(MA(HIGH,3)/(MA((HIGH+LOW+2*CLOSE)/4,20))-1)*100-5;
CD4:=IF(CD2>0,-CD2*REF((HIGH+LOW+2*CLOSE)/4,3)/CLOSE,0);
CD5:=(-CD2*REF((HIGH+LOW+2*CLOSE)/4,3)/CLOSE)*3;
主力打压建仓:STICKLINE(CD4,CD5,0,4,1),colorFFFF00;
XW1:=IF(OPEN<=REF(OPEN,1),0,MAX(HIGH-OPEN,OPEN-REF(OPEN,1)));
XW2:=IF(OPEN>=REF(OPEN,1),0,MAX(OPEN-LOW,OPEN-REF(OPEN,1)));
XW3:=SUM(XW1,21);
XW4:=SUM(XW2,21);
XW5:=IF(XW3>XW4,(XW3-XW4)/XW3,IF(XW3=XW4,0,(XW3-XW4)/XW4));
ZDD1:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
ZDD2:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
ZDD3:=SMA(ZDD2,13,8);
ZDD4:=CEILING(SMA(ZDD3,13,8));
ZDD5:=SMA(ZDD1,21,8);
XH1:=(SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1))/(SMA(ABS(CLOSE-REF(CLOSE,2)),7,1))*100;
XH2:=ZDD4-ZDD5<-65 AND XH1<12;
备战区:DRAWICON(XH2,0,12),color6EFF;
STICKLINE(XH2,0,CD5,1,1),color6EFF;
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,CD5,1,1),color6EFF;
DRAWICON(XX3,0,12);
C0:=REF(CLOSE,2)*0.865;
C1:=REF(CLOSE,13)*0.772;
DSY:=100*VOL/CAPITAL;
STICKLINE((CLOSE-MIN(C0,C1))/CLOSE<0.1 AND SUM(DSY,5)/5<1.8,0,CD5,1,1),color6EFF;
DRAWICON((CLOSE-MIN(C0,C1))/CLOSE<0.1 AND SUM(DSY,5)/5<1.8,0,12);
WW1:=SUM(MA(CLOSE,10),9)/10.11;
WW2:=CROSS(CLOSE,WW1);
STICKLINE(WW2,0,CD5,1,1),color6EFF;
DRAWICON(WW2,0,12);
VW1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
VW2:=REF(HIGH,10)/CLOSE>1.35;
VW3:=(COST(20)-CLOSE)/CLOSE>0.15;
VW4:=HIGH>LOW*1.051;
VW5:=VW4 AND COUNT(VW4,5)>1;
VW6:=((CLOSE-VW1)/VW1*100<-30 OR VW2) AND VW3 AND VW5;
STICKLINE(VW6,0,CD5,1,0),colorFF;
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,24,40,1,0),colorF8B7F0;
DRAWTEXT(XL3,39,'←买'),colorF8B7F0;
JJP1:=REF(INDEXC,1);
JJP2:=FILTER((INDEXC-JJP1)/JJP1>0.03 AND ZDZK1>=ZDZK2,7);
STICKLINE(JJP2,24,40,1,0),colorFF00FF;
DRAWTEXT(JJP2,39,'←买'),colorFF00FF;
Y1:=AMOUNT/VOL/100;
Y2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
Y3:=100*(WINNER(1.1*CLOSE)-WINNER(0.9*CLOSE));
Y4:=SUM(AMOUNT,13)/Y1/100;
Y5:=DMA(Y2,VOL/Y4);
Y6:=(CLOSE-Y5)/Y5*100;
Y7:=Y3<10 AND Y6<=-10;
Y8:=(SMA(MAX(CLOSE-REF(CLOSE,1.5),0),6,1))/(SMA(ABS(CLOSE-REF(CLOSE,1.5)),6,1))*100;
重亏:STICKLINE(Y6<=-10,CD5*1.2,CD5*1.4,6,0),colorFF89B2;
全亏:STICKLINE(Y6<=-16,CD5*1.4,CD5*1.6,6,1),colorFF0000;
超跌:STICKLINE(Y7,CD5*1.6,CD5*1.8,6,0),colorFFFFFF;
DRAWTEXT(REF(Y8,1)>80 AND Y8<79,做多+5,'←逃'),colorFFFF;
STICKLINE(REF(Y8,1)>80 AND Y8<79,做多-10,做多+6,2,0),colorFFFF;
0,POINTDOT,color8000;
|