5日均線(xiàn)10日均線(xiàn)20日均線(xiàn)向上,股價(jià)回調(diào)到10日均線(xiàn)的公式(2012-03-02 22:13:17)
標(biāo)簽:
日均股價(jià)回調(diào)公式向上分類(lèi):
技術(shù)學(xué)習(xí)AA:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
BB:=MA(CLOSE,10)>MA(CLOSE,20);
CC:=REF(CLOSE,1)<REF(OPEN,1);
DD:=CLOSE>OPEN;
EE:=CLOSE>MA(CLOSE,10);
FF:=LOW<MA(CLOSE,10);
AA AND BB AND CC AND DD AND EE AND FF;
伏擊大牛股
ma5:ma(c,5);
ma6:=ma(c,6);
ma10:ma(c,10);
ma20:ma(c,20);
A2:=REF(ma20,1);J1:=(ma20-A2)/A2*100;MJ1:=ma(J1,3);
ma30:ma(c,30);
ma55:ma(c,55);
ma120:ma(c,120);
乖離2:=(ma20-ma30)/ma30*100;
Var1:=if(between(乖離2,-2,m),2,0);
max1:=max(ma20,ma30);
max2:=max(max1,ma55);
min1:=min(ma20,ma30);
min2:=min(min1,ma55);
k1:=(max2/min2-1)*100;{粘合度符合條件}
vAR2:=IF(K1<=p,1,0);
上火車(chē)軌:=ma20>ma30 and ma20>ref(ma20,1) and ma30>ref(ma30,1) and ma20-ma30>ref((ma20-ma30),1) ;
stickline(上火車(chē)軌,ma20,ma30,2,0),colorred;
神槍手:=drawtext(filter(上火車(chē)軌 and "macd.diff"<0.15 and "macd.diff">ref("macd.diff",1) and ma(v,60)>ref(ma(v,60),1) and ma(v,5)>ma(v,10) and J1>ref(j1,1) and
( l<=ma20 and c>ma20 or (cross(ma5,ma20)) ),5),l*0.98,'←神槍手');
神槍手選股:=filter(上火車(chē)軌 and "macd.diff"<0.15 and "macd.diff">ref("macd.diff",1) and ma(v,60)>ref(ma(v,60),1) and ma(v,5)>ma(v,10) and J1>ref(j1,1) and
( l<=ma20 and c>ma20 or (cross(ma5,ma20)) ),5);{44.40%15240}
短線(xiàn)暴漲:drawtext(filter( (Var1 or Var2) and ma10>ref(ma10,1) and count(ma30>ref(ma30,1),3)=3 and ma30>ma55 and count(cross(ma5,ma30),3) and J1>MJ1 and ma(v,5)>ma(v,60)
and ma(v,60)>ref(ma(v,60),1),5),ma55*0.9,'短線(xiàn)暴漲'),colorred;
drawtext(cross("kdj.k"(5,2,3),"kdj.d"(5,2,3)) and "kdj.D"(5,2,3)<30 and j1>mj1 and ma55>ref(ma55,1) and count(J1<1,3)>=1 ,l*0.995,'←買(mǎi)入'),coloryellow;
drawtext(cross("kdj.d"(5,2,3),"kdj.k"(5,2,3)) and "kdj.D"(5,2,3)>65 and j1<mj1 and count(J1>1,3)>=1,h*1.005,'←賣(mài)出'),colorgreen;
drawtext(cross("kdj.d"(18,9,6),"kdj.k"(18,9,6)) and "kdj.d"(18,9,6)>60 and "kdj.j"(45,15,15)>90,h*1.03,'←頂'),colorred;
drawtext(cross(ma5,ma6) and "kdj.k"(5,3,3)>=50 and "kdj.j"(5,3,3)<31 ,l*0.92,'←再買(mǎi)'),colormagenta;
XL1:=((LLV(LOW,3) = LLV(LOW,60)) AND ((CLOSE / REF(CLOSE,1)) >= 1.04));
XL2:=(((CLOSE - EMA(CLOSE,21)) / EMA(CLOSE,21)) * 100);
XL3:=CROSS(XL2,(0 - 20));
DRAWTEXT(FILTER(((XL1 > 0) AND LOW),5),(LOW - 0.4),'●買(mǎi)點(diǎn)');
DRAWTEXT((XL3 > 0),(LOW - 0.2),'●絕對(duì)底部');
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);
DRAWTEXT(X9,(HIGH * 1.02),'●出貨'),color9000F5;
stickline(C>1.098*ref(c,1),c,o,8,0),coloryellow;
通達(dá)信私募+大黑馬指標(biāo)公式
AA:=WINNER(C+C*15/100)*100;
BB:=WINNER(C+C*0/100)*100;
CC:=AA-BB;
DD:=(WINNER(C-C*0.1/100)-WINNER(C-C*15/100))*100;
EE:=CC<3 AND DD<0.5 AND O<L;{>}
A1:=DYNAINFO(6);
A2:=IF(L>A1,0,IF(H<A1,1,(A1-L+0.01)/(H-L+0.01)));
A3:=V/WINNER(L);
A4:=REF(HHV(C,120),1);
A5:=REF(LLV(C,120),1);
A6:=100*(C-A5)/(A4-A5);
A7:=A2>0 OR A2=1;
A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80 ;
A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);
A10:=A8 AND A9;
A11:=IF(FILTER(A8,3),30,0);
A12:=IF(FILTER(A10,3) OR EE,20,0);
私募機(jī)構(gòu)進(jìn)場(chǎng)日:STICKLINE(A11,0,30,5,0),COLORFF8000;
私募機(jī)構(gòu)加倉(cāng)日:STICKLINE(A12,0,20,5,0),COLORRED;
STICKLINE(A11,0,5,5,0),COLORFF7700;
STICKLINE(A11,0,5,4.5,0),COLORFF8800;
STICKLINE(A11,0,5,4,0),COLORFF9900;
STICKLINE(A11,0,5,3.5,0),COLORFFAA00;
STICKLINE(A11,0,5,3,0),COLORFFBB00;
STICKLINE(A11,0,5,2.5,0),COLORFFCC00;
STICKLINE(A11,0,5,2,0),COLORFFDD00;
STICKLINE(A11,0,5,1,0),COLORFFEE00;
STICKLINE(A12,0,15,4.5,0),COLOR102099;
STICKLINE(A12,0,15,4,0),COLOR1020AA;
STICKLINE(A12,0,15,3.5,0),COLOR1020BB;
STICKLINE(A12,0,15,3,0),COLOR1020CC;
STICKLINE(A12,0,15,2.5,0),COLOR1020DD;
STICKLINE(A12,0,15,2,0),COLOR1020EE;
STICKLINE(A12,0,15,1,0),COLOR1020FF;
DRAWTEXT(A11,LOW,'進(jìn)場(chǎng)'),COLORYELLOW;
DRAWTEXT(A12,LOW,'加倉(cāng)'),COLORWHITE;
HH:=1;
II:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
JJ:=IF(((((AMOUNT / CLOSE) / (HHV(AMOUNT,9) / HHV(CLOSE,9))) * 100) > 100),100,(((AMOUNT / CLOSE) / (HHV(AMOUNT,9) / HHV(CLOSE,9))) * 100));
KK:=(II / JJ);
價(jià)異動(dòng)排序:=IF(HH,(KK / REF(KK,1)),0),STICK,COLOR0000FF;
LL:=(JJ / II);
量異動(dòng)排序:=IF(HH,(LL / REF(LL,1)),0),STICK,COLORFFFF00;
AAA:=((XMA(CLOSE,5) - REF(XMA(CLOSE,5),1)) / REF(XMA(CLOSE,5),1));
BBB:=((XMA(INDEXC,5) - REF(XMA(INDEXC,5),1)) / REF(XMA(INDEXC,5),1));
CCC:=REF(HHV(CLOSE,120),1);
DDD:=REF(LLV(CLOSE,120),1);
WW:=((100 * (CLOSE - DDD)) / (CCC - DDD));
今日資金:=(AMOUNT/100000000);
五日資金:=(EMA(今日資金,5)/REF(EMA(今日資金,5),5));
莊股:=((((((五日資金 >= 2) AND (AAA > BBB)) AND (WW < 35)) AND HH) AND (BARSCOUNT(CLOSE) > 30)) OR (((((五日資金 >= 2) AND (AAA > BBB)) AND (WW < 100)) AND HH) AND (BARSCOUNT(CLOSE) < 50)));
莊家顯形:=IF(莊股,88,0),LINETHICK1,COLORGREEN;
A01:=DYNAINFO(7);
A02:=MA(AMOUNT / VOL / 100.000,VOL / CAPITAL);
A03:=BARSCOUNT(CLOSE);
A04:=SMA(CLOSE / HHV(HIGH, 120.000), 3.000, 1.000) * 100.000;
A05:=IF((A03 > 20.000),A04,0);
A06:=IF(((LOW > A01)),0,IF(((HIGH < A01)), 1.000,((A01 - LOW) + 0.009) / ((HIGH - LOW) + 0.009)));
A07:=DMA(A06,VOL / CAPITAL) * 100.000;
A08:=IF((A02 > A01),( 100.000 - A07),A07);
A09:IF(((((A07 > 0) AND (A07 > REF(A07, 1.000)))) AND (A05 <= 88.000)),A07,0),COLORLIGREEN,LINETHICK1;
STICKLINE(A09 > 0,0,A09,0,0),COLORFF00FF;
大戶(hù)1:=EMA(100*(CLOSE-LLV (LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3), COLORFF00FF,LINETHICK2;
大戶(hù):=MA(大戶(hù)1,2),COLORFF00FF,LINETHICK2;
散戶(hù)1:=(WINNER(C*1.1)-WINNER(C*0.9))*100;
散戶(hù):=MA(散戶(hù)1,12),COLORWHITE,LINETHICK1;
VAR1:=1;
VAR5:=LLV(LOW,75);
VAR6:=HHV(HIGH,75);
VAR7:=(VAR6-VAR5)/100;
VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1);
VARA:=3*VAR8-2*SMA(VAR8,15,1);
主力1:=(100-VARA)*VAR1;
主力:=MA(主力1,2),COLORRED,LINETHICK2;
游資1:=MA(WINNER(CLOSE*0.95)*100,3)*VAR1*1.1;
游資:=MA(游資1,2),COLORGREEN,LINETHICK1;
主升浪:IF((CROSS(大戶(hù),主力) AND (MA(C,20)-LLV(MA(C,20),30))/ LLV(MA(C,20),30)*100<10
AND 主力>50 AND (主力-REF(主力,50)) >20 AND (C-MA(C,20))/MA(C,20)*100 <12 AND
散戶(hù)<70) OR (CROSS(大戶(hù),主力) AND (MA(C,20)-LLV(MA(C,20),30))/ LLV(MA(C,20),30)*100<10
AND 主力>70 AND (主力-REF(主力,50)) >30 AND (C-MA(C,20))/MA(C,20)*100 <20 AND
散戶(hù)<70 ) OR (CROSS(游資,主力) AND 大戶(hù)>80 AND 散戶(hù)>80 AND
(REF(主力,100)-主力)/主力*100 >80) ,80,0),COLORRED,LINETHICK2;
DRAWTEXT(主升浪=80,30,'主升浪'),COLORRED;
{www.gUPang.com 股旁網(wǎng)_最新股票指標(biāo)公式}
大黑馬飚升:IF((CROSS(游資,散戶(hù)) AND REF(主力,5)>75 AND ((游資-REF(游資,3)) /3>8
OR (大戶(hù)-REF(大戶(hù),3)) /3>7)AND (HHV(HIGH,100)-C)/C*100<40) ,80,0),COLORFF00FF,LINETHICK2;
DRAWTEXT(大黑馬飚升=80, 60,'大黑馬飚升'),COLORYELLOW;
黑馬飚升:IF(((CROSS(大戶(hù),散戶(hù)) AND REF(主力,5)>75 AND ((游資-REF(游資,3)) /3>6
OR (大戶(hù)-REF(大戶(hù),3)) /3>6)AND (HHV(HIGH,50)-C)/C*100<40) OR ( CROSS(游資,散戶(hù))
AND REF(主力,5)>50 AND ((游資-REF(游資,3)) /3>6 OR
(大戶(hù)-REF(大戶(hù),3)) /3>6)AND (HHV(HIGH,50)-C)/C*100<40)) ,80,0),,COLORFF00FF,LINETHICK2;
DRAWTEXT(黑馬飚升=80, 30,'黑馬飚升'),COLORYELLOW;
長(zhǎng)線(xiàn)大黑馬:IF((CROSS(游資,大戶(hù)) AND 游資>90 AND C>REF(C,20) AND 主力<30) ,80,0),
COLORRED,LINETHICK2;
DRAWTEXT(長(zhǎng)線(xiàn)大黑馬=80,60,'長(zhǎng)線(xiàn)大黑馬'),COLORRED;
金牌黑碼
VAR11:=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);
黑碼線(xiàn):EMA(VAR11,5), LINETHICK2,COLOR6600FF;
VAR12:=(黑碼線(xiàn)-REF(黑碼線(xiàn),1))/REF(黑碼線(xiàn),1)*100;
DRAWTEXT(REF(黑碼線(xiàn),1)>90 AND VAR12<0,黑碼線(xiàn),'跑'),
0, LINETHICK2, COLOR999999;100 ,LINETHICK2 ,COLOR999999;
黑碼線(xiàn)2:100*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60)),LINETHICK2,,;
DRAWTEXT(CROSS(黑碼線(xiàn),黑碼線(xiàn)2),黑碼線(xiàn),'黑碼'),COLORYELLOW;
極品底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,100,0),COLORWHITE;
超級(jí)大黑馬-趨勢(shì)輕松判斷
A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑馬線(xiàn):EMA(A1,5),LINETHICK2,COLOR6600FF;
A2:=(黑馬線(xiàn)-REF(黑馬線(xiàn),1))/REF(黑馬線(xiàn),1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趨勢(shì)線(xiàn):(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,coloryellow;
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(黑馬線(xiàn),1)>90 AND A2<0,7),黑馬線(xiàn),'跑'),COLOR00FF00;
DRAWTEXT(CROSS(A1,黑馬線(xiàn))AND 黑馬線(xiàn)<A5,黑馬線(xiàn),'黑馬');
DRAWTEXT(CROSS(黑馬線(xiàn),A5)AND 趨勢(shì)線(xiàn)<80,黑馬線(xiàn),'追漲');
DRAWTEXT(CROSS(趨勢(shì)線(xiàn),0)AND 黑馬線(xiàn)<40,5,'大黑馬');
底部:(A2<-10 AND A2>REF(A2,1))*25,colorred;
DRAWICON(底部 AND A3>REF(A3,1),25,4);
機(jī)會(huì)來(lái)臨:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0;
大勢(shì)已去:IF(CROSS(黑馬線(xiàn),A1)AND 黑馬線(xiàn)>70 AND 趨勢(shì)線(xiàn)>80,90,100),COLORFF0000;
火焰之王
Var1:=EMA(HHV(HIGH,500),21);
Var2:=EMA(HHV(HIGH,250),21);
Var3:=EMA(HHV(HIGH,90),21);
Var4:=EMA(LLV(LOW,500),21);
Var5:=EMA(LLV(LOW,250),21);
Var6:=EMA(LLV(LOW,90),21);
Var7:=EMA((Var4*0.96+Var5*0.96+Var6*0.96+Var1*0.558+Var2*0.558+Var3*0.558)/6,21);
Var8:=EMA((Var4*1.25+Var5*1.23+Var6*1.2+Var1*0.55+Var2*0.55+Var3*0.65)/6,21);
Var9:=EMA((Var4*1.3+Var5*1.3+Var6*1.3+Var1*0.68+Var2*0.68+Var3*0.68)/6,21);
VarA:=EMA((Var7*3+Var8*2+Var9)/6*1.738,21);
VarB:=REF(LOW,1);
VarC:=SMA(ABS(LOW-VarB),3,1)/SMA(MAX(LOW-VarB,0),3,1)*100;
VarD:=EMA(IF(CLOSE*1.35<=VarA,VarC*10,VarC/10),3);
VarE:=LLV(LOW,30);
VarF:=HHV(VarD,30);
Var10:=IF(MA(CLOSE,58),1,0);
火焰山: EMA(IF(LOW<=VarE,(VarD+VarF*2)/2,0),3)/618*Var10;
火焰: STICKLINE(火焰山>0,0,火焰山,4,1);
今量: 火焰山;
STICKLINE(火焰山>0,0,今量*1.2,8,0) COLOR0000ff;
STICKLINE(火焰山>0,0,今量*0.8,8,0) COLOR0066ff;
STICKLINE(火焰山>0,0,今量*0.6,8,0) COLOR0099ff;
STICKLINE(火焰山>0,0,今量*0.4,8,0) COLOR00ccff;
STICKLINE(火焰山>0,0,今量*0.2,8,0) COLOR00ffff;
注:該公式主要是用來(lái)篩選出可能成為黑碼的股票,因?yàn)閹缀跛械暮诖a在啟動(dòng)的起始段,火焰之王都有信號(hào)。 需要強(qiáng)調(diào)的是,紅黃柱出現(xiàn)的時(shí)候并非買(mǎi)進(jìn)的好時(shí)機(jī). 紅黃柱越高,表明該股票的反彈就來(lái)得越快,越強(qiáng)烈.當(dāng)紅黃柱由長(zhǎng)迅速變短(甚至消失), 這時(shí)就是火焰之王的最好買(mǎi)進(jìn)時(shí)機(jī)的信號(hào)。