通达信【龙舟抓龙】 手机电脑通用副选指标源码
指标公式是源于对股票过去数据、走势的分析或者是未来预测及个人操盘经验等因素来总结归纳出一种成功概率较高的选股模型,通过这些因素用特定的函数来定义成各种炒股软件的源代码,从而简单明了的展示出信号。但任何指标都不是万能的,只是辅助你操作的一个工具,使用的效果取决于自身的能力。
指标源码:
{------------副图指标源码开始----------}
X_1:=NAMELIKE('ST')=0 AND NAMELIKE('退')=0 AND NAMELIKE('688')=0 AND NAMELIKE('300')=0;X_2:=DYNAINFO(4)>0;
X_3:=IF(CODELIKE(5) OR CODELIKE(6),0,1);
X_4:=IF(CODELIKE(7),0,1);
X_5:=X_1 AND X_2 AND X_3 AND X_4;
X_6:=CLOSE-REF(CLOSE,1);
X_7:=STD(CLOSE,8);
X_8:=STD(CLOSE,21);
X_9:=STD(CLOSE,55);
X_10:=STD(CLOSE,144);
X_11:=X_6/X_7;
X_12:=X_6/X_8;
X_13:=X_6/X_9;
X_14:=X_6/X_10;
X_15:=X_11>1*0.997;
X_16:=X_12>1*0.997;
X_17:=X_13>1*0.997;
X_18:=X_14>1*0.997;
X_19:=X_15 AND X_16 AND X_17 AND X_18;
X_20:=MA(CLOSE,20)/(OPEN-MA(CLOSE,20))>0;
X_21:=100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));X_22:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));X_23:=X_21>20 AND X_22>20 AND CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH AND X_20=0;X_24:=COUNT(REF(X_23,1),5)>0 AND X_5;
X_25:=HHV(CLOSE,53)*0.93;
X_26:=X_25>REF(X_25,1)*0.997;
X_27:=X_24 AND X_26 AND CLOSE/REF(CLOSE,1)>1.01;
X_28:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.011) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;X_29:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.0325) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;X_30:=X_28 OR X_29;
龙舟抓龙:X_27 AND X_30 AND CLOSE/REF(CLOSE,1)>1.015 AND X_19,COLORRED;
{-------------源码结束------------}
{------------选股指标源码开始------------}
X_1:=NAMELIKE('ST')=0 AND NAMELIKE('退')=0 AND NAMELIKE('688')=0 AND NAMELIKE('300')=0;X_2:=DYNAINFO(4)>0;
X_3:=IF(CODELIKE(5) OR CODELIKE(6),0,1);
X_4:=IF(CODELIKE(7),0,1);
X_5:=X_1 AND X_2 AND X_3 AND X_4;
X_6:=CLOSE-REF(CLOSE,1);
X_7:=STD(CLOSE,8);
X_8:=STD(CLOSE,21);
X_9:=STD(CLOSE,55);
X_10:=STD(CLOSE,144);
X_11:=X_6/X_7;
X_12:=X_6/X_8;
X_13:=X_6/X_9;
X_14:=X_6/X_10;
X_15:=X_11>1*0.997;
X_16:=X_12>1*0.997;
X_17:=X_13>1*0.997;
X_18:=X_14>1*0.997;
X_19:=X_15 AND X_16 AND X_17 AND X_18;
X_20:=MA(CLOSE,20)/(OPEN-MA(CLOSE,20))>0;
X_21:=100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));X_22:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));X_23:=X_21>20 AND X_22>20 AND CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH AND X_20=0;X_24:=COUNT(REF(X_23,1),5)>0 AND X_5;
X_25:=HHV(CLOSE,53)*0.93;
X_26:=X_25>REF(X_25,1)*0.997;
X_27:=X_24 AND X_26 AND CLOSE/REF(CLOSE,1)>1.01;
X_28:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.011) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;
X_29:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.0325) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;
X_30:=X_28 OR X_29;
龙舟抓龙:X_27 AND X_30 AND CLOSE/REF(CLOSE,1)>1.015 AND X_19;
{-------------源码结束------------}
指标源码:
{------------副图指标源码开始----------}
X_1:=NAMELIKE('ST')=0 AND NAMELIKE('退')=0 AND NAMELIKE('688')=0 AND NAMELIKE('300')=0;X_2:=DYNAINFO(4)>0;
X_3:=IF(CODELIKE(5) OR CODELIKE(6),0,1);
X_4:=IF(CODELIKE(7),0,1);
X_5:=X_1 AND X_2 AND X_3 AND X_4;
X_6:=CLOSE-REF(CLOSE,1);
X_7:=STD(CLOSE,8);
X_8:=STD(CLOSE,21);
X_9:=STD(CLOSE,55);
X_10:=STD(CLOSE,144);
X_11:=X_6/X_7;
X_12:=X_6/X_8;
X_13:=X_6/X_9;
X_14:=X_6/X_10;
X_15:=X_11>1*0.997;
X_16:=X_12>1*0.997;
X_17:=X_13>1*0.997;
X_18:=X_14>1*0.997;
X_19:=X_15 AND X_16 AND X_17 AND X_18;
X_20:=MA(CLOSE,20)/(OPEN-MA(CLOSE,20))>0;
X_21:=100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));X_22:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));X_23:=X_21>20 AND X_22>20 AND CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH AND X_20=0;X_24:=COUNT(REF(X_23,1),5)>0 AND X_5;
X_25:=HHV(CLOSE,53)*0.93;
X_26:=X_25>REF(X_25,1)*0.997;
X_27:=X_24 AND X_26 AND CLOSE/REF(CLOSE,1)>1.01;
X_28:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.011) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;X_29:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.0325) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;X_30:=X_28 OR X_29;
龙舟抓龙:X_27 AND X_30 AND CLOSE/REF(CLOSE,1)>1.015 AND X_19,COLORRED;
{-------------源码结束------------}
{------------选股指标源码开始------------}
X_1:=NAMELIKE('ST')=0 AND NAMELIKE('退')=0 AND NAMELIKE('688')=0 AND NAMELIKE('300')=0;X_2:=DYNAINFO(4)>0;
X_3:=IF(CODELIKE(5) OR CODELIKE(6),0,1);
X_4:=IF(CODELIKE(7),0,1);
X_5:=X_1 AND X_2 AND X_3 AND X_4;
X_6:=CLOSE-REF(CLOSE,1);
X_7:=STD(CLOSE,8);
X_8:=STD(CLOSE,21);
X_9:=STD(CLOSE,55);
X_10:=STD(CLOSE,144);
X_11:=X_6/X_7;
X_12:=X_6/X_8;
X_13:=X_6/X_9;
X_14:=X_6/X_10;
X_15:=X_11>1*0.997;
X_16:=X_12>1*0.997;
X_17:=X_13>1*0.997;
X_18:=X_14>1*0.997;
X_19:=X_15 AND X_16 AND X_17 AND X_18;
X_20:=MA(CLOSE,20)/(OPEN-MA(CLOSE,20))>0;
X_21:=100*(CLOSE-LLV(LOW,5))/(HHV(CLOSE,5)-LLV(LOW,5));X_22:=100*(CLOSE-LLV(LOW,30))/(HHV(CLOSE,30)-LLV(LOW,30));X_23:=X_21>20 AND X_22>20 AND CLOSE/REF(CLOSE,1)>1.09 AND CLOSE=HIGH AND X_20=0;X_24:=COUNT(REF(X_23,1),5)>0 AND X_5;
X_25:=HHV(CLOSE,53)*0.93;
X_26:=X_25>REF(X_25,1)*0.997;
X_27:=X_24 AND X_26 AND CLOSE/REF(CLOSE,1)>1.01;
X_28:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.011) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;
X_29:=CROSS(EMA(CLOSE,2),REF(EMA(CLOSE,2),1)*1.0325) AND REF(CLOSE,1)/REF(CLOSE,2)< 1.029;
X_30:=X_28 OR X_29;
龙舟抓龙:X_27 AND X_30 AND CLOSE/REF(CLOSE,1)>1.015 AND X_19;
{-------------源码结束------------}