1.【通达信】量化擒龙先手!源码主附/选股指标源码分享
2.通达信龙头趋势启动选股指标公式源码
【通达信】量化擒龙先手!源码主附/选股指标源码分享
通达信量化擒龙先手!源码博运源码主附图/选股指标源码分享
一. 指标简介:
二. 主图指标源码
MA5:MA(C,源码5);
MA:MA(C,);
MA:MA(C,);
MA:MA(C,);
DIF1:=EMA(CLOSE,)-EMA(CLOSE,);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*;
AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);
AAA下:=IF(AAA1
买:=;
入:=AAA1-REF(AAA1,1);
正大:=CROSS(入,买);
DIF:=EMA(CLOSE,)-EMA(CLOSE,);
DEA:=EMA(DIF,);
AAA:=(DIF-DEA)*2*;
牛股:=CROSS(AAA-REF(AAA,1),);
正大牛股:=正大 AND 牛股;
HSL:=V/CAPITAL*>5;
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
Z3:=NOT(INBLOCK('近期解禁'));
Z4:=NOT(INBLOCK('拟减持'));
Z5:=NOT(INBLOCK('股东减持'));
Z6:=NOT(INBLOCK('基金减持'));
Z7:=NOT(INBLOCK('即将解禁'));
Z8:=IF(CODELIKE(''),0,1);
Z9:=IF(CODELIKE('8'),0,1);
去掉:=S1 AND S2 AND Z3 AND Z4 AND Z5 AND Z6 AND Z7 AND Z8 AND Z9;
AA:=MA(CLOSE,8);
BB:=((ATAN((AA - REF(AA,1))) * 3.) * );
均线:=MA(CLOSE,);
均线:=MA(CLOSE,);
均线:=MA(CLOSE,);
天马:=((((((OPEN <= 均线) AND ((均线 - REF(均线,1)) > 0))
AND (CLOSE > 均线)) AND (BB > 1)) AND ((CLOSE / OPEN) > 1.)));
{ 股价必涨}
AA:=IF(CLOSE/REF(CLOSE,1)>1. AND HIGH/CLOSE<1. AND IF(CLOSE>REF(CLOSE,1),,0)>0, , 0);
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)
SC:=LHHV(MA((LOW+HIGH+CLOSE)/3,5),) AND C>REF(C,1) AND C>O;
MR:=SC AND COUNT(SS,2);
BB:=MR AND NOT(REF(MR,1));
股价必涨:=AA OR BB OR 天马;
{ 抄底}
二十日换手率:=BETWEEN(SUM(HSCOL,),,);{ 意思是 日换手率介于---之间}
DFO:=(C-REF(C,1))/REF(C,1)*<-5;
AAO:=BARSLAST(DFO);
突破:=CROSS(C,REF(O,AAO));
抄底:=二十日换手率 AND 突破;
三.副图指标源码:
DIF1:=EMA(CLOSE,)-EMA(CLOSE,);
DEA1:=EMA(DIF1,9);
AAA1:=(DIF1-DEA1)*2*;
AAA上:=IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL);
AAA下:=IF(AAA1
买:=;
入:=AAA1-REF(AAA1,1);
正大:=CROSS(入,买);
DIF:=EMA(CLOSE,)-EMA(CLOSE,);
DEA:=EMA(DIF,);
AAA:=(DIF-DEA)*2*;
牛股:=CROSS(AAA-REF(AAA,1),);
正大牛股:=正大 AND 牛股;
HSL:=V/CAPITAL*>5;
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
Z3:=NOT(INBLOCK('近期解禁'));
Z4:=NOT(INBLOCK('拟减持'));
Z5:=NOT(INBLOCK('股东减持'));
Z6:=NOT(INBLOCK('基金减持'));
Z7:=NOT(INBLOCK('即将解禁'));
Z8:=IF(CODELIKE(''),0,1);
Z9:=IF(CODELIKE('8'),0,1);
去掉:=S1 AND S2 AND Z3 AND Z4 AND Z5 AND Z6 AND Z7 AND Z8 AND Z9;
AA:=MA(CLOSE,8);
BB:=((ATAN((AA - REF(AA,1))) * 3.) * );
均线:=MA(CLOSE,);
均线:=MA(CLOSE,);
均线:=MA(CLOSE,);
天马:=((((((OPEN <= 均线) AND ((均线 - REF(均线,1)) > 0))
AND (CLOSE > 均线)) AND (BB > 1)) AND ((CLOSE / OPEN) > 1.)));
{ 股价必涨}
AA:=IF(CLOSE/REF(CLOSE,1)>1. AND HIGH/CLOSE<1. AND IF(CLOSE>REF(CLOSE,1),,0)>0, , 0);
SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)
SC:=LHHV(MA((LOW+HIGH+CLOSE)/3,5),) AND C>REF(C,1) AND C>O;
MR:=SC AND COUNT(SS,2);
BB:=MR AND NOT(REF(MR,1));
股价必涨:=AA OR BB OR 天马;
{ 抄底}
二十日换手率:=BETWEEN(SUM(HSCOL,),,);{ 意思是 日换手率介于---之间}
DFO:=(C-REF(C,1))/REF(C,1)*<-5;
AAO:=BARSLAST(DFO);
突破:=CROSS(C,REF(O,AAO));
抄底:=二十日换手率 AND 突破;
四. 选股指标源码
指标源码内容与前文一致,仅包含主图和副图指标源码,源码c 写到指定文件源码用于量化分析股票。源码傲玩源码免费下载指标包括移动平均线、源码MACD、源码股价波动判断、源码换手率分析等,源码通过设置条件筛选出具有投资潜力的源码股票。使用时根据具体市场情况和策略进行调整。源码注意:指标的源码ds2430a 源码有效性需结合市场情况综合判断,不应单一依赖。源码
通达信龙头趋势启动选股指标公式源码
去ST:=NAMELIKE('ST')=0 AND NAMELIKE('*ST')=0 AND NAMELIKE('SST')=0 AND NAMELIKE('S*ST')=0;
去除停牌:=DYNAINFO(4)>0;
去除创业板:=IF(CODELIKE('') OR CODELIKE('') ,源码app锁机软件源码0,1) ;
去除科创板:=IF(CODELIKE(''),0,1);
XG:=去ST AND 去除停牌 AND 去除创业板 AND 去除科创板;
MA:=MA(CLOSE,);
MA:=MA(CLOSE,);
HJ_8:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*>5;
HJ_9:=FILTER(HJ_8,);
HJ_:=BArslAST(HJ_9);
HJ_:=REF(HIGH,HJ_+2);
HJ_:=REF(HIGH,HJ_+1);
HJ_:=REF(HIGH,HJ_);
HJ_:=MAX(HJ_,HJ_);
HJ_:=MAX(HJ_,HJ_);
HJ_:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*>3.5;
HJ_:=HJ_<;
HJ_:=(OPEN-HJ_)/HJ_*<;
HJ_:=(CLOSE-LLV(LOW,HJ_))/LLV(LOW,HJ_)*<;
HJ_:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*<;
HJ_:=vol/MA(VOL,5)<3.5;
HJ_:=(CLOSE-REF(CLOSE,))/REF(CLOSE,)*<;
HJ_:=HJ_ AND HJ_ AND HJ_ AND HJ_ AND HJ_ AND HJ_ AND HJ_;
boll:=MA(CLOSE,);
UPPER:=BOLL+2*STD(CLOSE,);
PER:=crOSS(C,UPPER);
TPZ1:=MA((L+H+C)/3,5);
TPZ2:=HHV(TPZ1,);
TPZ3:=CROSS(C,TPZ2*0.) OR CROSS(C,TPZ2*0.) ;
TPZ4:=PER AND HJ_ AND TPZ3;
TPZ5:=MA(CLOSE,)+MA(CLOSE,)*/*0.;
TPZ6:=(MA(MA(H,),)-MA(MA(L,),))*1+MA(MA(H,),);
TPZ7:=REF(CTPZ6 AND C>TPZ5 ;
TPZ8:=TPZ4 OR TPZ7;
TPZ9:TPZ8 AND XG AND C/REF(C,1)>1. AND REF(C,1)/REF(C,2)<1. AND REF(C>3.7,1) AND REF(C<,1) AND (CAPITAL/)/<= AND O/REF(C,1)<1. AND C>O,COLORRED;