当前位置:→ 公式网 > 股票池 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是选股小技能 源码(无源码的请下载附件导入)
涨今收阴十字星大于昨收盘:昨天大涨:=REF(C,1)/REF(C,2)>1.05;
阴十字星:=H/L>1.015 AND O>C AND H>O AND C>L AND O/C<1.005;
大于昨收盘:=C>REF(C,1);
选股:昨天大涨 AND 阴十字星 AND 大于昨收盘;
143,全天涨停:全天涨停:(LOW>REF(HIGH,1)) AND (HIGH=LOW);
144,跳空高开的选股公式
o>ref(h,1);
145,{靠近年线}
a1:(c-ma(c,250))/ma(c,250);
0; 146,10日内的K线实体的幅度(不管是阴是阳)全部小于3%的选股公式:
选:count((abs(c-o)/min(c,o)*100)<3,10)=10;
147,公式条件:
1.换手率大于3%;
2.量比大于2倍;
3.现价小于10元;
4.流通盘小于2亿股;
5.每股收益大于0.1元;
6.涨幅大于3%;
7.MACD的DIFF上穿DEA,金叉;
X1:=DYNAINFO(37)>0.03;
X2:=DYNAINFO(17)>2;
X3:=C<10;
X4:=CAPITAL/1000000<2;
X5:=FINANCE(33)>0.1;
X6:=(C-REF(C,1))/REF(C,1)>0.03;
X7:=CROSS(MACD.DIF,MACD.DEA);
XG:X1 AND X2 AND X3 AND X4 AND X5 AND X6 AND X7;
148,股价涨停.在K线图上画黄色STICKLINE(C/REF(C,1)>=1.099,O,C,1,0),COLORYELLOW;
149,今收盘对于N日内最低收盘价的涨幅(%)
(C-LLV(C,N))/LLV(C,N)*100;
150,今收盘对于N日内最高收盘价的跌幅(%)
(HHV(C,N)-C)/HHV(C,N)*100;
151,股价在过去N日内运行空间的相对位置
(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;
152,股价上方N1%至N2%处的筹码(%)
AA:=WINNER(C+C*N2/100)*100;
BB:=WINNER(C+C*N1/100)*100;
AA-BB
153,股价下方N1%至N2%处的筹码(%)
(WINNER(C-C*N1/100)-WINNER(C-C*N2/100))*100;
154,收盘价N%处的套牢盘
100-(WINNER(C*N/100))*100;
155,收盘价N%处的获利盘
WINNER(C*N/100)*100;
156下影线
(MIN(C,O)-L)/(H-L);
157,上影线
(H-MAX(C,O))/(H-L)
158,本周期的涨跌幅
(C-REF(C,1))/REF(C,1)*100;
159,振幅
(H-L)/L*100;
160,均线金叉
CROSS(MA(C,N),MA(C,M));{N< M}
161,均线死叉
CROSS(MA(C,M),MA(C,N));{N< M}
162,均线多头排列
A1:=MA(C,N1);
A2:=MA(C,N2);
A3:=MA(C,N3);
A4:=MA(C,N4);
COUNT(A1>A2 AND A2>A3 AND A3>A4,3);
163,均线空头排列
A1:=MA(C,N1);
A2:=MA(C,N2);
A3:=MA(C,N3);
A4:=MA(C,N4);
COUNT(A1< A2 AND A2< A3 AND A3< A4,3);
164,N日均线向下
AA:=MA(C,N);
BB:=REF(AA,1);
AA< BB
165,N日均线向上
AA:=MA(C,N);
BB:=REF(AA,1);
AA>BB
166,N日均线走平
AA:=MA(C,N);
BB:=REF(AA,1);
AA=BB
167,向前N日至M日出现过均线死叉(P1< P2)
AA:=MA(C,P1);
BB:=MA(C,P2);
CC:=REF(CROSS(BB,AA),N);
COUNT(CC,M);
168,今日成交量大于N日以来的均量
VOL>MA(VOL,N);
169,低位密集
A1:=COST(85);
A2:=COST(15);
A3:=A1-A2;
A4:=(A1+A2)/2;
A5:=A3/A4*100<10;
B1:=HHV(H,120);
B2:=LLV(L,120);
B3:=B1-B2;
B4:=(A4-B2)< B3/2;
A5 AND B4;
170,换手率
VOL/CAPITAL*100;
171,N日盈亏
V1:=VOL/SUM(VOL,N);
V2:=DMA(CLOSE,V1);
V3:(CLOSE-V2)/V2*100;
172,均线粘合:
设均线为a1,a2,a3
ff:=max(max(a1,a2),a3);
bb:=min(min(a1,a2),a3);
zz:=(ff/bb-1)*100<1;
count(zz,3)=3;
173,连续3涨停
COUNT(c/ref(c,1)>1.094 ,4)=4; 174,大智慧公式短语1间隔点:
20,colorred,pointdot,linethick2;
80,colorred,pointdot,linethick2;
50,colorred,pointdot,linethick2;
2间隔线
20,colorred,linethick2;
80,colorred,linethick2;
50,colorred,linethick2;
3信号字
DRAWTEXT(RSI1<10,RSI1,'买'),Colorlime;
DRAWTEXT(RSI1>85,RSI1,'卖'),Colorlime;
4笑哭脸
DRAWICON(VR24<25,VR24,1),ColorFF0000;
DRAWICON(VR24>350,VR24,2),ColorFF0000;
5一线提示
cross("kdj.j"(9,3,3),"kdj.d"(9,3,3)) and "kdj.j"(9,3,3)<20,colorred
6一柱顶天
IF(VAR4=50,50,0),stick,linethick2;
7小人作怪
多头卒:Var3,LINETHICK2, COLORf00ff0;
空头卒:Var4,LINETHICK2, COLORYELLOW;
DRAWICON(Var9,Var9,1);
DRAWICON(Var10,Var10,2);
8小人
买入:Var1 AND Var2,stick,linethick2,colorred;
卖出:CROSS(80,Var4),stick,linethick2,colorgreen;
drawicon(卖出,1.1,2);
drawicon(买入,1.1,1);
175,大智慧开立方POW(X,1/3); 176,副图里K线写法:
STICKLINE(C>=O,C,O,8,1),COLORff00ff;
STICKLINE(C>=O,O,L,0.1,0),COLORff00ff;
STICKLINE(C>=O,C,H,0.1,0),COLORff00ff;
STICKLINE(C<=O,C,O,8,0),COLOR007d00;
STICKLINE(C<=O,H,O,0.1,0),COLOR007d00;
STICKLINE(C<=O,C,L,0.1,0),COLOR007d00; 177,几天前均线金叉ref(CROSS(MA(C,5),MA(C,10)),n); 178,N日首次涨停
input:n(60,30,100);
A:=COUNT(REF(C,1)*1.1-C<0.005,N)>0;
A AND SUM(A,N)=1;
179,每笔大于20万元的主动买单和主动卖单的成交笔数
主动买:=if(BUYVOL>0,AMOUNT/10000,0);
主动卖:=if(SELLVOL>0,AMOUNT/10000,0);
买:sum(主动买>20,0);
卖:sum(主动卖>20,0);
180,早盘量满:CROSS(VOL,REF(VOL,1)) AND FROMOPEN<30 ; (通达信用)
指标解释:CROSS(VOL,REF(VOL,1))--就是今天的成交量超过昨天成交量;
FROMOPEN<30 --就是开盘后30分内有效,那么我们可以根据自己的需要进行改进。
比如可以设在10:00点钟开始预警,到10:30分结束,那么就写成FROMOP