1.最全集合竞价选股公式:集合竞价选股公式有哪些
2.AI顶底公式?
最全集合竞价选股公式:集合竞价选股公式有哪些
集合竞价选股公式有很多,源码下面例举1个成功率最高的源码集合竞价选股公式:
ST:=STRFIND(stkname,'ST',源码1)>0;
S:=STRFIND(stkname,源码尖峰对决源码'S',源码1)>0;
停牌:=(DYNAINFO(4)=0);
附加:=CLOSE/ref(CLOSE,源码5)
一字板:=C/REF(C,源码1)>= AND O=C;
xg0:=not(ST) and not(停牌) and not(S) AND NOT(一字板);
量比:=V/REF(MA(V,源码5),源码1);
流通盘:=FINANCE2()/
D1:=ISBUYORDER AND DYNAINFO(9)C/>=;{ 分笔买入单>万}
D2:=(DYNAINFO()-DYNAINFO())/CAPITAL>=;{ 内外盘净};
T1:=DYNAINFO()/DYNAINFO(4)>= AND DYNAINFO()/DYNAINFO(4)
T2:=H/DYNAINFO(3)=DYNAINFO() AND C
T3:=HOUR=9 AND MINUTE>;{ 时间控制}
预警:=T1 AND T2 AND T3 AND D1 AND D2;
换手率:=COUNT(VOL/CAPITAL
现价:=DYNAINFO(7);
均价:=DYNAINFO()+(DYNAINFO());
条件:=IF(现价>均价,源码1,源码在线笔记 源码0);
集合竞价:=量比 AND 流通盘 AND 预警 AND 条件;
选股:XG0 AND 集合竞价;CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),源码1));
WARNING('>可以将一天分成四个阶段
早盘集合竞价分两个时间段,源码第一阶段竞价时间是源码9:-9:,在这5分钟的源码竞价时间“可以挂单,也可以撤单”买卖单随意。math库源码
早盘第二阶段时间为9:-9:,在这5分钟时间“可以挂单,不可以撤单”所以在这个阶段需要注意,挂单后不能撤单,挂单之前要谨慎。wireshark源码分析
早盘开盘集合竞价完毕之后,还有五分钟,也就是9:-9:,个时间段是非开放式集合竞价时间,可以挂买卖交易单,oschina ios源码也可以撤单,但单是进行排队状态,要等9:分开盘时间申报交易系统,统一处理交易单。
尾盘集合竞价时间是:-:点整,尾盘竞价时间是3分钟,在这3分钟时间交易规则是“可以挂单,但不可以撤单”可输买进、卖出单子。
一般来讲竞价阶段股票交易申报价格不得高于收盘价的%,不能低于前收盘价的%;基金、债券交易申报价格最高不高于收盘价的%,不低于前收盘价的%。
AI顶底公式?
已通达信为例,AI分时顶底公式如下:趋势:SMA(((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*),3,1) ,COLORGREEN;
STICKLINE(趋势>,趋势,,4,0),COLORB;
STICKLINE(>趋势,趋势,,4,0),COLOR;
IF(趋势>, 趋势,DRAWNULL), COLORRED;
RSV:=(CLOSE-LLV(CLOSE,9))/(HHV(CLOSE,9)-LLV(CLOSE,9))*;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,))/(0.*AVEDEV(TYP,));
DIFF:=EMA(CLOSE,2)-EMA(CLOSE,);
DEA:=EMA(DIFF,6);
MACD:=2*(DIFF-DEA);
转点:=IF(K>D AND CCI>0 AND DIFF>DEA AND MACD>0,1,0);
STICKLINE(转点=1,,,6,0),COLORYELLOW;
STICKLINE(转点=0,,,6,0),COLORCYAN;
顶部:,COLORYELLOW;
底部:,COLORCYAN;
判断:SMA(趋势,3,1),COLORFFFF, LINETHICK2;
IF( 趋势>判断,判断,DRAWNULL), COLORYELLOW, LINETHICK2;
IF( 趋势<判断,判断,DRAWNULL) ,COLORFFF,LINETHICK2;
DRAWICON(CROSS(趋势,判断),判断,1);
DRAWICON(CROSS(趋势,顶部),顶部,2);
LC:= REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*;
VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*-;
VAR2:=SMA(VAR1,9,1)+;
VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*;
VAR4:=SMA(VAR3,3,1);
VAR5:=SMA(VAR4,3,1)+;
VAR6:=VAR5-VAR2;
短线1: IF(VAR6>,VAR6-,0),COLORA6B8C1;
VAR2Q:=REF(LOW,1);
VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*;
VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*,VAR3Q/),3);
VAR5Q:=LLV(LOW,);
VAR6Q:=HHV(VAR4Q,);
VAR7Q:=IF(MA(CLOSE,),1,0);
VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/*VAR7Q;
VR2:=REF(LOW,1);
VR3:=SMA(ABS(LOW-VR2),3,1)/SMA(MAX(LOW-VR2,0),3,1)*;
VR4:=EMA(IF(CLOSE*1.3,VR3*,VR3/),3);
VR5:=LLV(LOW,);
VR6:=HHV(VR4,);
VR7:=IF(MA(CLOSE,),1,0);
VR8:=EMA(IF(LOW<=VR5,(VR4+VR6*2)/2,0),3)/*VR7;
VR9:=IF(VR8>,,VR8);
主力进场:STICKLINE(VR9>-,0,VR9,3,0), , COLORFFFF;
洗盘:IF(VR9<REF(VR9,1),VR9,0),COLORGREEN,NODRAW;
STICKLINE(VR9<REF(VR9,1),0,VR9,3,0),COLORGREEN;
短线获利:STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,,,2,0),COLORYELLOW;
VARK1:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
逃顶:=CROSS(,RSI);
STICKLINE( 逃顶,逃顶,,5,0),COLORFF;
STICKLINE( 逃顶,逃顶,,3,0),COLORFF;
STICKLINE( 逃顶,逃顶,,2,0),COLORFFAA;
STICKLINE( 逃顶,逃顶,,1,0),COLORFFCC;
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
风险区:,COLORFFFF;
安全区:,COLORYELLOW,POINTDOT;
天线:,COLORFFFF;
强弱线:,COLORGREEN,POINTDOT;
DRAWICON(BBUY,(LOW *1),1);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*;
DRAWICON(CROSS(,VARR1),HIGH,);
DRAWTEXT(CROSS(,VARR1),,'逃'),COLORYELLOW;
MAV:=(2*C+H+L)/4;
VAR9:=LLV(LOW,);
VAR7:=HHV(HIGH,);
SK:= EMA((MAV-VAR9)/(VAR7-VAR9)*,);
SD: EMA(0.*REF(SK,1)+0.*SK,2);
高抛:, POINTDOT;
低吸:, POINTDOT;
强弱分界:, POINTDOT;
DRAWTEXT(CROSS(SD,),低吸,'●主力'),COLORF0FF,LINETHICK3;