精准买入加游资进场指标如下:
空:=EMA(C,5);
均衡:EMA(空,5),COLORWHITE;
中轨:HHV(MA(H,13),13),COLORRED,LINETHICK2;
趋势:LLV(MA(H,13),1),COLORGREEN,LINETHICK2;
VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5)ANDCOUNT(VARA>=VARBANDVARA<-17,3)ANDREF(LOW,1)=LLV(LOW,120),1,0),LOW,'买入');
VARC:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARC),HIGH,2);
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
VAR4:=FILTER(IF(COUNT(VAR3<20,5)>=1ANDCOUNT(VAR1=LLV(VAR1,10),10)>=1ANDCLOSE>=OPEN*1.038ANDVOL>MA(VOL,5)*1.2,1,0),5);
DRAWICON(VAR4,LOW,1);
VAR5:=FILTER(均衡>REF(均衡,1)AND中轨REF(C,1),11);
DRAWTEXT(VAR5,L*0.98,'追涨');
VAR6:=REF(CLOSE,1);
VAR7:=SMA(MAX(CLOSE-VAR6,0),6,1)/SMA(ABS(CLOSE-VAR6),6,1)*100;
DRAWTEXT(CROSS(84,VAR7),H*1.03,'逃顶'),COLORYELLOW;
A:EMA(C,21)COLORBLUE,LINETHICK3;
B:=A<REF(A,1);
IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3;
AA:=EMA(C,3)>EMA(C,21);
BB:=EMA(C,3)<EMA(C,21);
CC:=EMA(C,3)>EMA(C,8);
CC1:=EMA(C,3)<EMA(C,8);
DD:=CLOSE<OPEN;
STICKLINE(AA,H,L,0,0),COLOR007FFF;
STICKLINE(AA,O,C,3,1),COLOR007FFF;
STICKLINE(AAANDDD,O,C,3,0),COLOR007FFF;
STICKLINE(BB,H,L,0,0),COLORGREEN;
STICKLINE(BB,O,C,3,1),COLORGREEN;
STICKLINE(BBANDDD,O,C,3,0),COLORGREEN;
STICKLINE(BBANDCC,H,L,0,1),COLORF00FF0;
STICKLINE(BBANDCC,O,C,3,1),COLORF00FF0;
STICKLINE(BBANDCCANDDD,O,C,3,0),COLORF00FF0;
STICKLINE(AAANDCC1,H,L,0,0),COLORBLUE;
STICKLINE(AAANDCC1,O,C,3,1),COLORBLUE;
STICKLINE(AAANDCC1ANDDD,O,C,3,0),COLORBLUE;
买线:=MA(CLOSE,9),LINETHICK2;
卖线:=MA(CLOSE,20);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWTEXT(BU,L-0.1,'建仓')COLORYELLOW;
DRAWTEXT(SEL,H+0.1,'空仓');
A2:=(C-REF(C,1))/REF(C,1)*100<1.02;
A3:=H>MA(C,5)*1.12;
AAA:=A2ANDA3;
DRAWTEXT(AAA,H*1.05,'卖点'),COLORWHITE;
EMA13:=EMA(C,13),COLOR0000FF,LINETHICK2;
EMA34:=EMA(C,34),COLORYELLOW;
EMA55:=EMA(C,55),COLORFF00FF;
EMA120:=EMA(C,120),COLORFFCC66;
AR1:=EMA55>EMA34ANDEMA34>EMA13;
AR2:=BARSLAST((C-EMA13)/EMA13*100<-6);
AR3:=EMA13>=REF(EMA13,2);
AR4:=COUNT(CROSS(C,EMA13),AR2)=1;
AR5:=AR1ANDAR2ANDAR3ANDAR4;
AR6:=AR5ANDFILTER(AR5,10);
DRAWTEXT(AR6,L-0.09,'启动'),COLORYELLOW;
STICKLINE(AR6,H,L,3,0),LINETHICK2,COLORYELLOW;
BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5),5)=5;
BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2;
BR3:=C>EMA55AND(REF(C,1)<REF(EMA55,1)ORREF(C,2)<REF(EMA55,2)ORREF(C,3)<REF(EMA55,3)ORREF(C,4)<REF(EMA55,4)ORREF(C,5)<REF(EMA55,5));
BR4:=BR1ANDBR2ANDBR3;
DRAWTEXT(BR4ANDFILTER(BR4,10),L-0.09,'上升'),COLOR00C5FF;
STICKLINE(BR4ANDFILTER(BR4,10),O,C,3,1),LINETHICK2,COLOR00C5FF;
CR1:=(C-REF(C,1))/REF(C,1)*100>0.5;
CR2:=V>MA(V,5)*0.6;
CR3:=COUNT(CROSS(EMA13,EMA55),3)=1;
CR4:=ABS(EMA34-EMA55)/EMA55<0.03;
CR5:=EMA55<=EMA120ANDEMA55>=REF(EMA55,1);
CR6:=FILTER(CR1ANDCR2ANDCR3ANDCR4ANDCR5,2);
STICKLINE(CR6,O,C,3,1),LINETHICK2,COLORF00FF0;
DRAWTEXT(CR6,L-0.09,'涨升'),COLORF00FF0;
DR1:=EMA13>EMA34ANDEMA34<EMA55;
DR2:=BARSLAST(CROSS(C,EMA55));
DR3:=H=HHV(H,DR2);
DR4:=BARSLAST(DR3);
DR5:=COUNT(O>CANDC<REF(C,1)ANDC>EMA55ANDBETWEEN((C-EMA55)/EMA55,0,0.02),DR4)=1;
DR6:=C>REF(C,1);
DR7:=DR1ANDDR5ANDDR6;
DR8:=DR7ANDFILTER(DR7,10);
DRAWTEXT(DR8,L-0.09,'出击'),COLORD6BA63;
ER:=BARSLAST(REF(CROSS(EMA55,EMA34),1))ANDCROSS(EMA34,EMA55);
DRAWTEXT(ER,L-0.09,'金叉'),COLOR0099FF;
FR:=BARSLAST(REF(CROSS(EMA34,EMA13),1))ANDCROSS(EMA13,EMA34);
DRAWTEXT(FR,L-0.09,'加仓'),COLORWHITE;
GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5));
GR2:=EMA13>EMA34ANDEMA34>EMA55ANDEMA13>REF(EMA13,1);
GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10ANDH=HHV(H,GR1),GR1);
GR4:=H=HHV(H,GR1);
GR5:="MACD.MACD"(12,26,9)<REF("MACD.MACD"(12,26,9),1);
GR6:=GR2ANDGR3ANDGR4;
GR7:=GR2ANDGR3ANDGR4ANDGR5;
DRAWTEXT(GR6ANDGR7,H+0.13,'了结'),COLOR00FF00;
HR2:=EMA13>=REF(EMA13,3)ANDEMA34>=REF(EMA34,1)ANDEMA55>=REF(EMA55,1)ANDCROSS(C,EMA13)ANDCROSS(C,EMA34)ANDCROSS(C,EMA55);
DRAWTEXT(HR2ANDFILTER(HR2,10),L-0.3,'推进'),COLORFFC8FF;
STICKLINE(HR2ANDFILTER(HR2,10),O,C,3,1),LINETHICK2,COLORFFC8FF;
评论(0)