【大智慧】十九無敵指標(biāo)公式
攻城獅 2015.12.02 14:02
i:=MA(BARSLAST(HIGH=HHV(HIGH,16))*IF(CLOSE
r:=MA(BARSLAST(LOW=LLV(LOW,18))*IF(CLOSE>OPEN,VOL,1),4);
短線逃頂:=IF(i,0,1);
DRAWICON(短線逃頂,98,8);
Var1jo:=IF(DATE<1090830 AND DATE>900101,1,0);
Var2jo:=LLV(LOW,10);
Var3jo:=HHV(HIGH,25);
警戒線:= 2.8*Var1jo;
減倉線:= 3.2*Var1jo;
動力線:=EMA((CLOSE-Var2jo)/(Var3jo-Var2jo)*4,4)*Var1jo;
DRAWICON(CROSS(動力線,警戒線),99,5);
{黑馬發(fā)現(xiàn)的底部}{}
Vaz4:=(CLOSE-LLV(CLOSE,126))/(HHV(CLOSE,126)-LLV(CLOSE,126))*100;
Vaz24:=Vaz4=0;
STICKLINE(Vaz24>0,-3,-9,1,2),colorred,linethick3 ;
Vaz25:=Vaz4=100;
STICKLINE(Vaz25>0,101,105,1,2),colorgreen,linethick2;
{睡貓買入}
{n:DMA(AMOUNT/VOL/100,VOL/CAPITAL)/close;}{n日平均:ema(成本比,n);}
睡貓:if(c{南極}
南極:((((MA(CLOSE,5))-CLOSE)/CLOSE>3/100) AND (((MA(CLOSE,10))-(MA(CLOSE,5)))/(MA(CLOSE,5))>0.03) AND (LLV(CLOSE,30)=LLV(CLOSE,120)))*40,linethick2,colorF00FF0;
{一劍封喉}
Var9a:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE Var9b:=SUMBARS(VOL,CAPITAL);
Var9c:=IF(CLOSE>LLV(CLOSE,Var9b),1,-1);
Var9d:=IF(Var9a>LLV(Var9a,Var9b),1,-1);
Var9e:=Var9c*Var9d;
var9f:=IF(Var9e=-1,1,0);
yjfh:(var9f AND CLOSE=LLV(CLOSE,120))*48,linethick1,stick,colorred;
{等待底部買入}
買入: IF(CROSS((4*SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5,1),3,1)),(8)),58,0),stick,color0099ff,linethick6;
drawtext(買入,45,’我買’),color66ffcc;
{導(dǎo)彈}
Var1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
Var1B:=SMA((SMA(Var1A,4,1)-50)*2,3,1);
Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
Var1D:=SMA(Var1C,4,1);
Var1E:=SMA(Var1D,3,1);
Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
VarE:=REF(LOW,1)*0.9;
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,30);
Var12:=CLOSE-REF(CLOSE,1);
Var13:=MAX(Var12,0);
Var14:=ABS(Var12);
Var15:=SMA(Var13,7,1)/SMA(Var14,7,1)*100;
Var16:=SMA(Var13,13,1)/SMA(Var14,13,1)*100;
Var17:=BARSCOUNT(CLOSE);
Var18:=SMA(MAX(Var12,0),6,1)/SMA(ABS(Var12),6,1)*100;
Var19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
Var20:=Var18<=25 AND Var19<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30 AND Var11-CLOSE>=-0.25 AND Var15<22 AND Var16<28 AND Var17>50;
DRAWTEXTABS(5,5,’概念股網(wǎng) www.chiang1015.com’),linethick1,COLOR00EEff;
STICKLINE(Var20,0,95,5,0),LINETHICK2,COLORRED;
DRAWTEXT(CROSS(Var20,0.5) AND COUNT(Var20=1,10)=1,60,’發(fā)射導(dǎo)彈 ‘),LINETHICK7 , COLORwhite;
{我賣}{}
Vat3:=REF(CLOSE,1);
Vat4:=SMA(MAX(CLOSE-Vat3,0),6,1)/SMA(ABS(CLOSE-Vat3),6,1)*100;
我賣:(CROSS(80,Vat4))*82,stick,LINETHICK6,color9900CC ;
drawtext(我賣,80,’我賣’),colorred;
{玄黃賣出}
快逃: IF(CROSS((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)),90),60,0),stick,linethick4,colorgreen;
drawtext(快逃,50,’快逃’),colorwhite;
{底部雷達(dá)}
Varo2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
Varo3:=SMA(SMA(Varo2,3,1),3,1);
Varo4:=EMA(Varo3,5);
Varo5:=LLV(LOW,26);
Varo6:=HHV(HIGH,34);
Varo7:=EMA((CLOSE-Varo5)/(Varo6-Varo5)*4,4)*25;
STICKLINE(CROSS(Varo4,10) AND Varo4>10,25,0,8,0),coloryellow;
建倉區(qū): IF((Varo7<10),80,100),linethick2 ,color00ccff;
派發(fā)區(qū): IF((Varo7>90),20,0),linethick2 ,color6699ff;
{莊家蹤跡中的買賣信號成功率為80-95 %}
Vay3:=(CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100;
VayA:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
成功率:IF(CROSS(((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100),(EMA(Vay3,18))) AND CLOSESTICKLINE(CROSS(((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100),(EMA(Vay3,18))) AND CLOSE DRAWICON(CROSS(((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100),(EMA(Vay3,18))) AND CLOSE DRAWTEXT(CROSS(((CLOSE-MA(CLOSE,30))/STD(CLOSE,15)*100),(EMA(Vay3,18))) AND CLOSE {Z馬神君}
天馬行空線:=ma(cost(85),5);
訓(xùn)馬線:=ma(cost(15),5);
黑馬線:=ma(cost(50),5);
天馬踏地線:=ma(cost(1),7);
牽馬繩:=ema(close,3);
DRAWICON(cross(牽馬繩,天馬踏地線) ,-5, 6);
DRAWICON(count(cross(天馬行空線,牽馬繩),20)=2 and 天馬行空線/天馬踏地線>1.6 ,95 , 10);
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場,不代表本網(wǎng)贊同其觀點(diǎn),亦不對其真實(shí)性負(fù)責(zé),投資決策請建立在獨(dú)立思考之上。