涨停狙击通达信指标公式源码高成功率高成功率指标

合集下载

通达信强势狙击买进选股指标公式源码编程思路破译及成功率回测数据

通达信强势狙击买进选股指标公式源码编程思路破译及成功率回测数据

通达信强势狙击买进选股指标公式源码编程思路破译及成功率回测数据编程思路破译:HJ_1赋值:如果收盘价>1日前的收盘价,返回88,否则返回0HJ_2赋值:如果收盘价/1日前的收盘价>1.05ANDHIGH/收盘价<1.01ANDHJ_1>0,返回91,否则返回0HJ_3赋值:如果日期对应的转换天数<99999999,返回1,否则返回1HJ_4赋值:HJ_2>90的22.5日过滤=1HJ_5赋值:HJ_2>90的35日过滤=1HJ_6赋值:HJ_2>90的45日过滤=1HJ_7赋值:HJ_2>90的67.5日过滤=1HJ_8赋值:HJ_2>90的90日过滤=1HJ_9赋值:HJ_2>90的135日过滤=1HJ_10赋值:HJ_2>90的180日过滤=1HJ_11赋值:HJ_2>90的270日过滤=1HJ_12赋值:HJ_4+HJ_5+HJ_6+HJ_7+HJ_8+HJ_9+HJ_10+HJ_11>=3*HJ_3 HJ_13赋值:日期对应的转换天数HJ_14赋值:成交量(手)/1日前的成交量(手)的5日简单移动平均HJ_15赋值:HJ_14>135 AND HJ_14<137HJ_16赋值:开盘价>0 AND 10日内最高价的最高值/10日内最低价的最低值<1.25 AND 1日前的收盘价<15日内最低价的最低值+(15日内最高价的最高值-15日内最低价的最低值)*0.85 AND 收阳线ANDSE 收盘价>=10日内最高价的最高值HJ_17赋值:收盘价的5日指数移动平均HJ_18赋值:收盘价的10日指数移动平均HJ_19赋值:收盘价的14日指数移动平均HJ_20赋值:收盘价的18日指数移动平均HJ_21赋值:收盘价的40日指数移动平均HJ_22赋值:收盘价的60日指数移动平均HJ_23赋值:如果日期<2342.459961*500,返回1,否则返回1HJ_24赋值:HJ_21和HJ_22的较大值HJ_25赋值:收盘价>HJ_24 AND HJ_16 AND (收盘价>1日前的3日内最高价的最高值*HJ_3 AND (收盘价-1日前的收盘价)/1日前的收盘价>0.07)HJ_26赋值:HJ_14>4.18 AND HJ_14<4.192HJ_27赋值:HJ_13>9550 AND HJ_13<99999999HJ_28赋值:HJ_26*HJ_27HJ_29赋值:HJ_14>2.67 AND HJ_14<2.69HJ_30赋值:HJ_13>9200 AND HJ_13<99999999HJ_31赋值:HJ_29*HJ_30HJ_32赋值:成交量(手)HJ_33赋值:HJ_32的5日简单移动平均HJ_34赋值:HJ_33+HJ_33>HJ_32HJ_35赋值:开盘价>0 AND 10日内最高价的最高值/10日内最低价的最低值<1.25 AND 1日前的收盘价<15日内最低价的最低值+(15日内最高价的最高值-15日内最低价的最低值*HJ_3)*0.85 AND 收阳线ANDSE 收盘价>=10日内最高价的最高值*HJ_23HJ_36赋值:收盘价>1日前的3日内最高价的最高值AND (收盘价-1日前的收盘价)/1日前的收盘价>0.07 AND HJ_35 AND HJ_34 HJ_37赋值:开盘价*HJ_3>0 AND 10日内最高价的最高值/10日内最低价的最低值<1.25 AND 1日前的收盘价<(15日内最低价的最低值+(15日内最高价的最高值-15日内最低价的最低值)*0.85)*HJ_23 AND 收阳线ANDSE 收盘价>=10日内最高价的最高值HJ_38赋值:HJ_14>2.91 AND HJ_14<2.93HJ_39赋值:HJ_13>9400 AND HJ_13<99999999HJ_40赋值:HJ_38*HJ_39HJ_41赋值:(收盘价-1日前的收盘价*HJ_3)/1日前的收盘价*100>7HJ_42赋值:HJ_14>4.67 AND HJ_14<4.69HJ_43赋值:HJ_13>9300 AND HJ_13<99999999HJ_44赋值:HJ_42*HJ_43HJ_45赋值:HJ_14>2.07 AND HJ_14<2.08HJ_46赋值:HJ_13>9321 AND HJ_13<99999999HJ_47赋值:HJ_45*HJ_46HJ_48赋值:HJ_37 AND HJ_41HJ_49赋值:收盘价的5日指数移动平均HJ_50赋值:收盘价的10日指数移动平均HJ_51赋值:收盘价的14日指数移动平均HJ_52赋值:收盘价的18日指数移动平均HJ_53赋值:HJ_14>3.75 AND HJ_14<3.77HJ_54赋值:HJ_13>9400 AND HJ_13<99999999HJ_55赋值:HJ_53*HJ_54HJ_56赋值:收盘价的40日指数移动平均HJ_57赋值:收盘价的60日指数移动平均HJ_58赋值:HJ_49和HJ_18的较大值和HJ_51的较大值和HJ_52的较大值和HJ_56的较大值和HJ_57的较大值*HJ_23HJ_59赋值:HJ_49和HJ_18的较小值和HJ_51的较小值和HJ_52的较小值和HJ_56的较小值和HJ_57的较小值*HJ_23HJ_60赋值:收盘价>HJ_58 AND 最低价<HJ_59 AND (收盘价>1日前的3日内最高价的最高值 AND (收盘价-1日前的收盘价*HJ_3)/1日前的收盘价>0.09)HJ_61赋值:HJ_60>0的历史过滤=1HJ_62赋值:1日前的26日内收盘价的最高值的2日简单移动平均HJ_63赋值:收盘价的26日简单移动平均HJ_64赋值:收盘价-HJ_63的2乘幂HJ_65赋值:HJ_64的13日简单移动平均HJ_66赋值:HJ_65的开方HJ_67赋值:HJ_63+2*HJ_66HJ_68赋值:1日前的HJ_67HJ_69赋值:收盘价上穿HJ_62 AND 最高价>1日前的HJ_67 OR (收盘价>HJ_62 AND 收盘价上穿1日前的HJ_67*HJ_3) AND 收盘价/开盘价>0.998HJ_70赋值:平滑异同平均线的MACDHJ_71赋值:随机指标KD的KHJ_72赋值:随机指标KD的DHJ_73赋值:RSI的RSI1HJ_74赋值:RSI的RSI3HJ_75赋值:收盘价-1日前的收盘价HJ_76赋值:如果HJ_75>=0,返回HJ_75,否则返回0*HJ_23HJ_77赋值:如果HJ_75<0,返回-HJ_75,否则返回0*HJ_23HJ_78赋值:HJ_76的10日平滑移动平均HJ_79赋值:HJ_77的10日平滑移动平均HJ_80赋值:HJ_76的6日平滑移动平均HJ_81赋值:HJ_77的6日平滑移动平均HJ_82赋值:100*HJ_78/(HJ_78+HJ_79)的10日简单移动平均*HJ_23HJ_83赋值:100*HJ_80/(HJ_80+HJ_81)的6日简单移动平均*HJ_23HJ_84赋值:收盘价的5日简单移动平均/收盘价的10日简单移动平均>0.999 AND 收盘价的10日简单移动平均/收盘价的20日简单移动平均>0.9847 AND 收盘价的20日简单移动平均>收盘价的60日简单移动平均AND 1日前的统计8日中满足收盘价的10日简单移动平均/收盘价的20日简单移动平均<1.017ORMA(收盘价,5)/收盘价的10日简单移动平均<1.017的天数>=1 AND 收盘价的20日简单移动平均/收盘价的60日简单移动平均<1.121HJ_85赋值:(收盘价-收盘价的60日简单移动平均*HJ_3)/收盘价的60日简单移动平均*100HJ_86赋值:统计100日中满足HJ_85<35的天数*HJ_3>=95HJ_87赋值:HJ_69 AND HJ_84>0 AND 取反 AND HJ_86 AND 1日前的统计4日中满足收盘价的20日简单移动平均>收盘价的30日简单移动平均的天数=4ANDCOUNT(收盘价>收盘价的5日简单移动平均,3)>=2 AND 成交量(手)>1日前的成交量(手) AND (1日前的统计10日中满足收阳线的天数>=6ORCOUNT(收阳线,5)>=4 OR 收盘价=最高价) AND (HJ_83上穿HJ_82 OR HJ_70上穿0 OR 1日前的统计3日中满足HJ_70上穿0的天数=1ANDHJ_70<0.15ANDCLOSE/开盘价>0.989ANDCLOSE/1日前的收盘价<1.03 OR HJ_71上穿HJ_72 OR HJ_73上穿HJ_74) AND 1日前的收盘价/开盘价>0.988AND(收盘价>OPENOR(收盘价<=OPENANDHIGH/最低价<1.049)) AND 最高价/收盘价<1.013 AND 收盘价/开盘价>1.05 HJ_88赋值:收盘价的5日简单移动平均>收盘价的10日简单移动平均 AND 收盘价的10日简单移动平均>收盘价的20日简单移动平均AND 收盘价的20日简单移动平均>收盘价的60日简单移动平均 AND 收盘价的60日简单移动平均>收盘价的120日简单移动平均 AND 收盘价的5日简单移动平均>1日前的收盘价的5日简单移动平均*HJ_3 HJ_89赋值:收盘价>1日前的收盘价*1.1-0.01HJ_90赋值:20日内最高价的最高值=1日内收盘价的最高值 AND 成交量(手)>0 AND 收盘价的有效数据周期数>=20HJ_91赋值:HJ_14>3.28 AND HJ_14<3.3HJ_92赋值:HJ_13>9200 AND HJ_13<99999999HJ_93赋值:HJ_91*HJ_92HJ_94赋值:HJ_14>6.77 AND HJ_14<6.79HJ_95赋值:HJ_13>9500 AND HJ_13<99999999HJ_96赋值:HJ_94*HJ_95HJ_97赋值:HJ_15 OR HJ_28 OR HJ_31 OR HJ_44 OR HJ_40 OR HJ_47 OR HJ_55 OR HJ_93 OR HJ_96HJ_98赋值:成交量(手)/1日前的成交量(手)>1.9HJ_99赋值:HJ_88 AND HJ_89 AND HJ_90 AND HJ_98HJ_100赋值:KDJ的J-1日前的KDJ的J>30 AND 收盘价/1日前的收盘价>1.043 AND 平滑异同平均线的MACD>0 AND 平滑异同平均线的DEA>0HJ_101赋值:收盘价的5日简单移动平均HJ_102赋值:收盘价的10日简单移动平均HJ_103赋值:收盘价的20日简单移动平均HJ_104赋值:收盘价的30日简单移动平均HJ_105赋值:收盘价的60日简单移动平均HJ_106赋值:收盘价>HJ_101 AND HJ_101>HJ_102 AND HJ_102>HJ_103 AND 收盘价>HJ_105HJ_107赋值:收盘价/1日前的收盘价>1.05 AND 1日前的收盘价/2日前的收盘价<1.05 AND 收盘价/10日内收盘价的最低值<1.4 HJ_108赋值:成交量(手)/1日前的成交量(手)>2 OR 成交量(手)=15日内成交量(手)的最高值HJ_109赋值:当前流通股本(手)<10000000HJ_110赋值:(收盘价的5日简单移动平均/1日前的收盘价的5日简单移动平均-1)*100的反正切*57.299999>40HJ_111赋值:(收盘价的10日简单移动平均/1日前的收盘价的10日简单移动平均-1)*100的反正切*57.299999>30HJ_112赋值:(收盘价的20日简单移动平均/1日前的收盘价的20日简单移动平均-1)*100的反正切*57.299999>20HJ_113赋值:(收盘价的30日简单移动平均/1日前的收盘价的30日简单移动平均-1)*100的反正切*57.299999>10HJ_114赋值:HJ_110 AND HJ_111 AND HJ_112 AND HJ_113 HJ_115赋值:KDJ的K>1日前的KDJ的K*HJ_23HJ_116赋值:KDJ的D>1日前的KDJ的D AND KDJ的D<70HJ_117赋值:KDJ的J>1日前的KDJ的J*HJ_23HJ_118赋值:HJ_115 AND HJ_116 AND HJ_117HJ_119赋值:HJ_21 AND HJ_107 AND HJ_108 AND HJ_109 AND HJ_114 AND HJ_118HJ_121赋值:90日内1日前的收盘价的最高值HJ_122赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值)HJ_123赋值:如果收阳线,返回HJ_122*(最高价-最低价),否则返回如果收阴线,返回HJ_122*(最高价-开盘价+(收盘价-最低价)),否则返回成交量(手)/2*HJ_23HJ_124赋值:如果收阳线,返回0-HJ_122*(最高价-收盘价+(开盘价-最低价)),否则返回如果收阴线,返回0-HJ_122*(最高价-最低价),否则返回0-成交量(手)/2*HJ_23HJ_125赋值:HJ_123/(-HJ_124)HJ_126赋值:收盘价/1日前的收盘价*100-100HJ_127赋值:统计10日中满足HJ_126>7的天数*HJ_3>=1HJ_128赋值:1日前的收盘价<收盘价的5日简单移动平均AND 收盘价>收盘价的5日简单移动平均*HJ_3HJ_129赋值:统计20日中满足收盘价上穿HJ_121的天数>=1HJ_130赋值:最低价>(1日前的最高价+0.09)*HJ_23HJ_131赋值:(收盘价的12日指数移动平均-收盘价的25日指数移动平均)*HJ_23HJ_132赋值:HJ_131的3日指数移动平均HJ_133赋值:(HJ_131-HJ_132)*500000HJ_134赋值:HJ_133-1日前的HJ_133的3日简单移动平均HJ_135赋值:HJ_134>1日前的HJ_134*HJ_3HJ_136赋值:HJ_129 AND HJ_128 AND HJ_125>3 AND HJ_127 AND HJ_135HJ_137赋值:(收盘价-2日前的收盘价)/收盘价>0.1HJ_138赋值:(-2)日前的HJ_137*HJ_23HJ_139赋值:收盘价/1日前的收盘价>1.048 AND 收盘价=最高价 AND 成交量(手)的4日线性回归预测值位于0.2*成交量(手)的12日线性回归预测值和2.1*成交量(手)的5日线性回归预测值之间*HJ_3HJ_141赋值:收盘价的5日简单移动平均HJ_142赋值:收盘价的11日简单移动平均HJ_143赋值:收盘价的21日简单移动平均HJ_144赋值:收盘价的33日简单移动平均HJ_145赋值:收盘价的89日简单移动平均HJ_146赋值:收盘价的120日简单移动平均*HJ_23HJ_147赋值:HJ_141>HJ_142 AND HJ_142>HJ_143 AND HJ_143>HJ_144 AND HJ_144>HJ_145 AND HJ_145>HJ_146 HJ_148赋值:收盘价的5日简单移动平均*HJ_3HJ_149赋值:(HJ_148/1日前的HJ_148-1)*100的反正切*57.299999>60HJ_150赋值:收盘价>收盘价的5日简单移动平均*HJ_3HJ_151赋值:HJ_149 AND HJ_150 AND HJ_147输出龙一:(HJ_12+HJ_25+HJ_36+HJ_48+HJ_87+HJ_99+HJ_120+HJ_136 +HJ_140+HJ_151>=7 OR HJ_97) AND 收盘价>收盘价的20日简单移动平均 AND 收盘价的20日简单移动平均>1日前的收盘价的20日简单移动平均条件选股:强势狙击买进[日线]成功率测试测试股票数:4991共发出信号:7271 成功信号:3034 失败信号:4120 未完成信号:117 信号发出率:65.98% 平均成功率:42.41% 成功率达到50%的股票数有:49.13%利润1总平均:12.21% 最大平均利润1: 200.48% 最小平均利润1: 0.00%利润2总平均:-0.14% 最大平均利润2: 140.90% 最小平均利润2: -43.45%程序源码:HJ_1:=IF(CLOSE>REF(CLOSE,1),88,0);HJ_2:=IF(CLOSE/REF(CLOSE,1)>1.05 AND HIGH/CLOSE<1.01 AND HJ_1>0,91,0);HJ_3:=IF(DATETODAY(DATE)<99999999,1,1);HJ_4:=FILTER(HJ_2>90,22.5)=1;HJ_5:=FILTER(HJ_2>90,35)=1;HJ_6:=FILTER(HJ_2>90,45)=1;HJ_7:=FILTER(HJ_2>90,67.5)=1;HJ_8:=FILTER(HJ_2>90,90)=1;HJ_9:=FILTER(HJ_2>90,135)=1;HJ_10:=FILTER(HJ_2>90,180)=1;HJ_11:=FILTER(HJ_2>90,270)=1;HJ_12:=HJ_4+HJ_5+HJ_6+HJ_7+HJ_8+HJ_9+HJ_10+HJ_11> =3*HJ_3;HJ_13:=DATETODAY(DATE);HJ_14:=VOL/REF(MA(VOL,5),1);HJ_15:=HJ_14>135 AND HJ_14<137;HJ_16:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);HJ_17:=EMA(CLOSE,5);HJ_18:=EMA(CLOSE,10);HJ_19:=EMA(CLOSE,14);HJ_20:=EMA(CLOSE,18);HJ_21:=EMA(CLOSE,40);HJ_22:=EMA(CLOSE,60);HJ_23:=IF(DATE<2342.459961*500,1,1);HJ_24:=MAX(HJ_21,HJ_22);HJ_25:=CLOSE>HJ_24 AND HJ_16 AND (CLOSE>REF(HHV(HIGH,3),1)*HJ_3 AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07);HJ_26:=HJ_14>4.18 AND HJ_14<4.192;HJ_27:=HJ_13>9550 AND HJ_13<99999999;HJ_28:=HJ_26*HJ_27;HJ_29:=HJ_14>2.67 AND HJ_14<2.69;HJ_30:=HJ_13>9200 AND HJ_13<99999999;HJ_31:=HJ_29*HJ_30;HJ_32:=VOL;HJ_33:=MA(HJ_32,5);HJ_34:=HJ_33+HJ_33>HJ_32;HJ_35:=DYNAINFO(4)>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15)*HJ_3)*0.85 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10)*HJ_23;HJ_36:=CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>0.07 AND HJ_35 AND HJ_34;HJ_37:=DYNAINFO(4)*HJ_3>0 AND HHV(HIGH,10)/LLV(LOW,10)<1.25 AND REF(CLOSE,1)<(LLV(LOW,15)+(HHV(HIGH,15)-LLV(LOW,15))*0.85)*HJ_23 AND CLOSE>OPEN AND CLOSE>=HHV(HIGH,10);HJ_38:=HJ_14>2.91 AND HJ_14<2.93;HJ_39:=HJ_13>9400 AND HJ_13<99999999;HJ_40:=HJ_38*HJ_39;HJ_41:=(CLOSE-REF(CLOSE,1)*HJ_3)/REF(CLOSE,1)*100>7;HJ_42:=HJ_14>4.67 AND HJ_14<4.69;HJ_43:=HJ_13>9300 AND HJ_13<99999999;HJ_44:=HJ_42*HJ_43;HJ_45:=HJ_14>2.07 AND HJ_14<2.08;HJ_46:=HJ_13>9321 AND HJ_13<99999999;HJ_47:=HJ_45*HJ_46;HJ_48:=HJ_37 AND HJ_41;HJ_49:=EMA(CLOSE,5);HJ_50:=EMA(CLOSE,10);HJ_51:=EMA(CLOSE,14);HJ_52:=EMA(CLOSE,18);HJ_53:=HJ_14>3.75 AND HJ_14<3.77;HJ_54:=HJ_13>9400 AND HJ_13<99999999;HJ_55:=HJ_53*HJ_54;HJ_56:=EMA(CLOSE,40);HJ_57:=EMA(CLOSE,60);HJ_58:=MAX(MAX(MAX(MAX(MAX(HJ_49,HJ_18),HJ_51),HJ_ 52),HJ_56),HJ_57)*HJ_23;HJ_59:=MIN(MIN(MIN(MIN(MIN(HJ_49,HJ_18),HJ_51),HJ_52) ,HJ_56),HJ_57)*HJ_23;HJ_60:=CLOSE>HJ_58 AND LOW<HJ_59 AND (CLOSE>REF(HHV(HIGH,3),1) AND (CLOSE-REF(CLOSE,1)*HJ_3)/REF(CLOSE,1)>0.09);HJ_61:=FILTER(HJ_60>0,0)=1;HJ_62:=MA(REF(HHV(CLOSE,26),1),2);HJ_63:=MA(CLOSE,26);HJ_64:=POW(CLOSE-HJ_63,2);HJ_65:=MA(HJ_64,13);HJ_66:=SQRT(HJ_65);HJ_67:=HJ_63+2*HJ_66;HJ_68:=REF(HJ_67,1);HJ_69:=CROSS(CLOSE,HJ_62) AND HIGH>REF(HJ_67,1) OR (CLOSE>HJ_62 AND CROSS(CLOSE,REF(HJ_67,1))*HJ_3) AND CLOSE/OPEN>0.998;HJ_70:=MACD.MACD;HJ_71:=KD.K;HJ_72:=KD.D;HJ_73:=RSI.RSI1;HJ_74:=RSI.RSI3;HJ_75:=CLOSE-REF(CLOSE,1);HJ_76:=IF(HJ_75>=0,HJ_75,0)*HJ_23;HJ_77:=IF(HJ_75<0,-HJ_75,0)*HJ_23;HJ_78:=MEMA(HJ_76,10);HJ_79:=MEMA(HJ_77,10);HJ_80:=MEMA(HJ_76,6);HJ_81:=MEMA(HJ_77,6);HJ_82:=MA(100*HJ_78/(HJ_78+HJ_79),10)*HJ_23;HJ_83:=MA(100*HJ_80/(HJ_80+HJ_81),6)*HJ_23;HJ_84:=MA(CLOSE,5)/MA(CLOSE,10)>0.999 AND MA(CLOSE,10)/MA(CLOSE,20)>0.9847 AND MA(CLOSE,20)>MA(CLOSE,60) AND REF(COUNT(MA(CLOSE,10)/MA(CLOSE,20)<1.017 OR MA(CLOSE,5)/MA(CLOSE,10)<1.017,8)>=1,1) AND MA(CLOSE,20)/MA(CLOSE,60)<1.121;HJ_85:=(CLOSE-MA(CLOSE,60)*HJ_3)/MA(CLOSE,60)*100;HJ_86:=COUNT(HJ_85<35,100)*HJ_3>=95;HJ_87:=HJ_69 AND HJ_84>0 AND NOT(DYNAINFO(4)=0) AND HJ_86 AND REF(COUNT(MA(CLOSE,20)>MA(CLOSE,30),4)=4 AND COUNT(CLOSE>MA(CLOSE,5),3)>=2,1) AND VOL>REF(VOL,1) AND (REF(COUNT(CLOSE>OPEN,10)>=6 OR COUNT(CLOSE>OPEN,5)>=4,1) OR CLOSE=HIGH) AND (CROSS(HJ_83,HJ_82) OR CROSS(HJ_70,0) OR REF(COUNT(CROSS(HJ_70,0),3)=1 AND HJ_70<0.15 ANDCLOSE/OPEN>0.989 AND CLOSE/REF(CLOSE,1)<1.03,1) OR CROSS(HJ_71,HJ_72) OR CROSS(HJ_73,HJ_74)) AND REF(CLOSE/OPEN>0.988 AND (CLOSE>OPEN OR (CLOSE<=OPEN AND HIGH/LOW<1.049)),1) AND HIGH/CLOSE<1.013 AND CLOSE/OPEN>1.05;HJ_88:=MA(CLOSE,5)>MA(CLOSE,10) AND MA(CLOSE,10)>MA(CLOSE,20) AND MA(CLOSE,20)>MA(CLOSE,60) AND MA(CLOSE,60)>MA(CLOSE,120) AND MA(CLOSE,5)>REF(MA(CLOSE,5),1)*HJ_3;HJ_89:=CLOSE>REF(CLOSE,1)*1.1-0.01;HJ_90:=HHV(HIGH,20)=HHV(CLOSE,1) AND VOL>0 AND BARSCOUNT(CLOSE)>=20;HJ_91:=HJ_14>3.28 AND HJ_14<3.3;HJ_92:=HJ_13>9200 AND HJ_13<99999999;HJ_93:=HJ_91*HJ_92;HJ_94:=HJ_14>6.77 AND HJ_14<6.79;HJ_95:=HJ_13>9500 AND HJ_13<99999999;HJ_96:=HJ_94*HJ_95;HJ_97:=HJ_15 OR HJ_28 OR HJ_31 OR HJ_44 OR HJ_40 OR HJ_47 OR HJ_55 OR HJ_93 OR HJ_96;HJ_98:=VOL/REF(VOL,1)>1.9;HJ_99:=HJ_88 AND HJ_89 AND HJ_90 AND HJ_98;HJ_100:=KDJ.J-REF(KDJ.J,1)>30 AND CLOSE/REF(CLOSE,1)>1.043 AND MACD.MACD>0 AND MACD.DEA>0;HJ_101:=MA(CLOSE,5);HJ_102:=MA(CLOSE,10);HJ_103:=MA(CLOSE,20);HJ_104:=MA(CLOSE,30);HJ_105:=MA(CLOSE,60);HJ_106:=CLOSE>HJ_101 AND HJ_101>HJ_102 AND HJ_102>HJ_103 AND CLOSE>HJ_105;HJ_107:=CLOSE/REF(CLOSE,1)>1.05 AND REF(CLOSE,1)/REF(CLOSE,2)<1.05 AND CLOSE/LLV(CLOSE,10)<1.4;HJ_108:=VOL/REF(VOL,1)>2 OR VOL=HHV(VOL,15);HJ_109:=CAPITAL<10000000;HJ_110:=ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*57.299999>40;HJ_111:=ATAN((MA(CLOSE,10)/REF(MA(CLOSE,10),1)-1)*100)*57.299999>30;HJ_112:=ATAN((MA(CLOSE,20)/REF(MA(CLOSE,20),1)-1)*100)*57.299999>20;HJ_113:=ATAN((MA(CLOSE,30)/REF(MA(CLOSE,30),1)-1)*100)*57.299999>10;HJ_114:=HJ_110 AND HJ_111 AND HJ_112 AND HJ_113;HJ_115:=KDJ.K>REF(KDJ.K,1)*HJ_23;HJ_116:=KDJ.D>REF(KDJ.D,1) AND KDJ.D<70;HJ_117:=KDJ.J>REF(KDJ.J,1)*HJ_23;HJ_118:=HJ_115 AND HJ_116 AND HJ_117;HJ_119:=HJ_21 AND HJ_107 AND HJ_108 AND HJ_109 AND HJ_114 AND HJ_118;HJ_120:=FILTER(HJ_119,15)*HJ_3;HJ_121:=HHV(REF(CLOSE,1),90);HJ_122:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));HJ_123:=IF(CLOSE>OPEN,HJ_122*(HIGH-LOW),IF(CLOSE<OPEN,HJ_122*(HIGH-OPEN+(CLOSE-LOW)),VOL/2))*HJ_23;HJ_124:=IF(CLOSE>OPEN,0-HJ_122*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE<OPEN,0-HJ_122*(HIGH-LOW),0-VOL/2))*HJ_23;HJ_125:=HJ_123/(-HJ_124);HJ_126:=CLOSE/REF(CLOSE,1)*100-100;HJ_127:=COUNT(HJ_126>7,10)*HJ_3>=1;HJ_128:=REF(CLOSE,1)<MA(CLOSE,5) AND CLOSE>MA(CLOSE,5)*HJ_3;HJ_129:=COUNT(CROSS(CLOSE,HJ_121),20)>=1;HJ_130:=LOW>(REF(HIGH,1)+0.09)*HJ_23;HJ_131:=(EMA(CLOSE,12)-EMA(CLOSE,25))*HJ_23;HJ_132:=EMA(HJ_131,3);HJ_133:=(HJ_131-HJ_132)*500000;HJ_134:=MA(HJ_133-REF(HJ_133,1),3);HJ_135:=HJ_134>REF(HJ_134,1)*HJ_3;HJ_136:=HJ_129 AND HJ_128 AND HJ_125>3 AND HJ_127 AND HJ_135;HJ_137:=(CLOSE-REF(CLOSE,2))/CLOSE>0.1;HJ_138:=REF(HJ_137,(-2))*HJ_23;HJ_139:=CLOSE/REF(CLOSE,1)>1.048 AND CLOSE=HIGH ANDBETWEEN(FORCAST(VOL,4),0.2*FORCAST(VOL,12),2.1*FORCAST( VOL,5))*HJ_3;HJ_140:=FILTER(HJ_139,28)*HJ_3;HJ_141:=MA(CLOSE,5);HJ_142:=MA(CLOSE,11);HJ_143:=MA(CLOSE,21);HJ_144:=MA(CLOSE,33);HJ_145:=MA(CLOSE,89);HJ_146:=MA(CLOSE,120)*HJ_23;HJ_147:=HJ_141>HJ_142 AND HJ_142>HJ_143 AND HJ_143>HJ_144 AND HJ_144>HJ_145 AND HJ_145>HJ_146;HJ_148:=MA(CLOSE,5)*HJ_3;HJ_149:=ATAN((HJ_148/REF(HJ_148,1)-1)*100)*57.299999>60;HJ_150:=CLOSE>MA(CLOSE,5)*HJ_3;HJ_151:=HJ_149 AND HJ_150 AND HJ_147;龙一:(HJ_12+HJ_25+HJ_36+HJ_48+HJ_87+HJ_99+HJ_120+HJ_136 +HJ_140+HJ_151>=7 OR HJ_97) AND C>MA(C,20) AND MA(C,20)>REF(MA(C,20),1) ;该公式包含未来函数: CAPITAL该公式包含未来函数: DYNAINFO。

通达信指标公式源码 涨停回调狙击

通达信指标公式源码 涨停回调狙击

ZT1:=C/REF(C,1)>1.0975 AND C=H;TS:=BARSLAST(ZT1);AA:=REF((H+L)/2,TS);ZJ:IF(TS<=16,DRAWLINE(ZT1,(H+L)/2,ISLASTBAR,REF((H+L)/2,TS),1),DRAWNULL),LINETHICK2,COLORRED;DRAWTEXT(ISLASTBAR,ZJ,' %ZJ'),COLORYELLOW;MA30:MA(C,30);CPXA:=(3*CLOSE+OPEN+LOW+HIGH)/6;CPXB:(20*CPXA+19*REF(CPXA,1)+18*REF(CPXA,2)+17*REF(CPXA,3)+16*REF(CPXA,4) +15*REF(CPXA,5)+14*REF(CPXA,6)+13*REF(CPXA,7)+12*REF(CPXA,8)+11*REF(CPXA, 9)+10*REF(CPXA,10)+9*REF(CPXA,11)+8*REF(CPXA,12)+7*REF(CPXA,13)+6*REF(CPXA, 14)+5*REF(CPXA,15)+4*REF(CPXA,16)+3*REF(CPXA,17)+2*REF(CPXA,18)+1*REF(CPXA,1 9))/210;ZT:=IF(REF(C,1)*1.1-C<0.01 ,1,0);LC:=REF(CLOSE,1);CZX:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;ZCX:=45;ZCX2:=50;CDX:=20;PP2:=CZX<ZCX2 AND REF(CZX,1)>ZCX2 ;PP:=CZX<ZCX AND REF(CZX,1)>ZCX ;PP3:=CZX<CDX AND REF(CZX,1)>CDX;HH:=COUNT(ZT,9)>=1;DDDD:=(PP2 AND HH OR PP AND HH OR PP3 AND HH);A:=SMA(L,4,3) ;ZF:=(C-REF(C,1))/REF(C,1)*100;ZT9:=INTPART(SUM(ZF>9.9,9));LSMR:=IF (((A AND REF(PP,1) AND HH AND ZT9) OR (A AND REF(PP3,1)AND HH AND ZT9) OR (A AND REF(PP2,1) AND HH AND ZT9)),1,0 );LT:=(CAPITAL/100)/10000<=10;XG1:=LSMR AND REF(LSMR,1) AND CZX>REF(CZX,1) AND LT;XG2:=LSMR AND REF(LSMR,2) AND CZX>REF(CZX,1) AND LT;XG3:=REF(LSMR,1) AND CZX>REF(CZX,1) AND LT AND REF(CZX,1)<REF(CZX,2);JD30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.14159;AA30:=JD30>5;XG:XG1 OR XG2 OR XG3 AND C>MA30 AND C>CPXB AND C>AA,COLORRED,NODRAW; DRAWICON(XG,REF(CLOSE,1)*0.96,25);高:=REF(HHV(H,80),3);低:=REF(LLV(L,80),3);H18:=高-(高-低)*0.181;L19:=低+(高-低)*0.181;H中:=高-(高-低)*0.5;顶点:REFDATE(高,DATE),COLORWHITE;%18:REFDATE(H18,DATE),COLORYELLOW;%50:REFDATE(H中,DATE),COLORRED;%19:REFDATE(L19,DATE),COLORYELLOW;低点:REFDATE(低,DATE),COLORWHITE;DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE;DRAWTEXT(ISLASTBAR,%18,'%18'),COLORYELLOW;DRAWTEXT(ISLASTBAR,%50,'%50'),COLORRED;DRAWTEXT(ISLASTBAR,%19,'%19'),COLORYELLOW;DRAWTEXT(ISLASTBAR,低点,'低点'),COLORWHITE;{回调狙击获利副图}ZT1:=C/REF(C,1)>1.0975 AND C=H;TS:=BARSLAST(ZT1);ZJ:=IF(TS<=16,DRAWLINE(ZT1,(H+L)/2,ISLASTBAR,REF((H+L)/2,TS),1),DRAWNULL); MA30:=MA(C,30);CPXA:=(3*CLOSE+OPEN+LOW+HIGH)/6;CPXB:=(20*CPXA+19*REF(CPXA,1)+18*REF(CPXA,2)+17*REF(CPXA,3)+16*REF(CPXA,4 )+15*REF(CPXA,5)+14*REF(CPXA,6)+13*REF(CPXA,7)+12*REF(CPXA,8)+11*REF(CPXA, 9)+10*REF(CPXA,10)+9*REF(CPXA,11)+8*REF(CPXA,12)+7*REF(CPXA,13)+6*REF(CPX A,14)+5*REF(CPXA,15)+4*REF(CPXA,16)+3*REF(CPXA,17)+2*REF(CPXA,18)+1*REF(CP XA,19))/210;ZT:=IF(REF(C,1)*1.1-C<0.01 ,1,0);LC:=REF(CLOSE,1);CZX:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100;ZCX:=45;ZCX2:=50;CDX:=20;PP2:=CZX<ZCX2 AND REF(CZX,1)>ZCX2 ;PP:=CZX<ZCX AND REF(CZX,1)>ZCX ;PP3:=CZX<CDX AND REF(CZX,1)>CDX;HH:=COUNT(ZT,9)>=1;DDDD:=(PP2 AND HH OR PP AND HH OR PP3 AND HH);A:=SMA(L,4,3) ;ZF:=(C-REF(C,1))/REF(C,1)*100;ZT9:=INTPART(SUM(ZF>9.9,9));LSMR:=IF (((A AND REF(PP,1) AND HH AND ZT9) OR (A AND REF(PP3,1) AND HH AND ZT9) OR (A AND REF(PP2,1) AND HH AND ZT9)),1,0 );LT:=(CAPITAL/100)/10000<=10;XG1:LSMR AND REF(LSMR,1) AND CZX>REF(CZX,1) AND LT;XG2:LSMR AND REF(LSMR,2) AND CZX>REF(CZX,1) AND LT;XG3:REF(LSMR,1) AND CZX>REF(CZX,1) AND LT AND REF(CZX,1)<REF(CZX,2);JD30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.14159;AA30:=JD30>5;AA:=REF((H+L)/2,TS);XG:XG1 OR XG2 OR XG3 AND C>MA30 AND C>CPXB AND C>AA;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);第二波选股:COUNT(C/REF(C,1)>=1.09925,20)>=1AND REF(K,1)<16 AND K>=REF(K,1),COLORRED;。

轻松涨停狙击通达信指标公式源码

轻松涨停狙击通达信指标公式源码

最近大盘一直在震荡,如意闲来无事整合优化一个涨停狙击指标优化之后感觉挺好的,所以发上来和大家一起分享下附图内是.TNE的通达信公式文件,是附图,下载之后直接导入软件内就行了,导入之后可以看到源码,源码全公开用法:同样是盘后选股,最好是5-10-20-30均线之上的,止盈止损10%N:=0.01;X_1:=DYNAINFO(4)>0;X_2:=EMA(CLOSE,5);X_3:=EMA(CLOSE,10);X_4:=EMA(CLOSE,20);X_5:=MAX(X_2,X_3);X_6:=MAX(X_4,X_5);X_7:=X_6;X_8:=MIN(X_2,X_3);X_9:=MIN(X_8,X_4);X_10:=X_9;X_11:=(X_7-X_10)/X_7*1000<25;X_12:=CLOSE>X_7;X_13:=OPEN<X_10;X_14:=X_12 AND X_13;X_15:=CROSS(X_2,X_3) OR CROSS(X_2,X_4) OR X_11;X_16:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;X_17:=SMA(X_16,3,1);X_18:=SMA(X_17,3,1);X_19:=CROSS(X_17,X_18) OR REF(CROSS(X_17,X_18),1);X_20:=(HIGH+LOW+CLOSE)/3;X_21:=(X_20-MA(X_20,14))/(0.015*AVEDEV(X_20,14));X_22:=X_21>REF(X_21,1);X_23:=X_1 AND X_14 AND X_15 AND X_19 AND X_22 AND X_18<65;X_24:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;X_25:=MA(X_24,3);X_26:=LLV(OPEN,30);X_27:=MA(CLOSE,10);X_28:=MA(CLOSE,12);X_29:=ATAN(X_27-REF(X_27,1))*3.1416*10;X_30:=ATAN(X_28-REF(X_28,1))*3.1416*10;X_31:=MA(CLOSE,13);X_32:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;X_33:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;X_34:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;X_35:=(X_32+2*X_33+3*X_34)/6;X_36:=MA(X_35,3);X_37:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);X_38:=(CLOSE-X_37)/X_37*100;X_39:=REF(X_38,1)<0-40 AND X_38>REF(X_38,1) AND REF(X_38,1)<REF(X_38,2) AND X_38-REF(X_38,1)>2.5;X_40:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;X_41:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;X_42:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;X_43:=REF(CLOSE,1);X_44:=SMA(MAX(CLOSE-X_43,0),5,1)/SMA(ABS(CLOSE-X_43),5,1)*100;X_45:=(HIGH+LOW+CLOSE)/3;X_46:=(X_45-MA(X_45,14))/(0.015*AVEDEV(X_45,14));X_47:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(MA(AMO UNT,5)/MA(VOL,5)/100)<0-0.273;X_48:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.125;X_49:=X_47 AND X_48;X_50:=X_40>=0-45 AND X_40<=0-10 AND X_41<=0-15 AND X_42<=0-20;X_51:=COUNT(X_50,1)>=1;X_52:=X_49 AND X_51;X_53:=1;X_54:=531;X_55:=1510000;X_56:=X_54+X_55;X_57:=1;X_58:=SMA(HIGH,10,9)*X_57;X_59:=SMA(LOW,10,9)*X_57;X_60:=CLOSE*VOL;X_61:=EMA((MA(X_60,4)/MA(VOL,4)+MA(X_60,6)/MA(VOL,6)+MA(X_60,13)/MA(VOL,13 )+MA(X_60,24)/MA(VOL,24))/4,1);X_62:=1*X_61;X_63:=X_61*0.92;X_64:=EMA(CLOSE,34);X_65:=MA(X_64*1.12,5);X_66:=MA(X_64*0.82,5);X_67:=CLOSE<X_66;X_68:=(MA(AMOUNT,5)*X_53/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(M A(AMOUNT,5)/MA(VOL,5)/100)<(0-0.4)*X_53;X_69:=HHV(HIGH,500);X_70:=LLV(LOW,500);X_71:=HHV(HIGH,250);X_72:=LLV(LOW,250);X_73:=HHV(HIGH,125);X_74:=LLV(LOW,125);X_75:=MA((X_69*0.45+X_71*0.5+X_70+X_72+X_74)/5,35);X_76:=MA((X_71*0.62+X_74)/2,35);X_77:=MA((X_71*0.75+X_74)/2,18);X_78:=MA((X_71*0.93+X_75*2+X_76*1.8+X_77*1.5)/4,18);X_79:=MA((X_69*0.95+X_75*3+X_76*2)/3,35);X_80:=X_75;X_81:=X_76;X_82:=X_77;X_83:=X_78;X_84:=X_79;X_85:=CLOSE-REF(MA(CLOSE,20),11)<0-2;X_86:=INDEXA/100000000;X_87:=INDEXADV;X_88:=INDEXDEC;X_89:=X_60/(X_60+X_61)*X_53;X_90:=X_61/(X_60+X_61)*X_53;X_91:=EMA(X_89,10);X_92:=EMA(X_90,10);X_93:=EMA(X_91,10);X_94:=EMA(X_92,20);X_95:=EMA(X_91,3);X_96:=EMA(X_93,6);X_97:=EMA(X_94,2);X_98:=X_96-X_97;X_99:=X_96-REF(X_96,1)>0 AND REF(X_96,1)-REF(X_96,2)<0;X_100:=IF(CROSS(X_95,X_96) AND X_96<=20,30,0);X_101:=X_100;X_102:=SMA(AMOUNT/VOL/100,13,1)*1.15;X_103:=SMA(AMOUNT/VOL/100,13,1)*0.85;X_104:=CLOSE-REF(MA(CLOSE,20),11);X_105:=CLOSE<X_66 AND X_68 AND CLOSE<X_103 OR (CLOSE<X_66 AND X_85 AND X_68) OR (CLOSE<X_66 AND CLOSE<X_103) OR (CLOSE<X_66 AND X_68 AND CLOSE<X_103) OR (X_68 AND CLOSE<X_80) OR (X_68 AND X_85 AND X_104<0-1.5) OR (X_68 AND CLOSE<X_66) OR (X_68 AND X_104<0-1.5) OR (X_85 AND CLOSE<X_103) OR (CLOSE<X_80 AND X_104<0-1.5) OR (CLOSE<X_66 AND X_85);X_106:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;X_107:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;X_108:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;X_109:=REF(CLOSE,1);X_110:=SMA(MAX(CLOSE-X_109,0),5,1)/SMA(ABS(CLOSE-X_109),5,1)*100;X_111:=(HIGH+LOW+CLOSE)/3;X_112:=(X_111-MA(X_111,14))/(0.015*AVEDEV(X_111,14));X_113:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,110)/MA(VOL,110)/100)/(MA(AM OUNT,5)/MA(VOL,5)/100)<0-0.273;X_114:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.125;X_115:=X_47 AND X_48;X_116:=X_32>=0-45 AND X_32<=0-7 AND X_33<=0-11 AND X_34<=0-14;X_117:=COUNT(X_116,1)>=1;X_118:=X_115 AND X_117;X_119:=X_68 AND CLOSE<X_66 AND X_85 AND CLOSE<X_80 AND X_105 AND X_118; X_120:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;X_121:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;X_122:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;X_123:=REF(CLOSE,1);X_124:=SMA(MAX(CLOSE-X_123,0),5,1)/SMA(ABS(CLOSE-X_123),5,1)*100;X_125:=(HIGH+LOW+CLOSE)/3;X_126:=(X_125-MA(X_125,14))/(0.015*AVEDEV(X_125,14));X_127:=X_120>=0-15.8 AND X_120<=0-12.2 AND X_121<=0-20.799999 AND X_122<=0-27.5 AND X_124<=11.7 AND X_126<=0-145;X_128:=10+26;X_129:=COST(10)*0*X_57;X_130:=(MA(AMOUNT,5)/MA(VOL,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AM OUNT,5)/MA(VOL,5)/100);X_131:=MA((LLV(LOW,45)-CLOSE)/(HHV(HIGH,45)-LLV(LOW,45))*100,5);X_132:=CROSS(0-5,X_131) AND X_130<0-0.4 AND (CLOSE-MA(CLOSE,30))/MA(CLOSE,30)<0-0.19;X_133:=MA(CLOSE,3);X_134:=REF(CLOSE,2)*0.865;X_135:=REF(CLOSE,13)*0.772;X_136:=MIN(X_134,X_135);X_137:=100*VOL/CAPITAL;X_138:=MA(CLOSE,13);X_139:=IF((CLOSE-X_136)/CLOSE<0.03 AND SUM(X_137,5)/5<1.8,1,0);X_140:=EMA(HHV(HIGH,1),8);X_141:=EMA(CLOSE,8);X_142:=X_141<REF(X_141,1) AND CLOSE<X_141;X_143:=IF(X_140<REF(X_140,1) OR X_142,1,0);X_144:=REF(CLOSE,1);X_145:=SMA(MAX(CLOSE-X_144,0),2,1)/SMA(ABS(CLOSE-X_144),2,1)*100;X_146:=SMA(MAX(CLOSE-X_144,0),14,1)/SMA(ABS(CLOSE-X_144),14,1)*100;X_147:=45;X_148:=50;X_149:=80;X_150:=20;X_151:=5;X_152:=X_145<X_148 AND REF(X_145,1)>X_148;X_153:=X_145<X_147 AND REF(X_145,1)>X_147;X_154:=X_145<X_150 AND REF(X_145,1)>X_150*X_57;涨停狙击:(COUNT(X_143=1,4)=3 AND X_143=0 AND OPEN<CLOSE AND (CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>N)*89>=89 OR ((CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>N AND (REF(X_154,1) OR REF(X_153,1))) AND X_23 AND LOW<X_25*1.05,COLORYELLOW;。

涨停狙击通达信指标公式源码高成功率高成功率指标

涨停狙击通达信指标公式源码高成功率高成功率指标

它虽然有未来函数,不过有很强的参考意义——黑马暴涨主图DRAWTEXT_FIX(1,0.88,5,0,''),COLORRED;Z1:=STRCAT(HYBLOCK,' ');Z2:=STRCAT(Z1,DYBLOCK);Z3:=STRCAT(Z2,' ');ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLOR WHITE;ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COL ORRED;ZD2:EMA(ZD1,25),LINETHICK2;DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));DRAWKLINE(H,O,L,C);STICKLINE(ZD1>LOW AND ZD1<HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW;STICKLINE(ZD1>MIN(C,O) AND ZD1<MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));XG:=ZD1>HIGH AND 回调买AND L<=ZD1;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLO SE)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOS E,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX( OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OP EN)-JJ)));DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK; V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);V5:=SMA(V2*120/FROMOPEN*5,2,1);V10:=SMA(V5,5,1);V20:=SMA(V10,5,1);DY:=CURRBARSCOUNT=1 AND C<REF(C,1);DY2:=REF(V2,1)-DY;XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1; {DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}DRAWTEXT(XG2 AND L<ZD1,L,'↖黑马暴涨'),COLORRED;。

通达信20个高准确率选股公式源码

通达信20个高准确率选股公式源码

通达信20个高准确率选股公式源码是不是每次看收盘的涨停股望而兴叹,明明自己看过这个股票,当时为什么没买!都是对自己没有信心的表现。

我也分享20个高准确率的选股公式,有的含未来,仅供参考,结合指标分析。

推荐20个高成功率选股公式之一Var00:=LWINNER(1,CLOSE);Var1:=FORCAST(Var00,10);Var2:=MA(Var1,3);Var3:=MA(Var2,12);Var4:=MA(Var3,16);Var5:=MA(Var4,31);Var6:=MA(Var5,55);Var7:=Var5; Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var1h:=INDEXC;Var2h:=MA(Var1h,6);Var3h:=MA(Var1h,24);Var4h:=MA(Var1h,32);Var5h:=MA(Var1h,62);Var6h:=MA(Var1h,105);Var7h:=Var5h; Var8h:=Var4h>Var2h*1.11 AND Var3h>Var2h*1.095;Var9h:=Var2h>Var1h*0.95;pt:=(if(h=l and c=o and l=c and c>0 and ref(h,1)=ref(l,1) and ref(c,1)=ref(o,1)and ref(h,1)=ref(c,1) and ref(c,1)>0,0,1))>0;(Var7h AND Var8h AND Var9h AND CLOSE/COST(8)<=0.7985 and (count(c=l,4)<3 or c>ref(c,1)))and pt orVar7 and Var8 and Var9 and CLOSE/COST(5)<=0.8 AND((Var1>OPEN OR Var1>REF(OPEN,1) ORREF(Var1,1)))====================================== ========================================= =====推荐20个高成功率选股公式之二条件选股公式:BFBZ (20天10%利润,成功率98.52%信号量2209) 缺省周期:日线Var1:=INDEXC;Var2:=MA(Var1,6);Var3:=MA(Var1,24);Var4:=MA(Var1,32);Var5:=MA(Var1,62);Var6:=MA(Var1,105);Var7:=Var5<REF(Var5,1) AND Var6<REF(Var6,1) AND Var5<Var6*0.98;Var8:=Var4>Var2*1.11 AND Var3>Var2*1.095;Var9:=Var2>Var1*0.95;Var7 AND Var8 AND Var9 AND CLOSE/COST(8)<=0.8 AND (CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1));====================================== ====================================== 推荐20个高成功率选股公式之三条件选股公式:魔鬼组合 (99.65% 缺省周期:日线Var2:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);Var3:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;Var4:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;Var5:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;Var6:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;Var7:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;Var8:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;Var9:=(Var3+Var4+Var5+Var6+Var7+Var8)/6;VarA:=EMA(Var9,3);VarB:=ABS(Var6-Var8);VarC:=(Var9+VarB)/2;VarD:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;VarE:=VarD+VarC;VarF:=IF(Var2>0 AND VarE<0,200,0);Var10:=IF(VarC<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);Var11:=IF(VarE<0 AND Var10=-50,100,0);Var12:=MA(CLOSE,3);Var13:=REF(CLOSE,2)*0.865;Var14:=REF(CLOSE,13)*0.772;Var15:=MIN(Var13,Var14);Var16:=100*VOL/CAPITAL;Var17:=MA(CLOSE,13);Var18:=IF((CLOSE-Var15)/CLOSE<0.03 AND SUM(Var16,5)/5<1.8,1,0);Var19:=IF(Var18>0 AND (Var10<0 OR Var2>0),100,0);Var1A:=Var19;Var1B:=IF(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902 OR (VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0) AND Var19<10,50,0);Var1C:=(VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0) AND (Var10<0 OR Var2>0);Var1D:=VarF>0 AND Var11>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR Var18>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;Var1E:=Var1C OR Var1D;g:=MA(CLOSE,80)-MA(CLOSE,10)/3;aaa:=Var1A and CLOSE<g;Var2a:=1;Var3a:=Var2a*(CLOSE-MA(CLOSE,33))/MA(CLOSE,33)*100;bbb:=HHV(CLOSE,13)/CLOSE>1.15 AND HIGH/LOW>1.08 AND CROSS(-30,Var3);Var1bb:=INDEXC;Var2b:=MA(Var1bb,6);Var3b:=MA(Var1bb,24);Var4b:=MA(Var1bb,32);Var5b:=MA(Var1bb,62);Var6b:=MA(Var1bb,105);Var7b:=Var5b<REF(Var5b,1) AND Var6b<REF(Var6b,1) AND Var5b<Var6b*0.98;Var8b:=Var4b>Var2b*1.11 AND Var3b>Var2b*1.095;Var9b:=Var2b>Var1bb*0.95;ccc:=Var7b AND Var8b AND Var9b AND CLOSE/COST(8)<=0.8 AND(CLOSE>OPEN OR CLOSE<OPEN) AND (REF(CLOSE,1)>REF(OPEN,1) ORREF(CLOSE,1)<REF(OPEN,1));Var1cc:=DMA(CLOSE,VOL/MA(VOL,4)/4);Var2c:=DMA(CLOSE,VOL/MA(VOL,33)/33);Var3c:=(CLOSE-Var1cc)/Var1cc*100<-11;Var4c:=(Var1cc-Var2c)/Var2c*100<-22.3;Var5c:=Var3c AND Var4c;ddd:=Var5c AND (OPEN>CLOSE OR OPEN<CLOSE) AND(OPEN-REF(CLOSE,1))/REF(CLOSE,1)>-0.07 AND(REF(CLOSE,1)>REF(OPEN,1) OR REF(CLOSE,1)<REF(OPEN,1)) AND(REF(OPEN,2)>REF(CLOSE,2) OR REF(OPEN,2)<REF(CLOSE,2)) AND(REF(OPEN,3)>REF(CLOSE,3) OR REF(OPEN,3)<REF(CLOSE,3)) AND(REF(OPEN,4)>REF(CLOSE,4) OR REF(OPEN,4)<REF(CLOSE,4)) AND(REF(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)<REF(CLOSE,5)) AND(REF(OPEN,6)>REF(CLOSE,6) OR REF(OPEN,6)<REF(CLOSE,6)) AND(REF(OPEN,7)>REF(CLOSE,7) OR REF(OPEN,7)<REF(CLOSE,7)) ;A1:=INDEXC;A2:=MA(A1,5);A3:=MA(A1,20);A4:=MA(A1,30);B1:=A4>A2*1.08 AND A3>A2*1.055;B2:=A2>A1*1.03;B3:=B1 AND B2;M1:=MA(C,5);M2:=MA(C,10);M3:=M1<M2;N1:=(M1-C)/C>(9/100);N2:=(M2-M1)/M1>0.05;N3:=(H>L*1.07) AND COUNT(H>L*1.04,5)>2;N4:=COUNT(M3,7)>=7;N5:=N1 AND N2 AND N3 AND N4;eee:=B3 AND N5;ff:=(ref(c,32)-close)/ref(c,32)>=0.385;fff:=ccc and ff;Xar1:=DMA(EMA(CLOSE,12),SUM(VOL,5)/3/CAPITAL);Xar2:=(CLOSE-xar1)/xar1*100+30-(REF(HIGH,13)/CLOSE-1.35)*100;Xar3:=(CLOSE-ref(CLOSE,5))/CLOSE*100<-9;当前获利:=WINNER(CLOSE);大盘涨跌:=ema((INDEXC-ma(INDEXC,10))/INDEXC*100,14)<-4.9;换手率:=(ma(v,5)-VOL)/CAPITAL*100<0.8;量能变化:=(vol-MA(vol,21))/vol*100;买入信号:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND换手率 AND 量能变化>18;{飞雪迎春:(Xar2<-8.1 AND 买入信号=1);}{DRAWTEXT(飞雪迎春=1,0.8,'飞雪迎春' );}gg1:=大盘涨跌 AND Xar3 AND 当前获利<0.12 AND换手率 AND 量能变化>18;ggg:=aaa and gg1;(aaa and bbb) or (aaa and ccc) or (aaa and ddd) or (aaa and eee)or fff or ggg============================================================================ 推荐20个高成功率选股公式之四条件选股公式:飞鹰优化 (90.87%缺省周期:日线Var1:=CLOSE/MA(CLOSE,40)*100<78;Var2:=CLOSE/MA(CLOSE,60)*100<74;Var3:=HIGH>LOW*1.051;Var4:=Var3 AND COUNT(Var3,5)>1;Var4 AND (Var1 OR Var2) andma(c,27)/close>1.169 and ma(c,17)/close>1.158 andclose<ma(c,120) and ma(c,60)<ma(c,120) and ma(c,60)>ma(c,30) and "cci">-210============================================================================ 推荐20个高成功率选股公式之五条件选股公式:BIMOWANG (成功率93.12 信号3736 缺省周期:日线Var1:=EMA(WINNER(CLOSE)*70,3);Var2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);Var3:=CLOSE/MA(CLOSE,40)*100<76;Var4:=CLOSE/MA(CLOSE,60)*100<74;Var5:=HIGH>LOW*1.051;Var6:=Var5 AND COUNT(Var5,5)>1;Var6 AND (Var3 OR Var4) AND Var2<20 AND Var1<20AND (WINNER(CLOSE*125/100)-WINNER(CLOSE))*100<7.5;============================================================================ 推荐20个高成功率选股公式之六条件选股公式:股神选股(20天10利润成功率92.88% 信号量4310 缺省周期:日线参数描述: N(1,30,22)N2(1,10,5)N3(1,5,3)N4(-50,0,-30)Var1:=IF(DATE>=1031231, 0, 1);Var2:=CLOSE<0.980*REF(CLOSE, 1);Var3:=OPEN<REF(CLOSE, 1);Var4:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100*Var1;Var5:=(CLOSE-REF(OPEN, 29))/REF(OPEN, 29)*100*Var1;Var6:=MA(COST(N)/LOW, N3);Var7:=Var6>1.5 AND Var4>N2 AND Var5<N4;Q:Var7 OR (COUNT(Var7, 10) AND Var2 OR COUNT(Var7, 20) AND Var3)*Var1;====================================== ====================================== 推荐20个高成功率选股公式之七原公式加密,以下源码是从网上找的,不知是否与原公式一样,还请高手特别版。

通达信指标公式源码 一技必杀之涨停出击,信号准确!

通达信指标公式源码 一技必杀之涨停出击,信号准确!

明涨停价:CLOSE * 1.1,NODRAW;ST涨停价:CLOSE * 1.05,NODRAW;获利1个点:REF(C,1)*1.01,COLORRED,NODRAW;RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);短期底部:=LLV(OPEN,30);AA10:=MA(CLOSE,10);AA12:=MA(CLOSE,12);BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);VAR2:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR3:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR4:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR5:=(((VAR2 + (2 * VAR3)) + (3 * VAR4)) / 6);VAR6:=MA(VAR5,3);VAR7:=DMA(EMA(CLOSE,12),((SUM(VOL,5) / 3) / CAPITAL));VAR8:=(((CLOSE - VAR7) / VAR7) * 100);VAR9:=((((REF(VAR8,1) < (0 - 40)) AND (VAR8 > REF(VAR8,1))) AND (REF(VAR8,1) < REF(VAR8,2))) AND ((VAR8 - REF(VAR8,1)) >2.5));VARA:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VARB:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VARC:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),5,1) / SMA(ABS((CLOSE - VARD)),5,1)) * 100); VARF:=(((HIGH + LOW) + CLOSE) / 3);VAR10:=((VARF - MA(VARF,14)) / (0.015 * AVEDEV(VARF,14)));VAR11:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR12:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR13:=(VAR11 AND VAR12);VAR14:=((((VARA >= (0 - 45)) AND (VARA <= (0 - 10))) AND (VARB <= (0 - 15))) AND (VARC <= (0 - 20)));VAR15:=(COUNT(VAR14,1) >= 1);VAR16:=(VAR13 AND VAR15);VAR17:=1;VAB0:=531;VAB1:=1510000;VAB2:=VAB0 + VAB1; VAB3:=IF(DATE > VAB2,0,1); VARA12:=SMA(H,10,9)*VAB3; VARA13:=SMA(L,10,9)*VAB3; VAR18:=(CLOSE * VOL); VAR19:=EMA((((((MA(VAR18,4) / MA(VOL,4)) + (MA(VAR18,6) / MA(VOL,6))) + (MA(VAR18,13) / MA(VOL,13))) + (MA(VAR18,24) / MA(VOL,24))) / 4),1);VAR1A:=(1 * VAR19);VAR1B:=(VAR19 * 0.92);VAR1C:=EMA(CLOSE,34);VAR1D:=MA((VAR1C * 1.12),5);VAR1E:=MA((VAR1C * 0.82),5);VAR1F:=(CLOSE < VAR1E);VAR20:=((((((MA(AMOUNT,5) * VAR17) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100)) < ((0 - 0.4) * VAR17));VAR21:=HHV(HIGH,500);VAR22:=LLV(LOW,500);VAR23:=HHV(HIGH,250);VAR24:=LLV(LOW,250);VAR25:=HHV(HIGH,125);VAR26:=LLV(LOW,125);VAR27:=MA(((((((VAR21 * 0.45) + (VAR23 * 0.5)) + VAR22) + VAR24) + VAR26) / 5),35); VAR28:=MA((((VAR23 * 0.62) + VAR26) / 2),35);VAR29:=MA((((VAR23 * 0.75) + VAR26) / 2),18);VAR2A:=MA((((((VAR23 * 0.93) + (VAR27 * 2)) + (VAR28 * 1.8)) + (VAR29 * 1.5)) / 4),18);VAR2B:=MA(((((VAR21 * 0.95) + (VAR27 * 3)) + (VAR28 * 2)) / 3),35);VAR2C:=VAR27;VAR2D:=VAR28;VAR2E:=VAR29;VAR2F:=VAR2A;VAR30:=VAR2B;VAR31:=((CLOSE - REF(MA(CLOSE,20),11)) < (0 - 2));VAR32:=(INDEXA / 100000000);VAR33:=INDEXADV;VAR34:=INDEXDEC;VAR35:=((VAR18 / (VAR18 + VAR19)) * VAR17);VAR36:=((VAR19 / (VAR18 + VAR19)) * VAR17);VAR37:=EMA(VAR35,10);VAR38:=EMA(VAR36,10);VAR39:=EMA(VAR37,10);VAR3A:=EMA(VAR38,20);VAR3B:=EMA(VAR37,3);VAR3C:=EMA(VAR39,6);VAR3D:=EMA(VAR3A,2);VAR3E:=(VAR3C - VAR3D);VAR3F:=(((VAR3C - REF(VAR3C,1)) > 0) AND ((REF(VAR3C,1) - REF(VAR3C,2)) < 0)); VAR40:=IF((CROSS(VAR3B,VAR3C) AND (VAR3C <= 20)),30,0);VAR41:=VAR40;VAR42:=(SMA(((AMOUNT / VOL) / 100),13,1) * 1.15);VAR43:=(SMA(((AMOUNT / VOL) / 100),13,1) * 0.85);VAR44:=(CLOSE - REF(MA(CLOSE,20),11));VAR45:=(((((((((((((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43)) OR (((CLOSE < VAR1E) AND VAR31) AND VAR20)) OR ((CLOSE <VAR1E) AND (CLOSE < VAR43))) OR (((CLOSE < VAR1E) AND VAR20) AND (CLOSE < VAR43))) OR (VAR20 AND (CLOSE < VAR2C))) OR ((VAR20AND VAR31) AND (VAR44 < (0 - 1.5)))) OR (VAR20 AND (CLOSE < VAR1E))) OR (VAR20 AND (VAR44 < (0 - 1.5)))) OR (VAR31 AND (CLOSE< VAR43))) OR ((CLOSE < VAR2C) AND (VAR44 < (0 - 1.5)))) OR ((CLOSE < VAR1E) AND VAR31));VAR46:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR47:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR48:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR49:=REF(CLOSE,1);VAR4A:=((SMA(MAX((CLOSE - VAR49),0),5,1) / SMA(ABS((CLOSE - VAR49)),5,1)) * 100); VAR4B:=(((HIGH + LOW) + CLOSE) / 3);VAR4C:=((VAR4B - MA(VAR4B,14)) / (0.015 * AVEDEV(VAR4B,14)));VAR4D:=(((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,110) / MA(VOL,110)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100))< (0 - 0.273));VAR4E:=(((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.125));VAR4F:=(VAR11 AND VAR12);VAR50:=((((VAR2 >= (0 - 45)) AND (VAR2 <= (0 - 7))) AND (VAR3 <= (0 - 11))) AND (VAR4 <= (0 - 14)));VAR51:=(COUNT(VAR50,1) >= 1);VAR52:=(VAR4F AND VAR51);VAR53:=(((((VAR20 AND (CLOSE < VAR1E)) AND VAR31) AND (CLOSE < VAR2C)) AND VAR45) AND VAR52);VAR54:=(((CLOSE - MA(CLOSE,6)) / MA(CLOSE,6)) * 100);VAR55:=(((CLOSE - MA(CLOSE,12)) / MA(CLOSE,12)) * 100);VAR56:=(((CLOSE - MA(CLOSE,24)) / MA(CLOSE,24)) * 100);VAR57:=REF(CLOSE,1);VAR58:=((SMA(MAX((CLOSE - VAR57),0),5,1) / SMA(ABS((CLOSE - VAR57)),5,1)) * 100); VAR59:=(((HIGH + LOW) + CLOSE) / 3);VAR5A:=((VAR59 - MA(VAR59,14)) / (0.015 * AVEDEV(VAR59,14)));VAR5B:=((((((VAR54 >= (0 - 15.8)) AND (VAR54 <= (0 - 12.2))) AND (VAR55 <= (0 - 20.8))) AND (VAR56 <= (0 - 27.5))) AND (VAR58<= 11.7)) AND (VAR5A <= (0 - 145)));VAR5C:=9.999999884842+026;VAR5D:=(COST(10) * 0)*VAB3;VAR5E:=((((MA(AMOUNT,5) / MA(VOL,5)) / 100) - ((MA(AMOUNT,125) / MA(VOL,125)) / 100)) / ((MA(AMOUNT,5) / MA(VOL,5)) / 100));VAR5F:=MA((((LLV(LOW,45) - CLOSE) / (HHV(HIGH,45) - LLV(LOW,45))) * 100),5);VAR60:=((CROSS((0 - 5),VAR5F) AND (VAR5E < (0 - 0.4))) AND (((CLOSE - MA(CLOSE,30)) / MA(CLOSE,30)) < (0 - 0.19)));VAR61:=MA(CLOSE,3);VAR62:=(REF(CLOSE,2) * 0.865);VAR63:=(REF(CLOSE,13) * 0.772);VAR64:=MIN(VAR62,VAR63);VAR65:=((100 * VOL) / CAPITAL);VAR66:=MA(CLOSE,13);VAR67:=IF(((((CLOSE - VAR64) / CLOSE) < 0.03) AND ((SUM(VAR65,5) / 5) < 1.8)),1,0); 开始控盘:=STICKLINE((VAR6 <= (0 - 10)),0,(0 - 20),5,0)*VAB3,COLORBROWN;出击:=IF(((((VAR9 OR VAR16) OR VAR53) OR VAR5B) OR ((((CLOSE - VAR64) / CLOSE) <0.03) AND ((SUM(VAR65,5) / 5) <1.8))),120,0),LINETHICK2,COLOR0000FF;VAR68:=0;VARQ:=MA(CLOSE,152);VARW:=MA(CLOSE,194.16);VAREE:=(VARW + (2 * STD(CLOSE,170)));VARR:=(VARQ + (2 * STD(CLOSE,170)));VART:=IF((DATE > 1080822),0,1);VAR611:=EMA(HHV(HIGH,500),21);VAR71:=EMA(HHV(HIGH,250),21);VAR81:=EMA(HHV(HIGH,90),21);VAR91:=EMA(LLV(LOW,500),21);VARA1:=EMA(LLV(LOW,250),21);VARB1:=EMA(LLV(LOW,90),21);VARC1:=EMA((((((((VAR91 * 0.96) + (VARA1 * 0.96)) + (VARB1 * 0.96)) + (VAR611 * 0.558)) + (VAR71 * 0.558)) + (VAR81 * 0.558))/ 6),21);VARD1:=EMA((((((((VAR91 * 1.25) + (VARA1 * 1.23)) + (VARB1 * 1.2)) + (VAR611 * 0.55)) + (VAR71 * 0.55)) + (VAR81 * 0.65)) /6),21);VARE1:=EMA((((((((VAR91 * 1.3) + (VARA1 * 1.3)) + (VARB1 * 1.3)) + (VAR611 * 0.68)) + (VAR71 * 0.68)) + (VAR81 * 0.68)) /6),21);VARF1:=EMA((((((VARC1 * 3) + (VARD1 * 2)) + VARE1) / 6) * 1.738),21)*VAB3;VAR101:=REF(LOW,1);VAR111:=((SMA(ABS((LOW - VAR101)),3,1) / SMA(MAX((LOW - VAR101),0),3,1)) * 100); VAR121:=EMA(IF(((CLOSE * 1.35) <= VARF1),(VAR111 * 10),(VAR111 / 10)),3)*VAB3; VAR131:=LLV(LOW,30);VAR141:=HHV(VAR121,30)*VAB3;VAR151:=IF(MA(CLOSE,58),1,0);VAR161:=((EMA(IF((LOW <= VAR131),((VAR121 + (VAR141 * 2)) / 2),0),3) / 618) * VAR151);VAR171:=(((IF((VAR161 > 50),50,VAR161) / 20) * 15) * VART)*VAB3;SG:=EMA(HHV(HIGH,1),8);X1:=EMA(CLOSE,8);X30:=((X1 < REF(X1,1)) AND (CLOSE < X1));X31:=IF(((SG < REF(SG,1)) OR X30),1,0);LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORRED,LINETHICK2; 趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;震仓线:=45,COLORMAGENTA;震仓线2:=50,COLORGRAY;逃命线:=80,COLORRED;抄底线:=20,COLORGREEN;绝底线:=5,COLORBLUE;PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ;PP:=操作线<震仓线AND REF(操作线,1)>震仓线;PP3:=操作线<抄底线AND REF(操作线,1)>抄底线*VAB3;卖出价参考:VARA12,COLORRED,NODRAW;补仓价参考:VARA13,COLORGREEN,NODRAW;财主抓涨停:(((((COUNT((X31 = 1),4) = 3) AND (X31 = 0))AND O<C AND (((C-REF(C,1))/REF(C,1))>0.085))*89) >=89)OR((C-REF(C,1))/REF(C,1)>0.085 AND (REF(PP3,1) OR REF(PP,1))) AND VAB3=1,NODRAW;STICKLINE(财主抓涨停,0.1,0,2,0),COLORRED;STICKLINE(财主抓涨停,0.1,1,2,0),COLORBLUE;STICKLINE(财主抓涨停,0.2,1,2,0),COLORRED;STICKLINE(财主抓涨停,0.3,1,2,0),COLORBLUE;STICKLINE(财主抓涨停,0.4,1,2,0),COLORMAGENTA;STICKLINE(财主抓涨停,0.5,1,2,0),COLORBROWN;STICKLINE(财主抓涨停,0.6,1,2,0),COLORMAGENTA;STICKLINE(财主抓涨停,0.7,1,2,0),COLORYELLOW;STICKLINE(财主抓涨停,0.8,1,2,0),COLORLIRED;STICKLINE(财主抓涨停,0.9,1,2,0),COLORYELLOW;。

分时买点追击涨停通达信指标公式源码

分时买点追击涨停通达信指标公式源码

分时买点追击涨停通达信指标公式源码分时起爆点(副图)分时买点,追击涨停!昨收:=DYNAINFO(3);HH:=DYNAINFO(5);LL:=DYNAINFO(6);FK:=MAX(HH-昨收,昨收-LL)*0.1;ZS:=昨收-FK*3.2;Q1:=昨收-FK*3.22;Q2:=昨收-1*FK*3.22;Q3:=昨收-5*FK*3.2;TJ:=FILTER(C,239)>0,NODRAW;TJJ:=SUM(TJ,0),NODRAW;TJA:=CONST(TJJ),NODRAW;流通盘:CAPITAL*100/100000000,NODRAW;资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;资金流出:=-SUM(IF(C<REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;资金出入:=资金流入+资金流出,COLORSTICK;NN:=2400;HD:=HHV(资金出入,NN);LD:=LLV(资金出入,NN);最高:=CONST(HD),NODRAW;最低:=CONST(LD),NODRAW;HLMAX:=最高;HLMIN:=最低;HLMN1:=(HLMAX+HLMIN)/2;HLMN2:=HLMAX-HLMIN;HLMN3:=(100-0)/2*1.3;HLMN4:=(100-0)/1*1.3;中间价轴:=(50-HLMN3)*HLMN2/HLMN4+HLMN1;轴差:=最高-最低;DRAWBAND(资金出入,RGB(150,0,150),0,RGB(0,100,0));资金流量:资金出入,COLORFFFFFF,LINETHICK1;资金比:资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPE N;攻击量A:=SUM(IF(C>REF(C,1),攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0; 攻击量B:=-SUM(IF(C<REF(C,1),攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;攻击流量:攻击量A+攻击量B,COLORSTICK;NOTEXT攻击线:攻击流量,COLORYELLOW,LINETHICK1;攻击比:攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;资金攻击度:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));{STICKLINE(资金流量A>0,资金流量A,0,1,0),COLOR0000FF;STICKLINE(资金流量B<0,资金流量B,0,1,0),COLORFF0000;}DRAWRECTREL(110,10,400,90,RGB(0,75,200));DRAWRECTREL(110,10,250,90,RGB(0,250,50));DRAWRECTREL(110,10,100+CONST(资金流量比*300/100),90,RGB(200,50,0)); DRAWTEXT_FIX(1,0.000,0.00,0,STRCAT(STRCAT('【资金流量比】',CON2STR(资金流量比,2)),'%买')),COLORYELLOW;DRAWRECTREL(610,10,900,90,RGB(0,75,200));DRAWRECTREL(610,10,750,90,RGB(0,250,50));DRAWRECTREL(610,10,600+CONST(资金攻击度*300/100),90,RGB(175,50,0)); DRAWTEXT_FIX(1,0.500,0.00,0,STRCAT(STRCAT('【资金攻击度】',CON2STR(资金攻击度,2)),' %买')),COLORYELLOW;量:=VOL,VOLSTICK;五日量:=MA(量,5),COLORWHITE;TT:=BARSCOUNT(C);{取得有效收盘价}均价黄:=SUM(C*V,TT)/SUM(V,TT);{分时均线的取值}量两步:=MA(V,5)>REF(MA(V,5),1) AND REF(MA(V,5),1)>REF(MA(V,5),2);价两步:= C>=REF(C,1) AND REF(C,1)>REF(C,2);价上岗量破5:=C>均价黄AND V>MA(V,5);量起爆:=V>=REF(V,1)*1;价创新高:=C>=HHV(C,0);量创新高:=V>=HHV(V,0);对昨日涨幅:=(C/DYNAINFO(3)-1)*100<=1.50;{涨幅控制2个点以内}每日一点:=量两步AND 价两步AND 价上岗量破5 AND 量起爆AND 价创新高AND 量创新高AND 对昨日涨幅;{计算收益、已爆分钟}VV:=BARSSINCE(每日一点)+1;首次起爆价:=REF(C,VV-1),NODRAW;起爆收益:(DYNAINFO(7)-首次起爆价)/首次起爆价*100,NODRAW;起爆时间:=REF(TIME/10000,VV),NODRAW;已爆分钟:=VV-1,NODRAW;{画出底线和红球}首次起爆量:=REF(VOL,VV-1);DRAWICON(已爆分钟>=2,最低,8);{出现8,至少已经确认2分钟了};MMA30:=EMA(CLOSE,30);强弱界定:=IF(PERIOD=0 ,EMA(CLOSE,900),DRAWNULL);分时均价线:=SUM(C*V,240)/SUM(V,240),COLORYELLOW,LINETHICK2;BGTYU:=IF(DATE<=1150530,1,0);GHYJKU:=BETWEEN((DCLOSE*BGTYU)/(SUM(AMOUNT,BARSCOUNT((DCLOSE*BGTYU)) )/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU)))),1.05,0.95);VBNH:=IF(GHYJKU=0,MA((DCLOSE*BGTYU),BARSCOUNT((DCLOSE*BGTYU))),(SUM(AM OUNT,BARSCOUNT((DCLOSE*BGTYU)))/SUM(VOL*100,BARSCOUNT((DCLOSE*BGTYU))) ));二十☆:=EXPMA((DCLOSE/VBNH),20),COLORRED,LINETHICK1;六十★:=EXPMA((DCLOSE/VBNH),60),COLORLIGREEN,LINETHICK1;FAA:=BARSLAST(TIME=100000);FCC:=REF(HHV(C,0),FAA+1);FVV:=REF(HHV(V,0),FAA+1);ZF:=FCC/DYNAINFO(3)<1.05;XG1:=CROSS(C,FCC) AND V>FVV AND ZF,COLORWHITE;FAA1:=BARSLAST(TIME=110000);FCC1:=REF(HHV(C,0),FAA1+1);FVV1:=REF(HHV(V,0),FAA1+1);ZF1:=FCC1/DYNAINFO(3)<1.05;XG2:=CROSS(C,FCC1) AND V>FVV1 AND ZF1,COLORYELLOW;突破:=XG1 OR XG2,COLORRED;VT:=BARSSINCE(突破)+1;首次突破价:=REF(C,VT-1),NODRAW;突破收益:(DYNAINFO(7)-首次突破价)/首次突破价*100,NODRAW;拉升量:=IF(C>REF(C,1),VOL,0);昨拉升最高值:=CONST(FINDHIGH(拉升量,FROMOPEN,240,1)),LINETHICK1,COLORMAGENTA;今拉升最高值:=CONST(REF(HHV(拉升量,FROMOPEN),0)),COLORYELLOW,NODRAW;攻击力度:=今拉升最高值/昨拉升最高值,NODRAW;STICKLINE(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.80,最低,1,0),COLORCYAN;STICKLINE(每日一点,最低+轴差*0.65,最低,1,0),COLORMAGENTA;STICKLINE(突破,最低+轴差*0.50,最低,1,0),COLORWHITE;STICKLINE(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),最低+轴差*0.35,最低,1,0),COLORYELLOW;STICKLINE(FILTER(BARSLAST(C<MIN(MMA30,强弱界定))<=20 ANDCROSS(C,MAX(MMA30,强弱界定)),30),最低,最低+轴差*0.2,1,0),COLORGREEN; DRAWICON(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.80,1); DRAWICON(每日一点,最低+轴差*0.65,1);DRAWICON(突破,最低+轴差*0.50,17);DRAWICON(FILTER(BARSLAST(C<MIN(MMA30,强弱界定))<=20 ANDCROSS(C,MAX(MMA30,强弱界定)),30),最低+轴差*0.2,9);DRAWTEXT(FILTER(CROSS(拉升量,昨拉升最高值),30),最低+轴差*0.80,'☆攻击'),COLORCYAN;DRAWTEXT(每日一点,最低+轴差*0.65,'∠起爆'),COLORGREEN;DRAWNUMBER(每日一点,最低+轴差*0.55,首次起爆价),COLORGREEN; {DRAWTEXT(CURRBARSCOUNT=160,HHV(V,60)*0.9,'20线上行+日价K线突破+日K线量起爆更好+估换手小于10%时更稳定'),COLORGREEN;};DRAWTEXT(突破,最低+轴差*0.50,'分时突破'),COLORWHITE;DRAWNUMBER(突破,最低+轴差*0.40,首次突破价),COLORWHITE;DRAWTEXT(CROSS(EXPMA((DCLOSE/VBNH),60),EXPMA((DCLOSE/VBNH),120)),最低+轴差*0.35,'★迹'),COLORYELLOW;{DRAWICON(CROSS(EXPMA((DCLOSE/VBNH),20),1.01),MAX(资金流量,攻击流量),18);} DRAWTEXT(FILTER(BARSLAST(C<MIN(MMA30,强弱界定))<=20 ANDCROSS(C,MAX(MMA30,强弱界定)),30),最低+轴差*0.2,'关注'),COLORRED;。

通达信指标公式源码通达信狙击主力主图指标 源码

通达信指标公式源码通达信狙击主力主图指标 源码

通达信狙击主力主图指标源码AMV0:=VOL*(O+C)/2;CG:MA(C,3),COLORFFCC66,LINETHICK2;FL:=HHV(CG,2);黄金线:HHV(CG,2),COLOR00FF00;FS:CG-(FL-CG),COLORRED,LINETHICK2;十:MA(C,13),COLOR00FFFF,LINETHICK2;涨:IF(MA(CLOSE,13)>REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL),COL ORRED,LINETHICK2;平:IF(MA(CLOSE,13)=REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL),COL OR00FFFF,LINETHICK3;跌:IF(MA(CLOSE,13)<REF(MA(CLOSE,13),1),MA(CLOSE,13),DRAWNULL),COL ORGREEN,LINETHICK2;DRAWTEXT(平=十,十*0.998-0.01,'关注'),COLORCYAN;TY:=C;A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10);C1:=BACKSET(B1,10+1); HD:=FILTER(C1,10);A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10);C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD));T1:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;T2:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);波峰:IF(T1,A,A),COLORFF00FF,POINTDOT;STICKLINE(T1,A,A,9,0),COLORFF00FF;波谷:IF(T2,B,B),COLOR80FF00,POINTDOT;STICKLINE(T2,B,B,9,0),COLOR80FF00;VAR3:=LLV(HIGH,240);VAR4:=100*(CLOSE-VAR3)/VAR3;VAR5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100; VAR6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100; VAR7:=0;VAR8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),7,1)*100;VAR9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE ,1)),13,1)*100;VAR10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);VAR11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);VAR12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);VAR13:=ZIG(3,22)>REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)<=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)<=REF(ZIG(3,22),3);VAR14:=ZIG(3,22)<REF(ZIG(3,22),1) ANDREF(ZIG(3,22),1)>=REF(ZIG(3,22),2) ANDREF(ZIG(3,22),2)>=REF(ZIG(3,22),3);VAR15:=ZIG(3,51)>REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)<=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)<=REF(ZIG(3,51),3);VAR16:=ZIG(3,51)<REF(ZIG(3,51),1) ANDREF(ZIG(3,51),1)>=REF(ZIG(3,51),2) ANDREF(ZIG(3,51),2)>=REF(ZIG(3,51),3);VAR17:=ZIG(3,72)>REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)<=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)<=REF(ZIG(3,72),3);VAR18:=ZIG(3,72)<REF(ZIG(3,72),1) ANDREF(ZIG(3,72),1)>=REF(ZIG(3,72),2) ANDREF(ZIG(3,72),2)>=REF(ZIG(3,72),3);VAR19:=EMA(CLOSE,2)-EMA(CLOSE,150);买1:=VAR10;{}买2:=(VAR11+VAR13+VAR15+VAR17);卖1:=(VAR12+VAR14+VAR16+VAR18);DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'买'),COLORRED;S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN; DRAWTEXT(卖1>0,HIGH*1.02,'卖'),COLORGREEN;{股灵吧决策}VAR100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) -LLV(LOW,20))));VAR200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) -LLV(LOW,20))));VAR300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) -LLV(LOW,5))),34));X1:=(C+L+H)/3;X2:=EMA(X1,6);X3:=EMA(X2,5);GR1:=BARSLAST(BETWEEN("BIAS.BIAS2"(6,13,24),0,5));GR3:=COUNT("BIAS.BIAS2"(6,13,24)>10 AND H=HHV(H,GR1),GR1);GR4:=H=HHV(H,GR1);GR5:="MACD.MACD"(9,17,8)<REF("MACD.MACD"(9,17,8),1);STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000055; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR000077; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR000099; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000BB; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLOR0000DD; STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLOR0000FF; STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR555555; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLOR777777; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLOR999999;STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORDDDDDD; STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORFFFFFF; STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR990000; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.7,0 ),COLORCC0000; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,2.1,0 ),COLORFF4400; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORFF8800; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.9,0 ),COLORFFCC00; STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.3,0 ),COLORCYAN;生命线:MA(CLOSE,43),LINETHICK3,COLORWHITE;AA1:=MA(C,5);BB1:=MA(C,15);AF:=CROSS(AA1,BB1);STICKLINE(AF,LLV(L,4),LLV(L,4),50,1),COLORRED,LINETHICK3; DRAWTEXT(AF,LLV(L,4),'止损线'),COLORYELLOW;VAR01:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-RE F(CLOSE,1))),25);VAR02:=HIGH-REF(HIGH,1);VAR03:=REF(LOW,1)-LOW;VAR04:=SUM(IF(VAR02>0 AND VAR02>VAR03,VAR02,0),25);VAR05:=SUM(IF(VAR03>0 AND VAR03>VAR02,VAR03,0),25);VAR06:=VAR04*100/VAR01;VAR07:=VAR05*100/VAR01;VAR08:=MA(ABS(VAR07-VAR06)/(VAR07+VAR06)*100,15);VAR09:=(VAR08+REF(VAR08,15))/2;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100; DRAWICON(CROSS(84,RSI) ,H*1.03,5);DRAWICON(CROSS(RSI,11) ,L*0.99,4);VAR27:=REF(CLOSE,1);VAR28:=SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*10 0;DRAWICON(IF(CROSS(76,VAR28),1,0),H*1.03,5);DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)>0 ANDEMA(CLOSE,12)/LOW>1.15,5),LOW,'☆'),LINETHICK7 , COLORFF00FF;VARA:=((AMOUNT)/(VOL))/(100);VARB:=((3)*(HIGH)+LOW+OPEN+(2)*(CLOSE))/(7);VARC:=((SUM(AMOUNT,7))/(VARA))/(100);VARD:=DMA(VARB,(VOL)/(VARC));VARE:=((CLOSE-VARD)/(VARD))*(100);VARF:=((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)))*(100); VARJ:=MA(VARE,20)+STD(VARE,20);BIAS18:=((CLOSE-MA(CLOSE,18))/(MA(CLOSE,18)))*(100);AA:=SMA(VARF,3,1);SS:=(REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>79); DRAWTEXT((REF(BIAS18,1)>=5) AND CROSS(VARJ,VARE) AND (AA>SS),H*1.02,'☆卖'),LINETHICK7,COLORGREEN;VAR31:=ZIG(3,10)<REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);{ZIG 有未来}VAR32:=ZIG(3,10)>REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)<REF(ZIG(3,10),2);STICKLINE(VAR31,C,O,1,0),COLORYELLOW,LINETHICK2;{高位黄色} STICKLINE(VAR31,C,O,1,0),COLORYELLOW,LINETHICK2;{高位黄色} STICKLINE(VAR31,H,L,1,0),COLORYELLOW,LINETHICK2;{高位黄色} STICKLINE(VAR32,C,O,1,0),COLORFF00FF,LINETHICK2;{底位红色} STICKLINE(VAR32,C,O,1,0),COLORFF00FF,LINETHICK2;{底位红色} STICKLINE(VAR32,H,L,1,0),COLORFF00FF,LINETHICK2;{底位红色};。

通达信指标公式源码股圣指标 大盘无系统风险时 抓涨停不是难事

通达信指标公式源码股圣指标 大盘无系统风险时 抓涨停不是难事

股圣指标,抓涨停概率40%,但信号出后晌涨概率大于90%。

绝无未来,鄙视发有未来的人腰线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,,; KKA:=EMA(C-L,5) ;顶线:=MA((C+REF(C,1)+REF(C,1))/3+KKA,5);底线:=MA(REF(C,1)-KKA,5);MA10:= MA(C,10);MA20:= MA(C,20);MA60:= MA(C,60);BBA:=MA(C,2);CCA:=MA(C,10);DDA:=MA(C,20);EEA:=EXIST(CROSS(BBA,CCA) AND CROSS(BBA,DDA),1);RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);BB:=MA(SUM(J1-J2,22),3);累加:=21*BB+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4) +16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF(BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13)+7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF (BB,18)+2*REF(BB,19)+REF(BB,20);WMA:=累加/(21+1)/21*2;CC:=WMA;VAR3:=(BB-CC);VAR4:=SMA(RV,3,1);VAR5:=SMA(VAR4,3,1);KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;DD:=SMA(KK,3,1),COLOR00FFFF;股圣:腰线>O AND O>底线AND C>顶线AND C>MA20 AND C>腰线AND EEAAND CROSS(VAR4,VAR5) AND CROSS(KK,DD)COLORGREEN;。

准确率超高通达信指标公式源码

准确率超高通达信指标公式源码

准确率超高通达信指标公式源码经过实盘操作,准确率很高的指标里有具体的使用说明;VAR1S:=(CLOSE*2+HIGH+LOW)/4;VAR2S:=(EMA(VAR1S,13)-EMA(VAR1S,34))/EMA(VAR1S,34)*100;VAR3S:=EMA(VAR2S,5);主力控盘:=2*(VAR2S-VAR3S)*3.8;SA1:= 主力控盘,COLORWHITE,NODRAW;SA2:=SA1-REF(SA1,1);SA3:=MA(SA1,3),COLORGREEN;SAA3:=MA(SA1,7),COLORCYAN;SAA4:=MA(SA1,13),COLORRED;MM1:=MA(CLOSE,5);Q5:(MM1-REF(MM1,1))/REF(MM1,1)*100,NODRAW,COLORMAGENTA;MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-L OW)),14);HD2 :=HIGH-REF(HIGH,1);LD2 :=REF(LOW,1)-LOW;DMP2:=EXPMEMA(IF(HD2>0&&HD2>LD2,HD2,0),14);DMM2:=EXPMEMA(IF(LD2>0&&LD2>HD2,LD2,0),14);PDI2:=DMP2*100/MTR;MDI2:=DMM2*100/MTR;ADX:=EXPMEMA(ABS(MDI2-PDI2)/(MDI2+PDI2)*100,6);ADXR:=EXPMEMA(ADX,6);SAA31:=SAA3-REF(SAA3,1);ADXR12:=MA(ADX,3);ADXR13:=ADX-ADXR12;ADXR14:=ADX-ADXR;ZK2:=ADX<16;ZK3:=(ADXR<16&&ADX<20);ZK31:=ADXR<20&&ADXR>ADX;ZK4:=(ADX<mdi2&&adxr<mdi2&&adx<30);< p="">ZK41:=(ADX<pdi2&&adxr<pdi2&&pdi2>MDI2&&ADX<30 &&ADX<ref(adx,1));< p="">ZK5:=(ZK2 OR ZK3 OR ZK31);SWQ1:=MAX(ADX,ADXR);AD1:=ADX-REF(ADX,1);Y:=(H+O+L+3*C)/6;X:=EMA(100-(100/(1+SUM(IF(Y>REF(Y,1),Y*VOL,0),13)/SUM(IF(Y<="" p=""> AA:=30>X,LINETHICK0;BB:=X>80,LINETHICK0;VAR1:=(C-MA(C,6))/MA(C,6)*100;VAR2:=(C-MA(C,24))/MA(C,24)*100;VAR3:=(C-MA(C,32))/MA(C,32)*100;VAR4:=(VAR1+VAR2+VAR3)/3;VAR5:=EMA(VAR4,5);VAR6:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;VAR7:=SMA(SMA(100-3*(C-LLV(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1)+SMA(2*(C-LL V(C,75))/(HHV(H,75)-LLV(L,75))*100,20,1),15,1);VAR8:=VAR7REF(V,1) AND C>REF(C,1);K:EMA(VAR5,5)*4;D:EMA(K,5),NODRAW,COLOR38B0DE;J:K*3-D*2,NODRAW,COLORCC66FF;MACD:EMA(EMA(VAR1,5),5)*6,NODRAW,COLORWHITE;{DRAWBAND(J,RGB(238,238,6),K,RGB(256,150,60));}DRAWBAND(K,RGB(238,238,6),D,RGB(256,150,60));按短线卖:IF(EXIST(Q5>2.5,5),-60,DRAWNULL),LINETHICK7,COLORGREEN;按短线卖2:IF(EVERY(Q5<2.5,5)&&MACD>8,-60,DRAWNULL),LINETHICK7,COLORYELLOW;按短线买:IF(EXIST(Q5<-2.5,5),-60,DRAWNULL),LINETHICK7,COLORRED;中线股:IF(SA1>0,-40,DRAWNULL),LINETHICK7,COLORMAGENTA;中线币:IF(SA1<0,-40,DRAWNULL),LINETHICK7,COLORGREEN;盘整币:IF(MDI2>ADXR OR ZK5,-30,DRAWNULL),LINETHICK7,COLORGREEN;DRAWTEXT(EVERY(Q5<1,4)&&Q5>0&&MACD>REF(MACD,1)& &REF(MACD,1)-0.5,4),MACD*1.04,'P卖'),COLORGREEN;STICKLINE(SA1<ref(sa1,1),0,macd*1.03,2,1),colorgreen;<p="">STICKLINE(SA1>REF(SA1,1)&&SA1>0,0,MACD*1.03,2,1),COL ORRED;STICKLINE(Q5>5&&SA1>0&&MACD>REF(MACD,1),0,MAC D*1.03,2,1),COLORRED;DRAWTEXT(AA&&SA1>REF(SA1,1),MACD*1.1,'吸货'),COLOR0066FF;DRAWTEXT(BB&&SA1<ref(sa1,1),macd*1.1,'派发'),colorffff00;< p="">DRAWTEXT(CROSS(3,Q5)&&EXIST(Q5>4,6),MACD*1.1,'卖4'),COLORGREEN;DRAWTEXT(CROSS(4,Q5)&&EXIST(Q5>5,6),MACD*1.1,'卖5'),COLORGREEN;DRAWTEXT(CROSS(5,Q5)&&EXIST(Q5>6,6),MACD*1.1,'卖6'),COLORGREEN;DRAWTEXT(CROSS(6,Q5)&&EXIST(Q5>7,5),MACD*1.1,'卖7'),COLORGREEN; STICKLINE(MACD>0,0,MACD,1,0),COLORRED;STICKLINE(MACD>0 AND MACD<0,0,macd,1,0),colorff9900;<="">STICKLINE(MACD<0 AND MACD>REF(MACD,1),0,MACD,1,0),COLORFF00FF;MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;辰星线:=(20*YTSL+19*REF(YTSL,1)+18*REF(YTSL,2)+17*REF(YTSL ,3)+16*REF(YTSL,4)+15*REF(YTSL,5)+14*REF(YTSL,6)+13*REF(YTSL,7)+12*REF(YTSL,8) +11*REF(YTSL,9)+10*REF(YTSL,10)+9*REF(YTSL,11)+8*REF(YTSL,12)+7*REF(YTSL,13)+6*REF(YTSL,14)+5*REF(YTSL,15)+4*REF(YTSL,16)+3*REF(YTSL,17)+2*REF(YTSL,18 )+REF(YTSL,20))/21 1,COLOR0000FF;牵牛线:=MA(CLOSE,26),COLORFF00FF;CX1:=辰星线;QN1:=牵牛线;IF(CX1>REF(CX1,1)&&CX1>QN1,-50,DRAWNULL),LINETHICK7,COLORRED;IF(CX1>REF(CX1,1)&&CX1<qn1,-50,drawnull),linethick7,colormagenta;< p="">IF(CX1<ref(cx1,1)&&cx1<qn1,-50,drawnull),linethick7,colorgreen;< p="">IF(CX1<ref(cx1,1)&&cx1>QN1,-50,DRAWNULL),LINETHICK7,COLORCYAN;DRAWTEXT(NDAY(SA1,0,2)&&CX1>REF(CX1,1)&&MACD>REF( MACD,1)&&REF(MACD,1)<ref(macd,2),macd*1.1,'bbb'),colormagenta;< p=""> DA:=(3*CLOSE+OPEN+LOW+HIGH)/6,POINTDOT;X2:=(20*DA+19*REF(DA,1)+18*REF(DA,2)+17*REF(DA,3)+1 6*REF(DA,4)+15*REF(DA,5)+14*REF(DA,6)+13*REF(DA,7)+12*REF(DA,8)+11*REF(DA,9)+1 0*REF(DA,10)+9*REF(DA,11)+8*REF(DA,12)+7*REF(DA,13)+6*REF(DA,14)+5*REF(DA ,15)+4*REF(DA,16)+3*REF(DA,17)+2*REF(DA,18)+REF(DA,20))/210,COLORF0F000;X3:=(MA(X2,3)+MA(X2,2))/2,COLORYELLOW,LINETHICK1;DRAWTEXT(SA1>REF(SA1,1)&&SA1>0&&REF(SA1,1)<ref(sa 1,2)&&x2>X3,MACD*1.1,'信号1'),COLORMAGENTA;</ref(sa1,2)&&x2>DRAWTEXT(Q5>5&&SA1>0&&MACD>REF(MACD,1)&&REF(MACD,1)<ref(macd,2)&&x2>X3,MACD*1.1,'信号2'),COLORRED;</ref(macd,2)&&x2>DRAWTEXT(MACD>0&&MACD>REF(MACD,1)&&REF(MAC D,1)<ref(macd,2)&&x2>X3,-3,'信号3'),COLORRED;</ref(macd,2)&&x2>DRAWTEXT(MACD<0 ANDMACD>REF(MACD,1)&&REF(MACD,1)<ref(macd,2)&&x2>X 3,MACD*1.1,'信号</ref(macd,2)&&x2>4'),COLORWHITE;-60;-50;-40;-30;</ref(macd,2),macd*1.1,'bbb'),colormagenta;<></ref(cx1,1) &&cx1></ref(cx1,1)&&cx1<qn1,-50,drawnull),linethick7,colorgreen;<></qn1,-50,drawnull),linethick7,colormagenta;<></ref(sa1,1),macd*1.1,'派发'),colorffff00;<></ref(sa1,1),0,macd*1.03,2,1),colorgreen;<></ref(adx,1));<></pdi2&&adxr<pdi2&&pdi2></mdi2&&adxr<mdi2&&adx<30);<>。

通达信指标公式源码 高成功率指标

通达信指标公式源码 高成功率指标

主图:VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 OR VARA OR VARB ORVARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;{红1}VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) ANDCLOSE>=REF(CLOSE,2);VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) ANDCLOSE<=REF(CLOSE,2);STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),3,0),COLORFFCC66;VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,1),COLORYELLOW;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),5,2),COLOR00FF00{98FD}; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00C8FF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10ECFF; STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10FFFF; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLOR00D900; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORBLUE; STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR090FF2; PMA:MA(C,5),COLORWHITE,LINETHICK2;IF(PMA>REF(PMA,1),PMA,DRAWNULL),COLORRED,LINETHICK2;IF(PMA<REF(PMA,1),PMA,DRAWNULL),COLORGREEN,LINETHICK2;X:=(3*C+L+O+H)/6;多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*R EF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*RE F(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK2;{用法:黄托底买进,蓝压顶卖出。

通达信源码指标公式成功率85%.docx

通达信源码指标公式成功率85%.docx

一句话公式选股,只耍您拿得住,成功率85%,配合KDJ的J值底部或平台如果到最后交易的周期v二N,返回成交量(手)=N日内成交量(手)的最低值的最后一H取值设为常数,否则返回无效数说明:第一:我也是无意屮看到此公式,感谢原大神。

第二:如果想测试请看准我的测试条件。

第三:此指标可以直接当作副图中使用,也可以加到量能或虚拟成交量中去使用。

{赠送副图请注意参数设置}{N 2,1000,60; Ml 3,1000z5;M2 3,1000,135}{选股公式}{N:=60;或设置N: = 120,jl:b例中为60}N:=60;XG:IF(CURRBARSCOUNT<=N,V=CONST(LLV(V,N)),DRAWNULL);{赠送副图请注意参数设置}{N 2,1000,60; Ml 3,1000,5;M2 3,1000,135}VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME Z M1);MAVOL2:MA(VOLUME,M2);绿低量: = 13;蓝低量:=55;灰低量: = 100;{ ------- VOL •量能饱和…不懂就去百度——}Nl:=21;SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和:IF(SAT>1Z1,SAT)*100,COLOROOAAFF Z NODRAW;中点: = REFDATE(HHV(V,180)*0.5,DATE);STICKLINE(CURRBARSCOUNT=N1,中点*1.9 冲点*1.5,100,1),COLOROOAAFF; STICKLINE(CURRBARSCOUNT=N1,中点*1.88,中点*1.52,量能饱和,0),COLOR0077FF;DRAWTEXT(CURRBARSCOUNT=Nl+3,中点*1.8「饱和度 *),COLORYELLOW;H_L:=0.1*CONST(HHV(VOL,240)); {MAV10:MA(V z10),COLORYELLOW;} 启动5:=MA(V,5),COLORWHITE;洗盘40:=MA(V,40)Z COLORBLUE;异动135:=MA(V,135),COLORMAGENTA;WOL:=IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN Z DRAWNULL);{模拟量}STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,O z l,-l),COLOROOCOCO;量:VOL,VOLSTICK;换手:VOL*10000/FINANCE(7),NODRAW; {DYNAINFO(37)*100}换10T:=SUM(换手,10),NODRAW;倍数:=1・9;倍量:VOL> = REF(V,1)*倍数AND(IF(C<O Z C>REF(C Z1),1)),COLORYELLOW Z NODRAW;倍缩:REF(V,1)>=VOL*倍数,COLORMAGENTA,NODRAW;平量:RANGE(V/REF(V,1),0.97,1.03) ANDBARSCOUNT(V)>=2,COLORWHITE,NODRAW;低量10: VOL=LLV(VOL Z绿低量)AND BARSCOUNT(V)>=绿低量Z COLORGREEN Z NODRAW;低量50: VOL二LLV(VOL,蓝彳氐量)AND BARSCOUNT(V)>=蓝彳氐量,COLORBLUE,NODRAW;地量:VOL=LLV(VOL,灰彳氐量)AND BARSCOUNT(V)>=灰彳氐量,COLORGRAY,NODRAW;V1:=VOL*0.9;{图标位置}V2:=VOL*0.8;STICKLINE(倍量,0,Vl z l,0),COLORYELLOW;STICKLINE(平量z0,Vl,l,0),COLORWHITE;STICKLINE(低量10,0, V2,1,0),COLORLIGREEN;STICKLINE(低量50,0,V2,1,0),COLORBLUE;STICKLINE(地量z O,V2,l z O),COLORGRAY;STICKLINE(倍缩,0,V*0.45z 1,0),COLORMAGENTA;STICKLINE(C<0 AND C>REF(C,1),0,V,0,0),COLORRED;{假阴柱}STICKLINE(IF(CURRBARSCOUNT<=N z V=CONST(LLV(V z N))z DRAWNULL)z O,V,6 ,1), COLORFFOOFF;STICKLINE(IF(CURRBARSCOUNT<=N,V=CONST(LLV(V,N)),DRAWNULL),V,V+ 5500,4,1),COLORMAGENTA;STICKLINE(IF(CURRBARSCOUNT<=N,V=CONST(LLV(V,N))z DRAWNULL)z V+5 500"+1550021),COLORYELLOW;STICKLINE(IF(CURRBARSCOUNT<=N,V=CONST(LLV(V,N))Z DRAWNULL),V+1 5500/V+1850020),COLORYELLOW;STICKLINE(IF(CURRBARSCOUNT<=N Z V=CONST(LLV(V,N))Z DRAWNULL),V+1 8500,V+20500,2,0),COLORBLUE;真阳或假阴:=C>0 OR C>REF(C,1);收阳:二REF(真阳或假阴,3);倍量1:=REF(倍量,3);高量:=REF(V,3)>=H HV(V,7);三日不破匸LLV(C,3)>=REF(L,3);价升:=C0UNT(O=REF(C,l),3)=3;{收盘价逐升}量缩:=COUNT(V<=REF(V,1),3)=3;连阳:二COUNT(真阳或假阴,3)=3;倍量将军柱匸倍量1AND三H不破AND收阳;高量将军柱:二高量AND三日不破AND收阳;将军柱:=倍量将军柱OR高量将军柱;黄金柱:=将军柱AND价升AND量缩AND连阳;STICKLINE(黄金柱,0.3*V,0.7*V,1Z0),COLORRED; {红柱}DRAWICON(黄金柱,V*1.5,1);V100:= V<=LLV(V,100)*1.2 AND V>0 AND BARSCOUNT(V)> = 100;百口地量群:=COUNT(V100Z5)>=3;DRAWTEXT(FILTER(百R 地量群,4),V+3*H_L,地量群'),COLORGRAY; 长阴短柱:=C/REF(C,l)<=0.96 AND V<HHV(V,30)/1.9;DRAWTEXT(长阴短柱,V+1・6*H_LJ/1COLORLICYAN;■■■■■■1欣帜=刊、综合统计血卩” “ |209124491肚宰5丿8S . 38I启刊河E丿18856S848. 947.66午曰低宀丿I7.54s600338函斌珠昨11100.00328447 1332 8432 35s000902中国服奘11100.002S0648. S325 0624 69 002027七喜控股11100.00210294.0021 0320.71s300292吴通唾讯11100.00209516.3820 9520 64 600510黑壮丹11100.00209053.1320.9120.59s600580卧龙电气11100.00208983.6320 9020.58 600110中科英华11100.00207956.8820 8020 48600288大悄科技11100.00207381.1320 7420 43画002190成飞集咸11100.00207051. W20 7120 39 600136甬博股份11100.00207027. 1320 7020 39g600784鲁银投资11100.00206899.2520 6920 38s600094大名城11100.00206815.5020 6820 37s002466天齐锂业11100.00206525.3820.6520.34[300315荃趣科技11100.00206349. &320.6321.12 600247成城股份11100.00206307.5020.6321.37600728佳都新太11100.00208290.8820 6320.32000527義的电狂11100.00206275.5020 6320 32002642荣之联11100.00206251 5020 6320 31002239金飞达11100.00206165 2520 6220 31s300051三五互莊11100.00206068.0020 6120 30—271129346192899138721535709422.48 24J022.13k9012.4 万7・94亿 3.0出乙66.9。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

它虽然有未来函数,不过有很强的参考意义——黑马暴涨主图
DRAWTEXT_FIX(1,0.88,5,0,''),COLORRED;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');
ZK1:(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1+XMA(XMA(H,25),25),DOTLINE,COLOR WHITE;
ZD1:XMA(XMA(L,25),25)-(XMA(XMA(H,25),25)-XMA(XMA(L,25),25))*1,LINETHICK2,COL ORRED;
ZD2:EMA(ZD1,25),LINETHICK2;
DRAWBAND(ZD1,RGB(55,0,0),ZD2,RGB(0,91,0));
DRAWKLINE(H,O,L,C);
STICKLINE(ZD1>LOW AND ZD1<HIGH,ZD1,MIN(MIN(OPEN,CLOSE),ZD1),2,0),COLORYELLOW;
STICKLINE(ZD1>MIN(C,O) AND ZD1<MAX(C,O),ZD1,MIN(OPEN,CLOSE),2,0),COLORYELLOW;
STICKLINE(ZD1>HIGH,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(ZD1>HIGH,HIGH,LOW,0,0),COLORYELLOW;
VAR23:=100*XMA(XMA((C-REF(C,1)),6),6)/XMA(XMA(ABS((C-REF(C,1))),6),6);
回调买:=LLV(VAR23,2)=LLV(VAR23,7) AND COUNT(VAR23<0,2) AND CROSS(VAR23,MA(VAR23,2));
XG:=ZD1>HIGH AND 回调买AND L<=ZD1;
JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLO SE)-LOW)));
QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOS E,OPEN))));
QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX( OPEN,CLOSE))));
QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OP EN)-JJ)));
DDX:=((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,10000,10000),COLOR00AAAA,LINETHICK; V2:=SMA(IF(C>=REF(C,1),DDX,-DDX/100),2,1);
V5:=SMA(V2*120/FROMOPEN*5,2,1);
V10:=SMA(V5,5,1);
V20:=SMA(V10,5,1);
DY:=CURRBARSCOUNT=1 AND C<REF(C,1);
DY2:=REF(V2,1)-DY;
XG2:=C>O AND DY2<0.02 AND MA(C,5)>MA(C,60) AND C/REF(C,1)>=1.02 AND H<ZK1; {DRAWTEXT(XG2,L,'▲抓牛'),COLORYELLOW;}
DRAWTEXT(XG2 AND L<ZD1,L,'↖黑马暴涨'),COLORRED;。

相关文档
最新文档