【大智慧】跟莊建倉(cāng)指標(biāo)公式
攻城獅 2015.12.30 22:14
A01:=DYNAINFO(7);
A03:=BARSCOUNT(CLOSE);
A04:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
A05:=IF((A03 > 20),A04,0);
A06:=IF((LOW > A01),0,IF((HIGH < A01),1,(((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
A07:=DMA(A06,(VOL / CAPITAL)) * 60;
A09:=IF((((A07 > 0) AND (A07 > REF(A07,1))) AND (A05 <= 88)),A07,0);
Var1:=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);
Var2:=EMA(Var1,8);
Var3:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢(shì):=EMA(Var3,3)-10;
STICKLINE(趨勢(shì)>80,趨勢(shì),80,6,0);
DRAWTEXT(CROSS(趨勢(shì),0),0,’▲’),color0000ff;
STICKLINE((A09 > 0 AND (趨勢(shì)<20 OR 趨勢(shì)>REF(趨勢(shì),1)AND 趨勢(shì)<50)),0,A09,5,0),COLORFFFF00;
機(jī)構(gòu)建倉(cāng)區(qū):0,LINETHICK0,colorFFFF00;
Var4:=(趨勢(shì)-REF(趨勢(shì),1))/REF(趨勢(shì),1)*100;
STICKLINE(趨勢(shì)<=13,0,20,5,0),colorcc9900;
DRAWTEXT(FILTER(趨勢(shì)<=13,15),30,'準(zhǔn)備現(xiàn)金'),colorcc9900;
STICKLINE(趨勢(shì)<=13 AND Var4>13,0,50,5,0),color0099ff;
Var5:=FILTER((趨勢(shì)<=13 AND Var4>13),10);
DRAWTEXT(Var5,60,’買入’),color0099ff;
STICKLINE(趨勢(shì)>=90 AND Var4,0,30,5,0),colorgray;
Var6:=FILTER((趨勢(shì)>=90 AND Var4),10);
DRAWTEXT(Var6,40,’清倉(cāng)’),colorgray;
Var7:=LLV(LOW,30);
Var8:=HHV(HIGH,30);
Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;
STICKLINE(Var9>90,100,105,10,2),COLORRED;
Var10:=(Var9-LLV(Var9,4))/(HHV(Var9,4)-LLV(Var9,4))*100;
DRAWTEXT(IF(CROSS(Var9,Var10) AND Var9>87,95,0),88,’險(xiǎn)’),Color00FF00;
DRAWTEXT(CROSS(90,Var9),98,’↓’),color0000ff;
Var11:=SMA(ABS(L-REF(L,1)),98,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
Var12:=HHV(Var11,30)*8;
火焰山:EMA(IF(LOW<=Var7 AND 趨勢(shì)<40,(Var11+Var12),0),3)/618,COLORRED,linethick2;
STICKLINE(火焰山>0,0 ,火焰山*1.2,8,0 ),COLORRED;
Var13:=(MA(C,1)+MA(C,3)+MA(C,5)+MA(C,7)+MA(C,9))/5;
Var14:=(MA(C,2)+MA(C,4)+MA(C,6)+MA(C,8)+MA(C,10))/5;
趨勢(shì)線: 趨勢(shì),colorff0000;
Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;
Var17:=EMA(Var16,5);
波浪峰:Var17,stick,colorff00ff;
STICKLINE(Var17 Var18:=MA(趨勢(shì)線,8);
if(CROSS(Var2,Var18) AND Var2<15,50,0),COLORRED;
DRAWTEXT(CROSS(趨勢(shì)線,Var2)AND 趨勢(shì)線>REF(趨勢(shì)線,1)AND 趨勢(shì)線<50,50,'追漲'),COLORFF0000;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://m.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。