首板定妖股的指标公式源码(神奇妖股龙头指标公式源码)
本文目录一览:
首板定妖股的指标公式
REFLINE:0;
DIFF:=EMA(CLOSE,3)-EMA(CLOSE,8);
DEA:=EMA(DIFF,5);
macd := 2*(DIFF-DEA);
X1:=EMA(DIFF,5)*10;
X2:=((EMA(CLOSE,3)-EMA(CLOSE,8)))*10;
X3:IF(X20,X2,0),POINTDOT,COLORRED;
X4:IF(X2stICKLINE(X20,0,X2,2,1),COLORRED;
STICKLINE(X2资金动能A:X2,COLORYELLOW,LINETHICK1;
资金动能B:X1,COLORFFFF00,LINETHICK1;
DRAWICON((crOSS(资金动能A,资金动能B) AND 资金动能BDRAWICON((CROSS(资金动能B,资金动能A) AND 资金动能A0.25),资金动能A,2);
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*300,COLORFFCCCC,POINTDOT;
STICKLINE(控盘无庄控盘:控盘STICKLINE(控盘REF(控盘,1) AND 控盘0,控盘,0,1,0),COLORRED;
有庄控盘: 控盘REF(控盘,1) AND 控盘0,COLORRED;
VAR2:=100*WINNER(CLOSE*0.95);
STICKLINE(控盘0,控盘,0,1,0),COLOR00FF00;
主力出货: 控盘0,COLOR00FF00;
STICKLINE(VAR250 AND COST(85)0,控盘,0,1,0),COLORFF00FF;
高度控盘: VAR250 AND COST(85)0,COLORFF00FF;
A10:=CROSS(控盘,0);
开始控盘:IF(A10,2,0),COLORYELLOW,LINETHICK2;
{N:5,30,8;ZF:1,10,5;M:1.100.3;}
MA5 := MA(CLOSE,5);
MA10 := MA(CLOSE,10);
MA60 := MA(CLOSE,60);
A1:= PDAY1PDAY2 AND PDAY2PDAY3 AND PDAY3PDAY4 AND PDAY4PDAY5 AND PDAY5A2:= COUNT(CROSS(MA10,MA5),PDAY2)=1;
唐鸭头:A1 AND A2,COLORFFFF00;
NA1:=MIN(MA(C,5),MA(C,10))MA(C,60) AND CROSS(MA(C,5),MA(C,10));
NA2:=MIN(MA(C,5),MA(C,10))/MA(C,60)NA3:=COUNT(V6;
青龙取水:NA1 AND NA2 AND NA3,COLOR00FF00,LINETHICK2;
VAR32:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR33:=SMA(SMA(VAR32,3,1),3,1)/28.57;
VAR34:=EMA(VAR33,5);
VAR35:=3*VAR33-2*VAR34;
绝买:CROSS(VAR35,VAR33) AND VAR33O,COLORRED;
SS1:=(LOW+HIGH+CLOSE*2)/4;
SS2:= MA(SS1,4);
SS3:=HHV(SS2,10);
SS4:=MA(SS3,3);
SS5:=1.25*SS4-0.25*SS3;
XKKJ:=IF(SS5SS3,SS3,SS5);
FF1:=LLV(SS2,10);
FF2:=MA(FF1,3);
FF3:=1.25*FF2-0.25*FF1;
DKKJ:=IF(FF3MA13:=MA(C,13);
ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);
ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);
的卢:=ZDHM OR ZHM,COLORGREEN;
转盘:IF(的卢,-3,0),COLORGREEN,LINETHICK2;
DRAWTEXT(的卢,-3,'转盘'),COLORGREEN;
MA111:=MA(CLOSE,20);
MA112:=MA(CLOSE,40);
MA113:=MA(CLOSE,60);
A11:=OPENA12:=CMAX(MA111,MAX(MA112,MA113)),COLORRED;
A13:=V/MA(V,30)1.2,COLORRED;
A14:=C/REF(C,1)1.049,COLORRED;
芙蓉:=A11 AND A12 AND A13 AND A14,COLORWHITE;
芙蓉盘:IF(芙蓉,-2,0),COLORLIMAGENTA,LINETHICK2;
DRAWTEXT(芙蓉,-2,'芙蓉'),COLORLIMAGENTA;
M:=REF(rsi,2)REF(RSI,3) AND REF(RSI,2)REF(RSI,1) AND RSIREF(RSI,1)
AND MA(RSI,3)REF(MA(RSI,3),1)+1 AND REF(MA(RSI,3),2)-REF(MA(RSI,3),1)-1
AND REF(RSI,1)-3
AND REF(RSI,1)DRAWICON(M,X4,3);
10倍大妖股的启动点选股源码
如下: {百底公式1} {AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8); BA:=EMA(AB,5); 中:IF(AB0 AND AB-BA0 AND AB-BA
求妖股选股公式
编写首板内一个月换手率小于100%,股价不跌破首板启动位的选股公式没有问题,但很多细节调节都需要说明,例如首板如何确定,是连续涨停的首板,还是这个月的多少个涨停的首板是否需要连续等等为题这些都需要说明清楚.只有细节明确才可能编写处准确的选股公式.
秒杀一切妖股指标公式源码是什么?
如下:
{百底公式1}
{AB:=EMA(((2*C+H+L)/4-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,8);
BA:=EMA(AB,5);
顶1:=REFDATE(REF(HHV(H,100),5),DATE);
底1:=REFDATE(REF(LLV(L,100),5),DATE);
中1:=((顶1)+(底1))/2;
顶:IF(AB0 AND AB-BA=0,顶1,顶1),COLOR00FF00;
中:IF(AB0 AND AB-BA=0,中1,中1),COLORWHITE;
底:IF(AB0 AND AB-BA=0,底1,底1),COLORYELLOW;
DRAWTEXT(ISLASTBAR,(顶),STRCAT('',CON2STR(顶,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(中),STRCAT('',CON2STR(中,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(底),STRCAT('',CON2STR(底,2))),COLORWHITE;
{百底公式2}
N:100 NODRAW ;
高:IF(CURRBARSCOUNT=N,CONST(HHV(H,N)),DRAWNULL),COLORGREEN ;
低:IF(CURRBARSCOUNT=N,CONST(LLV(L,N)),DRAWNULL),COLORYELLOW;
NOTEXT中:低+(高-低)/2 COLORWHITE;
{涨幅:(C-低)/低*100 NODRAW COLORFF00FF;}
涨幅:((C-低)/(高-低))*100 NODRAW COLORFF00FF;
涨天数:LLVBARS(L,100)COLORWHITE NODRAW;
{跌幅:((C-高)/高)*100 NODRAW COLORD9D919;};
跌幅:((C-高)/(高-低))*100 NODRAW COLORD9D919;
跌天数:HHVBARS(H,100)COLORWHITE NODRAW;
DRAWTEXT(ISLASTBAR,(高-(高-低)/50),STRCAT('',CON2STR(高-(高-低)/50,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(NOTEXT中),STRCAT('',CON2STR(NOTEXT中,2))),COLORWHITE;
DRAWTEXT(ISLASTBAR,(低),STRCAT('',CON2STR(低,2))),COLORWHITE;
MA5:MA(C,5),COLORYELLOW;
NOTEXT5:IF((C=MA5 OR MA5=REF(MA5,1)),MA5,DRAWNULL),COLORFFFF00;
振幅:((高-低)/低)*100 NODRAW COLORGREEN;
均周月:INBLOCK('均周')AND INBLOCK('均月') COLORWHITE NODRAW;
逃周月:INBLOCK('逃周')AND INBLOCK('逃月')NODRAW COLORYELLOW;
{VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(82,VAR7),H*1.01,'高抛'),COLORFFFFFF;
VAR1:=LLV(LOW,21);
VAR2:=HHV(HIGH,21);
AK1:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 100),5);
AK:=EMA((((CLOSE - VAR1) / (VAR2 - VAR1)) * 50),13);
AB:=CROSS(AK1,AK);
DRAWTEXT((AB = 1),(LOW * 0.99),'低吸'),COLORYELLOW;};
{百底距:=((C-低)/低)*100;
XG1:=BETWEEN(C,低,低*(1+0.03));
盘整天:BARSLASTCOUNT(XG1)NODRAW COLORYELLOW;}
{上涨值:=MA((H+REF(L,1))/2,3);
买进高点:=MA((H+REF(H,1))/2,3);
VAR1:=((O+H+L+2*C)/5)*2-L;
突破买入值:=MA(VAR1,3);{LSS轴点突破买入值}
{下跌值:=MA((REF(H,1)+L)/2,3);
卖出低点:=MA((REF(L,1)+L)/2,3);
VAR2:=((O+H+L+2*C)/5)*2-H;
突破卖出值:=MA(VAR2,3);
次日卖出点:=(上涨值+买进高点+突破买入值+H)/4;
次日买入点:=(下跌值+卖出低点+突破卖出值+L)/4;
均价:=(2*C+L+H/4);
买入价:IF(均价/REF(均价,1)1,次日买入点*1.01,次日买入点)COLORWHITE NODRAW;
次低价:IF(均价/REF(均价,1)1,次日买入点/1.0382,次日买入点)NODRAW COLORYELLOW;
卖出价:IF(均价/REF(均价,1)1,次日卖出点*1.0191,次日卖出点)NODRAW;
必卖价:IF(均价/REF(均价,1)1,次日卖出点*1.05,次日卖出点)COLORD9D919 NODRAW;}
{AC:=REF(C,1);
涨停K线:=IF((C-AC)*100/AC=(10-0.01*100/AC),1,0);
跌停K线:=IF((AC-C)*100/AC=(10-0.01*100/AC),1,0);
STICKLINE(涨停K线,OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(跌停K线,OPEN,CLOSE,2.5,0),COLORED9564;}
{涨停颜色粉色,完美区分20%10%5%,创业板20200823前10%照样变色}
BK:=IF(INBLOCK('科创板'),0.2,IF(INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1)));
XA_1:=IF(DATE=1200823,1,0);
STICKLINE((C=ZTPRICE(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1,O,C,3,0),COLORYELLOW;
STICKLINE((C=DTPRICE(REF(CLOSE,1),0.1) AND C=L) AND XA_1=1,O,C,3,0),COLORED9564;
STICKLINE((C=ZTPRICE(REF(C,1),BK) AND C=H),C,O,3,0),COLORYELLOW;
STICKLINE((C=DTPRICE(REF(C,1),BK) AND C=L),C,O,3,0),COLORED9564;
{STICKLINE((H=ZTPRICE(REF(C,1),BK) AND CH) OR (H=ZTPRICE(REF(CLOSE,1),0.1) AND CH AND XA_1=1),H,MAX(C,O),0.1,0),COLORYELLOW;{涨停后回落}
{STICKLINE((L=DTPRICE(REF(C,1),BK) AND CL) OR (L=DTPRICE(REF(CLOSE,1),0.1) AND CL AND XA_1=1),L,MIN(C,O),0.1,0),COLORED9564;{跌停后回升}
{Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLORWHITE;}
{DRAWTEXT_FIX(1,0.00,0.00,0,'主题投资:')COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.00,0,EXTERNSTR(0,1))COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.06,0,'主营业务:')COLORWHITE;
DRAWTEXT_FIX(1,0.06,0.06,0,EXTERNSTR(0,2))COLORWHITE;
DRAWTEXT_FIX(1,0.00,0.12,0,'公司亮点:')COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.12,0,EXTERNSTR(0,3))COLORYELLOW; }
{流通市值:(FINANCE(40)/100000000),NODRAW,COLORRED;}
{涨停统计}
{涨停:=CLOSE/REF(CLOSE,1)=1.095;
ZTCS:=COUNT(涨停,BARSSINCE(涨停)+1);}
{DRAWNUMBER(涨停,HIGH*1.04,ZTCS),COLORYELLOW;}
{GZT1:=STRCAT(' 共涨停: ',CON2STR(ZTCS,0));
GZT2:=STRCAT(GZT1,'次');
SSTS1:=STRCAT(' 上市: ',CON2STR(FINANCE(42),0));
SSTS2:=STRCAT(SSTS1,'天');
NTZZT1:=STRCAT(' 距今:',CON2STR(CONST(BARSLAST(涨停)),0));
NTZZT2:=STRCAT(NTZZT1,'天有涨停');
ZTTJ1:=STRCAT(SSTS2,GZT2);
ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);
ZTTJ:=STRCAT('涨停统计:',ZTTJ2);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0.18,0,ZTTJ),COLORWHITE;}。
底部首板擒龙捉妖指标公式
BIAS0:=(C-MA(C,3))/MA(C,3)*100;
HXL:=V/CAPITAL*100;
D1:=INDEXC;
D2:=MA(D1,5);
DR2:=D21.05*D1;
E1:=(C-HHV(C,13))/HHV(C,13)*10;
E2:=(C-REF(C,21))/REF(C,21)*10;
E3:=MA(C,5);
SJ1:=DR2;
SJ2:=E2SJ3:=BIAS0SJ5:=SJ1 AND SJ2 AND SJ3;
SJ6:=CROSS(0.55,SJ5);
JS1:=CROSS(SJ6,0.5);JS2:=BARSLAST(JS1=1);
JS3:=JS2JS4:=SJ6 OR JS3;
XG:BARSLASTCOUNT(REF(JS4,1))=1;
拓展资料:
1. 公式就是用数学符号表示各个量之间的一定关系(如定律或定理)的式子。具有普遍性,适合于同类关系的所有问题。 在数理逻辑中,公式是表达命题的形式语法对象,除了这个命题可能依赖于这个公式的自由变量的值之外。公式精确定义依赖于涉及到的特定的形式逻辑,但有如下一个非常典型的定义(特定于一阶逻辑): 公式是相对于特定语言而定义的;就是说,一组常量符号、函数符号和关系符号,这里的每个函数和关系符号都带有一个元数(arity)来指示它所接受的参数的数目。
底部首板该怎么做?
1、打开交易软件,总结出当天涨停的个股,结合底部首板战法的两个特征精选出符合条件的个股,两个条件(低位、首次涨停)必须同时具备;
2、选择出来之后,首先确定该股是否契合当前市场热点、消息或者政策。其次,看看公司的流通市值为多少,越低的话拉升相对来说越容易。最后,看看公司的基本面如何,业绩是否连续增长,估值是否合理,是否存在减持或者解禁等利空因素。将上述3点综合起来,作为对该股后期走势的一个辅助判断。
3、根据底部首板次日开盘情况,需要注意三点:
1)次日必须要高开,低开直接放弃;
2)开盘半小时,也就是10点左右的价格不能低于开盘价;
3)必须进行充分换手,这里需要大家注意的是,换手并没有严格的标准。 通常来说,小盘股换手率在20%以上算是高换手,大盘股则可以适当降低要求。
上述3个条件必须同时具备,否则不要轻易介入。