❶ 洗盘结束牛股起飞指标公式
洗盘结束牛股起飞指标公式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;股票论