午夜视频在线网站,日韩视频精品在线,中文字幕精品一区二区三区在线,在线播放精品,1024你懂我懂的旧版人,欧美日韩一级黄色片,一区二区三区在线观看视频

分享

通達(dá)信經(jīng)典公式175例

 耀日131 2024-01-31 發(fā)布于遼寧

??1--今收盤對(duì)于N日內(nèi)最低收盤價(jià)的漲幅(%)

  

  (C-LLV(C,N))/LLV(C,N)*100;

-------------------------------------------------------------------------------    

2-今收盤對(duì)于N日內(nèi)最高收盤價(jià)的跌幅(%)

  

  (HHV(C,N)-C)/HHV(C,N)*100;

-------------------------------------------------------------------------------    

3股價(jià)在過(guò)去N日內(nèi)運(yùn)行空間的相對(duì)位置

  

  (C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;

-------------------------------------------------------------------------------   

4-股價(jià)上方N1%至N2%處的籌碼(%)

  

  AA:=WINNER(C+C*N2/100)*100;

  BB:=WINNER(C+C*N1/100)*100;

  AA-BB

-------------------------------------------------------------------------------   

5-股價(jià)下方N1%至N2%處的籌碼(%)

  

  (WINNER(C-C*N1/100)-WINNER(C-C*N2/100))*100;

-------------------------------------------------------------------------------   

6收盤價(jià)N%處的套牢盤

  

  100-(WINNER(C*N/100))*100;

-------------------------------------------------------------------------------   

7-收盤價(jià)N%處的獲利盤

  

  WINNER(C*N/100)*100;

-------------------------------------------------------------------------------  

8-下影線

  

  (MIN(C,O)-L)/(H-L);

-------------------------------------------------------------------------------   

9--上影線

  

  (H-MAX(C,O))/(H-L)

-------------------------------------------------------------------------------   

10--本周期的漲跌幅

  

  (C-REF(C,1))/REF(C,1)*100;

-------------------------------------------------------------------------------   

11--振幅

  

  (H-L)/L*100;

-------------------------------------------------------------------------------   

 12--均線金叉

  

  CROSS(MA(C,N),MA(C,M));{N< M}

  

-------------------------------------------------------------------------------   

 13-均線死叉

  

  CROSS(MA(C,M),MA(C,N));{N< M}

-------------------------------------------------------------------------------  

 14--均線多頭排列

  

  A1:=MA(C,N1);

  A2:=MA(C,N2);

  A3:=MA(C,N3);

  A4:=MA(C,N4);

COUNT(A1>A2 AND A2>A3 AND A3>A4,3)=3;

 

COUNT(A1>A2>A3>A4,3){這樣寫(xiě)是不對(duì)的}

-------------------------------------------------------------------------------

 15-均線空頭排列

 

  A1:=MA(C,N1);

  A2:=MA(C,N2);

  A3:=MA(C,N3);

  A4:=MA(C,N4);

  COUNT(A1< A2 AND A2< A3 AND A3< A4,3);

-------------------------------------------------------------------------------   

  16--N日均線向下

  

  AA:=MA(C,N);

  BB:=REF(AA,1);

  AA< BB

-------------------------------------------------------------------------------  

 17--N日均線向上

  

  AA:=MA(C,N);

  BB:=REF(AA,1);

  AA>BB

-------------------------------------------------------------------------------   

 18--N日均線走平

  

  AA:=MA(C,N);

  BB:=REF(AA,1);

  AA=BB

-------------------------------------------------------------------------------  

 19--向前N日至M日出現(xiàn)過(guò)均線死叉(P1< P2)

  

  AA:=MA(C,P1);

  BB:=MA(C,P2);

  CC:=REF(CROSS(BB,AA),N);

  COUNT(CC,M)>=1;

-------------------------------------------------------------------------------   

 30--今日成交量大于N日以來(lái)的均量

  

  VOL>MA(VOL,N);

-------------------------------------------------------------------------------   

  31--低位密集

  

  A1:=COST(85);

  A2:=COST(15);

  A3:=A1-A2;

  A4:=(A1+A2)/2;

  A5:=A3/A4*100<10;

  

 

 

B1:=HHV(H,120);

  B2:=LLV(L,120);

  B3:=B1-B2;

  B4:=(A4-B2)< B3/2;

  A5 AND B4;

-------------------------------------------------------------------------------   

32--換手率

  

  VOL/CAPITAL*100;

-------------------------------------------------------------------------------   

33--N日盈虧

  

  V1:=VOL/SUM(VOL,N);

  V2:=DMA(CLOSE,V1);

  V3:(CLOSE-V2)/V2*100;

 

 

34-底背離

  LLV(L,60)=L) AND NOT(LLV(DEA,60)=DEA);

-------------------------------------------------------------------------------   

35--頂背離

  HHV(H,60)=H) AND NOT(HHV(DEA,60)=DEA);

 

36概率統(tǒng)計(jì)

  

  COUNT,計(jì)數(shù)。SUM,總數(shù)、和。

  當(dāng)數(shù)組為邏輯運(yùn)算判斷的結(jié)果時(shí),COUNT和SUM的返回值是一樣的。一般習(xí)慣上,對(duì)于邏輯運(yùn)算信號(hào),用COUNT統(tǒng)計(jì),返回其它數(shù)值的,用SUM統(tǒng)計(jì)。

  當(dāng)COUNT統(tǒng)計(jì)一般數(shù)值時(shí),數(shù)組大于等于1時(shí),計(jì)入;小于1時(shí),不計(jì)入。這兩個(gè)函數(shù),主要用于統(tǒng)計(jì)。

  用COUNT(CROSS(MA(C,5),MA(C,10)),0);就可以統(tǒng)計(jì)出全部的五天均線上穿十天均線的金叉數(shù)。

  用SUM(CROSS(MA(C,5),MA(C,10)),0);和以上得出的結(jié)果應(yīng)該是一樣的。

  股市的不隨機(jī)規(guī)律,隱藏在統(tǒng)計(jì)概率之中。用這兩個(gè)函數(shù),可以統(tǒng)計(jì)很多概率性的規(guī)律。

  

  比如,以兩天的收盤價(jià)相比,昨天是下跌的,今天的下跌的概率是多少?

  A:=C< REF(C,1);

  B:=REF(A,1) AND C>REF(C,1);{昨天下跌,今天上漲}

  D:=REF(A,1) AND C=REF(C,1);{昨天下跌,今天平盤}

  E:=REF(A,1) AND C< REF(C,1);{昨天下跌,今天下跌}

  F:=COUNT(B,0)+COUNT(D,0)+COUNT(E,0);

  上升概率:100*COUNT(B,0)/F;

  下跌概率:100*COUNT(E,0)/F;

  平盤概率:100*COUNT(D,0)/F;

  

  從兩市指數(shù)看,昨天下跌,今天下跌的概率始終大于50%。那么連跌兩天之后,第三天收盤的各種概率是多少?

  

  A:=C< REF(C,1) AND REF(C,1)< REF(C,2);

  B:=REF(A,1) AND C>REF(C,1);{前兩天下跌,今天上漲}

  D:=REF(A,1) AND C=REF(C,1);{前兩天下跌,今天平盤}

  E:=REF(A,1) AND C< REF(C,1);{前兩天下跌,今天下跌}

  F:=COUNT(B,0)+COUNT(D,0)+COUNT(E,0);

  上升概率:100*COUNT(B,0)/F;

  下跌概率:100*COUNT(E,0)/F;

  平盤概率:100*COUNT(D,0)/F;

  

  從指數(shù)的輸出看,概率更明顯了。連跌三天之后呢?

  A:=C< REF(C,1) AND REF(C,1)< REF(C,2) AND REF(C,2)< REF(C,3);

  B:=REF(A,1) AND C>REF(C,1);{前三天下跌,今天上漲}

  D:=REF(A,1) AND C=REF(C,1);{前三天下跌,今天平盤}

  E:=REF(A,1) AND C< REF(C,1);{前三天下跌,今天下跌}

  F:=COUNT(B,0)+COUNT(D,0)+COUNT(E,0);

  上升概率:100*COUNT(B,0)/F;

  下跌概率:100*COUNT(E,0)/F;

  平盤概率:100*COUNT(D,0)/F;

  

  規(guī)律就更明顯了。

  不要小看這些數(shù)據(jù)。雖然沒(méi)有有些“高手”做出的成功率達(dá)百分之九十左右的公式那么夸張,但很有意義的。要知道股市中的隨機(jī)因素太多,平衡性很強(qiáng),稍稍的統(tǒng)計(jì)偏向,足可作為有用的參考。

  

  這只是簡(jiǎn)單的例子,用這兩個(gè)函數(shù),可以做出很多的有用的統(tǒng)計(jì)數(shù)據(jù)。多數(shù)的交易系統(tǒng)的"勝率",可以由此統(tǒng)計(jì)出來(lái)。

  統(tǒng)計(jì):

  

  A:=CROSS(C,MA(C,3));

  B:=CROSS(MA(C,3),C);

  D:B*(C-REF(C,BARSLAST(A)));

  月:SUM(D,20);

  季:SUM(D,60);

  半:SUM(D,120);

  年:SUM(D,250);

  總和:SUM(D,0);

 

 

 

37交易系統(tǒng)公式交易類型

 

ENTERLONG  多頭買入           ENTERSHORT  空頭買入

EXITLONG   多頭賣出           EXITSHORT   空頭賣出

  

 

38窄幅整理

  (HHV(C,20)-LLV(C,20)/C<0.08;

-------------------------------------------------------------------------------    

 39--N天前到M天前之間的最高價(jià)

  REF(HHV(H,20),40);

-------------------------------------------------------------------------------    

  40-某時(shí)間段最高價(jià)

  HH:=IF(YEAR=1998 AND MONTH>=8 AND MONTH<=12,H,0);

  HHV(HH,0);{此例求1998年8月1日到1998年12月31日間的最高價(jià)}

-------------------------------------------------------------------------------    

41--二十日內(nèi)是否有過(guò)漲停

  TT:=C/REF(C,1)>1.095;

  COUNT(TT,20)>0;

-------------------------------------------------------------------------------   

42--放量創(chuàng)新高

  AA:=MA(V,5);

  BB:=REF(AA,2);

  CC:=HHV(C,30);

  AA/BB>2 AND C=CC;

-------------------------------------------------------------------------------   

43-突破長(zhǎng)期平臺(tái)整理

  V1:=MA(V,5);

  V2:=V/REF(V1,1);

  PZ1:=MA(C,150);

  PZ2:=HHV(H,150);

  PZ3:=LLV(L,150);

  PZ4:=(PZ2-PZ1)/PZ1;

  PZ5:=(PZ1-PZ3)/PZ1;

  PZ:=REF(PZ4,1)<0.15 AND REF(PZ5,1)<0.15;

  TP1:=HHV(H,150);

  TP:=H=TP1;

  V2>=2 AND PZ AND TP

-------------------------------------------------------------------------------    

44--尾盤大單拉升或打壓

  AA:=TIME>=145500;

  BB:=SUM(V,0)/240;//當(dāng)天均量

  CC:=SUM(V,10)/10;//10分鐘內(nèi)的成交均量

  DD:=REF(C,10);

  AA AND CC/BB>3 AND C/DD>1.02;

 

 

 

45--含職工股

  FINANCE(8)>0

---------------------------------------------------------------    

46--次新中小

  N(1,255,30)

  BARSCOUNT(C)< N AND

  FINANCE(7)<=10000

---------------------------------------------------------------    

47-收盤大于開(kāi)盤

  CLOSE>=DYNAINFO(4)

---------------------------------------------------------------    

48-漲跌幅度

  N(0,0.1,0.05)  

  DYNAINFO(14)>=N

---------------------------------------------------------------   

49--小盤選股

  CAPITAL<=500000 AND FINANCE(33)>=0.01 AND CLOSE<=30

---------------------------------------------------------------  

50--低市盈率選股

  N(10,30,30)

  DYNAINFO(39)<=N

  選擇市盈率較小的股票.

  市盈率小于 ?

---------------------------------------------------------------   

51--業(yè)績(jī)選股

  N(0,100,0.4)

  FINANCE(33)>N

  業(yè)績(jī)選股,每股收益在0.4元以上

  每股收益在 ?元以上

---------------------------------------------------------------

52-小盤股

  N(700,50000,3000)

  FINANCE(7)<=N

  選擇流通股較小的股票

  流通股小于 ?萬(wàn)股

---------------------------------------------------------------   

53--大盤股

  N(15000,30000,20000)

  FINANCE(7)>=N

  流通股大于 ?萬(wàn)股

---------------------------------------------------------------   

54-凈資產(chǎn)收益率選股

  N(0,300,20)

  FINANCE(37)>(N/100)

  凈資產(chǎn)收益率高于N的股票

  凈資產(chǎn)收益率大于百分之 ?

---------------------------------------------------------------   

55--B股板塊

  FINANCE(5)>0

  含有B股的股票

  選擇含B股的股票

---------------------------------------------------------------  

56--無(wú)國(guó)家股板塊

  FINANCE(2)=0

  國(guó)家股為零的股票.

  選擇不含國(guó)家股的股票

---------------------------------------------------------------    

57-每股凈資產(chǎn)選股

  N(1,5,2.5)

  FINANCE(34)>N

  選出每股凈資產(chǎn)大于N元的股票.

  每股凈資產(chǎn)大于 ?元

---------------------------------------------------------------  

58--每股未分配利潤(rùn)選股

  N(0.1,2,1)

  FINANCE(32)>N

  每股未分配利潤(rùn)大于N的股票

  每股未分配利潤(rùn)大于 ?元

---------------------------------------------------------------   

59--股東權(quán)益比率選股

  N(1,100,50)

  FINANCE(36)>(N/100)

  股東權(quán)益比率大于N的股票.

  股東權(quán)益比率大于百分之 ?

---------------------------------------------------------------   

60-每股公積選股

  N(1,4,2)

  FINANCE(18)>N

  每股公積金大于 ?元

---------------------------------------------------------------   

61-舉牌概念股

  N(1,100,50)

  FINANCE(7)/FINANCE(1)>=(N/100)

  流通股在總股本中的比重很大的股票,這類股票相對(duì)來(lái)說(shuō)更容易被收購(gòu)和舉牌,因此被市場(chǎng)稱為舉牌概念股.

  流通股占總股本的比重高于 ?%,有被收購(gòu)和舉牌的概念.

---------------------------------------------------------------   

62--指數(shù)效應(yīng)股

  M(1,100,10)

  FINANCE(7)/FINANCE(1)<=(M/100)

  流通股占總股本的比例小于M%,這類股票對(duì)指數(shù)的影響比較大,容易成為主力拉抬指數(shù)的工具.

  流通股占總股本的比重低于 ?%,這類股票對(duì)指數(shù)的影響比較大.

---------------------------------------------------------------   

63--H股板塊

  FINANCE(6)>0

  選擇含有H股的股票,該板塊具有明顯的聯(lián)動(dòng)效應(yīng).

  選擇含有H股的股票.

---------------------------------------------------------------   

64-含轉(zhuǎn)配股

  FINANCE(9)>0

  選擇含有轉(zhuǎn)配股的股票,這類股票在特定的時(shí)候具有一定的聯(lián)動(dòng)效應(yīng).

  選擇含有轉(zhuǎn)配股的股票.

---------------------------------------------------------------    

65--主營(yíng)業(yè)務(wù)利潤(rùn)率選股

  N(1,100,30)

  FINANCE(21)/FINANCE(20)>=(N/100)

  主營(yíng)業(yè)務(wù)利潤(rùn)率高于N的股票,主營(yíng)業(yè)務(wù)利潤(rùn)率越高則說(shuō)明主營(yíng)業(yè)務(wù)越鮮明,公司的發(fā)展越穩(wěn)健.

  主營(yíng)業(yè)務(wù)利潤(rùn)率大于 ?%

---------------------------------------------------------------   

66--市凈率選股

  N(1,50,5)

  C/FINANCE(34)< N

  市凈率=市價(jià)/每股凈資產(chǎn)

  市凈率>N

  市凈率越低公司股價(jià)越有被低估的可能,這類股票從理論上講具有更高的安全性.

  市價(jià)/每股凈資產(chǎn)小于 ?倍,該比率越低,從基本分析來(lái)看理論上越安全.

---------------------------------------------------------------   

67--流動(dòng)比率選股

  N(0.1,5,1)

  FINANCE(11)/FINANCE(15)>N

  流動(dòng)比率大于N的股票

  流動(dòng)資產(chǎn)/流動(dòng)負(fù)債大于 ?倍,該比率越大其財(cái)務(wù)風(fēng)險(xiǎn)在一定程度上越小.

---------------------------------------------------------------  

68--次新股選股

  N(1,60,30)

  BARSCOUNT(C)< N

  次新股選股

  上市時(shí)間在N個(gè)交易日(缺損值為30個(gè)交易日)的股票

  上市天數(shù)小于 ?天,選出近期上市的新股.

---------------------------------------------------------------   

69--上市時(shí)段選股

  Y(1990,2000,1999)M1(1,12,4)M2(1,12,4)

  COUNT(BARSCOUNT(C)=1 AND YEAR=Y AND MONTH>=M1 AND MONTH<=M2,0)

  尋找Y年M2月到M1月上市的股票,即尋找一定時(shí)間

  段上市的股票。如:尋找1999年4月份上市的股票,可輸入?yún)?shù)

  Y:1999

  M1:4

  M2:4

  在 ?年P(guān)ARAM#2月至PARAM#3月上市的股票

---------------------------------------------------------------    

70--漲幅選股

  N(0.01,0.1,0.03)

  DYNAINFO(14)>=N

  選擇目前漲幅大于N的股票,這類股票有可能成為今天的強(qiáng)勢(shì)股,特別是在開(kāi)市有一段時(shí)間并且大盤呈現(xiàn)一路陰跌的情況下.

  選擇當(dāng)前漲幅大于 ?的股票

---------------------------------------------------------------    

71--委比選股

  N(0.5,1,0.5)

  DYNAINFO(15)>N

  選擇當(dāng)前委比大于等于N的股票,委比越大則說(shuō)明買盤越強(qiáng)勁,(但這也不是絕對(duì)的,有可能被人為操縱).

  選擇當(dāng)前委比大于 ?的股票

---------------------------------------------------------------    

72--委差選股

  N(1,9999,200)

  DYNAINFO(16)>N

  選擇(委買量-委賣量)的差為正數(shù)并且大于N手的股票,差值越大買盤越強(qiáng).

  選擇當(dāng)前(委買量-委賣量)大于 ?手的股票(參數(shù)取正值)

---------------------------------------------------------------    

73--內(nèi)外盤選股(上漲)

  DYNAINFO(22)>DYNAINFO(23) AND C>REF(C,1)

  內(nèi)盤大于外盤,股票仍上漲。這類股票存在一定異動(dòng),有莊家活動(dòng)的可能.

  內(nèi)盤大于外盤,股票仍上漲。

---------------------------------------------------------------   

74--內(nèi)外盤選股(下跌)

  DYNAINFO(23)>DYNAINFO(22) AND C< REF(C,1)

  外盤大于內(nèi)盤,股價(jià)仍下跌.這類股票存在一定異動(dòng),有莊家活動(dòng)的可能.

  外盤大于內(nèi)盤,股價(jià)仍下跌.

---------------------------------------------------------------    

75--階段漲幅選股

  D1(900101,1331231,990504)D2(900101,1331231,990802)P(-90,1000,20)

  A:=HHV(IF(DATE=D1,C,0),0);

  B:=HHV(IF(DATE=D2,C,0),0);

  B/A>=(1+P/100)

  選擇某一階段中一定漲幅的股票

   ?日——PARAM#2日漲幅大于PARAM#3%的股票

---------------------------------------------------------------   

76--即時(shí)量比選股

  N(1,100,1)

  DYNAINFO(17)>=N

  選擇量比大于N的股票

  當(dāng)前的量比大于 ?的股票

---------------------------------------------------------------    

77--大手筆成交選股(買)

  N(1,10000,200)

  BUYVOL>=N

  主動(dòng)性買盤成交量大于N的股票

  (只能在分筆成交周期中使用)

  當(dāng)前主動(dòng)性買盤的單比成交大于 ?的股票

---------------------------------------------------------------

  N(1,10000,200)

  SELLVOL>N

  當(dāng)前主動(dòng)性賣盤的單比成交量大于 ?的股票

---------------------------------------------------------------   

78--換手率選股

  N(0.01,100,5)

  DYNAINFO(37)>=N/100

  單日換手率大于N的股票

  當(dāng)前換手率大于等于 ?%的股票

---------------------------------------------------------------    

79--漲速選股

  N(0.01,100,1)

  DYNAINFO(24)>=N/100

  選擇當(dāng)前漲速大于N的股票

  當(dāng)前五分鐘漲速大于等于 ?%的股票

---------------------------------------------------------------   

80--振幅選股

  N(0.1,100,5)

  DYNAINFO(13)>=N/100

  選擇今日振幅在N的股票

  當(dāng)前振幅大于等于 ?%的股票

---------------------------------------------------------------   

81-股價(jià)-均價(jià)選股

  DYNAINFO(7)>DYNAINFO(11)

  分時(shí)圖中目前股價(jià)高于均價(jià)的股票

---------------------------------------------------------------   

82--N日內(nèi)創(chuàng)新高

  N(2,10,3)

  HHV(HIGH,N)=HHV(HIGH,0) AND  BARSCOUNT(C)>=N

  選擇 ?日內(nèi)創(chuàng)出歷史新高的股票

---------------------------------------------------------------   

83--N日內(nèi)創(chuàng)新低

  N(1,5,3)

  LLV(L,3)=LLV(L,0) AND BARSCOUNT(C)>=N

  選擇 ?日內(nèi)創(chuàng)出歷史新低的股票

---------------------------------------------------------------    

84--M日內(nèi)陰線多于陽(yáng)線

  M(3,300,30)N(50,100,60)

  COUNT(OPEN>CLOSE,M)/M >= N/100

   ?日內(nèi)陰線數(shù)量超過(guò) ??

---------------------------------------------------------------   

85-M日內(nèi)陽(yáng)線多于陰線

  M(3,300,30)N(50,100,60)

  COUNT(OPEN< CLOSE,M)/M >= N/100

   ?日內(nèi)陽(yáng)線數(shù)量超過(guò) ??

---------------------------------------------------------------

86--N日內(nèi)上漲多于下跌

  N(1,300,120)M(50,100,60)

  COUNT(C>REF(C,1),M)/M >= N/100

   ?日內(nèi)上漲(收盤價(jià)高于昨收)的天數(shù)超過(guò) ??

---------------------------------------------------------------   

87-N日內(nèi)下跌多于上漲

  N(1,300,120)M(50,100,60)

  COUNT(C< REF(C,1),N)/N >= M/100

   ?日內(nèi)下跌(收盤價(jià)低于昨收)的天數(shù)超過(guò) ?? 

---------------------------------------------------------------   

88-連續(xù)N天收陽(yáng)線

  N(3,10,7)

  UP:=CLOSE>OPEN;

  COUNT(UP,N)=N

  連續(xù)N天收陽(yáng)線

  選擇連續(xù) ?個(gè)交易日收陽(yáng)線的股票

---------------------------------------------------------------    

89--連續(xù)N天收陰線

  N(3,10,5)

  DOWN:=OPEN>CLOSE;

  COUNT(DOWN,N)=N

  連續(xù)N日收陰線

  選擇連續(xù) ?個(gè)交易日收陰線的股票

---------------------------------------------------------------   

90--連續(xù)N天上漲

  N(3,20,5)

  COUNT(C>REF(C,1),N)=N

  選擇連續(xù)N個(gè)交易日都上漲的股票

  選擇連續(xù) ?個(gè)交易日上漲的股票

---------------------------------------------------------------   

91--連續(xù)N日下跌

  N(3,20,5)

  COUNT(C< REF(C,1),N)=N

  N日內(nèi)收盤價(jià)為連續(xù)下跌的股票

  選擇連續(xù) ?日都下跌的股票

---------------------------------------------------------------   

92--首次創(chuàng)新高

  BARSSINCE(C>HHV(IF(BARSCOUNT(C)=1,HIGH,0),0))+1=1

  選擇上市后首次創(chuàng)出新高的的股票

---------------------------------------------------------------   

93--創(chuàng)歷史新高

  HHV(CLOSE,0)=CLOSE

  收盤價(jià)創(chuàng)歷史新高

---------------------------------------------------------------   

94--創(chuàng)歷史新低

  LLV(CLOSE,0) = CLOSE

  收盤價(jià)價(jià)創(chuàng)歷史新低

---------------------------------------------------------------   

95--單日放量

  N(0.1,100,15)

  A:=VOL/CAPITAL>=(N/100);

  A AND (NOT(REF(A,1)))

  單日換手率大于N%

  單日換手率大于 ?%

---------------------------------------------------------------    

96--階段縮量

  N(1,100,5)N1(1,100,10)

  SUM(VOL,N1)/CAPITAL<=(N/100)

  N1日內(nèi)換手率小于百分之N

  PARAM#2個(gè)周期的階段換手率小于 ?%

---------------------------------------------------------------   

97--階段放量

  N(1,100,10)N1(1,100,5)

  SUM(VOL,N1)/CAPITAL>=(N/100)

  N1日內(nèi)換手率大于百分之N

  PARAM#2個(gè)周期的階段換手率小于 ?%

---------------------------------------------------------------    

98--持續(xù)放量

  M(1,100,3)

  B:=VOL>REF(VOL,1);

  COUNT(B,M)=M

  成交量連續(xù)M日放大

  今日成交量大于昨日成交量,這種情況連續(xù) ?天出現(xiàn).

---------------------------------------------------------------    

99-持續(xù)縮量

  M(1,100,3)

  B:=VOL< REF(VOL,1);

  COUNT(B,M)=M

  成交量連續(xù)M日縮小

  今日成交量小于昨日成交量,這種情況連續(xù) ?天出現(xiàn).

---------------------------------------------------------------    

 100--間隔放量

  N(20,60,30)N1(0.1,100,4)N2(1,100,2)N3(1,100,3)

  A:=MA(VOL,5);

  BARSCOUNT(C)>=N AND HHV(A,N)< N1*LLV(A,N)

  AND COUNT(VOL>N2*A,N)>N3

  成交量分布比較均勻,偶爾有所放大,但馬上又縮小.如果發(fā)生在底部區(qū)域,且盤整時(shí)間較長(zhǎng),則很有可能是莊家的吸貨行為.

   ?日內(nèi)五日均量的最大值小于最小值的PARAM#2倍,

  成交量大于等于五日均量的PARAM#3倍的情況發(fā)生的次數(shù)多于PARAM#4次

  即:

  成交量分布比較均勻,偶爾有所放大,但馬上又縮小.如果發(fā)生在底部區(qū)域,且盤整時(shí)間較長(zhǎng),則很有可能是莊家的吸貨行為.

---------------------------------------------------------------   

101--放量上攻

  N(0.1,10,1)N1(1,10,3)N2(1,1000,20)N3(1,100,5)

  UP:=REF(C,1)< C ;

A:= (C-REF(C,1))/REF(C,1)>=(N/100) ;

SUM(VOL,N1)/CAPITAL>=(N2/100) AND COUNT(VOL>REF(VOL,1),N3)=N3 AND COUNT(A,N3)=N3

  為莊家的拉升行為,可謹(jǐn)慎介入.

  成交量連續(xù)PARAM#4日放大,且每日股價(jià)漲幅均大于 ?%;

  PARAM#2日內(nèi)換手率大于PARAM#3%

---------------------------------------------------------------   

102--溫和放量上攻

  N(2,10,3)N1(1,40,10)

  UP:=MAX(C,OPEN)>REF(MAX(C,OPEN),1);

  A:=VOL>REF(VOL,1);

  COUNT(IF((UP AND A),1,0),N)=N AND C>OPEN

  AND (C-REF(MAX(C,OPEN),1))/REF(MAX(O,C),1)<=(3/100)

  AND VOL/CAPITAL<=(N1/100)

  連續(xù) ?個(gè)周期放大并保持上漲勢(shì)頭

  當(dāng)日換手率小于  ??

---------------------------------------------------------------    

103--突然放量

  N(1,300,10)M(1,40,3)

  VOL>REF(HHV(VOL,N),1)*M

  成交量較前N周期的最大成交量增大M倍

  當(dāng)前成交量高于 ?個(gè)周期中最大成交量的PARAM#2倍

---------------------------------------------------------------   

104--平臺(tái)整理

  N(1,100,30)N1(1,100,11)

COUNT(CLOSE,0)>N  AND (HHV(CLOSE,N)-LLV(CLOSE,N))/LLV(CLOSE,N)<=(N1/100)

  N天振動(dòng)幅度在M%的股票

  平臺(tái)整理 ?個(gè)周期

  平臺(tái)整理幅度 ??

---------------------------------------------------------------    

105--尾盤打壓

  N(0,20,2)

  HOUR>14 AND MINUTE>56 AND CLOSE/REF(CLOSE,2) <= 1-N/100

  本指標(biāo)僅適用于1分鐘線

  14:56以后2分鐘跌幅超過(guò) ?%

---------------------------------------------------------------

106--尾盤拉升

  N(0,20,2)

 HOUR>14 AND MINUTE>56 AND CLOSE/REF(CLOSE,2) >= 1+N/100

  14:56以后2分鐘漲幅超過(guò) ?%

---------------------------------------------------------------    

107--盤中逆勢(shì)走強(qiáng)股

  N(930,1500,930)M(930,1500,1030)

  A:=HHV(IF(TIME=N,INDEXC,0),0);

  B:=HHV(IF(TIME=M,INDEXC,0),0);

  D:=HHV(IF(TIME=N,C,0),0);

  E:=HHV(IF(TIME=M,C,0),0);

  E/D>B/A

  選擇當(dāng)天某一時(shí)段中走勢(shì)強(qiáng)于大盤的股票

  時(shí)間 ?點(diǎn)——PARAM#2點(diǎn)之間漲幅高于大盤漲幅的股票

---------------------------------------------------------------   

108--突破長(zhǎng)期盤整

  N(10,60,30)N1(5,50,30)

  REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100)

  AND C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N

  前 ?日在上下 ??的幅度內(nèi)整理,今日突破。

---------------------------------------------------------------   

109--階段強(qiáng)勢(shì)股

  N(700101,1341231,990519)N1(700101,1341231,990913)

  A:=SUM(IF(DATE-N=0,INDEXC,0),0);

  B:=SUM(IF(DATE-N1=0,INDEXC,0),0);

  E:=SUM(IF(DATE-N=0,C,0),0);

  F:=SUM(IF(DATE-N1=0,C,0),0);

  ((F-E)/E)>((B-A)/A)

  選擇某一階段內(nèi)走勢(shì)強(qiáng)于大盤的股票.

   ?日--PARAM#2日之間漲幅高于大盤的股票

---------------------------------------------------------------    

110--階段弱勢(shì)股

  N(700101,1341231,990519)N1(700101,1341231,990913)

  A:=SUM(IF(DATE=N,INDEXC,0),0);

  B:=SUM(IF(DATE=N1,INDEXC,0),0);

  E:=SUM(IF(DATE=N,C,0),0);

  F:=SUM(IF(DATE=N1,C,0),0);

  ((F-E)/E)<((B-A)/A)

   ?日--PARAM#2日之間漲幅小于大盤的股票

---------------------------------------------------------------    

111-大盤同步選股

  N(1,100,10)M(1,100,50)

  COUNT((C>O AND INDEXC>INDEXO) OR (C< O AND INDEXC< INDEXO),N)/N > M/100

   ?周期中與大盤走勢(shì)相同(同收陰線或同收陽(yáng)線)的比例超過(guò) ??

---------------------------------------------------------------   

112--N日內(nèi)強(qiáng)勢(shì)股

  N(1,300,20)M(1,100,3)

  A:=(C-REF(O,N))/REF(O,N);

  B:=(INDEXC-REF(INDEXO,N))/REF(INDEXO,N);

  A>B AND A/B>=M

   ?日漲幅大于等于同期大盤漲幅的PARAM#2倍

 

113--含職工股

  FINANCE(8)>0

---------------------------------------------------------------    

114--均線多頭排列

  N(1,100,5)N1(1,1000,10)N2(1,1000,20)N3(1,1000,30)

  MA(CLOSE,N)>MA(CLOSE,N1) AND MA(CLOSE,N1)>MA(CLOSE,N2)

  AND MA(CLOSE,N2)>MA(CLOSE,N3) AND REF(MA(CLOSE,N),1)>REF(MA(CLOSE,N1),1) AND

  REF(MA(CLOSE,N1),1)>REF(MA(CLOSE,N2),1) AND REF(MA(CLOSE,N2),1)>REF(MA(CLOSE,N3),1)

  AND REF(MA(CLOSE,N),2)>REF(MA(CLOSE,N1),2) AND REF(MA(CLOSE,N1),2)>REF(MA(CLOSE,N2),2)

  AND REF(MA(CLOSE,N2),2)>REF(MA(CLOSE,N3),2)

  均線系統(tǒng)呈多頭排列,多方占據(jù)一定優(yōu)勢(shì).

   ?,PARAM#2,PARAM#3,PARAM#4日均線呈多頭排列

---------------------------------------------------------------    

115--均線空頭排列

  N(1,1000,5)N1(1,1000,10)N2(1,1000,20)N3(1,1000,30)

  MA(CLOSE,N) < MA(CLOSE,N1) AND

  MA(CLOSE,N1) < MA(CLOSE,N2) AND

  MA(CLOSE,N2) < MA(CLOSE,N3) AND

  REF(MA(CLOSE,N),1)< REF(MA(CLOSE,N1),1) AND

  REF(MA(CLOSE,N1),1)< REF(MA(CLOSE,N2),1) AND REF(MA(CLOSE,N2),1)< REF(MA(CLOSE,N3),1)

  AND REF(MA(CLOSE,N),2)< REF(MA(CLOSE,N1),2) AND REF(MA(CLOSE,N1),2)< REF(MA(CLOSE,N2),2)

  AND REF(MA(CLOSE,N2),2)< REF(MA(CLOSE,N3),2)

  均線系統(tǒng)呈空頭排列,這時(shí)的形勢(shì)不利與多方迅速組織起強(qiáng)有力的反攻.

   ?,PARAM#2,PARAM#3,PARAM#4日均線呈空頭排列

---------------------------------------------------------------    

116--強(qiáng)勢(shì)整理

  N(1,20,2)M(1,10,5)

  A1:=ABS((C-REF(C,1))/REF(C,1))<=0.05

  AND ABS((O-REF(C,1))/REF(C,1))<=0.05

  AND C>=REF(C,1) AND L<=REF(H,1);

 A2:=REF(C,1)>REF(O,1) AND (REF(C,1)/REF(O,1))>=1+N/100

  AND REF(C,1)/REF(C,2)>=1.04 AND REF(C,1)>REF(C,2)

  AND REF(C,1)>REF(C,3) AND REF(C,1)>REF(C,4)

  AND REF(C,1)>REF(C,5) AND REF(C,1)>REF(C,6)

  AND REF(C,1)>REF(C,7) AND REF(C,1)>REF(C,8)

  AND REF(C,1)>REF(C,9);

  A3:=IF(A1 AND A2,3,0);

  A4:=BARSLAST(A1 AND A2);

  A8:=REF(C,A4+1);

  A5:=ABS((C-REF(C,1))/REF(C,1))<=0.03

  AND ABS((O-REF(C,1))/REF(C,1))<=0.03;

  A6:=(C>=A8 AND C/A8<=(1+M/100));

  A4=COUNT(A5 AND A6,A4)

  強(qiáng)勢(shì)整理:一根實(shí)體超過(guò)N%的長(zhǎng)陽(yáng),后面跟若干個(gè)振幅不超過(guò)M%的K線

  強(qiáng)勢(shì)整理:一根實(shí)體超過(guò) ?%的長(zhǎng)陽(yáng),后面跟若干個(gè)振幅不超過(guò) ??的K線

---------------------------------------------------------------   

117--高開(kāi)大陰線

  M(1,10,4)N(1,20,5)

  OPEN>CLOSE AND OPEN/REF(C,1) >= 1+M/100 AND CLOSE/OPEN<=1-N/100

  收盤為高開(kāi)大陰線

  跳空高開(kāi) ?%,當(dāng)日股價(jià)較開(kāi)盤價(jià)跌幅大于PARAM#2

---------------------------------------------------------------    

118--低開(kāi)大陽(yáng)線

  M(1,10,4)N(1,20,7)

  OPEN< CLOSE AND OPEN/REF(C,1) <= 1-M/100 AND CLOSE/OPEN>=1+N/100

  收盤為低開(kāi)大陽(yáng)線

  跳空低開(kāi) ?%,當(dāng)日股價(jià)較開(kāi)盤價(jià)漲幅大于PARAM#2

---------------------------------------------------------------   

119--跳空缺口選股

  HIGH< REF(LOW,1) OR

  LOW>REF(HIGH,1)

---------------------------------------------------------------   

120--大買單提取

  N(1,1000,200)

  SUM(IF(BUYVOL>=N,VOL,0),0)

  提取今日主動(dòng)性買盤成交量中的大手筆成交,并對(duì)其求和.

  該指標(biāo)的值越大,則說(shuō)明當(dāng)日多方的力量越強(qiáng)大.

  統(tǒng)計(jì)主動(dòng)性買盤成交量大于 ?手的成交量總和

---------------------------------------------------------------    

121--今日大單筆數(shù)

  N(1,10000,200)

  COUNT(VOL>N,0)

  統(tǒng)計(jì)今日大于N手的買賣單的筆數(shù),筆數(shù)越多,則說(shuō)明成交越活躍.

  統(tǒng)計(jì)今日成交量大于 ?手的數(shù)量

---------------------------------------------------------------    

122--大盤同步指標(biāo)

  N(1,1000,7)

  COUNT((C>O AND INDEXC>INDEXO) OR (C< O AND INDEXC< INDEXO),N)/N

  統(tǒng)計(jì)N日中和大盤保持一致,同收陽(yáng)線或同收陰線的日數(shù)所占的比例,

  用法:比例越接近1,該股和大盤走勢(shì)越一致。

  N( ?)天中與大盤走勢(shì)保持一致,同收陽(yáng)線和陰線的天數(shù)/N天

---------------------------------------------------------------    

123--大手筆之差

  N(1,1000,100)N1(1,1000,100)

  SUM(IF(BUYVOL>=N,VOL,0),0)-SUM(IF(SELLVOL>=N1,VOL,0),0)

  求當(dāng)日大手筆的買單與大手筆的賣單之差,該差值為正則說(shuō)明多方占據(jù)優(yōu)勢(shì),形勢(shì)有利于多方,可看漲.該值越大多方優(yōu)勢(shì)月明顯.

  大于等于 ?手的主動(dòng)性買盤之和-

  大于等于PARAM#2手的主動(dòng)性賣單之和

---------------------------------------------------------------    

124--活躍股指標(biāo)

  MA(VOL,3)/CAPITAL

---------------------------------------------------------------   

125--階段強(qiáng)勢(shì)指標(biāo)

  N(1,300,20)

  A:=COUNT(C>O AND INDEXC< INDEXO,N);

  B:=COUNT(INDEXC< INDEXO,N);

  D:A/B

  A:N天中大盤收陰線個(gè)股收陽(yáng)線的天數(shù);

  B;N天中大盤收陰線的天數(shù);

  D:A/B

  D值越大則說(shuō)明股票在這一階段中走勢(shì)越強(qiáng).

   ?天中大盤收陰線個(gè)股收陽(yáng)線的天數(shù)/大盤收陰線的天數(shù)  

---------------------------------------------------------------    

126--內(nèi)外盤比率

  SUM(BUYVOL,0)/SUM(SELLVOL,0)

  統(tǒng)計(jì)今日的主動(dòng)性買盤之和和主動(dòng)性賣盤之和,并求前者與后者的比值.該比值大于1則說(shuō)明多方占據(jù)一定優(yōu)勢(shì),比值越大優(yōu)勢(shì)越明顯,該股可謹(jǐn)慎看漲.

---------------------------------------------------------------   

127--內(nèi)外盤之差

  SUM(BUYVOL,0)-SUM(SELLVOL,0)

  統(tǒng)計(jì)今日的主動(dòng)性買盤之和和主動(dòng)性賣盤之和,并求前者與后者的差值.該差值大于0則說(shuō)明多方占據(jù)一定優(yōu)勢(shì),差值越大優(yōu)勢(shì)越明顯,該股可謹(jǐn)慎看漲.

  

---------------------------------------------------------------    

128--平均每筆成交

  SUM(VOL,0)/BARSCOUNT(C)

  用當(dāng)日成交量除以當(dāng)日成交筆數(shù),求得當(dāng)日平均每一筆成交的成交手?jǐn)?shù),該值越大,成交越活躍,莊家的活動(dòng)越明顯,

  特別是當(dāng)該比值前期一直很小,近期明顯放大,莊家活動(dòng)的跡象更加明顯.如果出現(xiàn)在底部,則有可能是莊家在吸貨.

---------------------------------------------------------------  

129--QHLSR阻力指標(biāo)

  QHL:=(C-REF(C,1))-(VOL-REF(VOL,1))*(REF(H,1)-REF(L,1))/REF(VOL,1);

  A:=SUM(IF(QHL>0,QHL,0),5);

  E:=SUM(IF(QHL>0,QHL,0),10);

  B:=ABS(SUM(IF(QHL<0,QHL,0),5));

  F:=ABS(SUM(IF(QHL<0,QHL,0),10));

  D:=A/(A+B);

  G:=E/(E+F);

  QHL5: IF(SUM(IF(QHL>0,1,0),5)=5,1,IF(SUM(IF(QHL<0,1,0),5)=5,0,D)) ;

  QHL10:G

---------------------------------------------------------------    

130--盤中強(qiáng)勢(shì)指標(biāo)

  TIM:=IF(HOUR>12, (HOUR-13)*60+MINUTE+120,(HOUR-9)*60+MINUTE-30);

  ZLB:= SUM(VOL,0)*240/TIM/DYNAINFO(38);

  ZDL:ZLB*(SUM(BUYVOL,0)-SUM(SELLVOL,0))/(SUM(BUYVOL,0)+SUM(SELLVOL,0))*100

  本指標(biāo)只能用于分筆成交分析

---------------------------------------------------------------   

131--大賣單提取

  N(1,1000,100)

  SUM(IF(SELLVOL>=N,VOL,0),0)

  提取今日主動(dòng)性賣盤成交量中的大手筆成交,并對(duì)其求和.

  該指標(biāo)的值越大,則說(shuō)明當(dāng)日空方的力量越強(qiáng)大.

  統(tǒng)計(jì)主動(dòng)性賣盤成交量大于 ?手的成交量總和

---------------------------------------------------------------   

132--階段總成交額

  N(700101,1341231,990901)N1(700101,1341231,990917)

  SUM(IF(DATE>=N AND DATE<=N1,AMOUNT,0),0)

  統(tǒng)計(jì)一段時(shí)間的總成交額

  參數(shù)N為統(tǒng)計(jì)時(shí)間長(zhǎng)度

   ?--PARAM#2的成交額(前面日期必須小于等于后面日期)

---------------------------------------------------------------   

133--筑底指標(biāo)

  N1(5,250,125)N2(1,20,5)N3(5,60,20)

  A:=COUNT(C>=REF(C,1),N1)/COUNT(C< REF(C,1),N1);

  B:MA(A,N2);

  D:MA(A,N3)

  B值小于0.6時(shí)為很好的買點(diǎn),股票在此筑底的可能性很大,可耐心持有.

  統(tǒng)計(jì) ?日中收陽(yáng)及收陰的比率為AA的PARAM#2日移動(dòng)平均A的PARAM#3日移動(dòng)平均

---------------------------------------------------------------   

134--階段換手率

  N(700101,1341231,990913)N1(700101,1341231,990917)

  SUM(IF(DATE>=N AND DATE<=N1,VOL,0),0)/CAPITAL

  統(tǒng)計(jì)一段時(shí)間的總換手率

  參數(shù)N表示統(tǒng)計(jì)時(shí)間長(zhǎng)度

   ?--PARAM#2的換手率(前面日期必須小于等于后面日期)

---------------------------------------------------------------   

135--階段漲幅

  N(700101,1341234,990518)N1(700101,1341231,990917)

  A:=HHV(IF(DATE=N1,CLOSE,0),0);

  B:=HHV(IF(DATE=N,CLOSE,0),0);

  UPR:(A/B-1)*100

  統(tǒng)計(jì)一段時(shí)間來(lái)的股價(jià)漲幅

  參數(shù)N為統(tǒng)計(jì)時(shí)間長(zhǎng)度

   ?--PARAM#2的漲幅(前面日期必須小于等于后面日期)

---------------------------------------------------------------    

136--階段總成交量

  N(700101,1341231,990601)N1(700101,1341231,990917)

  SUM(IF(DATE>=N AND DATE<=N1,VOL,0),0)

  統(tǒng)計(jì)一段時(shí)間的總成交量

  參數(shù)N為統(tǒng)計(jì)時(shí)間長(zhǎng)度

   ?--PARAM#2的成交量(前面日期必須小于等于后面日期)

---------------------------------------------------------------   

137--外盤筆數(shù)、內(nèi)盤筆數(shù)、總成筆數(shù)

  外盤筆數(shù):COUNT(BUYVOL,0);

  內(nèi)盤筆數(shù):COUNT(SELLVOL,0);

  總成筆數(shù):BARSCOUNT(C);

---------------------------------------------------------------   

138--每筆手?jǐn)?shù)、外內(nèi)比率

  每筆手?jǐn)?shù):SUM(VOL,0)/BARSCOUNT(C);

  外內(nèi)比率:SUM(BUYVOL,0)/SUM(SELLVOL,0);

---------------------------------------------------------------    

139--外內(nèi)手差、大手之差

  外內(nèi)手差:SUM(BUYVOL,0)-SUM(SELLVOL,0);

  大手之差:SUM(IF(BUYVOL>=N,VOL,0),0)-SUM(IF(SELLVOL>=N,VOL,0),0);{N:1,10000,100}

---------------------------------------------------------------    

  0198--外大手?jǐn)?shù)、內(nèi)大手?jǐn)?shù)

  外大手?jǐn)?shù):SUM(IF(BUYVOL>=N,VOL,0),0);{N:1,10000,100}

  內(nèi)大手?jǐn)?shù):SUM(IF(SELLVOL>=N,VOL,0),0);{N:1,10000,100}

---------------------------------------------------------------    

140--外內(nèi)筆差、外大筆數(shù)

  外內(nèi)筆差:COUNT(BUYVOL,0)-COUNT(SELLVOL,0);

  外大筆數(shù):COUNT(BUYVOL>=N,0);{N:1,10000,100}

---------------------------------------------------------------    

141-內(nèi)大筆數(shù)、大手筆差

  內(nèi)大筆數(shù):COUNT(SELLVOL>=N,0);{N:1,10000,100}

  大手筆差:COUNT(BUYVOL>=N,0)-COUNT(SELLVOL>=N,0);{N:1,10000,100}

公式技巧(0201~0235)

-----------------------------------------------------------------

142--早晨之星

  BACKSET(

  REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND

  REF(OPEN,1) < REF(CLOSE,2) AND

  ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND

  CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),

  3)

-----------------------------------------------------------------    

143-黃昏之星

  BACKSET(

  REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND

  REF(OPEN,1) > REF(CLOSE,2) AND

  ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02 AND

  CLOSE/OPEN<0.97 AND CLOSE< REF(CLOSE,2),

  3)

-----------------------------------------------------------------   

144--十字星

  CLOSE=OPEN AND HIGH<>LOW

-----------------------------------------------------------------    

145--長(zhǎng)十字

  CLOSE=OPEN AND

  HIGH/LOW > 1.03

-----------------------------------------------------------------    

146--垂死十字

  CLOSE=OPEN AND

  CLOSE=LOW AND

  CLOSE<>HIGH

-----------------------------------------------------------------   

147--早晨十字星

  BACKSET(

  REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND

  REF(OPEN,1) < REF(CLOSE,2) AND

  REF(OPEN,1)=REF(CLOSE,1) AND

  CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2),

  3)

-----------------------------------------------------------------    

148-黃昏十字星

  BACKSET(

  REF(CLOSE,2)/REF(OPEN,2) > 1.05 AND

  REF(OPEN,1) > REF(CLOSE,2) AND

  REF(OPEN,1)=REF(CLOSE,1) AND

  CLOSE/OPEN<0.95 AND CLOSE< REF(CLOSE,2),

  3)

-----------------------------------------------------------------    

149--射擊之星

  MIN(OPEN,CLOSE)=LOW AND

  HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND

  CLOSE > MA(CLOSE,5)

-----------------------------------------------------------------    

150--倒轉(zhuǎn)錘頭

  MIN(OPEN,CLOSE)=LOW AND

  HIGH-LOW > 3*(MAX(OPEN,CLOSE)-LOW) AND

  CLOSE < MA(CLOSE,5)

-----------------------------------------------------------------    

151--錘頭

  HIGH = MAX(OPEN,CLOSE) AND

  HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND

  CLOSE < MA(CLOSE,5)

-----------------------------------------------------------------   

152--吊頸

  HIGH = MAX(OPEN,CLOSE) AND

  HIGH-LOW > 3*(HIGH-MIN(OPEN,CLOSE)) AND

  CLOSE > MA(CLOSE,5)

-----------------------------------------------------------------    

153--穿頭破腳

  BACKSET(

  (REF(CLOSE,1)/REF(OPEN,1)>1.03 AND

  CLOSE/OPEN<0.96 AND

  CLOSE< REF(OPEN,1) AND OPEN>REF(CLOSE,1))

  OR

  (REF(CLOSE,1)/REF(OPEN,1)<0.97 AND

  CLOSE/OPEN>1.04 AND

  CLOSE>REF(OPEN,1) AND OPEN< REF(CLOSE,1)),

  2)

-----------------------------------------------------------------   

154--烏云蓋頂

  BACKSET(

  REF(CLOSE,1)/REF(OPEN,1)>1.03 AND

  CLOSE/OPEN<0.97 AND

  OPEN>REF(CLOSE,1) AND

  CLOSE< REF(CLOSE,1),

  3)

-----------------------------------------------------------------   

155--曙光初現(xiàn)

  BACKSET(

  REF(CLOSE,1)/REF(OPEN,1)<0.97 AND

  CLOSE/OPEN>1.03 AND

  OPEN< REF(CLOSE,1) AND

  CLOSE>REF(CLOSE,1),

  2)

-----------------------------------------------------------------   

156--身懷六甲

  BACKSET(

  ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND

  ABS(CLOSE-OPEN)/CLOSE<0.005 AND

  MAX(CLOSE,OPEN) < MAX(REF(CLOSE,1),REF(OPEN,1)) AND

  MIN(CLOSE,OPEN) > MIN(REF(CLOSE,1),REF(OPEN,1)),

  2)

-----------------------------------------------------------------   

157-十字胎

  BACKSET(

  ABS(REF(CLOSE,1)-REF(OPEN,1))/REF(CLOSE,1) > 0.04 AND

  CLOSE=OPEN AND

  CLOSE < MAX(REF(CLOSE,1),REF(OPEN,1)) AND

  CLOSE > MIN(REF(CLOSE,1),REF(OPEN,1)),

  2)

-----------------------------------------------------------------    

158--平頂

  BACKSET(ABS(HIGH-REF(HIGH,1))/HIGH<0.001,2)

-----------------------------------------------------------------   

159--平底

  BACKSET((ABS(LOW-REF(LOW,1))/LOW<0.001 AND

  ABS(REF(LOW,1)-REF(LOW,2))/REF(LOW,1)<=0.001),2)

-----------------------------------------------------------------   

160--大陽(yáng)燭

  CLOSE/OPEN>1.05 AND

  HIGH/LOW < CLOSE/OPEN+0.018

-----------------------------------------------------------------    

161--大陰燭

  OPEN/CLOSE > 1.05 AND

  HIGH/LOW < OPEN/CLOSE+0.018

-----------------------------------------------------------------    

162--好友反攻

  BACKSET(

  (REF(CLOSE,1)< REF(OPEN,1) AND

  CLOSE>OPEN AND

  ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002)

  OR

  (REF(CLOSE,1)>REF(OPEN,1) AND

  CLOSE< OPEN AND

  ABS(CLOSE-REF(CLOSE,1))/CLOSE<0.002),

  2)

-----------------------------------------------------------------    

163--跳空缺口

  BACKSET(

  HIGH< REF(LOW,1) OR

  LOW>REF(HIGH,1),

  2)

-----------------------------------------------------------------    

164--三個(gè)白武士

  BACKSET(

  REF(CLOSE,2)>REF(OPEN,2) AND

  REF(CLOSE,1)>REF(OPEN,1) AND

  CLOSE>OPEN AND

  REF(CLOSE,1)>REF(CLOSE,2) AND

  CLOSE>REF(CLOSE,1),

  3)

-----------------------------------------------------------------    

165-三只烏鴉

  BACKSET(

  REF(CLOSE,2)< REF(OPEN,2) AND

  REF(CLOSE,1)< REF(OPEN,1) AND

  CLOSE< OPEN AND

  REF(CLOSE,1)< REF(CLOSE,2) AND

  CLOSE< REF(CLOSE,1),

  3)

-----------------------------------------------------------------    

166--雙飛烏鴉

  BACKSET(

  REF(CLOSE,1)< REF(OPEN,1) AND

  CLOSE< OPEN AND

  CLOSE/OPEN<0.98,

  1)

-----------------------------------------------------------------   

167--上升三部曲

  BACKSET(

  REF(CLOSE,4)/REF(OPEN,4)>1.03 AND

  REF(CLOSE,3)< REF(OPEN,3) AND

  REF(CLOSE,2)< REF(OPEN,2) AND

  REF(CLOSE,1)< REF(OPEN,1) AND

  REF(LOW,4)< REF(LOW,3) AND

  REF(LOW,4)< REF(LOW,2) AND

  REF(LOW,4)< REF(LOW,1) AND

  REF(HIGH,4)>REF(HIGH,3) AND

  REF(HIGH,4)>REF(HIGH,2) AND

  REF(HIGH,4)>REF(HIGH,1) AND

  CLOSE/OPEN>1.03 AND

  CLOSE>REF(CLOSE,4),

  5)

-----------------------------------------------------------------   

168--下跌三部曲

  BACKSET(

  REF(CLOSE,4)/REF(OPEN,4)<0.97 AND

  REF(CLOSE,3)>REF(OPEN,3) AND

  REF(CLOSE,2)>REF(OPEN,2) AND

  REF(CLOSE,1)>REF(OPEN,1) AND

  REF(LOW,4)< REF(LOW,3) AND

  REF(LOW,4)< REF(LOW,2) AND

  REF(LOW,4)< REF(LOW,1) AND

  REF(HIGH,4)>REF(HIGH,3) AND

  REF(HIGH,4)>REF(HIGH,2) AND

  REF(HIGH,4)>REF(HIGH,1) AND

  CLOSE/OPEN<0.97 AND

  CLOSE< REF(CLOSE,4),

  5)

-----------------------------------------------------------------    

169-長(zhǎng)下影

  (MIN(CLOSE,OPEN)-LOW)/(HIGH-LOW)>0.667

-----------------------------------------------------------------    

170--長(zhǎng)上影

  (HIGH-MAX(CLOSE,OPEN))/(HIGH-LOW)>0.667,COLORBLUE

-----------------------------------------------------------------    

171--分離

  BACKSET(

  OPEN=REF(OPEN,1) AND

  (CLOSE-OPEN)*(REF(CLOSE,1)-REF(OPEN,1))<0,

  2)

-----------------------------------------------------------------    

172-光頭陽(yáng)線

  HIGH=CLOSE AND

  HIGH<>LOW

-----------------------------------------------------------------   

173--光腳陰線

  LOW=CLOSE AND

  HIGH<>LOW

-----------------------------------------------------------------    

174--孕育線

  N(1,100,2)N1(1,100,2)N2(1,100,2)N3(1,100,1)

  BACKSET(REF(CLOSE,2)>REF(OPEN,2) AND

  (REF(CLOSE,2)-REF(OPEN,2))/REF(OPEN,2)>=N/100 AND

  REF(OPEN,1)>=REF(CLOSE,1) AND

  (REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<=N1/100 AND

  REF(OPEN,1)<=REF(CLOSE,2) AND REF(CLOSE,1)>=REF(OPEN,2) AND

  C>=OPEN AND

  (CLOSE-OPEN)/OPEN>=N2/100

  AND CLOSE>=REF(OPEN,1) AND OPEN<=REF(CLOSE,1)

  AND (MAX(CLOSE,REF(C,2))-MIN(CLOSE,REF(CLOSE,2)))/MIN(CLOSE,REF(CLOSE,2))<=N3/100

  ,3)

  

  三根K線的組合,由兩陽(yáng)夾一陰組成,中間的一根陰線被兩根陽(yáng)線完全包圍,呈孕育線形態(tài)

  第一根陽(yáng)線實(shí)體大于等于 ?%;

  第二根陰線實(shí)體小于等于 ??;

  第三根陽(yáng)線實(shí)體大于等于PARAM#3%;

  兩根陽(yáng)線的收盤價(jià)相差不超過(guò)PARAM#4

{設(shè)A,B,R為三條曲線;N,M等為參數(shù)。如:A:MA(C,N) ; B:=MA(C,M); R:=C/REF(C,1)-1;等等}

  

  CAB:=CROSS(A,B);{交叉}

  

  WZ1:=BARSLAST(CAB);{第一(交叉)點(diǎn)的位置}

  WZ2:=REF(WZ1,WZ1+1)+WZ1+2;{第二(交叉)點(diǎn)的位置}

  WZ3:=REF(WZ1,WZ2+1)+WZ2+2;{第三(交叉)點(diǎn)的位置}

  WZ4:=REF(WZ1,WZ3+1)+WZ3+2;{第四(交叉)點(diǎn)的位置}

  WZ5:=REF(WZ1,WZ4+1)+WZ4+2;{第五(交叉)點(diǎn)的位置}

  {WZN:=REF(WZ1,WZ(N-1)+1)+WZ(N-1)+2;}

 

 

175--任意兩條指標(biāo)線在某數(shù)以下(或以上)兩次金叉的通式

  

  JM:=CROSS("指標(biāo)名稱.指標(biāo)線1","指標(biāo)名稱.指標(biāo)線2");

  JMCOUNT:=COUNT(JM,BARSLAST("指標(biāo)名稱.指標(biāo)線1(或指標(biāo)線2)"大于或小于某數(shù)));

  JMTJ:40*("指標(biāo)名稱.指標(biāo)線1(或指標(biāo)線2)"小于或大于某數(shù)));

  DRAWTEXT (JMTJ,40,'…………二次金叉');

  條件選股:60*(JMTJ AND …………),COLORGREEN;

  

  例一:

  

  MACD在0軸線以下二次金叉

 

  JM:=CROSS("MACD.DIFF","MACD.DEA");

  JMCOUNT:=COUNT(JM,BARSLAST("MACD.DEA">=0));

  JMTJ:40*("MACD.DEA"<0 AND COUNT(JMCOUNT=2,21)=1);

  DRAWTEXT (JMTJ,40,'MACD在0軸線以下二次金叉');

  條件選股:60*(JMTJ AND SLOPE(MA(C,5),2)>0),COLORGREEN;

  DRAWTEXT (條件選股,50,'5日3%成功率:44.71%');

  

  例二:

  

  KD在60軸線以下二次金叉

  

  JM:=CROSS("KD.K","KD.D");

  JMCOUNT:=COUNT(JM,BARSLAST("KD.D">=60));

  JMTJ:40*("KD.D"<60 AND COUNT(JMCOUNT=2,21)=1);

  DRAWTEXT (JMTJ,"KD.D",'KD在60軸線以下二次金叉');

  條件選股:60*(JMTJ AND SLOPE(MA(C,20),3)>0),COLORGREEN;

  DRAWTEXT (條件選股,50,'5日3%成功率:50.3%');

  

  例三:

  

  SLOWKD在30軸線以下二次金叉

  

  JM:=CROSS("SLOWKD.K","SLOWKD.D");

  JMCOUNT:=COUNT(JM,BARSLAST("SLOWKD.D">=30));

  JMTJ:28*("SLOWKD.D"<30 AND COUNT(JMCOUNT=2,21)=1);

  DRAWTEXT (JMTJ,28,'SLOWKD在30軸線以下二次金叉');

  條件選股:50*(JMTJ AND SLOPE(MA(C,20),2)>0),COLORGREEN;

-------------------------------------------------------------------------------   


????

    本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評(píng)論

    發(fā)表

    請(qǐng)遵守用戶 評(píng)論公約

    類似文章 更多