大智慧买入易涨停A主图源码
-
相关简介:N:=10;LC:=24; MA5:MA(C,5),COLOR00FF00; MA10:MA(C,10),COLORFFFFFF; ZX:=(MA5+MA10)/2; MA24:MA(C,24),COLORFF00FF; {24日指数平滑均线,是真正大资金运作的主要参考和支撑线} MA30:MA(C,30),COLORYELLOW; ZDF:=(C-REF(C,1))/REF(C,1)*100; STICKLINE(ZDF9.8,O,C,6,0),COLORRED; STICKLINE(ZDF-
-
文章来源:股海网作者:股海网发布时间:2016-04-16浏览次数:
N:=10;LC:=24;
MA5:MA(C,5),COLOR00FF00;
MA10:MA(C,10),COLORFFFFFF;
ZX:=(MA5+MA10)/2;
MA24:MA(C,24),COLORFF00FF; {24日指数平滑均线,是真正大资金运作的主要参考和支撑线}
MA30:MA(C,30),COLORYELLOW;
ZDF:=(C-REF(C,1))/REF(C,1)*100;
STICKLINE(ZDF>9.8,O,C,6,0),COLORRED;
STICKLINE(ZDF<-9.8,O,C,6,0),COLORBLUE;
QSXS:=MA5>=MA30 AND MA30>REF(MA30,1);
GD:=ZX>=REF(ZX,1) AND REF(ZX,1)<REF(ZX,2);
YB:=C>REF((O-C)/2+C,2);
买:CROSS(C,ZX) AND (GD OR YB) AND QSXS,COLOR00FF00,POINTDOT,LINETHICK0;
买入易涨停:买 AND MA5>REF(MA5,1),COLORYELLOW,POINTDOT,linethick0;
STICKLINE(买,h,l,0,0),COLOR00FF00,linethick2;
STICKLINE(买,o,c,0,0),COLOR00FF00,linethick2;
STICKLINE(买入易涨停,h,l,0,0),COLORYELLOW,linethick2;
STICKLINE(买入易涨停,o,c,4,0),COLORYELLOW,linethick2;
DRAWTEXT(买,L*0.99, '买'),COLOR00FF00;
DRAWICON(买入易涨停,L,1);
上线:=sma(c,6.5,1);
下线:=sma(c,13.5,1);
上线1:=sma(c,3,1);
下线1:=sma(c,8,1);
DRAWTEXT( cross(上线,下线),low *0.98,'全仓▲买哟' ),color00ff00;
D:=MA(CLOSE,80)-MA(CLOSE,10)/3;
DRAWTEXT(if(CLOSE<D and VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08
AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW*0.98,'▲抄底'),coloryellow;
能量线:=DMA(((CLOSE + OPEN) / 2),(VOL / (SMA(VOL,4,1) *4)));
上开:=O;
上收:=C;
上高:=H;
上低:=L;
JJ:=(上开+上高+上低)/3;
VA1:=EMA(上收,8);
VA2:=EMA(上收,28);
DRAWTEXT(CROSS(VA2,VA1),VA1*1.10,'全仓▼卖'),COLORYELLOW;
x1:=(3*C+H+L+O)/6;
x2:=EMA(x1,10);
x3:=REF(x2,1);
x4:=(REF(HIGH,1)+REF(LOW,1))/2;
x5:=MA(CLOSE,21)+2*STD(CLOSE,21);
x6:=REF(CLOSE,1);{出货}
x7:=SMA(MAX(CLOSE-x6,0),7,1)/SMA(ABS(CLOSE-x6),7,1)*100;
x8:=CROSS(79,x7);
x9:=FILTER(x8,4);{40}
XL11:=EMA(CLOSE,10)/100;{70}
XL2:= MA((XL11-REF(XL11,10))/REF(XL11,10),3)*100;
XL3:= MA(XL2,3);
XL4:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
DRAWTEXT((TROUGHBARS(3,15,1)=0) AND (HIGH>LOW+0.01),l-0.02,'买'),colorred;
DRAWTEXT(IF(CROSS(2*(EMA((CLOSE*2+HIGH+LOW)/4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26)-EMA(EMA((CLOSE*2+HIGH+LOW)/
4,12)-EMA((CLOSE*2+HIGH+LOW)/4,26),2))*5.8,0.47),LOW,0) and x2>x3,l-0.4,'加▲仓'),ColorFF5ED8;{80}
VAR11:=(ZIG(3,10) < REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) > REF(ZIG(3,10),2));
VAR22:=(ZIG(3,10) > REF(ZIG(3,10),1)) AND (REF(ZIG(3,10),1) < REF(ZIG(3,10),2));
DRAWTEXT(VAR11,HIGH*1.05,'逃▼顶'),STICK,COLORf0f000, linethick4;
TY:=C;
AA1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(AA1,10); C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);
AA2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(AA2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);
AB:=REF(C,BARSLAST(HD));
Z:=REF(L,BARSLAST(LD));
T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
峰:IF(T1,AB,AB),color00ff00,linethick1,POINTDOT;
谷:IF(T2,Z,Z),POINTDOT,color009090;
cj2:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);
cj3:=(CLOSE-cj2)/cj2*100;
cj4:=REF(cj3,1)<-40 AND cj3>REF(cj3,1) AND REF(cj3,1)<REF(cj3,2) AND cj3-REF(cj3,1)>2.5;
cj5:=(CLOSE-OPEN)/OPEN*100;
cj6:=REF(CLOSE,1);
cj7:=SMA(MAX(CLOSE-cj6,0),6,1)/SMA(ABS(CLOSE-cj6),6,1)*100;
cj8:=COUNT(cj7<20,20)>=1;
cj9:=cj5>9 AND cj8;
cjA:=100*WINNER(OPEN);
cjB:=100*WINNER(CLOSE);
cjC:=cjB-cjA;
cjD:=cjC>=30;
cjE:=CLOSE/MA(CLOSE,3)>=1.07 AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
cjF:=REF(CLOSE,1);
cj10:=SMA(MAX(CLOSE-cjF,0),5,1)/SMA(ABS(CLOSE-cjF),5,1)*100;
cj11:=COUNT(cj10<20,20)>=1;
cj12:=cjE AND cj11;
cj13:=MA(CLOSE,4);
cj14:=MA(CLOSE,10);
cj15:=MA(CLOSE,20);
cj16:=MA(CLOSE,25);
cj17:=COUNT(CROSS(cj14,cj15),2)=1;
cj18:=COUNT(CROSS(cj13,cj16),2)=1;
cj19:=cj17 AND cj18;
cj1A:=cj12 AND cjD AND cj19;
cj1B:=MA(CLOSE,80)-MA(CLOSE,10)/3;
cj1C:=CLOSE<cj1B AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3;
短底反弹:=cj4 OR cj9 OR cj1A OR cj1C;
ls:=c/ref(c,1)>1.048 and c=h and between(forcast(V,4),0.2*forcast(v,12),2.1*forcast(v,12));
拉升:=filter(ls,28)*100;
DRAWTEXT(短底反弹,low*0.97,'短底●反弹'),linethick2,colorffffff;
DRAWTEXT(拉升,low*0.99,'拉.▲.升'),color00ff00;
DRAWICON(拉升,low*0.99,1),color00ff00;