xg:(hhv(h,n1)-llv(l,n1))/hhv(h,n1)>n2;
xg:(hhv(h,n1)-llv(l,n1))/hhv(h,n1)>n2 AND barscount(c)>n1 ;
输出XG:(N1日内最高价的最高值-N1日内最低价的最低值)/N1日内最高价的最高值>N2 AND 收盘价的有效数据周期数>N1
xg:(hhv(h,100)-llv(l,100))/ hhv(h,100)>0.5;
输出XG:(100日内最高价的最高值-100日内最低价的最低值)/100日内最低价的最低值>0.5
================================================== ================================================== ================================================== ================================================== ================================================== 这是通达信软件中的准备抄底指标: N? ?1? ?300??10
VAR1:=AMOUNT/VOL/7;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR3:=SUM(AMOUNT,N)/VAR1/7; VAR4:=DMA(VAR2,VOL/VAR3);
抄底:(CLOSE-VAR4)/VAR4*100,COLORLIMAGENTA; DRAWICON(CROSS(-7.0,抄底),抄底,1);
敬请老师帮助做一个选股公式条件为? ? 1,抄底线由下上穿0时的选股公式。
? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? 2.出现抄底字的选股公式 VAR1:=AMOUNT/VOL/7;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR3:=SUM(AMOUNT,10)/VAR1/7; VAR4:=DMA(VAR2,VOL/VAR3);
抄底:=(CLOSE-VAR4)/VAR4*100,COLORLIMAGENTA; CROSS(抄底,0); VAR1:=AMOUNT/VOL/7;
VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; VAR3:=SUM(AMOUNT,10)/VAR1/7; VAR4:=DMA(VAR2,VOL/VAR3); 抄底:=(CLOSE-VAR4)/VAR4*100; CROSS(-7.0,抄底);
================================================== 通达信三金叉见底选股公式源码:
“三金叉见底”,首先必须是长期下跌后,经过长期缩量后长线的最为可靠,也就是达到做空动能衰竭的位置,然后再考虑这个技巧。这里以日线为例,所谓的“三金叉”包括:5日均线上穿10日均线, MACD 的DIF上穿DEA,5日均量线上穿10日均量线。出现所谓的“金价托”更好,如果出现,将产生本级别的反弹或者反转,也就是你用的均线系统的级别反弹,如果是日线级别的,就是日线的反弹或者反转,如果是周线,则是周线级别的反转或者反弹,如果成立,将逮住主升浪大行情。
“三金叉见底”的操作方法:
1、第一个买点为三金叉发生时,当出现三金叉后开始买入股票。
2、第二个买点为三金叉发生后上攻途中出现回档时,等待股价回档时在10日均线附近逢低吸纳。 ND := 5;
DOWN := CLOSE/LLV(LOW,60)<=1.2; PMA1 := MA(CLOSE,5); PMA2 := MA(CLOSE,10); VMA1 := MA(VOL,5); VMA2 := MA(VOL,10);
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA := EMA(DIFF,9);
PPDAY := BARSLAST(CROSS(PMA1,PMA2)); YDAY := BARSLAST(CROSS(VMA1,VMA2)); MACDDAY := BARSLAST(CROSS( DIFF ,DEA));
三金叉见底:IF((PPDAY<=ND AND DAY<=ND AND MACDDAY<=ND),1,0); 举例:2017年3月1日清源股份(603628)
==================================================
免费分享成功率100%的波段选股指标,信号少而精,月收益20%以上。
AP1:=CROSS(MA(CLOSE,5),MA(CLOSE,24));
AP2:=CROSS(MA(VOL,5),MA(VOL,60)) OR CROSS(VOL,MA(VOL,60)); DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); AP3:=DIFF>DEA;
AP4:=EVERY(REF(CLOSE,1)/REF(CLOSE,2)<1.03,6) AND HIGH/MAX(CLOSE,OPEN)<1.01 AND
EVERY(REF(MAX(CLOSE,OPEN),1)/REF(MIN(CLOSE,OPEN),1)<1.02,5); AP5:=OPEN/REF(MAX(CLOSE,OPEN),1)<1.01;
AP6:=EVERY(REF(HIGH,1)/REF(MAX(CLOSE,OPEN),2)<1.02,3) AND MAX(CLOSE,OPEN)/LOW<1.02;
AP7:=LOW BETWEEN(MA(CLOSE,24)/MA(CLOSE,60),0.98,1.02) AND CLOSE/REF(CLOSE,1)<1.03; AP8:=BETWEEN(MA(CLOSE,24)/MA(CLOSE,60),0.98,1.02); XG:AP1 AND AP2 AND AP3 AND AP4 AND AP5 AND AP6 AND (AP7 OR AP8); ================================================== N月涨幅均值 20元 A1:=YEAR>=n1; A2:=MONTH=n2; ZF:=(C-REF(C,1))/REF(C,1)*100; A3:=IF(A1 AND A2,ZF,0); A4:=SUM(A3,BARSLAST(A1>0 AND REF(A1=0,1))); XG:A4/n3>=N4; ================================================== 求通达信 十日内累计涨幅大于15% 小于50%的选股公式 BETWEEN(C/REF(C,10),1.5,1.15); 我想寻找一个选股指标公式:要求是个股由前期高点回调到(股价)下跌50%股票 通达信的 H1:=HHV(H,120); D1:=(H1-C)/H1*100; D1>=50; {现时下跌50%选不到股票,改为下跌40%选到16个股票} n: 1 250 100 (n默认为100,你可以自己设置) XG:C/REF(HHV(H,N),1)<=0.5; ================================================== 强哥自用选股,成功率90%以上,有图为证 { 原文链接: AA:=HHV(H,40); LJ:=100-100*(AA-C)/(AA-LLV(L,40)); LJ2:=MA(LJ,14); BB:=(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4; UU:=BB+6*STD(BB,11); JJ:=V/((H-L)*2-ABS(C-O)); XX:=(IF(C>O,JJ*(H-L),IF(C B1:=IF(SUM(LX,1)>REF(MA(SUM(LX,1),1),1),SUM(LX,1),0); B2:=IF(SUM(LX,2)>REF(MA(SUM(LX,2),1),1),SUM(LX,2),0); B3:=IF(SUM(LX,3)>REF(MA(SUM(LX,3),1),1),SUM(LX,3),0); B4:=IF(SUM(LX,4)>REF(MA(SUM(LX,4),1),1),SUM(LX,4),0); B5:=IF(SUM(LX,5)>REF(MA(SUM(LX,5),1),1),SUM(LX,5),0); B6:=IF(SUM(LX,6)>REF(MA(SUM(LX,6),1),1),SUM(LX,6),0); B7:=IF(SUM(LX,7)>REF(MA(SUM(LX,7),1),1),SUM(LX,7),0); B8:=IF(SUM(LX,8)>REF(MA(SUM(LX,8),1),1),SUM(LX,8),0); B9:=IF(SUM(LX,9)>REF(MA(SUM(LX,9),1),1),SUM(LX,9),0); BA:=IF(SUM(LX,10)>REF(MA(SUM(LX,10),1),1),SUM(LX,10),0); XG:=B1 AND B2 AND B3 AND B4 AND B5 AND B6 AND B7 AND B8 AND B9 AND BA AND (C-O)>=(UU-BB) AND V/REF(V,1)>=1.9; XGX:CROSS(LJ,LJ2) AND XG; { 原文链接: ================================================== 你要的是和昨天比的涨幅,还是当日和开盘价相比的涨幅, 前者是 c>1.05*ref(c,1);---昨日和今日比的涨幅超过5% c=1.05*ref(c,1);---昨日和今日比的涨幅等于5% 后者是 (C/O)>1.05;-----------当日涨幅超过5% (C/O)=1.05;-----------当日涨幅等于5% ================================================== 连续3天每天都上涨超过6%的股票公式 XG:COUNT(C/REF(C,1)>=1.06,3)=3; ================================================== 广发证券 MACD 是红柱要选股公式 MACD是红柱的选股公式如下: DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; XG:MACD>0; 楼主用得满意的话别忘了设成最佳答案哦。 ================================================== 求写股票公式:MACD绿柱连续20天以上,且下跌幅度超过20%。 DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:=EMA(DIF,MID); DEA1:=REF(DEA,1); MACD:=(DIF-DEA)*2; every(macd<0,20)and hhv(h,20)/llv(l,3)>1.2; 非常谢谢!请问和下述公式有什么区别吗? DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIFF,9); MACD:=2*(DIFF-DEA); 持绿超跌:BARSLASTCOUNT(MACD<0)>N AND REF(C,N)/C>1.2 AND C基本相同,但比下面的更好一些,下面的只规定了前20天一定是最高点,前19天都不行,有局限性 DIFF := EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA := EMA(DIFF,M); CROSS(DIFF,DEA); 【通达信】求第二次MACD金叉比第一次MACD金叉高的选股公式 副图: DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:EMA(DIF,MID); MACD:(DIF-DEA)*2,COLORSTICK; AA:=CROSS(DIF,DEA); A2:=SUMBARS(AA=1,2)-1; XG:(AA AND (DIF>REF(DIF,A2) OR DEA>REF(DEA,A2)))/10; 选股: DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG); DEA:=EMA(DIF,MID); AA:=CROSS(DIF,DEA); A2:=SUMBARS(AA=1,2)-1; XG:(AA AND (DIF>REF(DIF,A2) OR DEA>REF(DEA,A2)))/10; ========================== 识别macd骗线 macd是缠师提到高最多的指标,在对线段的判断,及分型的把握上,有很大的帮助。? 所以,macd的骗线就是很让人郁闷的事。今天这里就重点讲一下怎么让macd不再骗线? DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);? DEA:=EMA(DIF,MID);? MACD:=(DIF-DEA)*2,COLORSTICK;? DIFF:(54*REF(EMA(C,12),1)-26*REF(EMA(C,26),1))/28,COLORGREEN;? DIFF1:(54*EMA(C,12)-26*EMA(C,26))/28,NODRAW;? DEAA:(REF(DEA,1)*13*27? +13*25*REF(EMA(C,26),1)-27*11*REF(EMA(C,12),1))/((27-13)*2);? DEAA1:(\"MACD.DEA\"*13*27? +13*25*EMA(C,26)-27*11*EMA(C,12))/((27-13)*2),NODRAW;? MACD0:((5/8*REF(MACD,1)+REF(DEA,1))*13*27+(13*25*REF(EMA(C,26),1)? -27*11*REF(EMA(C,12),1)))/28,COLORRED;? MACD1:((5/8*MACD+DEA)*13*27+(13*25*EMA(C,26)? -27*11*EMA(C,12)))/28,NODRAW;? DIF0:(13*25*REF(EMA(C,26),1)-11*27*REF(EMA(C,12),1))/28,NODRAW;? DIF1:(13*25*EMA(C,26)-11*27*EMA(C,12))/28,NODRAW;? DEA0:((13*25*REF(EMA(C,26),1)-11*27*REF(EMA(C,12),1))-4*27*13*REF(DEA,1))/28,? COLORRED,NODRAW;? DEA1:((13*25*EMA(C,26)-11*27*EMA(C,12))-4*27*13*DEA)/28,? COLORRED,NODRAW;? 指标是的。 副图:? DIF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);? DEA:EMA(DIF,MID);? MACD:(DIF-DEA)*2,COLORSTICK;? IF(DIFREF(DIF,1),DIF,DRAWNULL),COLORRED;? IF(DEAREF(DEA,1),DEA,DRAWNULL),LINETHICK2,COLORRED;? A:STICKLINE(MACDREF(MACD,1) AND REF(MACD,1)(MACD<0,SUM(MACD,BARSLAST(MACD>0)),0),LINETHICK0,COLOR00FF00,NODRAW;? 红面:10*IF (MACD>0,SUM(MACD,BARSLAST(MACD<0)),0),LINETHICK0,COLORRED,NODRAW; =========================== 通达信如何利用条件选股选出两阳夹一阴的个股?? 通达信选股预警公式: XNV:=IF(CURRBARSCOUNT=1 AND PERIOD=5,DYNAINFO(17)*REF(MA(V,5),1),VOL); J1:=REF(C,2)>REF(O,2); J21:=REF(O,1)>=REF(C,1) AND REF(C,1)<=REF(C,2); {真阴} J22:=REF(O,1)>=REF(C,1) AND REF(C,1)>=REF(C,2); {假阴} J23:=REF(C,1)>=REF(O,1) AND REF(C,1)<=REF(C,2); {假阳} J2:=J21 OR J22 OR J23; J3:=C>O; J4:= REF(C,2)/REF(O,2)> IF(REF(O,1)>=REF(C,1),REF(O,1)/REF(C,1), REF(C,1)/REF(O,1)); J5:=C>=MAX(REF(O,1),REF(C,1)); JJ:=J1 AND J2 AND J3 AND J4 AND J5; L1:=REF(V,2)>=1.898*REF(V,3) OR REF(V,2)>=REF(HHV(V,33),2); L2:=REF(V,1)L3:=XNV>=1.898*REF(V,1) OR XNV>=HHV(V,33); L13:=L1 OR L3; LL:=L13 AND L2; JJ AND LL;{选股或预警}; 两阳夹一阴的K线组合形态,即指某只个股在第一天收出了一根实体中阳线,次日,该股的价格并未出现持续性的上升,而是收了一根实体基本等同于第一天阳线的阴线,但第三天又未承接第二天的跌势,反而再次涨了起来,还是收出中阳线,实体也基本等同于前两日K线的实体部分。这便是个股即将起飞的征兆,是一种典型的强势上攻形态,是非常难得的短线买入点位,一般出现在股价即将上破箱顶阶段,或者出现在上攻过程中的中途换档阶段,有时会出现在股价脱离底部的启动阶段。但是,如果庄家的筹码相对不足的话,他们有时会把两阳夹一阴做成三阳夹一阴的K线组合形态,同样具上攻动力。 ============================== 横盘小公式 {N代表横盘天数.N1代表股价整理的幅度.} N:=7;N1:=20; v1:=REF(((HHV(H,N)-LLV(L,N))/LLV(L,N)),1)<=(N1/100) AND C>=REF(HHV(H,N),1) AND BARSCOUNT(C)>N; 横盘突破选股xg1:if(v1,1,0); 横盘 A1:=SUM(C>MA(C,55),5); A2:=MA(V,1)<0.5; A3:=V/REF(V,1)<0.5; A4:=REF(A1,1); A5:=A3/A4<0.5; a55:=MA(V,5)/MA(REF(V,5),1); A6:=1.2