同花顺的选股公式
定量结构(增强版)指标及选股公式(同花顺)
CL2:=REF(CL1,N1+1);
DIFL2:=REF(DIFL1,N1+1);
CL3:=REF(CL2,N1+1);
DIFL3:=REF(DIFL2,N1+1);
PDIFL2:=IF(DIFL2>0,INTPART(LOG(DIFL2))-1,INTPART(LOG(-DIFL2))-1);
PDIFL3:=IF(DIFL3>0,INTPART(LOG(DIFL3))-1,INTPART(LOG(-DIFL3))-1);
MDIFL3:=INTPART(DIFL3/POW(10,PDIFL3));
MDIFB2:=INTPART(DIF/POW(10,PDIFL2));
MDIFB3:=INTPART(DIF/POW(10,PDIFL3));
CL3:=REF(CL2,N1+1),NODRAW;
DIFL3:=REF(DIFL2,N1+1),NODRAW;
PDIFL2:=IF(DIFL2>0,INTPART(LOG(DIFL2))-1,INTPART(LOG(-DIFL2))-1);
MDIFL2:=INTPART(DIFL2/POW(10,PDIFL2));
CH3:=REF(CH2,M1+1),NODRAW;
DIFH3:=REF(DIFH2,M1+1),NODRAW;
PDIFH2:=IF(DIFH2>0,INTPART(LOG(DIFH2))-1,INTPART(LOG(-DIFH2))-1);
MDIFH2:=INTPART(DIFH2/POW(10,PDIFH2));
DRAWTEXT(FILTER(顶背离消失,T,1),(DIF+MACD),'消失'),coloryellow;
同花顺选股指标公式
同花顺选股指标公式
同花顺是一款专业的股票投资分析软件,提供了丰富的选股指标公式帮助投资
者进行选股。
选股指标公式是根据股票市场的特点和交易规律总结出来的一套数学模型,通过对股票的财务数据、技术图形和市场行情等进行综合分析,帮助投资者筛选出具备较高潜力的股票。
同花顺的选股指标公式有很多,下面我为你介绍几种常用的指标。
1. MACD指标:MACD指标是一种趋势指标,它通过计算两个移动平均线的
差值和其移动平均线的差值的九日加权平均线的差值,判断股票的买卖时机。
MACD指标大于0时,表示股票处于多头市场,适合买入;而小于0时,表示股
票处于空头市场,适合卖出。
2. KDJ指标:KDJ指标是一种超买超卖指标,它通过计算当日收盘价和过去一
段时间内最高价和最低价的关系,判断股票的买卖时机。
KDJ指标的数值范围在0
至100之间,当K值大于D值时,说明股票处于超买状态,适合卖出;而K值小
于D值时,说明股票处于超卖状态,适合买入。
3. 布林带指标:布林带指标是一种波动率指标,它由三条轨道线组成,中轨线
是股票的中期趋势线,上轨线和下轨线则是根据股票的价格波动情况计算得出的。
当股价触及上轨线时,说明股票处于超买状态,适合卖出;而当股价触及下轨线时,说明股票处于超卖状态,适合买入。
以上仅是同花顺选股指标公式中的几个常用指标,投资者在进行选股操作时,
还可以根据自身的风险承受能力、投资目标等因素选择合适的指标配合使用。
同时,投资者需要注意,选股指标公式只是一种工具,不能完全依赖它进行投资决策,还需要结合其他因素,进行全面的分析和判断,以降低投资风险。
同花顺软件条件选股公式
非实体穿透:5日/10日/30日/60日/120日或5日/10日/30日/60日/250日均线系统T1:=CLOSE>OPEN ANDMA(CLOSE,5)>low AND MA(CLOSE,5)<high ANDMA(CLOSE,10)>low AND MA(CLOSE,10)<high ANDMA(CLOSE,30)>low AND MA(CLOSE,30)<high ANDMA(CLOSE,60)>low AND MA(CLOSE,60)<high ANDMA(CLOSE,120)>low AND MA(CLOSE,120)<high;T2:=CLOSE>OPEN ANDMA(CLOSE,5)>low AND MA(CLOSE,5)<high ANDMA(CLOSE,10)>low AND MA(CLOSE,10)<high ANDMA(CLOSE,30)>low AND MA(CLOSE,30)<high ANDMA(CLOSE,60)>low AND MA(CLOSE,60)<high ANDMA(CLOSE,250)>low AND MA(CLOSE,250)<high;T1 or T2;(2)代码2:实体穿透:5日/10日/30日/60日/120日或5日/10日/30日/60日/250日均线系统把代码1:low改为open high改为close,具体入下:T1:=CLOSE>OPEN ANDMA(CLOSE,5)>open AND MA(CLOSE,5)<close ANDMA(CLOSE,10)>open AND MA(CLOSE,10)<close ANDMA(CLOSE,30)>open AND MA(CLOSE,30)<close ANDMA(CLOSE,60)>open AND MA(CLOSE,60)<close ANDMA(CLOSE,120)>open AND MA(CLOSE,120)<close;T2:=CLOSE>OPEN ANDMA(CLOSE,5)>open AND MA(CLOSE,5)<close ANDMA(CLOSE,10)>open AND MA(CLOSE,10)<close ANDMA(CLOSE,30)>open AND MA(CLOSE,30)<close ANDMA(CLOSE,60)>open AND MA(CLOSE,60)<close ANDMA(CLOSE,250)>open AND MA(CLOSE,250)<close;T1 or T2;一阳穿四线:C>Ref(C,5) and Cross(C,Ma(C,10)) and Cross(C,Ma(C,30)) andCross(C,Ma(C,60)) and Cross(C,Ma(C,120)) ,coloryellow ;一阳穿五线:C>Ref(C,5) and Cross(C,Ma(C,10)) and Cross(C,Ma(C,30)) and Cross(C,Ma(C,60)) and Cross(C,Ma(C,120))andCross(C,Ma(C,250)),colorred;要穿其它均线,修改公式中数字即可。
同花顺主图选股公式大全
同花顺主图选股公式大全集团档案编码:[YTTR-YTPT28-YTNTL98-UYTYNN08]同花顺指标公式一.操盘神手五彩K线主图源码MA5:MA(CLOSE,5),ColorCCCCCC;?MA10:MA(CLOSE,10),Color00BBBB;?MA21:MA(CLOSE,21),Color00AA00;?MA30:MA(CLOSE,30),Color990099;?MA60:MA(CLOSE,60),Color000088;?MA120:MA(CLOSE,120),Color777700;?买线:=ZIG(3,10);?卖线:=MA(买线,3);?BU:=CROSS(买线,卖线);?SEL:=CROSS(卖线,买线);?DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;?DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;?DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff;?DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff;?STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC;?STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;?STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;?STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00;?STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;?STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;指标用法:可直接按照买做参考操作,红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),指标镶入步骤:工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定............................................................................... .......................................二.主力多空副图指标源码MAV:=(C*2+H+L)/4;SK:=EMA(MAV,13)-EMA(MAV,34);SD:=EMA(SK,5);中轴:0;空方主力:(-2*(SK-SD))*3.8,colorgreen;多方主力:(2*(SK-SD))*3.8,colorred;指标用法:多方主力线从低位向上掉头且有所放大,则为买入信号。
同花顺主图选股公式大全
同花顺指标公式一. 操盘神手五彩K线主图源码MA5:MA(CLOSE,5),ColorCCCCCC;?MA10:MA(CLOSE,10),Color00BBBB;?MA21:MA(CLOSE,21),Color00AA00;?MA30:MA(CLOSE,30),Color990099;?MA60:MA(CLOSE,60),Color000088;?MA120:MA(CLOSE,120),Color777700;?买线:=ZIG(3,10);?卖线:=MA(买线,3);?BU:=CROSS(买线,卖线);?SEL:=CROSS(卖线,买线);?DRAWTEXT(bu,L*,'买'),linethick1,color00aaff;? DRAWTEXT(sel,H*,'卖'),linethick1,color00ff00;?DRAWTEXT("">0,L*,'B'),linethick1,colorFFffff;?DRAWTEXT("">0,L*,'B'),linethick1,color0000ff;?STICKLINE(买线>=卖线,LOW,HIGH,,0),color0000CC;?STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;?STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;?STICKLINE(买线<卖线,LOW,HIGH,,0),colorCCCC00;?STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;?STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;指标用法:可直接按照买做参考操作,红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),指标镶入步骤:工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定......................................................................................................................二. 主力多空副图指标源码MAV:=(C*2+H+L)/4;SK:= EMA(MAV,13) - EMA(MAV,34);SD := EMA(SK,5);中轴:0;空方主力: (-2*(SK-SD))*,colorgreen;多方主力: (2*(SK-SD))*,colorred;指标用法:多方主力线从低位向上掉头且有所放大,则为买入信号。
选股必杀——同花顺的最有用公式编辑
选股必杀——同花顺的最有用公式编辑同花顺的最有用公式编辑自动显示最佳买入点公式DRAWTEXT( CLOSE>OPEN AND COUNT(CLOSE-OPEN>0,6)<4 AND (HHV(HIGH,5)-LLV(LOW,5))/HH V(HIGH,5)>0.05 AND REF(HIGH,1)< REF(HIGH,2) AND REF(HIGH,2) <="" and="" close="" ref(high,="" ref(high,4)="">REF(HIGH,1)*(1+0.1*1/8) ,LOW,'大关键点:买'), colorred; VERLINE(CLOSE>OPEN AND COUNT(CLOSE-OPEN>0,6)<4 AND (HHV(HIGH,5)-LLV(LOW,5))/HHV(HI GH,5)>0.05 AND REF(HIGH,1)< REF(HIGH,2) AND REF(HIGH,2) <="">REF(HIGH,1)*(1+0.1*1/8) ,1),coloryellow;1.关于“编写均笔成交量创n日新高的指标公式”的改进aa:VOL/VOLAMOUNT;b1=0;VERLINE(aa>=HHV(aa,10),0),colorred;IF (aa>=HHV(aa,10)) b1=aa;x1:b1;x0:0;注意1、以上公式编写成技术指标公式,为便于选股。
2、深市和沪市的均笔成交量公式有别,深市用aa:VOL/VOLAMOUNT; 沪市aa:VOL/CJBSL2[-1];3、用法:a、编写完公式后一定一定要点击…显示图形?后,再退出…公式编辑?窗口b、点击菜单…智能?-…选股平台?-…技术指标?-…自定指标?下找到所编的公式c、分析周期--日线;指标线--x1 大于 x0;d、点击执行选股。
股票 操作指标 选股公式 同花顺指标——操盘主图
同花顺指标——操盘主图操盘主图源码:MA6:=EMA(CLOSE,6);MA21:EMA(CLOSE,21),ColorFF0FFF;PARTLINE(MA6,MA6>REF(MA6,1),RGB(250,250,10),MA6<=REF(MA6,1),RGB(0,0,250)),LI NETHICK2;RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;RSV24:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=3*K24-2*D24;压力位:IF(CROSS(J24,J),H,REF(H,BARSLAST(CROSS(J24,J)))),COLORFFFF1A,LINETHICK1; 支撑位:IF(CROSS(J,J24),L,REF(L,BARSLAST(CROSS(J,J24)))),Color1EFFFF,LINETHICK1; 支撑价:LLV(LOW,34),Color006DDB,LINETHICK1;阻力价:HHV(HIGH,19),COLOR00FF33, LINETHICK1;MA6:=MA(C,6);X1:=REF(EMA(C,6),1);X2:=(EMA(C,6)-X1)/X1*100;N1:=BARSLAST(CROSS(X2,0));N2:=BARSLAST(CROSS(0,X2));X3:=CROSS(X2,0) OR CROSS(0,X2);STICKLINE(N1<N2,REF(MA6,N1),REF(MA6,N1),8,1),ColorFF15FF; STICKLINE(N2<N1,REF(MA6,N2),REF(MA6,N2),8,1),ColorFF8B17; qs1:=IF(C>MA(C,4),1,0);qs2:=IF(C<MA(C,4),-1,0);qs3:=IF(MA(C,5)>REF(MA(C,5),1),1,0);qs4:=IF(MA(C,5)<REF(MA(C,5),1),-1,0);qs:=qs1+qs2+qs3+qs4;STICKLINE((qs=-2 AND C<O),H,L,0,0),Color00FF00;STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,10,0),Color009500; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,8,0),Color00AA00; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,6,0),Color00BF00; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,4,0),Color00D500; STICKLINE((qs=-2 AND C<O),OPEN,CLOSE,2,0),Color00EA00;//绿STICKLINE((qs=-2 AND C>O),H,L,0,0),ColorFF00FF;STICKLINE((qs=-2 AND C>O),O,C,10,0),ColorBB00BB; STICKLINE((qs=-2 AND C>O),O,C,8,1),colorFF5BFF;STICKLINE((qs=-2 AND C>O),O,C,4,0),colorF900F9;STICKLINE((qs=-2 AND C>O),O,C,2,0),ColorFF11FF;//桔STICKLINE((qs=0 AND C<O),H,L,0,0),ColorFFFFFF;STICKLINE((qs=0 AND C<O),O,C,10,0),ColorCCCCCC;STICKLINE((qs=0 AND C<O),O,C,8,1),ColorDEDEDE;STICKLINE((qs=0 AND C<O),O,C,4,0),ColorF6F6F6;STICKLINE((qs=0 AND C<O),O,C,2,0),ColorFFFFFF;//白STICKLINE((qs=0 AND C>O),H,L,0,0),Color009FFF;STICKLINE((qs=0 AND C>O),O,C,10,0),Color009FFF;STICKLINE((qs=0 AND C>O),O,C,8,1),Color00B5FF;STICKLINE((qs=0 AND C>O),O,C,4,0),Color00E4FF;STICKLINE((qs=0 AND C>O),O,C,2,0),Color00FFFF;//黄STICKLINE((qs=2 AND C<O),H,L,0,0),ColorFFFF00;STICKLINE((qs=2 AND C<O),O,C,10,0),ColorAAAA00;STICKLINE((qs=2 AND C<O),O,C,8,1),ColorBFBF00;STICKLINE((qs=2 AND C<O),O,C,4,0),ColorD5D500;STICKLINE((qs=2 AND C<O),O,C,2,0),ColorEAEA00;//青STICKLINE((qs=2 AND C>O),H,L,0,0),Color0000FF;STICKLINE((qs=2 AND C>O),O,C,10,0),Color0000AA;STICKLINE((qs=2 AND C>O),O,C,8,0),Color0000BF;STICKLINE((qs=2 AND C>O),O,C,6,0),Color0000D5;STICKLINE((qs=2 AND C>O),O,C,4,0),Color0000EA;//红STICKLINE((qs=2 AND C>O),O,C,2,0),Color0000FF;AC:=AMOUNT/(VOL);YY:=MA(AC,9);LLL:=(C-YY)/YY*100;MIDC := MA(CLOSE,14);UPPERC:= MIDC + 2*STD(C,14);LOWERC:= MIDC - 2*STD(C,14);BBA:=(C-LOWERC)/(UPPERC-LOWERC);BBC:=FORCAST(BBA,3);LIFENGCYC:=(REF(LLL,1)<-15 AND REF(BBA,1)<0 AND LLL>REF(LLL,1));DRAWTEXT(LIFENGCYC>0,LOW*0.99,'▲'),colorffffff;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100); DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'▼'),ColorFFFFFF;。
同花顺编写选股公式的小技巧
同花顺编写选股公式的小技巧(含公式源码)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倍。
同花顺主图选股公式大全
同花顺指标公式一. 操盘神手五彩K线主图源码MA5:MA(CLOSE,5),ColorCCCCCC;?MA10:MA(CLOSE,10),Color00BBBB;?MA21:MA(CLOSE,21),Color00AA00;?MA30:MA(CLOSE,30),Color990099;?MA60:MA(CLOSE,60),Color000088;?MA120:MA(CLOSE,120),Color777700;?买线:=ZIG(3,10);?卖线:=MA(买线,3);?BU:=CROSS(买线,卖线);?SEL:=CROSS(卖线,买线);?DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;? DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;?DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff;?DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff;?STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC;?STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;?STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;?STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00;?STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;? STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;指标用法:可直接按照买卖点做参考操作,红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),指标镶入步骤:工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定..............................................二. 主力多空副图指标源码MAV:=(C*2+H+L)/4;SK:= EMA(MAV,13) - EMA(MAV,34);SD := EMA(SK,5);中轴:0;空方主力 : (-2*(SK-SD))*3.8,colorgreen;多方主力 : (2*(SK-SD))*3.8,colorred;指标用法:多方主力线从低位向上掉头且成交量有所放大,则为买入信号。
同花顺条件选股公式大全
同花顺条件选股公式大全同花顺条件选股是一种基于股票市场行情和技术指标等因素进行选股的方法。
通过系统地筛选股票,选出符合特定条件的个股,以达到优化投资组合的目的。
下面是一份包含了同花顺条件选股公式的详细介绍。
一、市场行情指标选股公式1. 市场指数走势选股公式:选取近期走势与市场指数相关性较高的股票。
公式:相关系数大于等于0.6的股票。
2. 大盘上涨股票选股公式:选取近期涨幅在大盘上涨行情中表现较好的股票。
公式:股票涨幅大于等于大盘涨幅。
3. 大盘下跌股票选股公式:选取近期涨幅在大盘下跌行情中表现较好的股票。
公式:股票涨幅大于等于大盘涨幅。
二、基本面指标选股公式1. 财务指标选股公式:选取财务指标表现较好的股票。
公式:净利润增长率、每股收益、股息率等指标达到一定水平。
2. 营收增长股票选股公式:选取营收增长较快的股票。
公式:近三年营业收入年复合增长率大于等于20%。
3. 盈利增长股票选股公式:选取盈利增长较快的股票。
公式:近三年净利润年复合增长率大于等于20%。
三、技术指标选股公式1. 均线选股公式:选取股票近期均线走势表现较好的股票。
公式:股价在5日、10日、20日、60日、120日均线上。
可以根据策略调整均线参数。
2. 趋势指标选股公式:选取趋势指标表现较好的股票。
公式:MACD、RSI、KDJ、DMI等指标达到一定水平。
3. 成交量指标选股公式:选取成交量指标表现较好的股票。
公式:成交量大于其均线。
四、资金流向指标选股公式1. 主力资金流入选股公式:选取主力资金持续流入的股票。
公式:主力资金连续净流入天数大于等于5天。
2. 散户资金流入选股公式:选取散户资金持续流入的股票。
公式:散户资金连续净流入天数大于等于5天。
3. 融资资金流入选股公式:选取融资资金持续流入的股票。
公式:融资资金连续净流入天数大于等于5天。
以上是关于同花顺条件选股公式的介绍,它涵盖了市场行情指标、基本面指标、技术指标和资金流向指标等方面的选股公式。
同花顺主图选股公式大全
同花顺指标公式一. 操盘神手五彩K线主图源码MA5:MA(CLOSE,5),ColorCCCCCC;MA10:MA(CLOSE,10),Color00BBBB;MA21:MA(CLOSE,21),Color00AA00;MA30:MA(CLOSE,30),Color990099;MA60:MA(CLOSE,60),Color000088;MA120:MA(CLOSE,120),Color777700;买线:=ZIG(3,10);卖线:=MA(买线,3);BU:=CROSS(买线,卖线);SEL:=CROSS(卖线,买线);DRAWTEXT(bu,L*0。
99,'买'),linethick1,color00aaff;DRAWTEXT(sel,H*1.01,'卖’),linethick1,color00ff00;DRAWTEXT(”X09A.T"〉0,L*0。
99,'B’),linethick1,colorFFffff; DRAWTEXT("X09A。
T1”>0,L*0。
99,’B’),linethick1,color0000ff;STICKLINE(买线〉=卖线,LOW,HIGH,0.1,0),color0000CC;STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;STICKLINE(买线〈卖线,LOW,HIGH,0.1,0),colorCCCC00;STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;指标用法:可直接按照买卖点做参考操作,红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),指标镶入步骤:工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定..。
同花顺主图选股公式大全
同花顺指标公式一. 操盘神手五彩K线主图源码MA5:MA(CLOSE,5),ColorCCCCCC;?MA10:MA(CLOSE,10),Color00BBBB;?MA21:MA(CLOSE,21),Color00AA00;?MA30:MA(CLOSE,30),Color990099;?MA60:MA(CLOSE,60),Color000088;?MA120:MA(CLOSE,120),Color777700;?买线:=ZIG(3,10);?卖线:=MA(买线,3);?BU:=CROSS(买线,卖线);?SEL:=CROSS(卖线,买线);?DRAWTEXT(bu,L*0.99,'买'),linethick1,color00aaff;? DRAWTEXT(sel,H*1.01,'卖'),linethick1,color00ff00;?DRAWTEXT("X09A.T">0,L*0.99,'B'),linethick1,colorFFffff;?DRAWTEXT("X09A.T1">0,L*0.99,'B'),linethick1,color0000ff;?STICKLINE(买线>=卖线,LOW,HIGH,0.1,0),color0000CC;?STICKLINE(买线>=卖线,CLOSE,OPEN,7,0),color0000CC;?STICKLINE(买线<卖线,CLOSE,OPEN,7,0),colorCCCC00;?STICKLINE(买线<卖线,LOW,HIGH,0.1,0),colorCCCC00;?STICKLINE(CROSS(买线,卖线),OPEN,CLOSE,7,0),color00AAFF;? STICKLINE(CROSS(卖线,买线),OPEN,CLOSE,7,0),color00DD00;指标用法:可直接按照买卖点做参考操作,红柱区域表示为股价上涨阶段(其中的绿柱由红色点缀代表是正常调整),绿柱区域表示为股价下跌阶段(其中的红柱由绿色点缀代表是诱多行为),指标镶入步骤:工具→公式管理→常用→五彩K线→新建→名称和描述→粘贴指标源码→确定..............................................二. 主力多空副图指标源码MAV:=(C*2+H+L)/4;SK:= EMA(MAV,13) - EMA(MAV,34);SD := EMA(SK,5);中轴:0;空方主力 : (-2*(SK-SD))*3.8,colorgreen;多方主力 : (2*(SK-SD))*3.8,colorred;指标用法:多方主力线从低位向上掉头且成交量有所放大,则为买入信号。
股票操作选股公式同花顺指标——买卖奇准(副图)
同花顺指标——买卖奇准(副图)你:=MA(CLOSE,1);老:=(LOW+HIGH+CLOSE)/3;板:= MA(老,5);好:= HHV(板,10);急卖奇准:IF(HHV((你<好),5),100,50),colorblue;短卖奇准:IF(HHV((你<好),10),100,50),colorgreen;老板:= MA(老,5);买卖:=LLV(老板,10);急买奇准:IF(LLV((你<买卖),5),50,0),colorred;短买奇准:IF(LLV((你<买卖),10),50,0),colorwhite;TR:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),5); HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=(SUM(IF(((HD > 0) AND (HD > LD)),HD,0),5) );DMM:=SUM(IF(((LD > 0) AND (LD > HD)),LD,0),5);神偷线:=(((DMP ) * 100) / TR);辅助线:=((DMM * 100) / TR);动向趋势线:=(MA(((ABS((辅助线- 神偷线)) / (辅助线+ 神偷线)) * 100),3));ADXR:=((动向趋势线+ REF(动向趋势线,3)) / 2);VAR1:=MA(LOW,1);VAR2:=MA(HIGH,2);VAR3:=MA(CLOSE,2);VAR7:=REF(VAR3,1);【强弱】:=((SMA(MAX((VAR3 - VAR7),0),5,1) / SMA(ABS((VAR3 - VAR7)),5,1)) * 100);没神的只有不错:( IF(((动向趋势线> 88) AND (神偷线< 5.8)),80,0)),LINETHICK3,colorFF00FF;。
同花顺的选股公式
同花顺的选股公式 Document number:NOCG-YUNOO-BUYTT-UU986-1986UT同花顺选股公式同花顺选股公式黑马草上飞HMCSFLCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>;A5:=V/CAPITAL*100>;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20OR BARSSINCE( ZTJ)=0);三金叉见底SJCJDnday := 5;down := CLOSE/LLV(LOW,60)<=;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));vvday := BARSLAST(CROSS(vma1,vma2));macdday := BARSLAST(CROSS(diff,dea));SJCJD:= IF((ppday<=nday AND vvday<=nday AND macdday<=nday),1,0);买入就涨MRJZvar1:=1;趋势线: ((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)-50)*+50),colorred;var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;var3:=LLV(LOW,34);var4:=HHV(HIGH,34);SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;SD:= EMA(SK,2)*var1,coloryellow;var5:=EMA(CLOSE,12)-EMA(CLOSE,26);var6:=EMA(var5,9);var7:=var1*CLOSE*;var8:=CLOSE/REF(CLOSE,1)>;var9:=(HIGH-CLOSE)*<=CLOSE-OPEN;varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;varB:=ABS(var5-var6);varC:=STD(CLOSE,90)*10;varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);varE:=SLOPE(CLOSE,40);varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<,90);var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;var11:=var1*STD(CLOSE,63)*10;var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);var13:=var1*MA((CLOSE-var12)/var12,1);var14:=MA(CLOSE,5);var15:=MA(CLOSE,10);var16:=MA(CLOSE,20);var17:=MA(CLOSE,30);var18:=MA(CLOSE,60);var19:=MA(CLOSE,150);var1A:=MA(CLOSE,250);var1B:=var1*VOL/CAPITAL*100;var1C:=(CLOSE-var1A)/var1A*100;var1D:=(CLOSE/REF(CLOSE,1)-1)*100;var1E:=PWINNER(1,CLOSE);var1F:=IF(var1> AND var1<,,1);买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND(var1E>= OR var1E> AND var1E< AND var1D>5AND var1B>5) AND var1D> ANDvar1C<40AND CLOSE>3AND (CLOSE-var18)/var18< AND var1B<=6AND var4*var1B>=1ANDCLOSE<,76,0), coloryellow;var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;var23:=var1*MA(CLOSE,250);var24:=MA(CLOSE,125);买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23< AND REF(SK,3)AND REF(var22,1))var25:=CLOSE/MA(CLOSE,3)>= AND CLOSE=HHV(CLOSE,3) AND MA(VOL,2)/MA(VOL,40)>=3 AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);短线抄底DXCD3A3:=REF(CLOSE, ;A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A4<=20AND A5 <=49;--------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;----------------------------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;黄线抄底选股HXCDXGA3:=REF(CLOSE, ;A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), , 1) * 100;A4<=20AND A5 <=49;选马趋势XMQS个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred;DRAWTEXT(个股>85,95,'*');大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue; STICKLINE(个股>=大盘,个股,大盘,1,0),colorred;STICKLINE(个股<大盘,个股,大盘,1,0),colorblue;出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00;DRAWTEXT(CROSS(个股,9),30,'-马'),color00ff00;高抛低吸GPDXMMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1)*100,1)+50;G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0 AND G1)+1);KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 -100));KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);x1:=EMA(((KS/ 10) + EMA(CLOSE,10)),3);AA:=-100*(x1-CLOSE)/x1;AC:=(EMA(AA,5));SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) +CLOSE),55);MM:=MA(MMV,1);SA:=(MM*;SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21));x2:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;y1:=DMA(((CLOSE+ OPEN) / 2),(VOL / (SMA(VOL,4,1)*4)));上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);x3:A,coloryellow,LINETHICK1;B:=REF(A,1);STICKLINE(((SSL<MM)),x2,x3,,0),COLORFFFF00;VA1:=EMA(上收,8);VA2:=EMA(上收,20);选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3); 箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:=CROSS(选手A,箱底A)AND箱顶A/箱底A>100/100AND T1;T3:=CROSS(箱顶A,选手A) AND箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;T4:=CROSS(选手,箱底)AND箱顶/箱底>110/100;T5:=CROSS(箱顶,选手) AND箱顶/箱底>110/100;VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);MA20:=MA(C,20); MA30:=MA(C,30);QSXS:=MA20>MA30AND MA20>REF(MA20,1) ANDMA30>REF(MA30,1);ZF:=(C/REF(C,1)-1)*100;TDDF:=(L/REF(C,1)-1)*100<=-5AND(REF(HHV(H,5),1)/L-1)*100>=10;N1:=BARSLAST(CROSS(C,MA(C,5)));N2:=BARSLAST(CROSS(MA(C,5),C));HM:=IF(N1<N2,N1+1,0)*QSXS;z2:=HM=1AND ZF>=0AND C>O AND QSXS;KX1:=ZF<=-3ANDC<O;XDSJ:=BARSLAST(KX1);KX2:=ZF>=3AND C>O;JBY:=KX2 AND XDSJ<=2AND C>=REF(O*,XDSJ) ANDZF>ABS(REF(ZF,XDSJ)*;z3:=IF(FILTER(JBY,1) AND QSXS,5,0);DRAWTEXT(z2AND z3 ,LOW*,'送钱来'),ColorFF0080;精准指标JZZBN:=5;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),,1);建仓:CROSS(VAR1,8);主力动向zldxr:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;t:=BARSCOUNT(SHGZG);b:=SUM(r,t);主力持仓:b;n:=5;x2:=HHV(r,n);S:=STD(SHGZG,2)/1000000;S1:=-STD(SHGZG,2)/1000000;STICKLINE(r>0,r+b,b,2),colorred;STICKLINE(r<0,b,b+r,2),colorgreen;STICKLINE(s>0,x2+b,b+r*3,3),coloryellow;STICKLINE(s1<0,b+r*3,b-x2,3),coloryellow;IF(ISNULL(r))a=(ZDMR[-1]+BDMR[-1]);b=(ZDMC[-1]+BDMC[-1]);a3=SUM(a,n)/1000000;b3=SUM(b,n)/1000000;VOL1=SUM(VOL,n)/1000000;S3=STD(SHGZG,2)/10000;IF(a3>b3){y=a3-b3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}ELSE{y=b3-a3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}Var1:=(CLOSE+HIGH+LOW)/3;Var2:=EMA(EMA(EMA(Var1,1),13),21);控盘度: (Var2-REF(Var2,1))/REF(Var2,1)*1000;强弱分界:= 0;抄底大师CDDSVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=CROSS(VAR3,VAR4) AND VAR3<20;抄底:FILTER(VAR5,10)=1;不抄底,只抄底BCDZCDN1:=9;N:=3;VAR1:=REF(CLOSE,1);标尺:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100;VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪:=VAR3;波:=VAR4;段:=VAR5;VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;VAR7:=CROSS(VAR4,VAR5) AND VAR4<25;VAR8:=VAR7 AND VOL>REF(VOL,1)*2AND VOL>REF(MA(VOL,5),1)*2;XG:VAR6 OR (VAR7 AND COUNT(VAR7,10)=1);选股公式456XJGGSHdly1:=O/C[30]< AND O==LLV(O,30);Hdly2:=C/O>;Hdly3:=O/C[18]< AND O==LLV(O,18);选股:(Hdly1 OR Hdly3) AND Hdly2;一起赚钱YQZQEMA13:=MA(CLOSE,13);EMA30:=EMA(CLOSE,30);EMA60:=EMA(CLOSE,60);EMA90:=EMA(CLOSE,90);AR1:=(EMA13 < EMA30) AND (EMA13 < EMA60) AND (EMA13 < EMA90);AR2:=BARSLAST(REF(CROSS(CLOSE,EMA13),1));AR3:=(EMA13 >= REF(EMA13,1));AR4:=AR1 AND AR2 AND AR3 AND CROSS(CLOSE,EMA13);黑马选股:AR4 AND FILTER(AR4,10);大黑马DHMVAR1:=EMA(VOL/CAPITAL,3);VAR2:=HHV(VAR1,240);VAR3:=LLV(VAR1,240); VAR4:=MA(CLOSE,33);VAR5:=EMA(CLOSE,13)-EMA(CLOSE,26);VAR6:=EMA(VAR5,9);VAR7:=2*(VAR5-VAR6);VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VARA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100; VARB:=SMA(VAR8,3,1);VARC:=SMA(VAR9,15,1);VARD:=SMA(VARA,45,1);VARE:=(VARD-REF(VARD,1))*50;VARF:=(VARC-REF(VARC,1))*10;VAR10:=REF(VARC,1)-REF(VARD,1);VAR11:=(VARC-VAR10-VARD)*30;VAR12:=VARB-REF(VARB,1);固定筹码:EMA((VAR1-VAR3)/VAR3*VAR4,13);移动筹码: EMA((VAR2-VAR1)/VAR1*VAR4,13);多空对比:固定筹码-移动筹码, COLORSTICK;VAR13:=VAR7>= AND VAR7<= ANDCLOSE>MA(CLOSE,5)AND CLOSE>MA(CLOSE,10) AND多空对比>-100;大黑马:IF(VAR13 AND VAR12>7AND REF(VAR12,1)<0ANDVAR12-REF(VAR12,1)>9,1,0),LINETHICK3 ,COLOR00FFFF;STICKLINE(大黑马,0,固定筹码,5,0),LINETHICK3 ,COLOR00FFFF;DRAWICON(大黑马,固定筹码*,5);周线黑马ZXHMma7:=EMA(C,7);ma14:=EMA(C,14);aa:=CROSS(ma7,ma14) AND V>REF(V,1)*;bb:=V>REF(V,1)*3;选股1:IF(aa,1,0);选股2:IF(bb,1,0);收敛三角形选股公式SLSJXY:=(H+L)/2;AO:=MA(Y,5)-MA(Y,34 );DU0:=CROSS(AO,0);UD0:=CROSS(0,AO);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)); JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0; JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0; JDU1:JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:JUD0 AND COUNT(JUD0,TUD0)=1;。
同花顺 macd金叉选股公式
同花顺MACD金叉选股公式一、什么是MACD金叉MACD(Moving Average Convergence Divergence)即移动平均线聚合与分歧指标,是一种利用两条快、慢指数移动平均线的交叉来判断股票买卖信号的技术指标。
MACD金叉就是指快速MACD线在慢速MACD线上方交叉形成的买入信号。
在股票市场中,很多投资者使用MACD金叉指标来判断股票价格的走势并进行买卖操作。
二、MACD金叉选股公式在同花顺软件中,可以通过以下公式来筛选MACD金叉股票:1. 打开同花顺软件,点击“自定义条件”,创建一个新的条件。
2. 输入以下公式:MACD.DIF > MACD.DEA注:MACD.DIF代表快速线DIF,MACD.DEA代表慢速线DEA。
快速线DIF大于慢速线DEA时,即为MACD金叉信号。
3. 确定条件后,点击“应用”按钮,即可筛选出符合MACD金叉条件的股票。
三、如何使用MACD金叉选股公式1. 筛选出MACD金叉股票后,投资者可以进一步对这些股票进行技术分析和基本面分析。
例如查看股票的成交量、K线走势、市盈率、业绩报告等信息。
2. 投资者也可以结合其他技术指标和研究方法来进行选股,不宜仅凭MACD金叉进行操作。
3. 在选择MACD金叉股票进行买入操作时,应注意控制风险,合理设定止损点,及时止盈。
四、MACD金叉选股的优势和局限性MACD金叉选股的优势在于能够较为准确地把握股票的买入时机,帮助投资者抓住股票的上涨机会。
MACD金叉信号也是市场上比较常见的技术指标之一,因此受到不少投资者的关注。
但是,MACD金叉选股也存在一定的局限性。
技术指标并不能完全代替基本面分析,投资者要综合考虑股票的财务状况、行业前景等因素。
另MACD金叉并非绝对准确,也会出现虚假信号的情况,因此投资者切勿盲目追随。
MACD金叉选股公式是一种较为常见的股票筛选方法,投资者可在选股时参考该方法,但需结合其他分析手段,谨慎操作,才能提高投资的成功率。
同花顺和通达信通用的选股赚钱公式
同花顺和通达信通用的选股公式{MACD、KDJ、RSI底背离}DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA:=EMA(DIFF,9);A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));底背离:B1>0 OR B2>0 OR B3>0;{集成了MACD、KDJ、RSI三个指标的底背离};老鼠仓AA1:=AMOUNT/VOL;BB1:=L< AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;DD1:=L< MA(C,5)*0.921;EE1:=VOL< MA(V,5)*1.5;老鼠仓:BB1 AND CC1 AND DD1 AND EE1;抄底高手{M 15 35 30N 12 32 27D 18 50 42}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>940101 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND (REF(OPEN,1)>REF(CLOSE,1) OR REF(OPEN,1)<REF(CLOSE,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,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)<REF(VAR6,2) AND VAR6-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;短线黑马{K 100 140 100}VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR3:=(CLOSE-VAR1)/VAR1*100<-11/K*100;VAR4:=(VAR1-VAR2)/VAR2*100<-22.3/K*100;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=DMA(CLOSE,VOL/MA(VOL,3)/3);VAR7:=DMA(CLOSE,VOL/MA(VOL,33)/33);VAR8:=(CLOSE-VAR6)/VAR6*100<-5;VAR9:=(VAR6-VAR7)/VAR7*100<-18;VARA:=(INDEXC-LLV(INDEXL,250))/(HHV(INDEXH,250)-LLV(INDEXL,250))*100; VARB:=SMA(VARA,30,1);VARC:=SMA(VARB,50,1);VARD:=VAR8 AND VAR9 AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));VARE:=VARD AND COUNT(VARD,2)=1 ;VAR5 OR VARE;逆势操作VAR1:=DMA(CLOSE,VOL/MA(VOL,4)/4);VAR2:=DMA(CLOSE,VOL/MA(VOL,32)/32);VAR3:=(CLOSE-VAR1)/VAR1*100<-8;VAR4:=(VAR1-VAR2)/VAR2*100<-21;VAR5:=VAR3 AND VAR4 AND (OPEN>CLOSE OR OPEN<CLOSE) AND (OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.05 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND (REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND (REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND (REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND (REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND (REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND (REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7));VAR6:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100<-23;VAR7:=(INDEXC-LLV(INDEXL,275))/(HHV(INDEXH,275)-LLV(INDEXL,275))*100;VAR8:=SMA(VAR7,50,1);VAR9:=SMA(VAR8,40,1);VARA:=VAR6 AND VAR9<23 AND COUNT(VAR6,2)=1 AND (OPEN>CLOSE OR OPEN<CLOSE) AND OPEN/REF(CLOSE,1)>0.96 ;(VAR5 OR VARA) ;成交量变异率VR买入WVR := SUM((IF(CLOSE>OPEN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),N)/SUM((IF(CLOSE<OP EN,VOL,0)+IF(CLOSE=OPEN,VOL/2,0)),26)*100;VOL变异率VR买入:CROSS(LL,WVR);{N 5 100 26 5}{LL 0 80 70 5};MA5:=MA(C,5);MA10:=MA(C,10);MA20:=MA(C,20);MA30:=MA(C,30);MA120:=SMA(C,120,1);ZH520:=ABS(MA5-MA20)/MA20*100<=10;ZH530:=ABS(MA5-MA30)/MA30*100<=10;QSXS1:=MA5>REF(MA5,1);QSXS2:=MA20>REF(MA20,1);QSXS3:=MA30>REF(MA30,1);DTPL:=MA20>MA30 AND MA30>MA120;LYT:=DTPL AND QSXS2 AND QSXS3 AND COUNT(QSXS1,4)<=1;GJHS:=C>MA5 AND ((QSXS1 AND NOT(REF(QSXS1,1))) OR C>REF(C,3)); LYKK:=GJHS AND (ZH520 OR ZH530) AND LYT;买:LYKK AND NOT(REF(LYKK,1));虚拟成交量>昨日VOL的2倍的股VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*2.0;ABS(VVOL)-昨日VOL>=0;{大于昨日的2.0倍};成交量是昨日的1.8倍VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);昨日VOL:=REF(VOL,1)*1.8;ABS(VVOL)-昨日VOL>=0;{大于昨日的1.8倍};PDI上穿三线选股公式源码:TR0:= SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE, 1))),14);HD := HIGH-REF(HIGH,1);LD := REF(LOW,1)-LOW;DMP:= SUM(IF(HD>0 AND HD>LD,HD,0),14);DMM:= SUM(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100/TR0,colorred;MDI:=DMM*100/TR0;ADX:=MA(ABS(MDI-PDI)/(MDI+PDI)*100,6);ADXR:=(ADX+REF(ADX,6))/2;CROSS(PDI,MDI) AND CROSS(PDI,ADX) AND CROSS(PDI,ADXR)今日量比昨放大1倍后三日股价不跌回当日收盘价的选股公式选股公式:{成交量比前一天放大1倍,后3天,股价没有跌破放量那天的收盘价}var1:=v>ref(v,1)*2;ref(var1,3) and count(c>ref(c,3),3)=3;倍量柱加三天量减价升喇叭形的真黄金柱公式倍数:=1.9;倍量1:=REF(VOL,3)>倍数*REF(VOL,4) AND REF(C,3)>=REF(O,3);价升量缩:= LLV(C,3)>=REF(L,3) AND HHV(VOL,3)<=REF(VOL,3);连阳:= COUNT(C>=O,4)=4;选股:倍量1 AND 价升量缩 AND 连阳;根据王子老师“凹口起柱”理论编写的凹口指标王子老师的平台起柱、过顶起柱、凹口起柱理论真是了不得,十分佩服,这里我冒昧的加一个,那就是顶部起柱。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
同花顺选股公式同花顺选股公式黑马草上飞HMCSFLCZ:=(C-MA(C,60))/MA(C,60)*100;A1:=COUNT(MA(C,60)>REF(MA(C,60),1),100)>95;A2:=COUNT(LCZ<20,100)>95;A3:=COUNT(C>MA(C,60),100)>80;A4:=C/REF(C,1)>1.04;A5:=V/CAPITAL*100>2.8;ZTJ:=A1 AND A2 AND A3 AND A4 AND A5;ZTJ AND (REF(BARSLAST(ZTJ),1)>20OR BARSSINCE( ZTJ)=0);三金叉见底SJCJDnday := 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));vvday := BARSLAST(CROSS(vma1,vma2));macdday := BARSLAST(CROSS(diff,dea));SJCJD:= IF((ppday<=nday AND vvday<=nday AND macdday<=nday),1,0);买入就涨MRJZvar1:=1;趋势线: ((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)-50)*1.032+50),colorred;var2:=(2*CLOSE+HIGH+LOW+OPEN)/5;var3:=LLV(LOW,34);var4:=HHV(HIGH,34);SK:= EMA((var2-var3)/(var4-var3)*100,13)*var1,colorwhite;SD:= EMA(SK,2)*var1,coloryellow;var5:=EMA(CLOSE,12)-EMA(CLOSE,26);var6:=EMA(var5,9);var7:=var1*CLOSE*1.236;var8:=CLOSE/REF(CLOSE,1)>1.021;var9:=(HIGH-CLOSE)*1.36<=CLOSE-OPEN;varA:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;varB:=ABS(var5-var6);varC:=STD(CLOSE,90)*10;varD:=COUNT((REF(CLOSE,15)-CLOSE)/CLOSE*100>45,5);varE:=SLOPE(CLOSE,40);varF:=COUNT((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)<-0.098,90);var10:=(MA(CLOSE,120)-CLOSE)/CLOSE*100;var11:=var1*STD(CLOSE,63)*10;var12:=var1*(MA(CLOSE,76)-MA(CLOSE,13)/3);var13:=var1*MA((CLOSE-var12)/var12,1);var14:=MA(CLOSE,5);var15:=MA(CLOSE,10);var16:=MA(CLOSE,20);var17:=MA(CLOSE,30);var18:=MA(CLOSE,60);var19:=MA(CLOSE,150);var1A:=MA(CLOSE,250);var1B:=var1*VOL/CAPITAL*100;var1C:=(CLOSE-var1A)/var1A*100;var1D:=(CLOSE/REF(CLOSE,1)-1)*100;var1E:=PWINNER(1,CLOSE);var1F:=IF(var1>0.75AND var1<0.901,0.618,1);买入就涨:= IF(var14>var15 AND var15>var16 AND var16>var17 AND var16>var18 AND var19>var1A AND (var1E>=0.9OR var1E>0.76AND var1E<0.901AND var1D>5AND var1B>5) AND var1D>1.8ANDvar1C<40AND CLOSE>3AND (CLOSE-var18)/var18<0.25AND var1B<=6AND var4*var1B>=1ANDCLOSE<18.5,76,0), coloryellow;var20:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var21:=(MA(CLOSE,48)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;var22:=var1*(MA(CLOSE,12)+MA(CLOSE,24)+MA(CLOSE,48)+MA(CLOSE,96))/4;var23:=var1*MA(CLOSE,250);var24:=MA(CLOSE,125);买入就涨:IF(SD>18AND SK<75AND CROSS(var20,var21) AND (var22-var23)/var23<0.161ANDREF(SK,3)AND REF(var22,1))var25:=CLOSE/MA(CLOSE,3)>=1.05AND CLOSE=HHV(CLOSE,3) ANDMA(VOL,2)/MA(VOL,40)>=3AND MA(VOL,2)=HHV(MA(VOL,2),3) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);短线抄底DXCD3A3:=REF(CLOSE, 1.000);A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;A4<=20AND A5 <=49;--------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE- REF(CLOSE,2)),7,1)*100<12;----------------------------------------------------------------------------SMA(MAX(CLOSE-REF(CLOSE,1),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100 <12;黄线抄底选股HXCDXGA3:=REF(CLOSE, 1.000);A4:=SMA(MAX((CLOSE - A3),0), 8, 1) / SMA(ABS((CLOSE - A3)), 8.000, 1) * 100;A5:=SMA(MAX((CLOSE - A3),0), 55, 1) / SMA(ABS((CLOSE - A3)), 55.000, 1) * 100;A4<=20AND A5 <=49;选马趋势XMQS个股:EMA(100*(C-LLV(LOW,36))/(HHV(H,36)-LLV(LOW,36)),3),colorred;DRAWTEXT(个股>85,95,'*');大盘:EMA(100*(INDEXC-LLV(INDEXL,36))/(HHV(INDEXH,36)-LLV(INDEXL,36)),3),colorblue; STICKLINE(个股>=大盘,个股,大盘,1,0),colorred;STICKLINE(个股<大盘,个股,大盘,1,0),colorblue;出现:IF(CROSS(个股,9),35,0),STICK,linethick3,color00ff00;DRAWTEXT(CROSS(个股,9),30,'-马'),color00ff00;高抛低吸GPDXMMS:=MA(SMA((L+H+2*C)/4-REF((L+H+2*C)/4,1),5,1)/SMA(ABS((L+H+2*C)/4-REF((L+H+2*C)/4,1)),5,1) *100,1)+50;G1:=IF(-MMS>95,0,20);UOO:=(-(((CLOSE-LLV(CLOSE,7))/(HHV(CLOSE,7)-LLV(CLOSE,7))*100=100)>0AND G1)+1);KS:=(((CLOSE - EMA(CLOSE,13)) / EMA(CLOSE,13)) * (0 -100));KS1:=IF(BARSCOUNT(C)=1,C/10000,(1-C/SMA(C,13,1))*100);x1:=EMA(((KS/ 10) + EMA(CLOSE,10)),3);AA:=-100*(x1-CLOSE)/x1;AC:=(EMA(AA,5));SSL:=EMA(CLOSE,3);MMV:=EMA(((SLOPE(CLOSE,22) * 20) +CLOSE),55);MM:=MA(MMV,1);SA:=(MM*0.985);SS:=(MA(CLOSE,5));DD:=(MA(CLOSE,13));GG:=(MA(CLOSE,21)); x2:IF(((SSL>MM)),MM,SA),LINETHICK2,COLORFF00FF;y1:=DMA(((CLOSE+ OPEN) / 2),(VOL / (SMA(VOL,4,1)*4)));上开:=O;上收:=C;上高:=H;上低:=L;JJ:=(上开+上高+上低)/3;A:=EMA(JJ,4);x3:A,coloryellow,LINETHICK1;B:=REF(A,1);STICKLINE(((SSL<MM)),x2,x3,0.01,0),COLORFFFF00;VA1:=EMA(上收,8);VA2:=EMA(上收,20);选手A:=MA(上收,3);箱顶A:=MA(REF(HHV(上收,6),1),3); 箱底A:=MA(REF(LLV(上收,3),1),3);T1:=MA(上收,20)>=REF(MA(上收,20),1);T2:=CROSS(选手A,箱底A)AND箱顶A/箱底A>100/100AND T1;T3:=CROSS(箱顶A,选手A) AND箱顶A/箱底A>100/100;选手:=MA(上收,2);箱顶:MA(REF(HHV(上收,30),1),2),COLOR0000FF;箱底:MA(REF(LLV(上收,30),1),2),COLOR00FF00;T4:=CROSS(选手,箱底)AND箱顶/箱底>110/100;T5:=CROSS(箱顶,选手) AND箱顶/箱底>110/100;VAR1:=(上收-LLV(上低,27))/(HHV(上高,27)-LLV(上低,27))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);MA20:=MA(C,20);MA30:=MA(C,30);QSXS:=MA20>MA30AND MA20>REF(MA20,1) ANDMA30>REF(MA30,1);ZF:=(C/REF(C,1)-1)*100;TDDF:=(L/REF(C,1)-1)*100<=-5AND(REF(HHV(H,5),1)/L-1)*100>=10;N1:=BARSLAST(CROSS(C,MA(C,5)));N2:=BARSLAST(CROSS(MA(C,5),C));HM:=IF(N1<N2,N1+1,0)*QSXS;z2:=HM=1AND ZF>=0AND C>O AND QSXS;KX1:=ZF<=-3ANDC<O;XDSJ:=BARSLAST(KX1);KX2:=ZF>=3AND C>O;JBY:=KX2 AND XDSJ<=2AND C>=REF(O*0.99,XDSJ) ANDZF>ABS(REF(ZF,XDSJ)*0.99);z3:=IF(FILTER(JBY,1) AND QSXS,5,0);DRAWTEXT(z2AND z3 ,LOW*0.99,'送钱来'),ColorFF0080;精准指标JZZBN:=5;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1);建仓:CROSS(VAR1,8);主力动向zldxr:=((ZDMR[-1]+BDMR[-1])-(ZDMC[-1]+BDMC[-1]))/SHGZG*100;t:=BARSCOUNT(SHGZG);b:=SUM(r,t);主力持仓:b;n:=5;x2:=HHV(r,n);S:=STD(SHGZG,2)/1000000;S1:=-STD(SHGZG,2)/1000000;STICKLINE(r>0,r+b,b,2),colorred;STICKLINE(r<0,b,b+r,2),colorgreen;STICKLINE(s>0,x2+b,b+r*3,3),coloryellow;STICKLINE(s1<0,b+r*3,b-x2,3),coloryellow;IF(ISNULL(r))a=(ZDMR[-1]+BDMR[-1]);b=(ZDMC[-1]+BDMC[-1]);a3=SUM(a,n)/1000000;b3=SUM(b,n)/1000000;VOL1=SUM(VOL,n)/1000000;S3=STD(SHGZG,2)/10000;IF(a3>b3){y=a3-b3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}ELSE{y=b3-a3;z=y/VOL1*100;主力增加:TOSTRING(r,2)+"%."+TOSTRING(n,0)+"天主力净买入"+TOSTRING(y,1)+"万手.占总成交"+TOSTRING(z,1)+"%."+"流通盘增加"+TOSTRING(s3,2)+"万.";}Var1:=(CLOSE+HIGH+LOW)/3;Var2:=EMA(EMA(EMA(Var1,1),13),21);控盘度: (Var2-REF(Var2,1))/REF(Var2,1)*1000;强弱分界:= 0;抄底大师CDDSVAR1:=(CLOSE-LLV(LOW,36))/(HHV(HIGH,36)-LLV(LOW,36))*100;VAR2:=SMA(VAR1,3,1);VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=CROSS(VAR3,VAR4) AND VAR3<20;抄底:FILTER(VAR5,10)=1;不抄底,只抄底BCDZCDN1:=9;N:=3;VAR1:=REF(CLOSE,1);标尺:=SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100; VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪:=VAR3;波:=VAR4;段:=VAR5;VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;VAR7:=CROSS(VAR4,VAR5) AND VAR4<25;VAR8:=VAR7 AND VOL>REF(VOL,1)*2AND VOL>REF(MA(VOL,5),1)*2; XG:VAR6 OR (VAR7 AND COUNT(VAR7,10)=1);选股公式456XJGGSHdly1:=O/C[30]<0.7AND O==LLV(O,30);Hdly2:=C/O>1.03;Hdly3:=O/C[18]<0.83AND O==LLV(O,18);选股:(Hdly1 OR Hdly3) AND Hdly2;一起赚钱YQZQEMA13:=MA(CLOSE,13);EMA30:=EMA(CLOSE,30);EMA60:=EMA(CLOSE,60);EMA90:=EMA(CLOSE,90);AR1:=(EMA13 < EMA30) AND (EMA13 < EMA60) AND (EMA13 < EMA90); AR2:=BARSLAST(REF(CROSS(CLOSE,EMA13),1));AR3:=(EMA13 >= REF(EMA13,1));AR4:=AR1 AND AR2 AND AR3 AND CROSS(CLOSE,EMA13);黑马选股:AR4 AND FILTER(AR4,10);大黑马DHMVAR1:=EMA(VOL/CAPITAL,3);VAR2:=HHV(VAR1,240);VAR3:=LLV(VAR1,240); VAR4:=MA(CLOSE,33);VAR5:=EMA(CLOSE,13)-EMA(CLOSE,26);VAR6:=EMA(VAR5,9);VAR7:=2*(VAR5-VAR6);VAR8:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR9:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; VARA:=(CLOSE-LLV(LOW,225))/(HHV(HIGH,225)-LLV(LOW,225))*100; VARB:=SMA(VAR8,3,1);VARC:=SMA(VAR9,15,1);VARD:=SMA(VARA,45,1);VARE:=(VARD-REF(VARD,1))*50;VARF:=(VARC-REF(VARC,1))*10;VAR10:=REF(VARC,1)-REF(VARD,1);VAR11:=(VARC-VAR10-VARD)*30;VAR12:=VARB-REF(VARB,1);固定筹码:EMA((VAR1-VAR3)/VAR3*VAR4,13);移动筹码: EMA((VAR2-VAR1)/VAR1*VAR4,13);多空对比:固定筹码-移动筹码, COLORSTICK;VAR13:=VAR7>=-0.035AND VAR7<=0.045ANDCLOSE>MA(CLOSE,5)AND CLOSE>MA(CLOSE,10) AND多空对比>-100;大黑马:IF(VAR13 AND VAR12>7AND REF(VAR12,1)<0ANDVAR12-REF(VAR12,1)>9,1,0),LINETHICK3 ,COLOR00FFFF;STICKLINE(大黑马,0,固定筹码,5,0),LINETHICK3 ,COLOR00FFFF;DRAWICON(大黑马,固定筹码*1.1,5);周线黑马ZXHMma7:=EMA(C,7);ma14:=EMA(C,14);aa:=CROSS(ma7,ma14) AND V>REF(V,1)*1.5;bb:=V>REF(V,1)*3;选股1:IF(aa,1,0);选股2:IF(bb,1,0);收敛三角形选股公式SLSJXY:=(H+L)/2;AO:=MA(Y,5)-MA(Y,34 );DU0:=CROSS(AO,0);UD0:=CROSS(0,AO);TDU0:=BARSLAST(DU0);TUD0:=BARSLAST(UD0);DU3:=REF(DU0,1);UD3:=REF(UD0,1);TDU3:=BARSLAST(DU3);TUD3:=BARSLAST(UD3);UDGLINE:=IF(TDU3<TUD3,REF(HHV(H,2),TDU3),REF(LLV(L,2),TUD3)); JDU0:=REF(C,1)<=REF(UDGLINE,1) AND C>UDGLINE AND TDU0<TUD0; JUD0:=REF(C,1)>=REF(UDGLINE,1) AND C<UDGLINE AND TUD0<TDU0; JDU1:JDU0 AND COUNT(JDU0,TDU0)=1;JUD1:JUD0 AND COUNT(JUD0,TUD0)=1;。