1.本指标是用成交量的变化排列出比较活跃的股票,再用KDJ的J值低位勾头找个相对好点的买点.原码如下:
活跃排序:MA(V,20)/MA(V,200);
J:="KDJ.J";
低位勾头:REF(J,1)<=0 AND J>REF(J,1) AND REF(J,2)>REF(J,1);
排序后点"活跃排序"从大到小排列,选"低位勾头"等于1的票择优买进.
说明:指标排序要用到历史数据,请下载最近200个交易日的日线数据.
2.分时排序抓牛股(源码)
均价:=sum(amount,0)/sum(vol,0)/100;
角度:=atan((均价/ref(均价,1)-1)*100)*180/3.1416;
量比:=DYNAINFO(17)>1;
分时排序:(角度>0 and 量比)*VOL/(SUM(VOL,0)/Barscount(C))*角度,PRECIS0;
角度和量比自己试验可调大,盘中每只启动的票都能看到,非常好用。行情好的时候适用,看好的股票可追。
3.
Var1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
Var2:=IF(CLOSE>OPEN,Var1*(HIGH-LOW),IF(CLOSE<OPEN,Var1*(HIGH-OPEN+CLOSE-LOW),VOL/2));
T买比:Var2/VOL;
此指标可在盘中通过排序迅速找出买入意愿强的活跃股,结合量比,換手,成交量,委比等指标和K线形态作出买卖的决定,可作为自定义的指标编入动态实时行情栏中实时排序,也可和编入副图公式实时跟踪;或作为一个元素单独编一个公式用以判断买卖人气的强弱和庒家,资金进出动态(详见公式:买比移动平均线)
4.
以下公式需要自定义数据才可以使用
MBJR:=AMOUNT/IF(SELFDATA(‘BS’)=REF(SELFDATA(‘BS’),1),TICKCOUNT,SELFDATA(‘BS’));
JRQS3:=SLOPE(MBJR,3)/MA(MBJR,3)*100;
JRQS20:=SLOPE(MBJR,20);
均额:JRQS20>REF(JRQS20,1) AND JRQS3>=2,LINETHICK0,COLORWHITE;
ZJ:=(SELFDATA(‘大买量’)-SELFDATA(‘大卖量’))/CAPITAL*100;
资金:SUM(ZJ,20)>=0.5 AND SUM(ZJ,3)>3,LINETHICK0,COLORYELLOW;
A1:=MA(CLOSE,5);{MA5};
A2:=BARSLAST(A1 A3:=(A1/REF(A1,A2)-1)/0.005/A2;
JD5:=ATAN(A3)/3.142*180;
B1:=MA(CLOSE,3);{MA3};
B2:=BARSLAST(B1 B3:=(B1/REF(B1,B2)-1)/0.005/B2;
JD3:=ATAN(B3)/3.142*180;
C1:=MA(CLOSE,2);{MA2};
C2:=BARSLAST(C1 C3:=(C1/REF(C1,C2)-1)/0.005/C2;
JD2:=ATAN(C3)/3.142*180;
角度:(JD5+JD3+JD2)/3>=70,LINETHICK0,ColorFF00FF;
DPZD:=INDEXC/REF(INDEXC,1)*100-100;
ZD:=C/REF(C,1)*100-100;
DPXS:=IF(ABS(DPZD)<2,0.9,1);
强度:SUM((ZD-DPZD)*DPXS,3)>=7,LINETHICK0,COLORGREEN;
量能:EMA(V,5)/REF(EMA(V,13),1)>=1.2 AND EMA(V,5)>EMA(V,34),LINETHICK0,COLORRED;
ASR10:=EMA(WINNER(C*1.1)-WINNER(C*0.9),3)*10;
ASR30:=EMA(WINNER(C)-WINNER(C*0.7),3)*10;
庄搜:ASR30-ASR10>0,LINETHICK0,ColorFFFF00;
趋势:C>EMA(C,5) AND EMA(C,5)>EMA(C,34),LINETHICK0,ColorFF8080;
综合:IF(DYNAINFO(8)>0,均额*1.1+资金*1.1+角度*1.15+强度+量能*1.1+庄搜+趋势,0),LINETHICK0,COLORWHITE;
昨:REF(综合,1),LINETHICK0;
前:REF(综合,2),LINETHICK0;
POLYLINE(C>0,8),COLORWHITE;POLYLINE(C>0,0.5),COLORWHITE;
STICKLINE(均额,7,7.5,8,0),COLORWHITE;
STICKLINE(资金,6,6.5,8,0),COLORYELLOW;
STICKLINE(角度,5,5.5,8,0),ColorFF00FF;
STICKLINE(强度,4,4.5,8,0),COLORGREEN;
STICKLINE(量能,3,3.5,8,0),COLORRED;
STICKLINE(庄搜,2,2.5,8,0),ColorFFFF00;
STICKLINE(趋势,1,1.5,8,0),ColorFF8080;
5。
{指标名:涨5V}
{说明:排序5分钟周期使用}
X00:=C;
MX000:=(0.3609454219*X00-0.03309329629*REF(X00,1)-0.04241822779*REF(X00,2)-0.026737249*REF(X00,3)-0.007010041271*REF(X00,4)-0.002652859952*REF(X00,5)-0.0008415042966*REF(X00,6)-0.0002891931964*REF(X00,7)-0.0000956265934*REF(X00,8)-0.0000321286052*REF(X00,9)-0.0000106773454*REF(X00,10)-0.0000035457562*REF(X00,11)-0.0000011670713*REF(X00,12) )/ (1-0.7522406533 );
涨跌幅重心:=(MX000-X00)/X00*100;
{波段趋势}
VAR21:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
VAR22:=SMA(VAR21,3,1);VAR23:=SMA(VAR22,3,1);
VAR24:=3*VAR22-2*VAR23;VAR25:=LLV(LOW,5);VAR26:=HHV(HIGH,5);
VAR27:=EMA((CLOSE-VAR25)/(VAR26-VAR25)*100,4)*2;
VAR28:=EMA(0.667*REF(VAR27,1)+0.333*VAR27,2); VAR29:=3*VAR27-2*VAR28;
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARB:=POW(MA(LOW,5),2)+MA(LOW,5);
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10;
VARE:=SMA(VARD,3,1)*1.5-100; VARF:=SMA(VARE,3,1);
VAR30:=3*VARE-2*VARF;VAR31:=(HIGH+LOW+CLOSE*2)/4;
VAR32:=EMA(VAR31,13);
VAR33:=STD(VAR31,13);
VAR34:=(VAR31-VAR32)*100/ VAR33;
VAR35:=EMA(VAR34,5);
VAR37:=EMA(VAR35,13)+200-100;
VAR38:=EMA(VAR37,10);
VAR39:=3*VAR37-2*VAR38;
VAR1A:=VAR22+VAR27+VARE+VAR37;
VAR1B:=VAR23+VAR28+VARF+VAR38;
VAR1C:=VAR24+VAR29+VAR30+VAR39;
VAR1D:=(HIGH+LOW+CLOSE)/3;
VAR40:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34));
VAR42:=(HIGH+LOW+CLOSE+VAR1D)/4;
VAR43:=EMA(VAR42,24);
VAR44:=STD(VAR42,24);
VAR45:=(VAR42-VAR43)/ VAR44*100;
VAR46:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24));
VAR47:=EMA(VAR45,5);
VAR2A:=((VAR47+VAR46+VAR40)/3+165)/4;
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15;
VAR2E:=(VAR2A+VAR2C)/2/1.1;
VAR48:=EMA(VAR2E,3);
VAR49:=EMA(VAR48,5);
VAR51:=SMA(VAR48,2,1);
涨5V:=IF((VAR48>VAR51 OR VAR48=VAR51) ,涨跌幅重心,-99);
涨5V排序:PERCENTBAR((涨5V / 1),(ref(涨5V,1) / 1.2)),coloree00ee;
6。发一个比DDX更好排序给大家,希望老师多多指教。我先发一个初的排序,之后再发我认为优化的原码给大家。它可以用于股票池的后池,用集合竞价的时间进行排序,如果有心者用好了能有很好的效果。先上一个图。然后发公式原码。
以下是排序原码,可用日线,也可以用分笔。
{仿DDX排序}
{www.55188.com}
a1:=IF(((YEAR >= 2099) AND (MONTH > 11)),0,8);
a2:=IF((a1 > 0),8,0);
a3:=0;
a4:=0;
a5:=IF(((TIME > 93033) AND (TIME < 220059)),88,0);
a6:=DYNAINFO(17);
a7:=(8);
a8:=DYNAINFO(14) * 100;
a9:="DDY.DDY#DAY";
主力排序:IF(a4,0,((((a9 * a6) * 10) + ((a8 * a6) * 10)) + ((a6 * 38) * 1.58)));
7.大智慧猛虎控盘排序指标公式
A12:=ma(close,5);
牛线:WINNER(A12)*100,LINETHICK2,colorred;
熊线:(WINNER(A12*1.1)-WINNER(A12*0.9))*100,LINETHICK2,colorgreen;
多头锁仓:IF(牛线>熊线,牛线-熊线,0),LINETHICK0,colorwhite;
DRAWTEXTREL(0,0,' 巨量之后的快速缩量至其十分之一时,往往是极佳买点。'),color808080;
8.股价在整理一段时间后就会出现均线黏合,也就是短期均线群的宽度变窄,用这个指标进行排序,数字小的就是均线黏合的票。这个指标能帮你找到形态整理完毕的票,但形态末端向上还是向下突破,还需要你的大脑判断。如何判断股价所在的位置的高低,看似简单,其实涵盖的内容非常多,如果能真正领会则会受益非浅,由此希望可以对未来的操作起到一定意义上的帮助。
排序指标源代码:
A1:=MA(CLOSE,5);
A2:=MA(CLOSE,10);
A3:=MA(CLOSE,20);
A4:=MA(CLOSE,30);
XI:=MIN(MIN( A1,A2 ), MIN( A3,A4 ));
DA:=MAX(MAX( A1,A2 ), MAX( A3,A4 ));
线宽距离:100*(DA-XI)/XI;
11.
z1:=sum("马留引用.小单净额#tick",1);
z2:=sum("马留引用.中单净额#tick",1);
z3:=sum("马留引用.大单净额#tick",1);
z4:=sum("马留引用.特大净额#tick",1);
z5:=z1+z2+z3+z4;
if(z1<0 and z2<0 and z3<0 and z4<0 and between(DYNAINFO(14)*100,-1,5),z5,0);
12.
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=(EMA((WINNERB(C)*70),3)/(EMA((WINNERB(C)*70),3)+EMA(((WINNERB((C*1.1))-WINNERB
((C*0.9)))*80),3)))*100;
pmzj:((DYNAINFO(18)-DYNAINFO(19)-(2*(V2-V3)*5.5)-INTPART(V4))/(DYNAINFO(18)+DYNAINFO(19)
+(2*(V2-V3)*5.5)+INTPART(V4))+1)*16/10;
13.
DYNAINFO(14)*DYNAINFO(17)*1000;
14.
a0:=(DYNAINFO(10)/C)/3;
a1:=SUM((IF(((a0>40) AND (C>(REF(C,1)))),a0,0)),0);{机构买盘};
a2:=SUM((IF(((a0>40) AND (C<(REF(C,1)))),a0,0)),0);{机构卖盘};
a3:=SUM((IF(((a0<40) AND (C>(REF(C,1)))),a0,0)),0);{散户买盘};
a4:=SUM((IF(((a0<40) AND (C<(REF(C,1)))),a0,0)),0);{散户卖盘};
ZRC:(a1>a2 AND a1>a4) OR (a3>a4 AND a3>a2);
15.
主动卖:"马留引用.总卖出#tick">0;
{成交额}
16.
rc:(DYNAINFO(16)/(capital/1000000))*(DYNAINFO(8)*1000/dynainfo(38));
17.
VAR0:=SUM(DYNAINFO(25),1) + SUM(DYNAINFO(26),1) + SUM(DYNAINFO(27),1) + SUM(DYNAINFO
(41),1) + SUM(DYNAINFO(48),1);{总买量五和}
VAR00:=SUM(DYNAINFO(31),1) + SUM(DYNAINFO(32),1) + SUM(DYNAINFO(33),1) + SUM(DYNAINFO
(43),1) + SUM(DYNAINFO(50),1);{总卖量五和}
ARC4:IF(between(DYNAINFO(14)*100,-1,3),SUM((VAR0-VAR00)/5,1)/CAPITAL*1000000,0);