1.【通达信】量化擒龙先手!自用指标指标主附/选股指标源码分享
2.请按照下面指标源码做个选股公式,源码谢谢!代码
3.私募抄底指标公式 私募抄底指标源码
【通达信】量化擒龙先手!自用指标指标主附/选股指标源码分享
通达信量化擒龙先手!源码主附图/选股指标源码分享
一. 指标简介:
二. 主图指标源码
MA5:MA(C,代码fastjson和gson源码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 突破;
四. 选股指标源码
指标源码内容与前文一致,仅包含主图和副图指标源码,自用指标指标用于量化分析股票。源码指标包括移动平均线、代码MACD、自用指标指标股价波动判断、源码换手率分析等,代码通过设置条件筛选出具有投资潜力的自用指标指标股票。使用时根据具体市场情况和策略进行调整。源码注意:指标的代码耳朵音乐源码有效性需结合市场情况综合判断,不应单一依赖。
请按照下面指标源码做个选股公式,谢谢!
VOLUME:=VOL;
MA1:=MA(VOLUME,5);
启动:= (MA1+MA1)>VOLUME;
买入:=DYNAINFO(4)>0 AND HHV(HIGH,)/LLV(LOW,)<1. AND CLOSE>=HHV(HIGH,)
AND REF(CLOSE,1)<(LLV(LOW,)+(HHV(HIGH,)-LLV(LOW,))*0.) AND C>O;
选股:(C>REF(HHV(H,3),1) AND (C-REF(C,1))/REF(C,1)>0.) AND 启动 AND 买入;
私募抄底指标公式 私募抄底指标源码
1、VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*-;
2、VAR2:=SMA(VAR1,9,1)+;
3、VAR3:=(CLOSE-LLV(LOW,freewaf源码安装9))/(HHV(HIGH,9)-LLV(LOW,9))*;
4、VAR4:=SMA(VAR3,3,1);
5、VAR5:=SMA(VAR4,3,1)+;
6、强弱分界:,COLORFFFFCC;
7、底部:0,COLORFFFF;
8、安全:,COLORFFAA,LINETHICK1;
9、预警:,COLORFFAA,LINETHICK1;
、顶部:,javabbs论坛源码COLORFFFF;
、V1:=LLV(LOW,);
、V2:=HHV(H,);
、价位线:=EMA((C-V1)/(V2-V1)*4,4);
、DRAWTEXT(CROSS(价位线,0.3),+4,'●买'),COLORRED;
、DRAWTEXT(CROSS(3.5,价位线),-4,'●卖'),COLORGREEN;
、VAR2Q:=REF(LOW,1);
、VAR3Q:=SMA(ABS(LOW-VAR2Q),netstat -s 源码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;
、VAR9Q:=IF(VAR8Q>,,VAR8Q);
、吸筹:STICKLINE(VAR9Q>-,0,VAR9Q,8,1),COLORYELLOW;
、AA3:=(HHV(HIGH,)-CLOSE)/(HHV(HIGH,)-LLV(LOW,))*-;
、AA4:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
、AA5:=SMA(AA4,,8);
、走势:=CEILING(SMA(AA5,,8));
、AA6:=SMA(AA3,,8);
、卖临界:STICKLINE(走势-AA6>,,,,1),COLORRED,LINETHICK2;
、主力线:=3*SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*,5,1),3,1);
、超短线:(((主力线-LLV(主力线,))/(HHV(主力线,)-LLV(主力线,)))*(4))*(),LINETHICK2,COLORRED;
、VAR:=3;
、VAR:=(3)*(SMA(((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,)))*(),5,1))-(2)*(SMA(SMA(((CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,)))*(),5,1),3,1));
、RSV1:=(CLOsE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
、RSV2:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
、短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,),COLORFF;
、中线:SMA(RSV2,5,1)+2*STD(CLOSE,),COLORRED;
、RSV3:=(CLOSE-LLV(LOW,))/(HHV(HIGH,)-LLV(LOW,))*;
、长线:SMA(RSV3,5,1),COLORYELLOW;
、看底:STICKLINE(中线<,中线,,6,0),COLORFFF0;
、黄金坑:STICKLINE(短线< AND 中线< AND 长线<,MAX(长线,MAX(短线,中线)),,8,0),COLORCCFF;
、看顶:STICKLINE(中线>,,中线,6,0),COLORFFF;
、DRAWICON(CROSS(长线,),中线,1);
、DRAWTEXT(LONGCROSS(中线,,),,'追涨');
、DRAWTEXT(CROSS(短线,长线) AND 长线REF(长线,1)OR CROSS(长线,5),,'千载难逢');
、粘合星:DRAWTEXT(ABS(中线-长线)REF(中线,1),中线,'*');
、中线2:=-*(HHV(HIGH,)-CLOSE)/(HHV(HIGH,)-LLV(LOW,));
、底:DRAWTEXT(CROSS(中线2,-) AND (长线REF(长线,1)OR 短线< AND 中线< AND 长线<),长线,'底'),COLORFFFF;
、IF(COUNT(CROSS(中线2,-),)=3,,5);
、IF(COUNT(CROSS(-5,中线2),)=3 OR COUNT(CROSS(-,中线2),6)=3,,);