最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 做个两天和三天内有买进信号的选股

    正文概述    2024-04-14 08:54:05  

    九毛八公式指标

    VAR1:=EMA(EMA(CLOSE,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; {分时价格原码} JJ:=DYNAINFO(11); {波段买卖原码} P:=55;S:=8;M1:=3; 财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2; 神:=EMA(财,M1),COLORGREEN,LINETHICK1; DRAWBAND(财,RGB(255,0,0),神,RGB(0,100,50)); {股价与均线偏离买卖条件} BTJ1:=(C-JJ)/JJ<-0.03; BTJ11:=(C-JJ)/JJ<-0.03; BTJ12:=LAST(JJ>=REF(JJ,1),5,1) AND (C-JJ)/JJ<0.005; STJ1:=(C-JJ)/JJ>0.005; {控盘买卖条件} STJ01:=控盘0.5; STJ02:=控盘>0; BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2; BTJ22:=控盘>REF(控盘,1) AND 控盘<0 ; {波段买卖条件} btj3:=CROSS(财,神) and 财<-0.3; btj32:=CROSS(财,神) 财<-0.1; stj31: =CROSS(神,财);STJ32:=CROSS(神,财) 财>1.618; {以下为信号}; BTJ81:=FILTER(BTJ1 AND BTJ2 AND BTJ3,13); BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13); BTJ82:=FILTER(BTJ12 AND BTJ22 AND BTJ32,13); DRAWTEXT(BTJ81,神,'↑买底'),COLORRED; DRAWTEXT(BTJ811,神*1.2,'↑买进'),COLORWHITE; STJ81:=FILTER(STJ1 AND STJ01 AND STJ31,13); STJ82:=FILTER(STJ02 AND STJ32 ,13); STJ83:=STJ81 AND STJ82; DRAWTEXT(STJ83,神,'↓卖'),COLOR00FF00; DIFF: (EMA(CLOSE,8) - EMA(CLOSE,55))*10,COLORRED; DEA: EMA(DIFF,3),COLORGREEN; 进:= BTJ11 AND BTJ2 AND BTJ3; 买进:FILTER(庄,55),COLORWHITE; DRAWTEXT(BTJ811,买进,'买进'),COLORWHITE; 原来两老师做的选股是这样的。但当天极少出现 信号。有的有信号的股选不出来。想它第二天开盘能把出现买进的股票选出来。谢谢! 选股1: VAR1:=EMA(EMA(CLOSE,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; JJ:=DYNAINFO(11); P:=55;S:=8;M1:=3; 财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2; 神:=EMA(财,M1),COLORGREEN,LINETHICK1; BTJ1:=(C-JJ)/JJ<-0.03; BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2; BTJ3:=CROSS(财,神) AND 财<-0.3; 买进:BTJ1 AND BTJ2 AND BTJ3; 选股2: VAR1:=EMA(EMA(CLOSE,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; JJ:=DYNAINFO(11); P:=55;S:=8;M1:=3; 财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10; 神:=EMA(财,M1); BTJ11:=(C-JJ)/JJ<-0.03; BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2; BTJ3:=CROSS(财,神) AND 财<-0.3; BTJ811:FILTER(BTJ11 AND BTJ2 AND BTJ3,13);{买进}; 这是休闲人2010高手老师说的解答: 原来公式是为分时而编辑的,通达信分时是不能选股的; 这个公式可以用在其他周期,效果怎么样就不知道了。 谢谢高手老师们的回答!

    公式模块:

    {选股1-三天内有信号的都选出}

    VAR1:=EMA(EMA(CLOSE,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; JJ:=DYNAINFO(11); P:=55;S:=8;M1:=3; 财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10,COLORRED,LINETHICK2; 神:=EMA(财,M1),COLORGREEN,LINETHICK1; BTJ1:=(C-JJ)/JJ<-0.03; BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2; BTJ3:=crOSS(财,神) AND 财<-0.3; 买进:COUNT(BTJ1 AND BTJ2 AND BTJ3,3)>=1; {3是参数,想2天内有信号的改为2} {选股2-这个最后的是过滤13天信号,再3天内有信号} VAR1:=EMA(EMA(CLOSE,13),13); 控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000; JJ:=DYNAINFO(11); P:=55;S:=8;M1:=3; 财:=(EMA(CLOSE,S)-EMA(CLOSE,P))*10; 神:=EMA(财,M1); BTJ11:=(C-JJ)/JJ<-0.03; BTJ2:=控盘>REF(控盘,1) AND 控盘<-0.2; BTJ3:=CROSS(财,神) AND 财<-0.3; BTJ811:=FILTER(BTJ11 AND BTJ2 AND BTJ3,13);{买进}; COUNT(BTJ811,3)>=1;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 做个两天和三天内有买进信号的选股 加入收藏