当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信源码精选:十战七胜,仙人趋势,竞价公式-光辉岁月

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

1、《十战七胜》短线公式

公式胜率很少100%,能有十战七胜,已经满足了。

{十战七胜副图}
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买进:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))),COLORRED;
DRAWTEXT(买进,0.5,'尾盘买进'),COLORYELLOW;
乖离率6:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
乖离率12:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
乖离率24:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
{6日乖离率超过-6%,12日乖离率超过-10%,24日乖离率超过-16% }
乖离率:乖离率6<-6 AND 乖离率12<-10 AND 乖离率24<-16;{做成选股公式就能设置预警了};

{十战七胜主图源码}
MAA5:MA(C,5),COLORFF00FF,LINETHICK2;
MAA10:=MA(C,10);
MAA30:MA(C,30),COLORRED;
KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;
A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
A4:=SMA(A3,3,1);
A5:=SMA(A4,3,1);
A6:=3*A4-2*A5;
A7:=C-REF(C,1);
WWW58188COM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买=1,5),LOW-0.05,'↖买进'),COLORYELLOW;
STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;




2、仙人趋势,共振原理

{公式名称: 仙人趋势}

 
VAR1:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);
VAR2:=EMA(VAR1,9/2);
STICKLINE(VAR1>=VAR2,42,46,5,0),COLORFF5500;
STICKLINE(VAR1<VAR2,42,46,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,44,11),COLORWHITE;
VAR3:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR4:=EMA(VAR3,9);
STICKLINE(VAR3>=VAR4,36,40,5,0),COLOR0000BB;
STICKLINE(VAR3<VAR4,36,40,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,38,12),COLORYELLOW;
VAR5:=MACD.DIF#WEEK;
VAR6:=MACD.DEA#WEEK;
STICKLINE(VAR5>=VAR6,30,34,5,0),COLORBB00BB;
STICKLINE(VAR5<VAR6,30,34,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,32,13),COLORYELLOW;
VAR7:=MACD.DIF#MONTH;
VAR8:=MACD.DEA#MONTH;
STICKLINE(VAR7>=VAR8,24,28,5,0),COLOR009F00;
STICKLINE(VAR7<VAR8,24,28,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,26,14),COLORWHITE;
VAR9:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36));
VAR10:=SMA(VAR9,3,1);
VAR11:=SMA(VAR10,3,1);
STICKLINE(VAR10>=VAR11,18,22,5,0),COLORYELLOW;
STICKLINE(VAR10<VAR11,18,22,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,20,15),COLORMAGENTA;
VAR12:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
VAR13:=SMA(VAR12,3,1);
VAR14:=SMA(VAR13,3,1);
VAR15:=3*VAR13-2*VAR14;
STICKLINE(VAR13>=VAR14,12,16,5,0),COLOR9F9F6F;
STICKLINE(VAR13<VAR14,12,16,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,14,16),COLORWHITE;
VAR16:=KDJ.K#WEEK;
VAR17:=KDJ.D#WEEK;
STICKLINE(VAR16>=VAR17,6,10,5,0),COLOR4D4DFF;
STICKLINE(VAR16<VAR17,6,10,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,8,17),COLORWHITE;
VAR18:=KDJ.K#MONTH;
VAR19:=KDJ.D#MONTH;
STICKLINE(VAR18>=VAR19,0,4,5,0),COLORMAGENTA;
STICKLINE(VAR18<VAR19,0,4,5,1),COLOR696969;
DRAWTEXT(CURRBARSCOUNT=13,2,18),COLORWHITE;
{股民学院 www.58188.com 整理}




3、竞价公式-光辉岁月,追击涨停的优化竞价专用

最近一直专注于竞价指标的研究学习
本公式组合了几个经典追击涨停的公式,经过优化竞价专用指标向经典致敬!
几乎翻遍了论坛所有的以集合竞价为标题的帖子,深有感触,个人感觉有几个经典指标特别实用,特将其整合,并加入个人认为适合的阀值限定

{光辉岁月}
A1:=(IF(BARSTATUS=2,O,C));
A2:=((0.36095*A1-0.03309*REF(C,1)-0.04242* REF(C,2)-0.02674* REF(C,3)-0.00701*REF(C,4) - 0.00265 * REF(C,5) - 0.00084 * REF(C,6) - 0.00029 * REF(C,7) - 0.0000956266 * REF(C,8) - 0.0000321286 * REF(C,9) - 0.0000106773 * REF(C,10) - 0.00000354576 * REF(C,11) - 0.00000116707 * REF(C,12)) / (1 - 0.75224));
A3:=O/REF(C,1)>0.5 AND O/REF(C,1)<1.07;
B:=CAPITAL<15000000;{流通盘小于15亿}
竞价量:=DYNAINFO(15)/DYNAINFO(4)/100; 
KF:=(DYNAINFO(4)/DYNAINFO(3)-1)*100;
竞价量比:=竞价量/REF(MA(V,5),1)*240;
LTP:=IF(CAPITAL<100000,100000,CAPITAL);{流通盘}
竞价换手率:=竞价量/LTP*10000;
竞价动能:=KF*竞价换手率;
光辉岁月:(A2 - A1) / A1 * 1000>60
    AND A3 
     AND CODELIKE('688')=0 
      AND NAMELIKE('S')=0 
       AND NAMELIKE('ST')=0 
        AND NAMELIKE('*ST')=0 
         AND NAMELIKE('SST')=0 
          AND NAMELIKE('S*ST')=0
           AND B
            AND 竞价换手率>0.5 
             AND 竞价动能>200;

上一篇:通达信源码精选:火眼金睛,基本面选股公式,基本面分析

下一篇:通达信公式下载:贝塔系数排序指标,凤鸣朝阳