❶ 洗盤結束牛股起飛指標公式
洗盤結束牛股起飛指標公式VAR1:=REF(LOW,1); VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100; VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3); VAR4:=LLV(LOW,38); VAR5:=HHV(VAR3,38); VAR6:=IF(LLV(LOW,90),1,0); VAR7:=EMA(IF(LOW<=VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6; VAR8:=VAR7>5;{WWW.GPXIAZAI.COM} VAR9:=IF(COUNT(VAR8,2)=2,(-20),0); VAR10:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR11:=SMA(ABS(LOW-VAR10),13,1)/SMA(MAX(LOW-VAR10,0),10,1); VAR12:=EMA(VAR11,10); VAR13:=LLV(LOW,33); VAR14:=EMA(IF(LOW<=VAR13,VAR12,0),3); VAR15:=IF(VAR14>REF(VAR14,1),VAR14,0)*1.1; STICKLINE(VAR14>REF(VAR14,1),0,VAR14,4,1),COLORRED; VAR16:=IF(VAR14拓展資料
1.股票的操作是一場多頭和空頭之間的博弈。在這里,它可以由製造商和機構或市場力量來操作。 今天,將和大家分享一個股票洗盤指數。股票洗牌是指主要力量通過不斷的壓力和恐嚇促使散戶投資者交出自己的籌碼,從而完成建倉意念。一般來說,洗碗可以幫助主力軍建立更多的低成本晶元。同時,還可以幫助主力在拉起時減少阻力,使其更容易上升。在主莊家完成頭寸建立後,他必須經過長時間的水平震盪並清理浮動籌碼。在這段時間里,他能及時發現股價的底部 追隨者無疑是股市的贏家,但這種機會對大多數人來說都是可利用的,而無法獲得。他們在股價處於底部時進行交易 也可以看出,能夠成功復制到底部的人畢竟是少數幸運兒。
2. 但散戶投資者可以在主要洗盤結束後跟進,這樣即使錯過了第一波行情,他們也可以抓住庄股的第二春。 多數交易商股在漲中都有洗碗晃倉的行為。一旦交易商清理完畢,他往往開始主要上漲的市場。在這個時候, 如果沒有在底部入市的散戶能及時跟進,他們就能吃掉這只股票的主要上漲波浪。這種方式應該是最理想的,因為在 在底部進入需要經銷商長時間的集資,在洗碗結束時進入是最經濟的,可以提高資金的使用 效率。 洗完碗碟後找牛市股票,以及引爆點指數——無敵引爆星來幫你。買指數,送引爆星選股公式。推薦其他高質量指標: 狙擊交易商的短線陷阱——止損線,判斷趨勢強弱,買入、賣出支撐點和阻力位四合一指數 從虧損到盈利,你只需要一個有效的系統——實用的糾纏交易指數 全網獨家概念、維數,看其走勢和興衰 阻力線一目瞭然。突破阻力線是跳龍門的時候。 注意超短、超短傘剎車線和突破轉彎線。
❷ 簡單高效的選股公式有哪些
財經信紙
在A股市場中本來就是一個莊家和散戶博弈的戰場,那麼為什麼虧的都是散戶呢?原因無非在於三點,選股、買點、賣點,每個股民心中都有一個夢,就是炒股的時候能多抓一些漲停板,那麼究竟如何才能成功穩抓漲停板呢?今天給大家講解幾種選股公式,希望大家仔細學習與領悟。
1、牛股等待啟動選股公式
本人是根據股價與均線的一種比例關系,而編寫的一個選股公式,經長久的試用,效果挺好,很多牛股啟動前大部分都是這個走法,還有高控盤的股票,特拿來分享!
公式源碼:
S2:=IF(NAMELIKE('S'),0,1);
S3:=IF(NAMELIKE('*'),0,1);
S4:=DYNAINFO(17)>0;
ST:FROMOPEN>165 AND MA(C,5)/MA(C,60)>0.95 AND MA(C,5)/MA(C,60)<1.28and MA(C,10)/MA(C,60)>0.95 AND MA(C,10)/MA(C,60)<1.28 AND MA(C,30)/MA(C,60)>0.95AND MA(C,30)/MA(C,60)<1.28 AND CROSS(C,MA(C,5)) AND S2 AND S3 AND S4 AND C<50;2、抄底高手
{M 153530
N 123227
D 185042}
VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M<0;var2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N<0;VAR3:=VAR1 AND VAR2;
VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND DATE> AND (CLOSE>OPEN OR CLOSE
-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)
(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)REF(CLOSE,3) OR REF
(OPEN,3)REF(CLOSE,4) OR REF(OPEN,4)
(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)
VAR5:=DMA(EMA(CLOSE,8),SUM(VOL,9)/2.8/CAPITAL);
VAR6:=(CLOSE-VAR5)/VAR5*100;
VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));VAR4 OR VAR7;
實戰技巧
(1)梅開二度
13日均線向上穿越55日均線以後,股價滯漲回落,13日均線弱勢下叉34日均線,隨著股價的止跌企穩,13日均線開始勾頭向上二次穿越34日均線,我們把在主均線上的13日均線金叉穿越34日均線,稱之為「梅開二度」。
❸ 跪求股市指標公式!!
目前,證券市場上的各種技術指標數不勝數。例如,相對 強弱指標版(RSI)、隨機指標(KD)、趨向指標(DMI)、平滑異同權平均線(MACD)、能量潮(OBV)、心理線、乖離率等。這些都是很著名的技術指標,在股市應用中長盛不衰。而且,隨著時間的推移,新的技術指標還在不斷涌現。包括: MACD(平滑異同移動平均線) DMI趨向指標(趨向指標) DMA EXPMA(指數平均數)TRIX(三重指數平滑移動平均) TRIX(三重指數平滑移動平均) BRAR CR VR(成交量變異率) OBV(能量潮) ASI(振動升降指標) EMV(簡易波動指標) WVAD(威廉變異離散量) SAR(停損點) CCI(順勢指標) ROC(變動率指標) BOLL(布林線) WR(威廉指標) KDJ(隨機指標) RSI(相對強弱指標) MIKE(麥克指標).
KDJ
一.用途:
❹ 股票指標公式怎麼用呀
打開通達訊,按Ctrl+F到「公式管理器」---點「新建」---將上面的公式復制到最大的空白欄裡面---再填寫"公式名稱"---再點"測試公式",如果不能通過就是公式有誤! 你上面的公式在通達訊裡面測試不能通過! 下面是(五里燈塔)公式: N1:=5;N2:=10; STICKLINE(C>0,0,10,15,0),COLOR781816; LC:=REF(CLOSE,1); RSI5:SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*10,COLORFF00FF,LINETHICK1; RSI10:SMA(MAX(CLOSE-LC,0),N2,1)/SMA(ABS(CLOSE-LC),N2,1)*10,COLOR00FFFF; VAR1:=C-REF(C,1); VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6); MA5:=EMA(C,5); MA13:=EMA(C,13); UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),0),COLOR0000FF; DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),0),COLOR00FF00; BT:(LLV(VAR2,2)=LLV(VAR2,7)ANDCOUNT(VAR2<0,2)ANDCROSS(VAR2,MA(VAR2,2)))AND REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1); 0,COLORFF00FF; 10,COLORFF0000; STICKLINE(UP,0,0.2,3,0),COLOR0000FF; STICKLINE(DOWN,0,0.2,3,0),COLOR00FF00; STICKLINE(BT,0,3,2,0),COLOR000088; STICKLINE(BT,0,3,1,0),COLOR0000CC; STICKLINE(BT,0,3,0.22,0),COLOR0000FF; DRAWTEXT(BT,3,'短牛'),COLOR0000FF; TJ1:=REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1)ANDC<HHV(H,21)*0.82; STICKLINE(TJ1,0,2,3,0),COLOR880088; STICKLINE(TJ1,0,2,1.5,0),COLORAA00AA; STICKLINE(TJ1,0,2,0.8,0),COLORCC00CC; STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF; DRAWTEXT(TJ1,2,'中牛'),COLORFF00FF; HR:=HHV(HIGH,55); HRY:=LLV(LOW,55); HRY11:=HR*HRY; HRY33:=SQRT(HRY11); TJ2:=REF(DOWN,1)<REF(DOWN,2)ANDUP>REF(DOWN,1)ANDC<HRY33; STICKLINE(TJ2,0,1,5,0),COLOR008888; STICKLINE(TJ2,0,1,2,0),COLOR00AAAA; STICKLINE(TJ2,0,1,1,0),COLOR00CCCC; STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF; DRAWTEXT(TJ2,1,'大牛'),COLOR00FFFF; ST:=REF(UP,1)>REF(UP,2)ANDDOWN<REF(UP,1); STICKLINE(ST,10,9,5,0),COLOR008800; STICKLINE(ST,10,9,2,0),COLOR00AA00; STICKLINE(ST,10,9,1,0),COLOR00CC00; STICKLINE(ST,10,9,0.2,0),COLOR00FF00; DRAWTEXT(ST,9,'賣'),COLOR00FF00; DRAWTEXT(CURRBARSCOUNT=89,9.5,'★本指標適合抄底及波段特徵明顯個股,暴跌 途中慎用!!'),COLOR0000FF; DRAWTEXT(CURRBARSCOUNT=89,8.7,'★大牛:長線大牛股,目標翻倍; 中短牛:15天目標10%-20%!!'),COLOR0078FF; DRAWTEXT(CURRBARSCOUNT=89,8.0,'★以上信號結合RSI低位時用更加可靠,盤整市中信號偏多!!'),COLOR00FF00; DRAWTEXT(CURRBARSCOUNT=89,7.3,'★當大牛\中牛\短牛同一天出現時, 果斷買入!!'),COLOR00FFFF; 下面是(操盤手B買S賣)公式: 買線:=EMA(C,2); 賣線:=EMA(SLOPE(C,21)*20+C,42); BU:=CROSS(買線,賣線); SEL:=CROSS(賣線,買線); DRAWTEXT(BU,LOW*0.989,'B'),COLORRED,LINETHICK3; DRAWTEXT(BU,LOW,''),COLOR208FFF,LINETHICK3; DRAWTEXT(SEL,HIGH,''),COLORFFFF00,LINETHICK3; DRAWTEXT(SEL,HIGH*1.0175,'S'),COLORFFFF00,LINETHICK3; STICKLINE(買線>=賣線,LOW,HIGH,1,0),COLORRED; STICKLINE(買線>=賣線,CLOSE,OPEN,4.5,0),COLOR0000AA; STICKLINE(買線>=賣線,CLOSE,OPEN,4,0),COLOR0000CC; STICKLINE(買線>=賣線,CLOSE,OPEN,3,0),COLOR0000CC; STICKLINE(買線>=賣線,CLOSE,OPEN,2,0),COLOR0000EE; STICKLINE(買線<賣線,CLOSE,OPEN,4.5,0),COLORAAAA00; STICKLINE(買線<賣線,CLOSE,OPEN,4,0),COLORBBBB00; STICKLINE(買線<賣線,CLOSE,OPEN,3,0),COLORCCCC00; STICKLINE(買線<賣線,CLOSE,OPEN,2,0),COLOREEEE00; STICKLINE(買線<賣線,LOW,HIGH,1,0),COLORFFFF00; STICKLINE(CROSS(買線,賣線)ORCROSS(賣線,買線),OPEN,CLOSE,3,0),COLOR00FFFF; 指導線:EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2),LINETHICK1,COLORFFFFFF; 界:MA(CLOSE,27),LINETHICK1,COLOR00FFFF; DRAWTEXT(CROSS(指導線,界),界,''),COLORFFFFFF; DRAWTEXT(CROSS(界,指導線),界,''),COLOR00FFFF; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; G:=95; DRAWTEXT(CROSS(J,D),L*0.999,''),COLOR00FFFF,LINETHICK4; DRAWTEXT(CROSS(J,D),L,''),COLOR00FFFF; DRAWTEXT(CROSS(J,G),H*1.005,''),COLORFFFF00,LINETHICK4; DRAWTEXT(CROSS(J,G),H,''),COLORFFFF00; 如果還需要更多的公式,請發郵件給我:[email protected] 希望你在股海里滿載而歸!!!
❺ 求波段理論指標公式,股票軟體
這個問題可以搜索一下 學知網,它的對應目錄是" 經濟管理/創業/千餘種成功管理類資料/千餘種成功管理類資料/管理/薪酬設計與激勵手冊/理論·觀點"
❻ 通達信捕捉牛股利器 條件選股公式
通達信選股公式:
條件選股公式源碼:
年認同價:=MA(C,240);
價格中樞:=(SUM(年認同價,0)/(BARSSINCE(年認同價>0)+239));
箱頂:=價格中樞*1.2;
箱底:=價格中樞*0.8;
毛利潤率:=FINANCE(21)/FINANCE(20);
成長價值:=年認同價*(1+毛利潤率);
收益價值:=年認同價+FINANCE(33);
回調認同:=EMA(EXPMA(C,20),13);
多頭:=(回調認同>REF(回調認同,1))AND(成長價值>REF(成長價值,1))AND(收益價值>REF(收益價值,1))AND(DYNAINFO(7)>0);
回調條件:=COUNT(C<回調認同,5)>=3;
回調突破:=(REF(C,1)<=REF(回調認同,1))AND(C>回調認同)AND(回調條件)AND多頭;
成長條件:=COUNT(C<成長價值,5)>=3;
成長突破:=(REF(C,1)<=REF(成長價值,1))AND(C>成長價值)AND(成長條件)AND多頭;
收益條件:=COUNT(C<收益價值,5)>=3;
收益突破:=(REF(C,1)<=REF(收益價值,1))AND(C>收益價值)AND(收益條件)AND多頭;
箱底條件:=COUNT(C<箱底,5)>=3;
箱底突破:=(REF(C,1)<=REF(箱底,1))AND(C>箱底)AND(箱底條件)AND多頭;
價格條件:=COUNT(C<價格中樞,5)>=3;
價格突破:=(REF(C,1)<=REF(價格中樞,1))AND(C>價格中樞)AND(價格條件)AND多頭;
箱頂條件:=COUNT(C<箱頂,5)>=3;
箱頂突破:=(REF(C,1)<=REF(箱頂,1))AND(C>箱頂)AND(箱頂條件)AND多頭;
突破買點:(回調突破+成長突破+收益突破+箱底突破+價格突破+箱頂突破);
專買老鼠倉
{老鼠倉}
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,(LOW* 0.97),'老鼠倉'),COLOR4080FF;
老鼠倉是個很不錯的指標,信號發出一般都在一個波段的底部起漲之時。
根據本人的實踐,使用指標時候要注意幾點:
1 該指標可以添加到任何一個主圖裡面去,比如MA均線什麼的。
2 出現信號當天買進股票,第二天收陽繼續持股,直到出陰為止。
3 第二天出陰考慮賣出,非常適合短線操作!
老鼠倉(選股公式)
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
老鼠倉:BB1AND CC1 AND DD1 AND EE1;
理想選股(選股公式)
VAR1:=MA((LOW+HIGH+CLOSE)/3,5);
VAR2:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
VAR3:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) ANDREF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
VAR4:=VAR1>REF(VAR1,1) AND REF(VAR1,1)<REF(VAR1,2);
VAR5:=LOW<HHV(VAR1,13) AND HIGH>HHV(VAR1,13) AND CLOSE>REF(C,1) ANDCLOSE>OPEN;
VAR6:=VAR5 AND COUNT(VAR4,2);
VAR7:=VAR6 AND NOT(REF(VAR6,1));
VAR8:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
VAR9:=EMA(MA(C,13),13);
VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7) AND COUNT(VAR8<0,2) ANDCROSS(VAR8,MA(VAR8,2)))=1,5);
VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
VAR12:=FILTER(((CROSS(VAR11,0) OR CROSS(C,VAR9)) AND VAR10)=1,3);
VAR13:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
買1:=(VAR12OR VAR13) AND VAR10;
買2:=(VAR12OR VAR13) AND VAR3;
買3:=(VAR12OR VAR13) AND VAR2;
買4:=(VAR2AND VAR10) OR (VAR3 AND VAR10);
買5:=(金叉AND VAR3) OR (金叉 AND VAR2) OR (金叉 AND VAR10);
ST:=EXIST(C/REF(C,1)>1.06,50);
輸出:=(買1OR 買2OR 買3OR 買4OR 買5OR VAR7) AND ST;
MA5:=MA(C,5),COLORWHITE;
X:=(3*C+L+O+H)/6;
多空線:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORFF00FF,LINETHICK1;
AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW;
CROSS(MA5,多空線) and CROSS(C,AB) and 輸出 ;
點石成金(選股公式)
KS13:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*(-100);
RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
FASTK:=SMA(RSV,3,1);K:=SMA(FASTK,3,1);D:=SMA(K,5,1);
Var1:=CLOSE/MA(CLOSE,40)*100<76;
Var2:=CLOSE/MA(CLOSE,60)*100<74;
Var3:=HIGH>LOW*1.051;
Var4:=Var3 AND COUNT(Var3,5)>1;
Var4 AND (Var1 OR Var2) AND REF(KS13,1)>=10 AND REF(KS13,1)/KS13>=1.13AND
CLOSE/REF(CLOSE,1)>=1.02;
牛市絕底(選股公式)
VAR1:=REF(CLOSE,1);
VAR2:=((SMA(MAX((CLOSE - VAR1),0),7,1) / SMA(ABS((CLOSE - VAR1)),7,1)) * 100);
VAR3:=((SMA(MAX((CLOSE - VAR1),0),13,1) / SMA(ABS((CLOSE - VAR1)),13,1)) *100);
VAR4:=((100 * (HHV(HIGH,48) - LOW)) / HHV(HIGH,48));
VAR5:=((100 * (HIGH - LLV(LOW,48))) / LLV(LOW,48));
牛市絕底:VAR2< 15 AND VAR3 < 20 AND (VAR2 + VAR3) > 20 AND VAR4 > 40 ANDBARSCOUNT(CLOSE) > 47;
飛彈一號(選股公式)
var1:=c/ma(c,40)*100<78;
var2:=c/ma(c,60)*100<74;
var3:=h>=l*1.051;
var4:=var3 and count(var3,5)>=2;
xg:var4 and (var1 or var2) and count(h=l and c=o and c<ref(c,1),3)=0
and hhv(v/capital,30)<0.8;
跟庄建倉源碼
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);
趨勢:=EMA(Var3,3)-10;
STICKLINE(趨勢>80,趨勢,80,5,0);
DRAWICON(CROSS(趨勢,0),0,1);
STICKLINE((A09 > 0 AND (趨勢<20 OR 趨勢>REF(趨勢,1)AND趨勢<50)),0,A09,6,0),colorFFff00;
機構建倉區:0,LINETHICK0,colorFFFF00;
Var4:=(趨勢-REF(趨勢,1))/REF(趨勢,1)*100;
STICKLINE(趨勢<=13,0,20,3,0),colorcc9900;
DRAWTEXT(FILTER(趨勢<=13,15),30,'准備現金'),colorcc9900;
STICKLINE(趨勢<=13 AND Var4>13,0,50,2,0),color0099ff;
Var5:=FILTER((趨勢<=13 AND Var4>13),10);
DRAWTEXT(Var5,60,'買入'),color0099ff;
STICKLINE(趨勢>=90 AND Var4,0,30,3,0),colorgray;
Var6:=FILTER((趨勢>=90 AND Var4),10);
DRAWTEXT(Var6,40,'清倉'),colorgray;
Var7:=LLV(LOW,30);
Var8:=HHV(HIGH,30);
Var9:=EMA((CLOSE-Var7)/(Var8-Var7)*4,4)*25;
STICKLINE(Var9>90,100,105,3,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,'險'),Color00FF00;
DRAWICON(CROSS(90,Var9),95,9);
Var11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
Var12:=HHV(Var11,30)*8;
火焰山:EMA(IF(LOW<=Var7AND 趨勢<40,(Var11+Var12),0),3)/618,COLORRED,linethick2;
STICKLINE(火焰山>0,0 ,火焰山*1.2,4,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;
趨勢線:趨勢,colorff0000;
Var16:=MAX(EMA(Var13,2)-EMA(Var14,5),0)*200;
Var17:=EMA(Var16,5);
波浪峰:Var17,stick,colorff00ff;
STICKLINE(Var17<REF(Var17,1),0,Var17,1,0),color00ff00;
Var18:=MA(趨勢線,8);
if(CROSS(Var2,Var18) AND Var2<15,50,0),COLORRED;
DRAWTEXT(CROSS(趨勢線,Var2)AND 趨勢線>REF(趨勢線,1)AND 趨勢線<50,50,'追漲'),COLORff00ff;
風險區:IF(趨勢>80,趨勢,80),colorff00ff;
雙信號"全倉"選股(選股公式)
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
TTJ:=CROSS(FF,MA15);
上:=EMA(C,3),COLORBLUE,LINETHICK1;
中:=EMA(C,5),COLORWHITE,LINETHICK1;
下:=EMA(中,5),COLOR00FF00,LINETHICK1;
QQ:= C<中;
MM:=上>REF(上,1)AND REF(上,1)<REF(上,2) ;
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(DMA(CLOSE,V1));
V3:=(1+7/100)*(DMA(CLOSE,V1));
V5:=MA((LOW+HIGH+CLOSE)/3,5);
MA1:=MEMA(CLOSE,5);
MA2:=ATAN((MA1/REF(MA1,1)-1)*100)*180/3.1416;
MA3:=IF(MA2>0,MA2,MA2);
MA5:=MA(CLOSE,5),COLOR888899;
MA13:=MA(CLOSE,13),COLORFF00F0,LINETHICK2;
VAR01:=CLOSE=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3))
OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) AND
REF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND
C>=REF(C,1) AND C>=REF(C,2);
{收盤價=4日內收盤價的最高值AND 昨收>=2日前的收盤價}
VAR02:=CLOSE=HHV(C,4) AND REF(C,1)=LLV(C,4);
{收盤價=4日內收盤價的最高值AND 昨收=4日內收盤價的最低值}
VAR03:=CLOSE=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR
REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)=HHV(C,4) AND C<REF(C,1) OR REF(C,3)=LLV(C,4) AND
C<REF(C,1) AND C<REF(C,2);
{收盤價=4日內收盤價的最低值AND (昨收<2日前的收盤價}
VAR04:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND
REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1);
{昨收=4日內收盤價的最低值AND 收盤價>=2日前的收盤價}
VAR05:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND
REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND
REF(C,2)>=REF(C,4) AND C<REF(C,1);
{昨收=4日內收盤價的最高值AND 收盤價<2日前的收盤價}
VAR06:=V5>REF(V5,1) AND REF(V5,1)<REF(V5,2);
{今日V5向上形成拐點}
VAR07:=LOW<HHV(V5,13) AND HIGH>HHV(V5,13) AND CLOSE>REF(C,1) ANDCLOSE>OPEN;
VAR08:=VAR07 AND COUNT(VAR06,2);
VAR09:=100*EMA(EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);
VAR10:=EMA(MA(C,13),13);
VAR11:=FILTER((LLV(VAR09,2)=LLV(VAR09,7) AND COUNT(VAR09<0,2) AND
CROSS(VAR09,MA(VAR09,2)))=1,5);
VAR12:=FILTER((HHV(VAR09,2)=HHV(VAR09,7) AND COUNT(VAR09>50,2) AND
CROSS(MA(VAR09,2),VAR09))=1,1);
VAR13:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;
VAR14:=FILTER(((CROSS(VAR13,0) OR CROSS(C,VAR10)) AND VAR11)=1,3);
VAR15:=MA(C,18)>=REF(MA(C,18),3) AND CROSS(C,MA(C,18));
VAR16:=VAR08 AND NOT(REF(VAR08,1));
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
金叉:=CROSS(J,D);
死叉:=CROSS(D,J);
買1:=(VAR14OR VAR15) AND VAR11;
買2:=(VAR14OR VAR15) AND VAR04;
買3:=(VAR14OR VAR15) AND VAR02;
買4:=(VAR02AND VAR11) OR (VAR04 AND VAR11);
買5:=(金叉AND VAR04) OR (金叉 AND VAR02) OR (金叉 AND VAR11);
TTJ0:=VAR16;
TTJ1:=買1OR 買2OR 買3OR 買4OR 買5AND MM;
XG0:=TTJ AND TTJ0;
XG1:=TTJ AND TTJ1;
XG11:=XG0 OR XG1;
{以下波浪理論浪底重疊"買底"選股原碼}
PL5:=ZIG(3,5);
EN1:=ZIG(3,5)>REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)<=REF(ZIG(3,5),2) ANDREF(ZIG(3,5),2)<=REF(ZIG(3,5),3);
EX1:=ZIG(3,5)<REF(ZIG(3,5),1) AND REF(ZIG(3,5),1)>=REF(ZIG(3,5),2) ANDREF(ZIG(3,5),2)>=REF(ZIG(3,5),3);
PL10:=ZIG(3,10);
EN2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<=REF(ZIG(3,10),2)AND REF(ZIG(3,10),2)<=REF(ZIG(3,10),3);
EX2:=ZIG(3,10)<REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)>=REF(ZIG(3,10),2)AND REF(ZIG(3,10),2)>=REF(ZIG(3,10),3);
PL20:=ZIG(3,20);
EN3:=ZIG(3,20)>REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)<=REF(ZIG(3,20),2)AND REF(ZIG(3,20),2)<=REF(ZIG(3,20),3);
EX3:=ZIG(3,20)<REF(ZIG(3,20),1) AND REF(ZIG(3,20),1)>=REF(ZIG(3,20),2)AND REF(ZIG(3,20),2)>=REF(ZIG(3,20),3);
PL40:=ZIG(3,40);
走強1:=BARSLAST(PL5<REF(PL5,1));
走弱1:=BARSLAST(PL5>REF(PL5,1));
走強2:=BARSLAST(PL10<REF(PL10,1));
走弱2:=BARSLAST(PL10>REF(PL10,1));
走強3:=BARSLAST(PL20<REF(PL20,1));
走弱3:=BARSLAST(PL20>REF(PL20,1));
ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走強2),0);
ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走強2),0);
DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);
DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走強3),0);
ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走強3),0);
DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
TJ11:=EN2 AND ZTJZ5=1;
TJ22:=EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2;
TJ33:=EN2 AND DTJZ10=1;
TJ44:=EN3 AND ZTJZ10=1;
TJ55:=EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2;
XG22:=TJ11 OR TJ22 OR TJ33 OR TJ44 OR TJ55;
{以下二者結合共同選股}
XG:=XG11 OR XG22;
W18:EXIST(XG,1);
❼ 請高手將下列通達信指標公式改為選股公式,要求分別選出,「短牛」「中牛「大牛」3個選股公式。
{用一個公式就能搞定---出現任意一個都可以預警}
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0);
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
短牛:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
中牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
大牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
選三牛之一:短牛+中牛+大牛>0;
❽ 股票公式
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS(MA13,MA5))+1),0);
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
短牛:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1);
中牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82;
大牛:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33;
選三牛之一:IF(CROSS(短牛+中牛+大牛>0,0.5),1,0);
{或者}
選三牛合一:短牛+中牛+大牛=3;
❾ 請高手把這個指標公式改成這三個選股公式分別是:牛股起爆 .門庭若市 .瘋狂箭頭 謝謝!
牛股起爆選股公式:
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
二次金叉1:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(低位金叉,21)=2;
TJ1:=低位金叉 OR 二次金叉1;
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
TJ8:=REF(C,1)/REF(C,5)<=1.1 AND C>=MA(C,24) AND EXIST(V/REF(V,1)>=2,5) AND C>REF(C,1);
牛股起爆:TJ3 AND TJ8;
門庭若市選股公式:
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
二次金叉1:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(低位金叉,21)=2;
TJ1:=低位金叉 OR 二次金叉1;
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA17:=MA(C,17);
MA20:=MA(C,20);
MA24:=MA(C,24);
MA30:=MA(C,30);
MA43:=MA(C,43);
MA72:=MA(C,72);
MA200:=MA(C,200);
TJ4:=MA5>=MA24 AND MA24>=MA72 AND MA72>=MA200;
TJ5:=MA10>=MA30 AND MA20>=MA30;
TJ7:=TJ4 OR TJ5;
AAA:=EVERY(V<=REF(V,1),1) OR V/REF(V,1)>=1.5;
牛股:=TJ2 AND TJ3 AND TJ7;
牛股出爐:=AAA AND 牛股 AND C>=MA(C,24);
門庭若市:COUNT(EXIST(牛股出爐,6),6)>=2 AND C>REF(C,1) AND REF(C,2)<REF(C,1) AND C>O;
瘋狂箭頭選股公式:
DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=(DIFF-DEA)*2;
低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
二次金叉1:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(低位金叉,21)=2;
TJ1:=低位金叉 OR 二次金叉1;
LJPK:=(C+H+O+L)/4;
MCC:=XMA(LJPK,20)*(1+80/1000);
MRR:=XMA(LJPK,32)*(1-100/1000);
ZXX:=(MCC+MRR)/2;
ZXA:=(MRR+ZXX)/2;
TJ2:=REF(L,1)<ZXA;
TJ3:=TJ2 AND COUNT(TJ2,6)>=6;
MA5:=MA(C,5);
MA10:=MA(C,10);
MA17:=MA(C,17);
MA20:=MA(C,20);
MA24:=MA(C,24);
MA30:=MA(C,30);
MA43:=MA(C,43);
MA72:=MA(C,72);
MA200:=MA(C,200);
TJ4:=MA5>=MA24 AND MA24>=MA72 AND MA72>=MA200;
TJ5:=MA10>=MA30 AND MA20>=MA30;
TJ7:=TJ4 OR TJ5;
AAA:=EVERY(V<=REF(V,1),1) OR V/REF(V,1)>=1.5;
牛股:=TJ2 AND TJ3 AND TJ7;
牛股出爐:=AAA AND 牛股 AND C>=MA(C,24);
門庭若市:=COUNT(EXIST(牛股出爐,6),6)>=2 AND C>REF(C,1) AND REF(C,2)<REF(C,1) AND C>O;
瘋狂箭頭:IF(BARSLASTCOUNT(EXIST(門庭若市,3))>=2,門庭若市,0);
❿ 簡單的選股指標公式
如何發現好的股票,簡單的選股指標公式,讓你輕松算出牛股(超全)
簡單的選股指標公式
1,30個交易日內,股價跌幅達到一半的股票:
xg:(hhv(c,30)-c)/hhv(c,30)》0.5;
2,今天的量 是5天平均的 2倍以上
xg:v》ma(v,5)*2;
縮量
vol/ma(vol,10)《0.3;
3,兩天內,累計下跌等於或超過20%選股。
xg:(ref(c,2)-c)/c》0.2;
4,股價是25天以來新低。
xg:c《ref(llv(c,25),1);
5,選股:EXPMA5日與10日金叉並且第二天的收盤價在EXPMA的
5日線以上.
cross(ref(ema(c,5),1),ref(ema(c,10),1)) and c》ema(c,5);
6,請編買入公式:
1. 將BIAS指標的參數設置為24日,將KD指標的參數設置為9;3;3。
2. BIAS指標要小於-6,這只是確認該股超跌的初選條件。
3. KD指標產生黃金交叉,K線上穿D線。
4. KD交叉同時,KD指標中的D值要小於16。
BIAS3 :=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100,colorff00ff;
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
xg:BIAS3《-6 and cross(k,d) and d《16;
7,要求是量大、換手率達到3左右,漲幅》7個點。
xg:v/capital*100》3 and (c/ref(c,1)》1.07;
8,個股分時圖上都有一條黃線,叫做均價線
a/capital*100;
9,“陰轉陽”的公式(也就是昨天收陰線,今天收陽線)
xg:ref(c,1)《ref(o,1) and c》o;
10,股價回抽20日均線選股公式
xg:ref(c,1)》ma(c,20) and cross(ma(c,20),c);
11,一根大陽線,至少有5個點以上,再連著出現二根振幅不大於5的十字星或是小K
線
xg:(ref(c,3)-ref(c,4))/ref(c,3)》0.05 and count((h-l)/l《0.05,2)=2;
12,行情信息里的“漲幅”的原碼
(c-ref(c,1))/c*100;
13,kdj的J從上向下穿越O軸發出信號
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1),COLORWHITE;
D:=SMA(K,3,1),COLORYELLOW;
J:=3*K-2*D,COLORFF00FF;
xg:cross(0,j);
14,股價4天中有兩天在10日線上
count(c》ma(c,10),4)=2;
15,選出10天內出現了漲停的個股
count(c/ref(c,1)》1.1,10)》0;
又:
今漲停:=C/REF(C,1)》1.09;
選股:count(今漲停,n);
16,一陽上穿10,20,30日線,量能是前一天3倍。
xg:cross(c,ma(c,10)) and cross(c,ma(c,20)) and cross(c,ma(c,30)) and
v》ref(v,1)*3;
17,共三根K線,第一根K線為陰線;第二根K線為陰線線,最高價低於第一根K線
,最低價高於第一根K線;第三根K線陰陽不限,最高價低於第二根K線,最低價高
於第二根K線。滿足後發出信號~
w1:=ref(c,2)《ref(o,2);
w2:=ref(h,2)》ref(h,1) and ref(l,2)《ref(l,1);
w3:=ref(h,1)》h and ref(l,1)《l;
xg:w1 and w2 and w3;
18, 選出今日成交量大於昨日成交量一成的股票。
xg:v》ref(v,1)*1.1;
19, 連續5天,當日的5日均線減前一天的5日均線差值小於1.
count((ma(c,5)-ref(ma(c,5),1))《1,5)=5;
20,股價上穿5周均線:
xg:cross(c,ma(c,5));
注意:選股時用周線
21,上穿30日均線的公式
xg:cross(c,ma(c,30));
22,兩筆陰線中間夾著一根陽線或數根K線,其中兩筆陰線最低點相等
xg:ref(l,2)=l;
23,量比大於1 同時換手大於2的公式
xg:v/ref(v,1)》1 and AMOUNT/CAPITAL*100》2;
24,換手:VOL*100/CAPITAL;
周期換手:SUM(換手,10);
25,流通盤小於4000萬 的選股公式
xg:CAPITAL/100《4000;
26,漲停開盤跌停收盤選股
xg:h/ref(c,1)》1.1 and ref(c,1)/l》1.1;
27,當天開盤價與收盤價相等的選股公式
xg:c=o;
28,5日均線向上 流通盤小於5000萬 換手率大於3的選股公式
lt:CAPITAL/100《5000;
換手:=VOL*100/CAPITAL《3;
w1:ma(c,5)》ref(ma(c,5),1);
xg:lt and 換手 and w1;
29,收下影線
xg:c》l;
30, o=l就沒有下引線了,那就:
xg:c》l and o》l;
31,當日收盤下穿5日均價
xg:cross(ma(c,5),c);
32,最低價小於前一日的最低價但收盤後為陽線。
xg:l《ref(l,1) and c》o;
33,30日內到本日收盤價下跌20%的公式
xg:hhv(c,30)/c》1.2;
34,選周線跳空缺口的個股。
xg:HIGH《REF(LOW,1) OR
LOW》REF(HIGH,1);
周期選周線
35,30日均線走平或走高的個股
xg:ma(c,30)》ref(ma(c,30),1);
36,連續4天的收盤價格波動幅度在3%之內連續走平或向上
count(abs(c-ref(c,1)/ref(c,1))《0.03 and c》ref(c,1),3)=3;
37,下影線長於上影線
(c-l)》(h-c);
38, 收盤價+收盤價的10%
(c+c*0.1);
39,今天高開的公式
c》o;
40,今天的量大於等於昨天量的2倍,股價上漲
xg:v》ref(v,1)*2 and c》ref(c,1);
41,今天的量小於昨天量的2倍以上,股價上漲
xg:v《ref(v,1)*2 and c》ref(c,1);
42,31天均線向上的股
xg:ma(c,30)》ref(ma(c,20),1);
43升降幅在-n%----n%之間
w1:abs(ref(c,1)-ref(c,2))/ref(c,2)*100《n;
44,換手率10天30%以上的選股公式
sum(VOL/CAPITAL*100,10)》30;
45,60個交易日內,漲幅大於9.9%(漲停)的天數
count(c/ref(c,1)》1.099,60);
46,昨天跌幅大於3%,今天開盤高開2%以上的選股公式。
xg:ref(c,1)/ref(c,2)《0.97 and o/ref(c,1)》1.02;
47,選出周換手率小於10%的股票
sum(VOL/CAPITAL*100,5)《10;
48,成交量創20日新低,並且股價也創20日新低
xg:v=llv(v,20) and c=llv(c,20);
49,5日不漲,綠線收盤選票指標
count(c《o,5)=5;
50,“今日MACD等於昨天的MACD ,且macd》0” 的指標
DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
MACD:=2*(DIFF-DEA);
xg:macd=ref(macd,1) and macd》0
51,連續2天收盤價跌破30日均線,就顯示"賣出"信號
a1:count(c《ma(c,30),2)=2;
drawtext(a1,c,賣出),colorgreen;
52,股票在這條均線上在8天以上,上下幅度不大,
a1:abs((c-ma(c,120))/ma(c,120))《0.1;
xg:count(a1,8)=8;
53, 連續三天高開高走的選股公式
count(o》ref(c,1) and c》o,3)=3;
54,n天內曾經有m個漲停
count(c/ref(c,1)》1.09,n)》m;
55,股價比昨天的高,量比昨天小,放量。
xg:c》ref(c,1) and v《ref(v,1) and ref(v,1)》ref(v,2)*2;
56,連續3天每天的最低價都比前一天高
count(l》ref(c,1),3)=3;
57,周量縮小50%或40%或n%
a1:vol/capital*100;
xg:a1/ref(a1,1)《n/100;
58,股價超過五日均價的15%以上,並給出賣出信號
賣出:c/ma(c,5)》1.15;
59,連收兩個十字星的選股公式
count(abs((c-o)/o《0.01),2)=2;
60,n橫盤天數,n1橫盤的上下幅度
REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)《=(n1/100)
and ref(v,1)《ref(ma(v,5),1) and cross(v,ma(v,5)) and cross(v,ma(v,10));
61,收盤價連續8天都站在5日均線的股票。
count(c》ma(c,5),8)=8;
62,振幅大於5%,收盤價大於3.5小於15元,三日均線大於昨日的三日均線,去掉
ST股。
a1:=h/l》1.05;
a2:=c》3.5 and c《15;
a3:=ma(c,3)》ref(ma(c,3),1);
xg:a1 and a2 and a3;
63,收盤價下有60天前的遠期獲利盤n%。
{60天前的遠期獲利盤:=ppart(60)*100;}
aa:WINNER(ref(c,60 ))*100;
64,連續三日收陽 後日收盤高於前日 且每日收於當日最高價附近 每日漲幅不大
於4%
選股:count(c》o and c》ref(c,1) and abs((h-c)/c)《0.01 and c/ref(c,1)
《1.04,3)=3;
65,昨日收陰, 今日收陽,的K線組合。
C》O AND REF(C,1)《REF(O,1);
6,股價突破5ma買入,跌破5ma賣出。買入和賣出用箭頭表示 (副圖)
a1:cross(c,ma(c,5));
a2:cross(ma(c,5),c);
drawtext(a1,low*0.98,↑),colorred;
drawtext(a2,h*1.02,↑),color00ffff;
67,今天的250平均線大於昨天的昨天的250平均線
ma(c,250)》ref(ma(c,250),1);
68,歷史高點到前一高點畫線
POLYLINE(h》=hhv(c,0),h);
69,均線中增加一根線,這根線的價格是5日線的1.2倍
aa:ma(c,5)*1.2;
70,20天均線向上的股
xg:ma(c,20)》ref(ma(c,20),1);
71,連續3天收盤全是陰線。
count(c《ref(c,1),3)=3;
72,今天收盤價在昨天收盤價-2%~2%之間
c/ref(c,1)》0.98 and c/ref(c,1)《1.02;
73,收盤價在5日均線以上5天
count(c》ma(c,5),5)=5;
74,N天前換手率大於8%
REF(VOL/CAPITAL*100,N)》8;
75,一條均線18MA 股價上漲後“縮量”回調到18MA
XG:COUNT(V《REF(V,1) AND C《O,N)=N AND C》MA(C,18);
N “縮量”回調的天數
76,1。昨日量是n天以來最低量,(n可調);2。今日量是昨日量的m倍,(m可
調);3。今日k線收陽線;
xg:ref(v,1)=llv(ref(v,1),n) and v》ref(v,1)*m and c》o;
77,第一天收陰,第二天,第三天,第四天,收出紅三兵
XG:REF(C,3)《REF(C,4) AND COUNT(C》O,3)=3;
78,月k線十字星收盤 並且5月線拐點向上。
XG:ABS(C-O)/O《0.02 AND MA(C,5)》REF(MA(C,5),1);
用月線選股
79,最近3天(包括昨天。前天)股價突破250日均線
COUNT(C》MA(C,250),3)=3;
80,跳高大陰線,條件: 1 開盤跳空4%以上2 大陰線實體6%以上。
O/REF(C,1)》1.04 AND C/REF(C,1)《0.94;
81,條件:1: 假設大前天創最近新高,要求這天漲幅是超過7%的大陽線,且創最近
一個月的新高。
2: 那麼前天,昨天,今天都收小K線,要求小K線實體
xg:ref(c,3)/ref(c,4)》1.07 and ref(c,3)=hhv(c,20) and count(abs((c-ref
(c,1))/ref(c,1)《0.02,3)))=3;
82,60與120均線距離在n%內
XG:ABS((MA(C,60)-MA(C,120))/MA(C,120))《N/100;
83,5日均線傾角大於60度
X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)》60;
也可以這樣:
X:(ATAN((EMA(C,5)/REF(EMA(C,5),1)-1)*100)*180/3.14115926)》60;利用指標排
序:X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926);
84,“中陰之後,跳拉陽”c/ref(c,1)》1.05;
85,count(x,n) 意思是n天內出現過信號的,假設n=10,那麼就是10天內出現信
號(包括今天),如果不加這個的話,就是限定在今天出信號才選出來,以前的
不管。
86, 今天漲停的公式C/REF(C,1)》1.09;
87,10日內有漲停的公式今漲停:=C/REF(C,1)》1.09;
選股:count(今漲停,10);
88,昨日前日漲停的REF(C,1)/REF(C,2)》1.095;
89,近5日K線最高價和最低價格波動在10%以內,成交量是昨日2倍,收盤漲5%
XG:(HHV(C,5)-LLV(C,5))/LLV(C,5)《0.1 AND V》REF(V,1)*2 AND C/REF(C,1)
》1.05;
90,60與120均線距離在n%內XG:ABS((MA(C,60)-MA(C,120))/MA(C,120))《N/100;
91,“中陰之後,跳拉陽”c/ref(c,1)》1.05;
92,能在圖上提示個股(不含S或ST股)出現過的漲跌停板日期的公式
w1:if((c-ref(c,1))/ref(c,1)》0.1,date-1000000,c);
93,漲幅≤2%(c-ref(c,1)/ref(c,1)*100《2;
94,5日,10日,30日貼近公式,越貼越好
m1:=ma(close,5);
m2:=ma(close,10);
m3:=ma(close,20);
m4:=ma(close,30);
y1:=max(max(max(m1,m2),m3),m4);
x1:=min(min(min(m1,m2),m3),m4);
黏合:y1/x1《n;
n越小越黏合(n,1.01-----1.05)
95,(1)換手率均線DMA(c ,v/CAPITAL );
(2)20天以來的任意天期
(n),換手率均線正負波動值《=p%;
AA:=DMA(c ,v/CAPITAL );
ab:=(aa-ref(aa,1))/ref(aa,1)*100《p;
bb:count(ab,20)》=n;
96, 30天線拐頭向上出現提示
ma(c,30)》ref(ma(c,30),1);
97,今天的換手率大於前天的一倍以上
w1:=v*100/capital;
w1》ref(w1,2)*2;
98,K線沿著5日均線往上爬的選股公式 w1:ma(c,5);
w2:abc(c-w1)/w1《0.01;
xg:count(w1》ref(w1,1),5)=5 and w2;
99,20日均線,上穿62日均線 xg:cross(ma(c,20),ma(c,62));
100,平台整理的公式,整理時間和整理幅度可調
COUNT(CLOSE,0)》N AND
(HHV(CLOSE,N)-LLV(CLOSE,N))/LLV(CLOSE,N)《=(N1/100);
N整理時間,N1整理幅度
101,選出當日收盤價突破10日均線5%的個股
cross(c,ma(c,10)*1.05);
102,選出當日最低價在10日均線上下0.05%內,收盤價在均線上方的個股
abs(l-ma(c,10))《0.005 and c》ma(c,10);
103,第一天股票漲停,第二天成交量是第一天成交量的1倍,並超過10%.那第三天
就是買點
w1:=ref(c,2)/ref(c,3)》1.1;
w2:=ref(v,1)/ref(v,2)》2;
xg:w1 and w2;
104,放量2倍突破300日線的選股指標
cross(c,ma(c,300)) and v》ref(v,1)*2;
105,3日均線上穿10日均線,KDJ有效金叉
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
w1:=cross(ma(c,3),ma(c,10));
xg:w1 and cross(k,d);
106,30日均線拐頭向上ma(c,30)》ref(ma(c,30),1);
107,連續3-5天,每天的收盤價漲跌幅不超過1%.w1:abs(c-o)《0.01;
xg:count(w1,5)》=3;
108,K線收十字星abs(c-o)/o《0.01;
109,MACD在8天以內兩次金叉DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;
MACD:=2*(DIFF-DEA);
w1:cross(DIFF,dea);
xg:count(w1,8)》=2;
110,昨天升降幅在-n%----n%之間
w1:abs(ref(c,1)-ref(c,2))/ref(c,2)*100《n;
111,於20日均線相差2個百分點的
w1:abs(c-ma(c,20)/ma(c,20)*100《2;
N日均線相差M個百分點的公式。
w1:abs(c-ma(c,n)/ma(c,n)*100《m;
n:N日 m:M個百分點
112,60MA由向下調頭向上ma(c,60)》ref(ma(c,60),1);
113, 股價回調到14日均線的選股 abs(c-ma(c,14))/ma(c,14)《0.005;
114,歷史第5根K線到第30根K線之間的最高價hhv(ref(c,5),25);
115,MACD的拐點公式DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));
DEA:=EMA(DIFF,9),COLORBLUE,LINETHICK0;
MACD:=2*(DIFF-DEA);
拐點:ref(macd,2)》ref(macd,1) and ref(macd,1)《macd;
116,跳空高開收陽線LOW》REF(HIGH,1) and c》o;
117,漲停過300日線的選股公式
c/ref(c,1)》1.09 and cross(c,ma(c,300));
118,成交量是前5天中其他任何一天的10天均量線的3.5倍以上
w1:=llv(ma(v,10),5);
xg:v》w1*3.5;
119,股價N天內連續沿著5天線走,且每天收盤價與5天線的距離不超過2%的選股
公式
w1:=abs(c-ma(c,5))/ma(c,5)《0.02;
xg:count(w1,n)=n;
120,跳空高開後,三天內沒有回補缺口
ref(LOW,2)》REF(HIGH,3) and l》ref(LOW,2);
121,日漲幅小於3%C》0 AND C/REF(C,1) 》1.03;
122, 股價創30個交易日的新高H》ref(H,30);
123,連續n天收陽線UP:=CLOSE》OPEN;
COUNT(UP,N)=N;
124, {5日內第二大量}
zdl:=hhv(v,5);
v0:=IF(v》=zdl,0,v);
v1:=IF(ref(v,1)》=zdl,0,ref(v,1));
v2:=IF(ref(v,2)》=zdl,0,ref(v,2));
v3:=IF(ref(v,3)》=zdl,0,ref(v,3));
v4:=IF(ref(v,4)》=zdl,0,ref(v,4));
第二大量:MAX(MAX(MAX(MAX(v0,v1),v2),v3),v4);
DRAWTEXTABS( 0,10 ,第一大量 + zdl+ 第二大量+第二大量);同理可求出第三大
、第四大和最小量。實行簡單的排列。
這個公式好比是一件完整產品中的一個零部件,解決了一個思路問題。
125,{5日均線傾角大於60度}
X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)》60;股票論