友情链接:
花时间汇总了一下咱们常用的选股逻辑,以下骨子关于入门邃晓信代码,念念我方学着写选股的一又友是很友好的。别忘了点赞共享
图片加勒比女海盗百度影音加勒比女海盗百度影音
图片
性爱大师1.5日均线倾角大于60度X:(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>60;2.股价冲破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;3.今天的量大于就是昨天量的2倍,股价上升xg:v>ref(v,1)*2 and c>ref(c,1);4.聚会4天的收盘价钱波动幅度在3%之内聚会走平或朝上count(abs(c-ref(c,1)/ref(c,1))<0.03 and c>ref(c,1),3)=3;5.聚会两天收盘价跌破30日均线,线路卖出信号a1:count(c<ma(c,30),2)=2;drawtext(a1,c,'卖出'),colorgreen;6.历史第5根K线到第30根K线之间的最高价hhv(ref(c,5),25);7.10日内有涨停的公式count(c/ref(c,1)>1.09,10)>0;8.月K线十字星收盘,5月线拐点朝上xg:ABS(C-O)/O<0.02 AND MA(C,5)>REF(MA(C,5),1);用月线选股9.股价跌幅达到30个来昔日内的一半xg:(hhv(c,30)-c)/hhv(c,30)>0.5;10.最近3天股价冲破250日均线COUNT(C>MA(C,250),3)=3;11.聚会两笔阴线夹一根阳线,最低点荒谬xg:ref(l,2)=l;12.60日和120日均线距离在n%内XG:ABS((MA(C,60)-MA(C,120))/MA(C,120))<N/100;13.20日均线朝上的股票xg:ma(c,20)>ref(ma(c,20),1);14.KDJ的J线穿越0轴xg:cross(0,j);15.聚会5天5日均线差值小于1count((ma(c,5)-ref(ma(c,5),1))<1,5)=5;16.昨日量为n天以来最低,当天量是昨日的m倍,而况K线收阳xg:ref(v,1)=llv(ref(v,1),n) and v>ref(v,1)*m and c>o;17.近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;18.n天内曾有m个涨停count(c/ref(c,1)>1.09,n)>m;19.250日均线今天大于昨天的250日均线ma(c,250)>ref(ma(c,250),1);20.K线沿5日均线聚会上升w1:ma(c,5);w2:abc(c-w1)/w1<0.01;xg:count(w1>ref(w1,1),5)=5 and w2;21.当天开盘价与收盘价荒谬xg:c=o;22.选出收盘价冲破10日均线5%的个股cross(c,ma(c,10)*1.05);23.当天换手率大于前天的一倍以上w1:=v*100/capital;w1>ref(w1,2)*2;24.成交量创20日新低,股价也创20日新低xg:v=llv(v,20) and c=llv(c,20);25.MACD在8天内两次金叉xg:count(cross(DIFF,dea),8)>=2;26.第一根阴线,第二根阴线,最高价低于前一根阴线,第三根K线阴阳不限xg:w1 and w2 and w3;27.5日内第二深广zdl:=hhv(v,5);第二深广:MAX(MAX(v0,v1),v4);28.今天量小于昨天量的2倍以上,股价上升xg:v<ref(v,1)*2 and c>ref(c,1);29.股价聚会收阳线COUNT(UP,N)=N;30.跳空高开收阳xg:LOW>REF(HIGH,1) and c>o;31.股价在30日内下落20%的公式xg:hhv(c,30)/c>1.2;32.MACD的拐点公式DIFF:=(EMA(CLOSE,12) - EMA(CLOSE,26));DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);xg:ref(macd,2)>ref(macd,1) and ref(macd,1)<macd;33.涨停开盘跌停收盘选股xg:h/ref(c,1)>1.1 and ref(c,1)/l>1.1;34.一阳上穿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;35.60与120均线距离在n%内XG:ABS((MA(C,60)-MA(C,120))/MA(C,120))<N/100;36.股价是25天以来新低xg:c<ref(llv(c,25),1);37.昨日跌幅大于3%,今天开盘高开2%以上xg:ref(c,1)/ref(c,2)<0.97 and o/ref(c,1)>1.02;38.聚会3天高开高走count(o>ref(c,1) and c>o,3)=3;39.聚会三天逐日最廉价高于前一天count(l>ref(c,1),3)=3;40.量比大于1,同期换手率大于2xg:v/ref(v,1)>1 and AMOUNT/CAPITAL*100>2;41.收盘价小于昨天最廉价但为阳线xg:l<ref(l,1) and c>o;42.聚会3天K线最廉价高于前一根xg:count(l>ref(l,1),3)=3;43.30日均线走平或走高xg:ma(c,30)>ref(ma(c,30),1);44.跳空高开,三天内无回补缺口ref(LOW,2)>REF(HIGH,3) and l>ref(LOW,2);45.历史高点到前一高点画线POLYLINE(h>=hhv(c,0),h);46.聚会4天以上振幅不大于3%count(abs(c-ref(c,1)/ref(c,1))<0.03 and c>ref(c,1),4)=4;47.60日均线由向下调头朝上xg:ma(c,60)>ref(ma(c,60),1);48.放量2倍冲破300日线xg:cross(c,ma(c,300)) and v>ref(v,1)*2;49.聚会3天每个来昔日的最廉价齐比前一日高count(l>ref(c,1),3)=3;50.收盘价聚会8天站在5日均线之上count(c>ma(c,5),8)=8;51.20日均线拐头朝上xg:ma(c,20)>ref(ma(c,20),1);52.10日均线与20日均线金叉cross(ema(c,10),ema(c,20));53.股价跳跃5日均价15%以上,卖出信号xg:c/ma(c,5)>1.15;54.K线收十字星xg:abs(c-o)/o<0.01;55.缩量回调到18MAxg:count(v<ref(v,1) and c<o,n)=n and c>ma(c,18);56.20天内落拓天换手率波动小于p%xg:abs(DMA(c,v/CAPITAL)/ref(DMA(c,v/CAPITAL),1)-1)*100<p;57.涨幅≤2%xg:(c-ref(c,1))/ref(c,1)*100<2;58.一根大阳线,后两根十字星或小K线振幅小于5%xg:(ref(c,3)-ref(c,4))/ref(c,3)>0.05 and count((h-l)/l<0.05,2)=2;59.成交量是前5天中其他任何一天10天均量线的3.5倍以上xg:v>w1*3.5;60.股价跌到43日均线隔邻反弹xg:abs(c-ma(c,43))/ma(c,43)<0.01;61.昨日阴线,当天阳线xg:ref(c,1)<ref(o,1) and c>o;62.K线沿5日均线爬升w1:ma(c,5);w2:abs(c-w1)/w1<0.01;xg:count(w1>ref(w1,1),5)=5 and w2;63.聚会三日阳线,逐日涨幅不超4%,且收盘高于开盘价xg:count(c>o and c>ref(c,1) and abs((h-c)/c)<0.01 and c/ref(c,1)<1.04,3)=3;64.涨停过300日线的选股公式xg:c/ref(c,1)>1.09 and cross(c,ma(c,300));65.聚会3-5天,收盘价涨跌幅不超1%xg:count(abs(c-o)<0.01,5)>=3;66.当天量大于昨日成交量一成xg:v>ref(v,1)*1.1;67.n天前换手率大于8%xg:ref(v/capital*100,n)>8;68.近3日冲破250日均线xg:count(c>ma(c,250),3)=3;69.10日线拐头朝上xg:ma(c,10)>ref(ma(c,10),1);70.30日内涨幅大于9.9%的天数xg:count(c/ref(c,1)>1.099,30);71.昨日阴线,当天阳线xg:ref(c,1)<ref(o,1) and c>o;72.收盘价冲破20日均线xg:cross(ma(c,20),c);73.股价回调到14日均线xg:abs(c-ma(c,14))/ma(c,14)<0.005;74.成交量是前一天的2倍xg:v>ref(v,1)*2;75.股票5日均线与10日均线金叉,且当天股价在5日均线以上cross(ema(c,5),ema(c,10)) and c>ema(c,5);76.收盘价创30个来昔日新高xg:h>ref(h,30);77.n横盘天数,落魄幅度可调REF(((HHV(C,N)-LLV(C,N))/LLV(C,N)),1)<=(n1/100);78.跳空高开后,三日内无回补缺口ref(low,2)>ref(high,3) and l>ref(low,2);79.涨幅大于5%的日子数count(c/ref(c,1)>1.05,30)>5;80.MACD金叉且D值小于16xg:BIAS3<-6 and cross(k,d) and d<16;81.跳无际阴线xg:o/ref(c,1)>1.04 and c/ref(c,1)<0.94;82.30日均线走平或走高xg:ma(c,30)>ref(ma(c,30),1);83.一条均线18MA,股价缩量回调至18MAxg:count(v<ref(v,1) and c<o,n)=n and c>ma(c,18);84.20天均线朝上的股xg:ma(c,20)>ref(ma(c,20),1);85.涨幅大于7%且换手率大于3%xg:v/capital*100>3 and c/ref(c,1)>1.07;86.收盘价聚会3天低于30日均线xg:count(c<ma(c,30),3)=387.今天涨停的公式xg:c/ref(c,1)>1.09;88.昨日跌幅大于3%,今天开盘高开2%以上xg:ref(c,1)/ref(c,2)<0.97 and o/ref(c,1)>1.02;89.跳空高开后,三天内莫得回补缺口ref(low,2)>ref(high,3) and l>ref(low,2);90.股票在均线120天上方而况8天以上,落魄幅度不大a1:abs((c-ma(c,120))/ma(c,120))<0.1;xg:count(a1,8)=8;91.60日均线由向下调头朝上xg:ma(c,60)>ref(ma(c,60),1);92.股价跳跃五日均价的15%以上,并给出卖出信号卖出:c/ma(c,5)>1.15;93.聚会5天股价在10日均线上方count(c>ma(c,10),5)=5;94.条目量大,换手率达到3傍边,涨幅>7%xg:v/capital*100>3 and (c/ref(c,1)>1.07);95.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;96.股价跌至43日均线时反弹xg:abs(c-ma(c,43))/ma(c,43)<0.01;97.股价两天内累计下落跳跃20%xg:(ref(c,2)-c)/c>0.2;98.股价创30个来昔日新高xg:h>ref(h,30);99.5日内出现深广后缩量,收阳线xg:count(v<ref(v,1),5)=5 and c>o;100.30日均线走平或走高xg:ma(c,30)>ref(ma(c,30),1); 本站仅提供存储奇迹,悉数骨子均由用户发布,如发现存害或侵权骨子,请点击举报。