狙击手副图选股指标通达信指标公式源码

合集下载

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

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

通达信强势狙击买进选股指标公式源码编程思路破译及成功率回测数据编程思路破译: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。

通达信副图指标公式源码大全

通达信副图指标公式源码大全

副图指标公式源码百万踏浪(相传为杨百万看图公式)、1N1:=9;N:=3;VAR1:=REF(CLOSE,1);标尺:SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)* 100;VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*10 0;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪:VAR3,COLORBLUE;波:VAR4,COLORRED;段:VAR5,COLORYELLOW;VAR6:=CROSS(VAR3,VAR4)ANDVAR4<25;STICKLINE(VAR6,0,VAR4+15,5,0),COLORGREEN;VAR7:=CROSS(VAR4,VAR5)ANDVAR4<25;VAR8:=VAR7ANDVOL>REF(VOL,1)*2ANDVOL>REF(MA(VOL,5),1)*2; STICKLINE(VAR7,0,VAR4+55,5,0),COLORWHITE;底抄DRAWTEXT(VAR7ANDCOUNT(VAR7,10)=1,VAR4+25,''),COLORYELLOW;STICKLINE(VAR8,0,VAR4+15,5,0),COLORBLUE;DRAWTEXT(VAR8ANDCOUNT(VAR8,10)=1,VAR4-1,'量放'),COLORGREEN;VAR9:=CROSS(VAR3,VAR4)ANDVAR4>80ANDVAR4>VAR5; STICKLINE(VAR9ANDCOUNT(VAR9,5)=1,VAR4-5,100,5,0),COLORY ELLOW;VARA:=CROSS(VAR5,VAR4)ANDREF(VAR4,1)>80;STICKLINE(VARA,VAR4-15,100,15,0),COLORYELLOW;顶逃DRAWTEXT(VARAANDCOUNT(VARA,10)=1,VAR4-25,''),COLORYELLO W;VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*1 00;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDE XL,14))*100;VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;VAR17:=BARSCOUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100; VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LO W,60))+100;VAR20:=VAR18<=25ANDVAR19<-95ANDVAR1F>20ANDVAR1B<-30ANDV AR1E<30ANDVAR11-CLOSE>=-0.25ANDVAR15<22ANDVAR16<28ANDVA R17>50;STICKLINE(VAR20,0,50,10,0),LINETHICK2,COLORBLUE; DRAWTEXT(CROSS(VAR20,0.5)ANDCOUNT(VAR20=1,10)=1,60,'百万导弹?'),LINETHICK7,COLORWHITE;2、分类资金A:=IF((CLOSE>126.32),(AMOUNT)/(100000),VOL);主力:MA(A,4),LINETHICK0,COLORYELLOW;游资:MA(A,8),LINETHICK0,COLOR00FF00;大户:MA(A,16),LINETHICK0,COLORRED;:MA(A,32),LINETHICK0,COLORF0F000;散户.主比:ABS(((主力)/(主力+游资+大户+散))*(100)),LINESTICK,COLORYELLOW;户户大+散+资)/(主力+游资游游比:ABS((())*(100)),LINESTICK,COLOR00FF00;户户游资++散大户大比:ABS(((大)/(主力+))*(100)),LINESTICK,COLORRED;户散+)/(:ABS(((散户主力+游资+大户比散))*(100)),LINESTICK,COLORF0F000;户:MA(A,180),COLORFF66FF,LINETHICK1; 警戒线,3,0),COLOR009CFF; 主力STICKLINE((主力>0),0,,2.8,0),COLOR009CFF; STICKLINE((主力>0),0,主力,2.5,0),COLOR00C0FF; STICKLINE((主力主力>0),0,,1.5,0),COLOR00D1FF; >0),0,主力主力STICKLINE((,1,0),COLOR00EAFF; 主力STICKLINE((主力>0),0,,0.7,0),COLORYELLOW; STICKLINE((主力>0),0,主力,3,0),COLOR00C100; >0),0,STICKLINE((游资游资,2.8,0),COLOR00CA00; >0),0,游资游资STICKLINE((,2.5,0),COLOR00D300; STICKLINE((游资>0),0,游资,1.5,0),COLOR00DB00; >0),0,游资游资STICKLINE((,1,0),COLOR00EA00; STICKLINE((游资>0),0,游资,0.7,0),COLORGREEN; 游资>0),0,游资STICKLINE((,3,0),COLOR1020AA;大户>0),0,大户STICKLINE((STICKLINE((大户>0),0,大户,2.8,0),COLOR1020BB; STICKLINE((大户>0),0,大户,2.5,0),COLOR1020CC; STICKLINE((大户>0),0,大户,1.5,0),COLOR1020DD; STICKLINE((大户>0),0,大户,1,0),COLOR1020EE; STICKLINE((大户>0),0,大户,0.7,0),COLORRED; STICKLINE((散户>0),0,散户,3,0),COLORFF7700; STICKLINE((散户>0),0,散户,2.8,0),COLORFF8800; STICKLINE((散户>0),0,散户,2.5,0),COLORFF9900; STICKLINE((散户>0),0,散散>0),0,散,1.5,0),COLORFFAA00;STICKLINE((户户户,1,0),COLORFFBB00;STICKLINE((散户>0),0,散户,0.7,0),COLORLIBLUE;3、黑马起爆点VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*10 0;VAR3:=SMA(VAR2,2,1);天:100+(-ABS(VAR1)),COLORRED;下:SMA(VAR3,2,1);无:ABS(VAR1),COLORGREEN;敌:50,COLORFFAA00,LINETHICK3;A:80;B:20;买:STICKLINE(CROSS(下,无),3,20,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,无),20,25,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,无),30,''),COLORFFFFCC;卖:STICKLINE(CROSS(下,天),70,90,2,0),COLORRED,LINETHICK1;STICKLINE(CROSS(下,天),90,99,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS(下,天),70,''),COLORFFFFCC;选股2:IF(CROSS(下,20),1,0);DRAWICON((CROSS(下,20)),20,1);DRAWICON((CROSS(下,20)),-20,25);4、宁波绝密(相传为宁波涨停敢死队的绝密指标)WOL:IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DRAW NULL),NODRAW;STICKLINE(CURRBARSCOUNT=1ANDPERIOD=5,WOL,0,3,-1),COLORF FFFFF;VOLUME:VOL,VOLSTICK;V5:MA(VOLUME,5);V10:MA(VOLUME,10);V135:MA(VOLUME,135);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((H IGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;主卖:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOS E<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT; STICKLINE(主买>0,0,主买,2,0),COLORRED;{STICKLINE(主卖>0,主买,VOL,2,1),COLOR00FF80;} STICKLINE(主买<REF(主买,1)AND主买>0,0,主,2,0),COLOR00FFFF;买:VOL/CAPITAL*100,POINTDOT; 换手,20);换手二十日换手:SUM(5、起涨点换手率%:VOL/CAPITAL*100,LINETHICK0,COLORYELLOW;量比:V/(REF(MA(V,5),1)),LINETHICK0,COLORRED;VVOL:=IF(CURRBARSCOUNT=1ANDPERIOD=5,VOL*240/FROMOPEN,DR AWNULL),NODRAW;虚拟量比:VVOL/(REF(MA(V,5),1)),LINETHICK0,COLORRED; 获利比例%:WINNER(C)*100,COLORLIBLUE;%:(C-REF(C,1))/REF(C,1)*100,LINETHICK0;涨幅.换手率%1:=换手率%>5;量比1:=量比>1.5OR虚拟量比>1.5;获利比例%1:=获利比例%>70;涨幅%1:=涨幅%>3;启动:=换手率ND量比1AND获利比例ND涨幅%1;起涨点:IF(启动,101,0)COLORRED,LINETHICK2;6、庄家建仓VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1) *4;VAR3:=EMA(VAR2,13);VAR4:=LLV(LOW,34);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0),COLORRED;7、出色超赢JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1:=(CLOSE>REF(CLOSE,1)ANDCLOSE>REF(CLOSE,2));VAR2:=(REF(VAR1,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(C.LOSE,2));VAR3:=(REF(VAR2,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(C LOSE,2));VAR4:=(REF(VAR3,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(C LOSE,2));VAR5:=(REF(VAR4,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(C LOSE,2));VAR6:=(REF(VAR5,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(C LOSE,2));VAR7:=(REF(VAR6,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(C LOSE,2));VAR8:=(REF(VAR7,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(C LOSE,2));VAR9:=(REF(VAR8,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(C LOSE,2));VARA:=(REF(VAR9,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(C LOSE,2));VARB:=(REF(VARA,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(C LOSE,2));VARC:=(REF(VARB,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1)ANDCLOSE<REF(CLOSE,2)); VARE:=(REF(VARD,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF(C LOSE,2));VARF:=(REF(VARE,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF(C LOSE,2));VAR10:=(REF(VARF,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF( CLOSE,2));VAR11:=(REF(VAR10,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF (CLOSE,2));VAR12:=(REF(VAR11,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF (CLOSE,2));VAR13:=(REF(VAR12,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF (CLOSE,2));VAR14:=(REF(VAR13,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF (CLOSE,2));VAR15:=(REF(VAR14,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF (CLOSE,2));VAR16:=(REF(VAR15,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF (CLOSE,2));VAR17:=(REF(VAR16,1)ANDCLOSE<=REF(CLOSE,1)ANDCLOSE>=REF (CLOSE,2));VAR18:=(REF(VAR17,1)ANDCLOSE>=REF(CLOSE,1)ANDCLOSE<=REF (CLOSE,2));VAR19:=((REF(VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR 13ORVAR14ORVAR15ORVAR16ORVAR17ORVAR18,1))ANDVAR1); VAR1A:=((REF(VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7OR VAR8ORVAR9ORVARAORVARBORVARC,1))ANDVARD);红色持股:VAR1ORVAR2ORVAR3ORVAR4ORVAR5ORVAR6ORVAR7ORVAR8ORVAR9 ORVARAORVARBORVARC,COLOR0000FF,NODRAW;离场:=IF(红色持股,JRL,DRAWNULL);明离场价:=离场,COLORFF99FF,NODRAW;今离场价:=REF(离场,1)COLOR0000FF,NODRAW;青色观望:VARDORVAREORVARFORVAR10ORVAR11ORVAR12ORVAR13ORVAR14O RVAR15ORVAR16ORVAR17ORVAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:=REF(明进场价,1),COLORFF0000,NODRAW;黄色低买:VAR19,COLOR33AACC,NODRAW;洋红离场:VAR1A,COLORMAGENTA,NODRAW;急跌关注:(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORWHITE,NODRAW;期日市上年:REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF; 月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFF00FF; 日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOR00FFFF; STICKLINE(ISLASTBARAND(红色持股ORREF(红色持股,1)=1),今离场价,今离场价,30,1),COLOR0000FF;STICKLINE(ISLASTBARAND(青色观望ORREF(青色观望,1)=1),今进场价,今进场价,30,1),COLOR00FF00;STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5;STICKLINE(红色持股,CLOSE,O,2.8,0),COLOR000055; STICKLINE(红色持股,CLOSE,O,2,0),COLOR000088; STICKLINE(红色持股,CLOSE,O,1.5,0),COLOR0000AA; STICKLINE(红色持股,CLOSE,O,1,0),COLOR0000CC; STICKLINE(红色持股,CLOSE,O,0.5,0),COLOR0000EE; STICKLINE(青色观望,CLOSE,O,2.8,0),COLOR555500; STICKLINE(青色观望,CLOSE,O,2,0),COLOR888800; STICKLINE(青色观望,CLOSE,O,1.5,0),COLORAAAA00; STICKLINE(青色观望,CLOSE,O,1,0),COLORCCCC00;STICKLINE(青色观望,CLOSE,O,0.5,0),COLOREEEE00;CO:=(C-O);STICKLINE(急跌关注,O,C-CO/2,2.8,0),COLOR555555; STICKLINE(急跌关注,O,C-CO/2,2,0),COLOR888888; STICKLINE(急跌关注,O,C-CO/2,1.5,0),COLORAAAAAA; STICKLINE(急跌关注,O,C-CO/2,1,0),COLORCCCCCC; STICKLINE(急跌关注,O,C-CO/2,0.5,0),COLOREEEEEE; STICKLINE(黄色低买,O,O+CO/3,2.8,0),COLOR335555; STICKLINE(黄色低买,O,O+CO/3,2,0),COLOR338888; STICKLINE(黄色低买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(黄色低买,O,O+CO/3,1,0),COLOR33CCCC; STICKLINE(黄色低买,O,O+CO/3,0,0),COLOR33EEEE; STICKLINE(洋红离场,O,O+CO/3,2.8,0),COLOR550055; STICKLINE(洋红离场,O,O+CO/3,2,0),COLOR880088; STICKLINE(洋红离场,O,O+CO/3,1.5,0),COLORAA00AA; STICKLINE(洋红离场,O,O+CO/3,1,0),COLORCC00CC; STICKLINE(洋红离场,O,O+CO/3,0.5,0),COLOREE00EE;压力:MA(REF(HHV(C,30),1),2),POINTDOT,COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),POINTDOT,COLORABFF46; 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*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF( X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK2;DD:=多空线<REF(多空线,1);IF(DD,多空线,DRAWNULL),COLOR00FFFF,LINETHICK2;A:=(PMA>多空线);IF(A,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;X2:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1))ANDX2ANDJ<20,30,0); DRAWTEXT(CROSS(J,REF(J+0.01,1))ANDX2ANDJ<20,LOW*0.98,'★'),COLORYELLOW;8、彩色成交量STICKLINE(VOL>0,VOL,0,3,0),COLOR333333;STICKLINE(VOL>0,VOL,0,2.5,0),COLOR998855;STICKLINE(VOL>0,VOL,0,1.7,0),COLORBBAA77;STICKLINE(VOL>0,VOL,0,0.9,0),COLORDDCC99;STICKLINE(VOL>0,VOL,0,0.04,0),COLORFFEEBB;换手:=VOL/CAPITAL*100,COLORRED;STICKLINE(换手>2,VOL,CAPITAL*0.02,3,0),COLOR00AAAA; STICKLINE(换手>2,VOL,CAPITAL*0.02,2.5,0),COLOR00CCCC; STICKLINE(换手>2,VOL,CAPITAL*0.02,1.7,0),COLOR00EEEE; STICKLINE(换手>2,VOL,CAPITAL*0.02,0.08,0),COLOR00FFFF; STICKLINE(换手>4,VOL,CAPITAL*0.04,3,0),COLOR009900; STICKLINE(换手>4,VOL,CAPITAL*0.04,2.5,0),COLOR00BB00; STICKLINE(换手>4,VOL,CAPITAL*0.04,1.7,0),COLOR00DD00; STICKLINE(换手>4,VOL,CAPITAL*0.04,0.8,0),COLOR00FF00; STICKLINE(换手>7,VOL,CAPITAL*0.07,3,0),COLORBROWN; STICKLINE(换手>7,VOL,CAPITAL*0.07,2.5,0),COLOR0000AA; STICKLINE(换手>7,VOL,CAPITAL*0.07,1.7,0),COLOR0000CC; STICKLINE(换手>7,VOL,CAPITAL*0.07,0.8,0),COLOR0000DD; 五天均量:MA(VOL,5),COLORRED,LINETHICK0.01;廿天均量:MA(VOL,20),COLORWHITE,LINETHICK0.01;HSS:=V/CAPITAL*100,NODRAW;{显示当日换手}五天换手率:SUM(HSS,5),NODRAW;廿天换手率:SUM(HSS,20),NODRAW;抛压:STICKLINE(CROSS(84,RSI),0,VOL,1.5,0),COLORBLUE,LINET HICK5;V24:MA(VOL,24),COLORLIBLUE;V10:MA(VOL,10),COLORRED;V3:MA(VOL,3),COLORLIGRAY;9、涨停回马枪(有主图)均价线:=AMOUNT/V/100;C2:=REF(C,1);涨停:=IF(REF(C,1)*1.1-C<0.01,1,0);STICKLINE(涨停,0,5,6,0),COLORYELLOW;DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;MA13:=MA(C,13),COLORGRAY;MA21:=MA(C,21),COLORWHITE;支撑线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24)) /4;LC:=REF(CLOSE,1);操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100 ;趋势:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*1线00;震仓线:=45;震仓线2:=50;逃命线:=80;抄底线:=20;绝底线:=5;PP2:=操作线<震仓线2ANDREF(操作线,1)>震仓线2;PP:=操作线<震仓线ANDREF(操作线,1)>震仓线;PP3:=操作线<抄底线ANDREF(操作线,1)>抄底线;HH:=COUNT(涨停,13)>=1;STICKLINE(PP2ANDHH,0,5,3,0),COLORRED;STICKLINE(PPANDHH,0,5,3,0),COLORRED;STICKLINE(PP3ANDHH,0,5,3,0),COLORRED;DRAWTEXT(PP2ANDHH,8,'预警'),COLORRED;DRAWTEXT(PPANDHH,8,'预警'),COLORRED;DRAWTEXT(PP3ANDHH,8,'预警'),COLORRED;A:=SMA(L,4,3);绿色买入:IF(((AANDREF(PP,1)ANDHH)OR(AANDREF(PP3,1)ANDHH)),1,0);STICKLINE(AANDREF(PP,1)ANDHH,0,10,1,0),COLORGREEN; DRAWICON(AANDREF(PP,1)ANDHH,12,1);STICKLINE(AANDREF(PP3,1)ANDHH,0,10,1,0)COLORGREEN; DRAWICON(AANDREF(PP3,1)ANDHH,12,1);10、海风3号M1:=MA(CLOSE,1);M2:=(LOW+HIGH+CLOSE)/3;M3:=MA(M2,5);M4:=HHV(M3,10);Z:=HHV((M1<M4),10)ORHHV((M1<M4),10);S:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34 )),3);DRAWTEXT(FILTER(CROSS(S,60),20),L*0.98,'▲'),COLORYELLOW;'),COLORBLUE; ★{DRAWTEXT(FILTER(Z,9),H*1.028,'STICKLINE(S>60,O,C,4,0), COLORFF9BFB;}STICKLINE(S>60,O,C,2,0),COLORRED;{STICKLINE(S>60,O,C,1.5,0),COLORFD9BFB;}STICKLINE(S>60,H,L,0,0),COLORRED;{STICKLINE(S<60,O,C,4,0),COLOR01DC38;STICKLINE(S<60,O,C,2.5,0),COLOR01FE41;}STICKLINE(S<60,O,C,2,0),COLORGREEN;STICKLINE(S<60,H,L,0,0),COLORGREEN;VAR1:MA(CLOSE,5);VAR2:MA(CLOSE,10);VAR3:MA(CLOSE,20);VAR60:MA(CLOSE,60);VAR120:MA(CLOSE,120);VAR4:=OPEN<VAR1OROPEN<VAR2OROPEN<VAR3;VAR5:=CLOSE>MAX(VAR1,MAX(VAR2,MAX(VAR3,VAR60)));VAR6:=VOL/MA(VOL,30)>1.2;VAR7:=CLOSE/REF(CLOSE,1)>1.049;VAR8:=VAR4ANDVAR5ANDVAR6ANDVAR7;VAR9:=VAR8AND(REF(BARSLAST(VAR8),1)>60ORBARSSINCE(VAR8) =0);DRAWICON(VAR9,L*0.98,1);STICKLINE(VAR9,O,C,6,0),COLORYELLOW;STICKLINE(VAR9,H,L,0.6,0),COLORYELLOW;11、涨停时间窗(通达信金融终端副图)N:=13;WR大于80考虑买:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),LINETHICK0;均价:AMOUNT/(VOL*100),LINETHICK0,COLORYELLOW;ZT:=C/REF(C,1)>1.097;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);STICKLINE(ZT,0,L*1,3,0),COLORYELLOW;DRAWTEXT(ZT,L*1.1,'涨停'),COLORF00FF0;VARZT:=BARSLAST(C/REF(C,1)>1.097);AA:=BETWEEN(C,REF(L,BH)*1.01,REF(L,BH)*0.987); STICKLINE(AA,0,L*0.5,2,0),COLORBLUE;DRAWTEXT(AA,L*0.6,'警戒'),COLORWHITE;STICKLINE(AAANDVARZT=2,0,L*0.8,2,0),COLORRED; DRAWTEXT(AAANDVARZT=2,L*0.9,'时间窗'),COLORWHITE; STICKLINE(AAANDVARZT=4,0,L*0.8,2,0),COLORRED; DRAWTEXT(AAANDVARZT=4,L*0.9,'时间窗'),COLORWHITE; STICKLINE(AAANDVARZT=7,0,L*0.8,2,0),COLORRED; DRAWTEXT(AAANDVARZT=7,L*0.9,'时间窗'),COLORWHITE; STICKLINE(AAANDVARZT=12,0,L*0.8,2,0),COLORRED; DRAWTEXT(AAANDVARZT=12,L*0.9,'时间窗'),COLORWHITE; STICKLINE(AAANDVARZT=20,0,L*0.8,2,0),COLORRED; '),COLORWHITE;时间窗DRAWTEXT(AAANDVARZT=20,L*0.9,'。

通达信指标公式源码 本人赢钱法宝短线狙击手指标

通达信指标公式源码 本人赢钱法宝短线狙击手指标

A:=(3*C+H+L+O)/6;XJ:=(A+0.618*REF(A,1)+0.382*REF(A,2)+0.236*REF(A,3)+0.146*REF(A,4))/ 2.382;YCZXH:=(MA(HHV(A,2),5)+MA(HHV(A,2),13)+MA(HHV(A,2),21)+MA(HHV(A, 2),32))/4;YCZXL:=(MA(LLV(A,2),5)+MA(LLV(A,2),13)+MA(LLV(A,2),21)+MA(LLV(A,2),3 2))/4;SMH:EMA(YCZXH,21),COLOR004000,LINETHICK2;SML:EMA(YCZXL,21),COLOR004000,LINETHICK2;SMJ:(SML+SMH)/2,COLOR004000,LINETHICK2;PJ:=(10*A+9*REF(A,1)+8*REF(A,2)+7*REF(A,3)+6*REF(A,4)+5*REF(A,5)+ 4*REF(A,6)+3*REF(A,7)+2*REF(A,8)+REF(A,9))/55;A1:=EMA(PJ,3),COLOR004000;A2:=EMA(PJ,5),COLOR004000;A3:=EMA(PJ,7),COLOR004000;A4:=EMA(PJ,9),COLOR004000;A5:=EMA(PJ,11),COLOR004000;LX:=REF(XJ,1);ZD:=(SMA(MAX(XJ-LX,0),5,1)/SMA(ABS(XJ-LX),5,1))*100;KX1:=(CLOSE>=OPEN) AND ZD>=50;KX2:=(CLOSE<OPEN) AND ZD>=50;KX3:=(CLOSE>=OPEN) AND ZD<50;KX4:=(CLOSE<OPEN) AND ZD<50;IF(A5<REF(A5,1),A5,DRAWNULL),COLOR820000,LINETHICK2;IF(A5>REF(A5,1),A5,DRAWNULL),COLOR00005B,LINETHICK2;IF(A4<REF(A4,1),A4,DRAWNULL),COLOR8C0000,LINETHICK1;IF(A4>REF(A4,1),A4,DRAWNULL),COLOR000055,LINETHICK1;IF(A3<REF(A3,1),A3,DRAWNULL),COLOR9B0000,LINETHICK1;IF(A3>REF(A3,1),A3,DRAWNULL),COLOR00006C,LINETHICK1;IF(A2<REF(A2,1),A2,DRAWNULL),COLORBB0000,LINETHICK1;IF(A2>REF(A2,1),A2,DRAWNULL),COLOR00007D,LINETHICK1;IF(A1<REF(A1,1),A1,DRAWNULL),COLORCC0000,LINETHICK1;IF(A1>REF(A1,1),A1,DRAWNULL),COLOR00009B,LINETHICK1;AAA2:=SUM(IF( CLOSE>REF(CLOSE,1),VOL*C,0),0);AAA3:=SUM(IF( CLOSE<REF(CLOSE,1),VOL*C,0),0);AAA4:=SUM(IF( CLOSE=REF(CLOSE,1),VOL*C,0),0);BB1:=0;B1万元:=DVOL*DCLOSE/100;B1差:=B1万元-REF(B1万元,1);B2万元:=DVOL*DCLOSE/100;B2比:=B2万元/REF(B2万元,1);净流入万元:=(AAA2-AAA3-0.5*AAA4);PM:=MA(净流入万元,1);PMA:=PM/REF(PM,1)>1;PMB:=REF(PMA,1)<1 AND PMA;密码:=(EMA(MA(B1万元,2),2))/100000,COLORYELLOW,NODRAW;二日比:=密码/REF(密码,1);选股:=PMB AND 密码>REF(密码,1) AND 二日比>1 ,COLORRED,NODRAW; 均价线:=AMOUNT/V/100;均价线2:=MA(均价线,3);均价线5:=MA(均价线,5);均价线10:=MA(均价线,10);均价线30:=MA(均价线,30);突破:=C>均价线2 AND 均价线2<REF(均价线2,1) AND REF(均价线2,1)<REF(均价线2,2)AND REF(均价线2,2)<REF(均价线2,3) AND 选股;STICKLINE(突破,H,L,5,0),LINETHICK1,COLORRED;STICKLINE(突破,H,L,0.2,0),COLORYELLOW;STICKLINE(突破,O,C,2,0),LINETHICK1,COLORYELLOW;。

【股票指标公式下载】-【通达信】狙击手破解(动力线、底部、预警)

【股票指标公式下载】-【通达信】狙击手破解(动力线、底部、预警)

【通达信】狙击手破解(动力线、底部、预警)-指标公式源码N:=30;M:=13;LC := REF(CLOSE,1);RSI1:=SMA(MAX(CLOSE-LC,0),13,1)/SMA(ABS(CLOSE-LC),13,1)*100;RSIF:=90-RSI1,COLOR33DD33;A4:=((C-LLV(L,33))/(HHV(H,33)-LLV(L,33)))*67;VAR22:=LLV(LOW,10);VAR33:=HHV(HIGH,25);动力线:EMA((CLOSE-VAR22)/(VAR33-VAR22)*4,4);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;PP101:=SMA(RSV,3,1);PP102:=SMA(PP101,3,1);PP103:=3*PP101-2*PP102;STICKLINE(动力线>0 AND ISLASTBAR AND ((PP103>PP101 ANDPP103<REF(PP103,1)) OR PP103>PP101),20,80,0,1),COLORGRAY;STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),20,35,2,1),COLORGRAY;{底部保持关注,灰色}STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),35,50,2,0),COLORYELLOW;{底部酌情买入,黄色}STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),50,65,2,0),COLORRED;{强势持仓段,红色}STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ISLASTBAR AND ((PP103>PP101 AND PP103<REF(PP103,1)) OR PP103>PP101),65,72,2,0),COLORLIRED;{阶段卖出,粉红}STICKLINE(动力线>=3.45 AND ISLASTBAR,72,80,2,0) ANDPP103<PP101,COLORCYAN;{清仓卖出,青色};STICKLINE(PP103<PP101 AND ISLASTBAR,30,70,1,1),COLORGREEN;{甭看了,快找高人指点或者骂街,好像要大跌,绿色};{以下显示在上方第二行}STICKLINE(动力线>0 AND ((PP103>PP101 AND PP103<REF(PP103,1)) ORPP103>PP101),95,94,1,0),COLORGRAY;STICKLINE(动力线>=0.2 AND 动力线<0.5 AND ((PP103>PP101 ANDPP103<REF(PP103,1)) OR PP103>PP101),95,92,3,0),COLORGRAY;{底部保持关注,灰色}STICKLINE(动力线>=0.5 AND 动力线<1.75 AND ((PP103>PP101 ANDPP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORYELLOW;{底部酌情买入,黄色}STICKLINE(动力线>=1.75 AND 动力线<3.2 AND ((PP103>PP101 ANDPP103<REF(PP103,1)) OR PP103>PP101),95,94,1,0),COLORRED;{强势持仓段,红色}STICKLINE(动力线>=3.2 AND 动力线<3.45 AND ((PP103>PP101 ANDPP103<REF(PP103,1)) OR PP103>PP101),95,92,3,0),COLORLIRED;{阶段卖出,粉红}STICKLINE(动力线>=3.45,95,92,3,0) AND PP103<PP101,COLORCYAN;{清仓卖出,青色};STICKLINE(PP103<PP101,95,94,1,0),COLORGREEN;{甭看了,快找高人指点或者骂街,好像要大跌,绿色};VAR1:=(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100-70;VAR2:=SMA(VAR1,9,1)+100;VAR3:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1)+100;VAR6:=VAR5-VAR2;趋势:IF(VAR6>45,VAR6-45,0);STICKLINE(REF(趋势,1)< 趋势, 趋势,REF(趋势,1),2,0),COLORMAGENTA; STICKLINE(REF(趋势,1)> 趋势, 趋势,REF(趋势,1),2,0),COLORGREEN;强弱分界:=50,COLORFFFFCC;底部:=0,COLOR00FFFF;安全:=20,COLORFFAA66,LINETHICK1;预警:=80,COLORFFAA66,LINETHICK1;顶部:=100,COLORFFFF33;V1:=LLV(LOW,10);V2:=HHV(H,25);价位线:=EMA((C-V1)/(V2-V1)*4,4);{DRAWTEXT(CROSS(价位线,0.3),20+4,'●买'),COLORRED;}DRAWTEXT(CROSS(3.5,价位线),110-4,'●卖'),COLORWHITE;VAR2Q:=REF(LOW,1);VAR3Q:=SMA(ABS(LOW-VAR2Q),3,1)/SMA(MAX(LOW-VAR2Q,0),3,1)*100;VAR4Q:=EMA(IF(CLOSE*1.3,VAR3Q*10,VAR3Q/10),3);VAR5Q:=LLV(LOW,30);VAR6Q:=HHV(VAR4Q,30);VAR7Q:=IF(MA(CLOSE,58),1,0);VAR8Q:=EMA(IF(LOW<=VAR5Q,(VAR4Q+VAR6Q*2)/2,0),3)/618*VAR7Q;VAR9Q:=IF(VAR8Q>100,100,VAR8Q);AA3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;AA4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;AA5:=SMA(AA4,13,8);走势:=CEILING(SMA(AA5,13,8));AA6:=SMA(AA3,21,8);卖临界:STICKLINE(走势-AA6>85,103,100,15,1),COLORRED,LINETHICK2;主力线:3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2* SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1), LINETHICK2,COLORBLUE;超短线:=(((主力线-LLV(主力线,21))/(HHV(主力线,21)-LLV(主力线,21)))*(4))*(25),LINETHICK2,COLORBLUE;VAR11:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VAR21:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),10,1);VAR31:=EMA(VAR21,10);VAR41:=LLV(LOW,33);VAR51:=EMA(IF(LOW<=VAR41,VAR31,0),3);主力进场:IF(VAR51>REF(VAR51,1),VAR51,0),COLORRED,NODRAW;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,3,0 ),COLOR000055;STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.6,0 ),COLOR000077; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,2.1,0 ),COLOR000099; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1.5,0 ),COLOR0000BB; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.9,0 ),COLOR0000DD; STICKLINE(VAR51>REF(VAR51,1),0,VAR51,0.3,0 ),COLOR0000FF;洗盘:IF(VAR51<REF(VAR51,1),VAR51,0),COLORGREEN,NODRAW;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,3,0),COLOR005500;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.6,0),COLOR007700;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,2.1,0),COLOR009900;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,1.5,0),COLOR00BB00;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.9,0),COLOR00DD00;STICKLINE(VAR51<REF(VAR51,1),0,VAR51,0.3,0),COLOR00FF00;VAR12:=3;VAR28:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) -LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE -LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1));{股价准备启动:IF(CROSS(VAR28,VAR11),100,0),COLORRED,LINETHICK2;} SS1:=(LOW+HIGH+CLOSE*2)/4;SS2:= MA(SS1,4);SS3:=HHV(SS2,10);SS4:=MA(SS3,3);SS5:=1.25*SS4-0.25*SS3;XKKJ:=IF(SS5>SS3,SS3,SS5);FF1:=LLV(SS2,10);FF2:=MA(FF1,3);FF3:=1.25*FF2-0.25*FF1;DKKJ:=IF(FF3<FF1,FF1,FF3);MA13:=MA(C,13);ZDHM:=CROSS(C,DKKJ) AND CROSS(C,MA13) AND CROSS(C,XKKJ);ZHM:=CROSS(C,MA13) AND CROSS(C,XKKJ);大黑马:IF(ZDHM OR ZHM,50,0),COLORYELLOW,LINETHICK3;动态底部:=EMA(IF(L<=LLV(L,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(L,1),0),99,1),0)*5, 3);准备买入:=CROSS(C,TROUGH(CLOSE,N,1)*1.02);低点:IF(动态底部 AND 准备买入,50,0),COLORWHITE,LINETHICK3;RSV11:=(CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100;K:=SMA(RSV11,3,1);D:=SMA(K,3,1);J:=3*K-2*D;短线:=EMA(J,6),COLORRED;浮筹:=MA(短线,28)*1,LINETHICK2,COLORGREEN;空方:=MA(100*(HHV(HIGH,35)-CLOSE)/(HHV(HIGH,35)-LLV(LOW,35)),3),COLORYE LLOW;DRAWTEXT(CROSS(短线,浮筹) AND 短线<36,20+4,' 买'),COLORLIBLUE; DRAWICON(CROSS(短线,浮筹) AND 短线<36,20+4,17),COLORBLUE, LINETHICK1; DRAWTEXT(CROSS(浮筹,空方),浮筹,' 追'),COLORWHITE;DRAWICON(CROSS(浮筹,空方),浮筹,16);【通达信】狙击手破解(动力线、底部、预警)-指标公式效果图(文档来源:若水财经社区)。

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

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

1.盘中抓涨停;2.注意大势;3.选出的股不是很多,但决不是一个让人亏损的指标,只要不贪出现指标买入第二天卖出几个点是相当可观的,个股形态好多则几十个点!4.股市不败法则,就是不贪5.应大家要求做了选股器!T:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);N:=IF((T > 0.35),6,65);W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));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),COLOR00DDDD,NODRAW;累加:=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);WMA1:=累加/(21+1)/21*2;CC:=WMA1,COLOR008800,NODRAW;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;涨停:CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);。

庄家狙击通达信指标公式源码

庄家狙击通达信指标公式源码

私募老师所赠,首先要感谢私募老师,很具有实盘意义,主力吸筹,主力拉升,都一目了然,分享给大家,让大家都跟着主力吃肉,下有实图M:=55;N:=34;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(85,RSI),75,'▼'),COLORGREEN;VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);VAR2:=REF(LOW,1)*VAR1;VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;VAR5:=LLV(LOW,30)*VAR1;VAR6:=HHV(VAR4,30)*VAR1;VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;吸筹:IF(VAR8>100,100,VAR8)*VAR1,COLORRED;庄家吸筹:STICKLINE(吸筹>-150,0,吸筹,8,0),COLORRED;散户:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),COLORGREEN,LINETHICK4; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;庄家:EMA(J,6),COLORRED,LINETHICK4;MA1:EXPMA(C,5),COLORYELLOW,LINETHICK4;KK:=MA1<REF(MA1,1);IF(KK,MA1,DRAWNULL),COLORGREEN,LINETHICK4;DD1:=MA1>REF(MA1,1);IF(DD1,MA1,DRAWNULL),COLORRED,LINETHICK4;DRAWTEXT(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*0.1,'★卖')COLORGREEN; DRAWICON(CROSS(REF(ZIG(3,6),1),ZIG(3,6)),HIGH*0.1,9);V1:=EMA(CLOSE,60)-EMA(CLOSE,300);V6:=CLOSE/REF(CLOSE,3)>=1.1;V7:=BACKSET(V6,3);买入暴张:IF((V7 AND COUNT(V7,3)=1),30,0),COLORYELLOW,LINETHICK3; DRAWTEXT(V7*0.8>0,32,'。

通达信主升浪狙击100%准确通达信指标公式源码

通达信主升浪狙击100%准确通达信指标公式源码

通达信主升浪狙击100%准确副图源码如下:MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA20:=MA(CLOSE,20);A1:=IF(C>=MA5,1,-1);A2:=IF(C>=MA10,1,-1);A3:=IF(C>=MA20,1,-1);A4:=IF(MA5>=REF(MA5,1),1,-1);A5:=IF(MA10>=REF(MA10,1),1,-1);A6:=IF(MA20>=REF(MA20,1),1,-1);趋势:(A1+A2+A3+A4+A5+A6)/6*100,COLOR00FF00;主升浪:趋势>=50,COLOR0000FF,POINTDOT,NODRAW;↓:趋势<50,COLORFFFFFF,POINTDOT,NODRAW;周期:IF(主升浪,BARSLAST(CROSS(主升浪,0.1))+1,0),COLORFF00FF,POINTDOT,NODRAW;临界:IF(CROSS(98,趋势),1,0),COLOR00FF00,POINTDOT,NODRAW; WKQY:=BARSLAST(CROSS(50,趋势))<MIN(BARSLAST(CROSS(趋势,1)),BARSLAST(CROSS(趋势,-1)));挖坑:BETWEEN(趋势,-1,50) AND WKQY,COLOR00FFFF,POINTDOT,NODRAW; {以下设置副图显示方式}DRAWBAND(趋势,RGB(250,0,0),50,RGB(0,0,0));AA:=IF(挖坑,趋势,50);DRAWBAND(50,RGB(250,250,0),AA,RGB(0,0,0));STICKLINE(主升浪,周期*0.8,周期*0.95,3,0),COLOR0000FF;STICKLINE(主升浪,周期*1.05,周期*1.2,3,0),COLOR0000FF;STICKLINE(主升浪AND C<REF(C,1),周期*0.9,周期*1.1,3,1),COLORFFFFFF; STICKLINE(CROSS(主升浪,0.1),0,100,0,-1),COLOR0000FF;DRAWTEXT(临界,90,'☆'),COLOR00FF00;平:0,COLORFFFFFF;STICKLINE(C>0,50,50,1,0),COLOR000000;%:趋势,COLOR00FF00;{以下设置文字提示部分}DRAWTEXT(CURRBARSCOUNT=60,20,'====★趋势为王.顺势而为!★===='),COLOR0000FF;DRAWTEXT(CURRBARSCOUNT=58,-30,'■只做主升, 挖坑低吸!'),COLORFFFFFF; DRAWTEXT(CURRBARSCOUNT=58,-60,'●临界不涨, 逢高离场!'),COLOR00FFFF;。

通达信副图指标公式源码大全

通达信副图指标公式源码大全

实用标准文档副图指标公式源码1、百万踏浪(相传为杨百万看图公式)N1:=9;N:=3;VAR1:=REF(CLOSE,1);标尺 : SMA(MAX(CLOSE-VAR1,0),5,1)/SMA(ABS(CLOSE-VAR1),5,1)*100;VAR2:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100;VAR3:=SMA(VAR2,3,1);VAR4:=SMA(VAR3,3,1);VAR5:=SMA(VAR4,3,1);浪: VAR3,COLORBLUE;波: VAR4, COLORRED;段: VAR5 ,COLORYELLOW;VAR6:=CROSS(VAR3,VAR4) AND VAR4<25;STICKLINE(VAR6,0,VAR4+15,5,0), COLORGREEN;VAR7:=CROSS(VAR4,VAR5) AND VAR4<25;VAR8:=VAR7 AND VOL>REF(VOL,1)*2 AND VOL>REF(MA(VOL,5),1)*2;STICKLINE(VAR7,0,VAR4+55,5,0),COLORWHITE;DRAWTEXT(VAR7 AND COUNT(VAR7,10)=1,VAR4+25,' 抄底 '),COLORYELLOW; STICKLINE(VAR8,0,VAR4+15,5,0),COLORBLUE;DRAWTEXT(VAR8 AND COUNT(VAR8,10)=1,VAR4-1,' 放量 '),COLORGREEN; VAR9:=CROSS(VAR3,VAR4) AND VAR4>80 AND VAR4>VAR5;STICKLINE(VAR9 AND COUNT(VAR9,5)=1,VAR4-5,100,5,0),COLORYELLOW;实用标准文档VARA:=CROSS(VAR5,VAR4) AND REF(VAR4,1)>80;STICKLINE(VARA,VAR4-15,100,15,0), COLORYELLOW;DRAWTEXT(VARA AND COUNT(VARA,10)=1,VAR4-25,' 逃顶'), COLORYELLOW;VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;VAR1D:=SMA(VAR1C,4,1);VAR1E:=SMA(VAR1D,3,1);VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;VARE:=REF(LOW,1)*0.9;VARF:=LOW*0.9;VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL;VAR11:=EMA(VAR10,30);VAR12:=CLOSE-REF(CLOSE,1);VAR13:=MAX(VAR12,0);VAR14:=ABS(VAR12);VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100;VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100;VAR17:=BARSCOUNT(CLOSE);VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100;VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 ANDVAR1E<30 AND VAR11-CL0SE>=-0.25 AND VAR15<22 AND VAR16<28 ANDVAR17>50;STICKLINE(VAR20,0,50,10,0),LINETHICK2,COLORBLUE;弹?')丄 INETHICK7,C0L0RWHITE;2、分类资金A:=IF((CL0SE>126.32),(AM0UNT)/(100000),V0L);主力 :MA(A,4),LINETHICK0,C0L0RYELL0W;游资 :MA(A,8),LINETHICK0,C0L0R00FF00;大户 :MA(A,16),LINETHICK0,C0L0RRED;散户 :MA(A,32),LINETHICK0,C0L0RF0F000;警戒线 :MA(A,180),C0L0RFF66FF,LINETHICK1; 主力 > 0),0,主力 > 0),0,主力 > 0),0,主力 > 0),0,主力 > 0),0,主力 > 0),0, 主力 ,3,0),C0L0R009CFF;STICKLINE(( 主力 ,2.8,0),C0L0R009CFF; STICKLINE(( 主力 ,2.5,0),C0L0R00C0FF; STICKLINE(( 主力 ,1.5,0),C0L0R00D1FF; STICKLINE(( 主力 ,1,0),C0L0R00EAFF; STICKLINE(( 主力 ,0.7,0),C0L0RYELL0W;STICKLINE(( DRAWTEXT(CROSS(VAR20,0.5)AND C0UNT(VAR20=1,10)=1,60,' 百万导主比:ABS (((主力)/(主力 游资大户 散户 ))*(100)),LINESTICK,C0L0RYELL0W; 游比:ABS (((游资)/(主力 游资大户 散户 ))*(100)),LINESTICK,C0L0R00FF00; 大比:ABS (((大户)/(主力 游资 大户 散户 ))*(100)),LINESTICK,C0L0RRED;散比:ABS (((散户)/(主力 游资大户 散户 ))*(100)),LINESTICK,C0L0RF0F000;STICKLINE(( 游资> 0),0,游资,3,0),COLOR00C100;STICKLINE(( 游资> 0),0,游资,2.8,O),COLOROOCAOO;STICKLINE(( 游资> 0),0,游资,2.5,O),COLOROOD3OO;STICKLINE(( 游资> 0),0,游资,1.5,0),COLOROODBOO;STICKLINE(( 游资> 0),0, 游资,1 ,0),COLOR00EA00;STICKLINE(( 游资> 0),0,游资,0.7,0),COLORGREEN;STICKLINE(( 大户> 0),0, 大户 ,3,0),COLOR1020AA;STICKLINE(( 大户> 0),0, 大户 ,2.8,0),COLOR1020BB;STICKLINE(( 大户> 0),0, 大户 ,2.5,0),COLOR1020CC;STICKLINE(( 大户> 0),0, 大户 ,1.5,0),COLOR1020DD;STICKLINE(( 大户> 0),0, 大户 ,1,0),COLOR1020EE;STICKLINE(( 大户> 0),0, 大户 ,0.7,0),COLORRED;STICKLINE(( 散户> 0),0, 散户 ,3,0),COLORFF7700;STICKLINE(( 散户> 0),0, 散户 ,2.8,0),COLORFF8800;STICKLINE(( 散户> 0),0, 散户 ,2.5,0),COLORFF9900;STICKLINE(( 散户 > 0),0, 散户 ,1.5,0),COLORFFAA00; STICKLINE(( 散户 > 0),0, 散户,1,0),COLORFFBBOO;STICKLINE(( 散户 > 0),0, 散户 ,0.7,0),COLORLIBLUE;3、黑马起爆点VAR1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;VAR2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;VAR3:=SMA(VAR2,2,1);天:100+(-ABS(VAR1)),COLORRED;下:SMA(VAR3,2,1);无:ABS(VAR1),C0L0RGREEN;敌:50,COLORFFAA00 ,L INETHICK3;A:80;B:20;买:STICKLINE(CROSS(下,无),3,2O,2,O),COLORRED,LINETHICK1;STICKLINE(CROSS(下,无),20,25,2,0),COLORFF9900,LINETHICK1;DRAWTEXT(CROSS( 下,无),30,' '),COLORFFFFCC;卖:STICKLINE(CROSS(下,天),7O,9O,2,O),COLORRED,LINETHICK1;STICKLINE(CROSS(下,天),9O,99,2,O),COLORFF99OO,LINETHICK1;DRAWTEXT(CROSS( 下,天),70,' '),COLORFFFFCC;选股 2:IF(CROSS( 下,20),1,0);DRAWICON((CROSS( 下,20) ),20,1);DRAWICON((CROSS( 下,20) ),-20,25);4、宁波绝密(相传为宁波涨停敢死队的绝密指标)AND WOL:IF(CURRBARSCOUNT=1PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,WOL,0,3,-1),COLORFFFFFF;VOLUME:VOL,VOLSTICK;V5:MA(VOLUME,5);V10:MA(VOLUME,10);V135:MA(VOLUME,135);VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买 :IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;主卖 :IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;STICKLINE( 主买 >0,0, 主买 ,2,0),COLORRED;{STICKLINE( 主卖 >0, 主买 ,VOL,2,1),COLOR00FF80;}STICKLINE(主买 <REF(主买,1)AND 主买 >0,0,主买,2,0),COLOROOFFFF;换手:VOL/CAPITAL*100,POINTDOT;二十日换手 :SUM( 换手 ,20);5、起涨点换手率 %:VOL/CAPITAL*100,LINETHICK0,COLORYELLOW;量比:V/(REF(MA(V,5),1)),LINETHICK0,COLORRED;AND VVOL:=IF(CURRBARSCOUNT=1PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;虚拟量比 :VVOL/(REF(MA(V,5),1)),LINETHICK0,COLORRED;获利比例 %:WINNER(C)*100,COLORLIBLUE;涨幅 %:(C-REF(C,1))/REF(C,1)*100,LINETHICK0;量比 1:= 量比 >1.5 OR 虚拟量比 >1.5;换手率 %1:= 换手率 %>5;获利比例 %1:= 获利比例 %>70;涨幅 %1:= 涨幅 %>3;启动 := 换手率 %1 AND 量比 1 AND 获利比例 %1 AND 涨幅 %1 ;起涨点:IF(启动,101,0)COLORRED,LINETHICK2;6、庄家建仓VAR1:=REF(LOW,1);VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),13,1)*4;VAR3:=EMA(VAR2,13);VAR4:=LLV(LOW,34);VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);主力进场:STICKLINE(VAR5>REF(VAR5,1),0,VAR5,7,0 ),COLORRED;7、出色超赢JRH:=HHV(C,2);JRL:=LLV(C,2);MA3:=MA(CLOSE,3);YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6;VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VAR2:=(REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR3:=(REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR4:=(REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));实用标准文档VAR5:=(REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR6:=(REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR7:=(REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR8:=(REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR9:=(REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARA:=(REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARB:=(REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARC:=(REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2));VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2));VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1);VAR1A:=((REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR实用标准文档VAR8 OR VAR9 OR VARA OR VARB OR VARC,1)) AND VARD);红色持股 :VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8OR VAR9 OR VARA OR VARB OR VARC,COLOR0000FF,NODRAW;离场 :=IF( 红色持股 ,JRL,DRAWNULL);明离场价 :=离场 ,COLORFF99FF,NODRAW;今离场价:=REF(离场,1)COLOROOOOFF,NODRAW;青色观望 :VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,COLORFFFF00,NODRAW;进:=IF(青色观望,JRH,DRAWNULL);明进场价:=进,COLOR33AACC,NODRAW;今进场价:=REF(明进场价,1),COLORFFOOOO,NODRAW;黄色低买 :VAR19,COLOR33AACC,NODRAW;洋红离场 :VAR1A,COLORMAGENTA,NODRAW;急跌关注 :(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100<-14,COLORWHITE,NODRAW;上市日期年 :REF(YEAR,BARSCOUNT(CLOSE)-1),NODRAW,COLOR0000FF;月:REF(MONTH,BARSCOUNT(CLOSE)-1),NODRAW,COLORFFOOFF;日:REF(DAY,BARSCOUNT(CLOSE)-1),NODRAW,COLOROOFFFF;STICKLINE(ISLASTBAR AND (红色持股OR REF(红色持股,1)=1),今离场价,今离场价,3O,1),COLOROOOOFF;STICKLINE(ISLASTBAR AND (青色观望OR REF(青色观望,1)=1),今进场价,今进场价,3O,1),COLOROOFFOO;实用标准文档STICKLINE(C>=O,L,H,0,0),COLOR0000CC;STICKLINE(C<O,L,H,0,0),COLOR999900;STICKLINE(1,C,O,3.5,0),COLOR858500;STICKLINE(C>=O,C,O,3.5,0),COLOR0000E5; STICKLINE( 红色持股,CLOSE,O,2.8,0),COLOR000055; STICKLINE( 红色持股,CLOSE,O,2,0),COLOR000088; STICKLINE( 红色持股,CLOSE,O,1.5,0),COLOR0000AA; STICKLINE( 红色持股,CLOSE,O,1,0),COLOR0000CC; STICKLINE( 红色持股,CLOSE,O,0.5,0),COLOR0000EE; STICKLINE( 青色观望,CLOSE,O,2.8,0),COLOR555500; STICKLINE( 青色观望,CLOSE,O,2,0),COLOR888800; STICKLINE( 青色观望,CLOSE,O,1.5,0),COLORAAAA00; STICKLINE( 青色观望,CLOSE,O,1,0),COLORCCCC00; STICKLINE( 青色观望,CLOSE,O,0.5,0),COLOREEEE00; CO:=(C-O);STICKLINE( 急跌关注 ,O,C-CO/2,2.8,0),COLOR555555; STICKLINE( 急跌关注 ,O,C-CO/2,2,0),COLOR888888; STICKLINE( 急跌关注 ,O,C-CO/2,1.5,0),COLORAAAAAA; STICKLINE( 急跌关注 ,O,C-CO/2,1,0),COLORCCCCCC; STICKLINE( 急跌关注 ,O,C-CO/2,0.5,0),COLOREEEEEE; STICKLINE( 黄色低买 ,O,O+CO/3,2.8,0),COLOR335555; STICKLINE( 黄色低买 ,O,O+CO/3,2,0),COLOR338888;实用标准文档STICKLINE( 黄色低买,O,O+CO/3,1.5,0),COLOR33AAAA;STICKLINE( 黄色低买,O,O+CO/3,1,0),COLOR33CCCC;STICKLINE( 黄色低买,O,O+CO/3,0,0),COLOR33EEEE;STICKLINE( 洋红离场,O,O+CO/3,2.8,0),COLOR550055;STICKLINE( 洋红离场,O,O+CO/3,2,0),COLOR880088;STICKLINE( 洋红离场,O,O+CO/3,1.5,0),COLORAA00AA;STICKLINE( 洋红离场,O,O+CO/3,1,0),COLORCC00CC;STICKLINE( 洋红离场,O,O+CO/3,0.5,0),COLOREE00EE;压力 :MA(REF(HHV(C,30),1),2),POINTDOT,COLOR9DFFFF;支撑 :MA(REF(LLV(C,30),1),2),POINTDOT,COLORABFF46;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*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+ REF(X,20))/210,COLORFF00FF,LINETHICK2;DD:= 多空线 <REF( 多空线 ,1);IF(DD, 多空线 ,DRAWNULL),COLOR00FFFF,LINETHICK2;实用标准文档A:=(PMA> 多空线 );IF(A,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;X2:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X2 AND J<20,30,0);DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X2 AND J<20,LOW*0.98,' '),COLORYELLOW;8、彩色成交量STICKLINE(VOL > 0,VOL,0,3,0),COLOR333333;STICKLINE(VOL > 0,VOL,0,2.5,0),COLOR998855;STICKLINE(VOL > 0,VOL,0,1.7,0),COLORBBAA77;STICKLINE(VOL > 0,VOL,0,0.9,0),COLORDDCC99;STICKLINE(VOL > 0,VOL,0,0.04,0),COLORFFEEBB;换手 :=VOL/CAPITAL*100,COLORRED;STICKLINE( 换手 >2 ,VOL ,CAPITAL*0.02,3,0),COLOR00AAAA;STICKLINE( 换手 >2 ,VOL ,CAPITAL*0.02,2.5,0),COLOR00CCCC;STICKLINE( 换手 >2 ,VOL ,CAPITAL*0.02,1.7,0),COLOR00EEEE;STICKLINE( 换手 >2 ,VOL ,CAPITAL*0.02,0.08,0),COLOR00FFFF;STICKLINE( 换手 >4 ,VOL ,CAPITAL*0.04,2.5,0 ),COLOR00BB00;STICKLINE( 换手 >4 ,VOL ,CAPITAL*0.04,1.7,0 ),COLOR00DD00;STICKLINE( 换手 >4 ,VOL ,CAPITAL*0.04,3,0 ),COLOR009900;实用标准文档STICKLINE( 换手 >4 ,VOL ,CAPITAL*0.04,0.8,0 ),COLOR00FF00; STICKLINE( 换手 >7 ,VOL ,CAPITAL*0.07,3,0),COLORBROWN; STICKLINE( 换手 >7 ,VOL ,CAPITAL*0.07,2.5,0),COLOR0000AA; STICKLINE( 换手 >7 ,VOL ,CAPITAL*0.07,1.7,0),COLOR0000CC; STICKLINE( 换手 >7 ,VOL ,CAPITAL*0.07,0.8,0),COLOR0000DD;五天均量 :MA(VOL,5),COLORRED,LINETHICK0.01;廿天均量 :MA(VOL,20),COLORWHITE,LINETHICK0.01;HSS:=V/CAPITAL*100,NODRAW;{ 显示当日换手 }五天换手率 :SUM(HSS,5),NODRAW;廿天换手率 :SUM(HSS,20),NODRAW;抛压 :STICKLINE(CROSS(84,RSI),0 ,VOL,1.5,0),COLORBLUE,LINETHICK5; V24:MA(VOL,24),COLORLIBLUE;V10:MA(VOL,10),COLORRED;V3:MA(VOL,3),COLORLIGRAY;9、涨停回马枪(有主图)均价线 :=AMOUNT/V/100;C2:=REF(C,1);涨停 :=IF(REF(C,1)*1.1-C<0.01 ,1,0);STICKLINE( 涨停 ,0,5,6,0),COLORYELLOW;DRAWTEXT(涨停,8,'涨停'),COLORYELLOW;实用标准文档MA13:=MA(C,13),COLORGRAY;MA21:=MA(C,21),COLORWHITE;支撑线 :=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; LC:=REF(CLOSE,1);操作线 :=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100; 趋势线 :=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100; 震仓线 :=45;震仓线 2:=50;逃命线 :=80;抄底线 :=20;绝底线 :=5;PP2:= 操作线<震仓线 2 AND REF( 操作线,1)> 震仓线 2 ;PP:=操作线 < 震仓线 AND REF(操作线,1)>震仓线;PP3:= 操作线<抄底线 AND REF( 操作线,1)> 抄底线 ;HH:=COUNT( 涨停,13)>=1;STICKLINE(PP2 AND HH,0,5,3,0),COLORRED;STICKLINE(PP AND HH,0,5,3,0),COLORRED;STICKLINE(PP3 AND HH,0,5,3,0),COLORRED;DRAWTEXT(PP2 AND HH,8,' 预警'),COLORRED;DRAWTEXT(PP AND HH,8,' 预警'),COLORRED;DRAWTEXT(PP3 AND HH,8,' 预警'),COLORRED;A:=SMA(L,4,3) ;绿色买入 :IF (((A AND REF(PP ,1) AND HH) OR (A AND REF(PP3,1) AND HH)),1,0 ); STICKLINE(A AND REF(PP ,1) AND HH ,0,10,1,0),COLORGREEN;DRAWICON(A AND REF(PP ,1) AND HH,12,1);STICKLINE(A AND REF(PP3,1) AND HH ,0,10,1,0)COLORGREEN;DRAWICON(A AND REF(PP3,1) AND HH,12,1);10 、海风 3 号M1:=MA(CLOSE,1);M2:=(LOW+HIGH+CLOSE)/3;M3:= MA(M2,5);M4:= HHV(M3,10);Z:=HHV((M1<M4),10) OR HHV((M1<M4),10);S:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34)),3);DRAWTEXT( FILTER(CROSS(S ,60 ),20),L*0.98,' ▲'),COLORYELLOW ;{DRAWTEXT(FILTER( Z,9),H*1.028,' ★') ,COLORBLUE;STICKLINE( S>60,O,C,4,0) ,COLORFF9BFB;}STICKLINE( S>60,O,C,2,0) ,COLORRED;{STICKLINE( S>60,O,C,1.5,0) ,COLORFD9BFB; }STICKLINE( S>60,H,L,0,0) ,COLORRED;{STICKLINE( S<60,O,C,4,0) ,COLOR01DC38;STICKLINE( S<60,O,C,2.5,0) ,COLOR01FE41;}STICKLINE( S<60,O,C,2,0) ,COLORGREEN;STICKLINE( S<60,H,L,0,0) ,COLORGREEN;VAR1:MA(CLOSE,5);VAR2:MA(CLOSE,10);VAR3:MA(CLOSE,20);VAR60:MA(CLOSE,60);VAR120:MA(CLOSE,120);VAR4:=OPEN<VAR1 OR OPEN<VAR2 OR OPEN<VAR3;VAR5:=CLOSE>MAX(VAR1,MAX(VAR2,MAX(VAR3,VAR60)));VAR6:=VOL/MA(VOL,30)>1.2;VAR7:=CLOSE/REF(CLOSE,1)>1.049;VAR8:=VAR4 AND VAR5 AND VAR6 AND VAR7;VAR9:=VAR8 AND (REF(BARSLAST(VAR8),1)>60 OR BARSSINCE(VAR8)=0); DRAWICON(VAR9 ,L*0.98,1) ;STICKLINE( VAR9,O,C,6,0) ,COLORYELLOW;STICKLINE( VAR9,H,L,0.6,0) ,COLORYELLOW;11 、涨停时间窗(通达信金融终端副图) N:=13;WR 大于 80 考虑买:100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N))丄 INETHICKO; 均价:AMOUNT/(VOL*100),LINETHICK0,COLORYELLOW;ZT:=C/REF(C,1)>1.O97;XH:=FILTER(ZT,13);BH:=BARSLAST(ZT);STICKLINE(ZT,0,L*1,3,0),COLORYELLOW;DRAWTEXT(ZT,L*1.1,' 涨停 '),COLORF00FF0;VARZT:=BARSLAST(C/REF(C,1)>1.097);AA:=BETWEEN(C,REF(L,BH)*1.01,REF(L,BH)*0.987); STICKLINE(AA,0,L*0.5,2,0),COLORBLUE;DRAWTEXT(AA,L*0.6,' 警戒 '),COLORWHITE;STICKLINE(AA AND VARZT=2,0,L*0.8,2,0),COLORRED; DRAWTEXT(AA AND VARZT=2,L*0.9,' 时间窗 '),COLORWHITE; STICKLINE(AA AND VARZT=4,0,L*0.8,2,0),COLORRED; DRAWTEXT(AA AND VARZT=4,L*0.9,' 时间窗 '),COLORWHITE; STICKLINE(AA AND VARZT=7,0,L*0.8,2,0),COLORRED; DRAWTEXT(AA AND VARZT=7,L*0.9,' 时间窗 '),COLORWHITE; STICKLINE(AA AND VARZT=12,0,L*0.8,2,0),COLORRED; DRAWTEXT(AA AND VARZT=12,L*0.9,' 时间窗 '),COLORWHITE; STICKLINE(AA AND VARZT=20,0,L*0.8,2,0),COLORRED; DRAWTEXT(AA AND VARZT=20,L*0.9,' 时间窗 '),COLORWHITE;。

狙击手副图选股指标通达信指标公式源码

狙击手副图选股指标通达信指标公式源码

黄色提示点,可以进场,,但是最好结合盘面分析一下。

如果在底位,,会比较准确!A1:=DATE <= 13181231;工作线:(EMA(C,14)) * A1,POINTDOT,LINETHICK5,COLORYELLOW;DRAWTEXT_FIX(1,0.50,5,0,'~☆~弘毅操盘专用~☆~'),COLORRED;AA05:MA(C,5),LINETHICK3,COLOR0099CC;五日乖离率:=(C-AA05)/AA05*100;BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;IF(BB05>30 AND AA05>REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORRED;AA10:MA(C,10), LINETHICK0;AA20:=MA(C,20);BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;IF(BB05<0 AND AA05<REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORFFFF00;AA30:MA(C,30), LINETHICK0;三拾日乖离率:(C-AA30)/AA30*100,NODRAW;VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) ANDAA30>REF(AA30,1);VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) ANDAA30<REF(AA30,1);BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) ANDAA05<REF(AA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDAA10<REF(AA10,1),10);DRAWTEXT(加仓,LOW*0.98,'←-----加仓'),COLORYELLOW;JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) ANDAA10>REF(AA10,1) ;减仓:=FILTER(JC,10);MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;买入:=FILTER(MR,10);DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORCYAN;DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;TYP:=(HIGH+LOW+CLOSE)/3;CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));VAR5:=CROSS(CCI,-100);VAR6:=CCI>=200;DRAWTEXT(VAR6,HIGH*1.02,'←-小心'),COLORYELLOW;SJ:=VAR5;STICKLINE(SJ,H,L,0.6,0),COLORYELLOW;LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(CROSS(84,RSI) , HIGH,'←--逃'),COLORGREEN;VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'←-大胆博'),COLORYELLOW;A:=(3*C+L+O+H)/6;X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8* REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/210;生命线:EMA(X,13),LINETHICK2,COLORMAGENTA;。

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

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

通达信狙击主力主图指标源码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;{底位红色};。

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

黄色提示点,可以进场,,但是最好结合盘面分析一下。

如果在底位,,会比较准确!
A1:=DATE <= 13181231;
工作线:(EMA(C,14)) * A1,POINTDOT,LINETHICK5,COLORYELLOW;
DRAWTEXT_FIX(1,0.50,5,0,'~☆~弘毅操盘专用~☆~'),COLORRED;
AA05:MA(C,5),LINETHICK3,COLOR0099CC;
五日乖离率:=(C-AA05)/AA05*100;
BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;
速度5:=SMA(EMA((AA05-REF(AA05,1))/REF(AA05,1),3)*100,3,1);
加速度5:EMA((速度5-REF(速度5,1)),3),NODRAW;
IF(BB05>30 AND AA05>REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORRED;
AA10:MA(C,10), LINETHICK0;
AA20:=MA(C,20);
BB10:=ATAN((AA10/REF(AA10,1)-1)*100)*180/3.1416;
IF(BB05<0 AND AA05<REF(AA05,1), AA05,DRAWNULL),LINETHICK2,COLORFFFF00;
AA30:MA(C,30), LINETHICK0;
三拾日乖离率:(C-AA30)/AA30*100,NODRAW;
VAR1:=(AA20-AA30)>REF((AA20-AA30),1) AND AA20>REF(AA20,1) AND
AA30>REF(AA30,1);
VAR2:=(AA30-AA20)<REF((AA30-AA20),1) AND AA20<REF(AA20,1) AND
AA30<REF(AA30,1);
BB30:=ATAN((AA30/REF(AA30,1)-1)*100)*180/3.1416;
强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10);
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND AA05>REF(AA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA10>REF(AA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) ;
清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>AA30 OR O>AA30) AND
AA05<REF(AA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND
AA10<REF(AA10,1),10);
DRAWTEXT(加仓,LOW*0.98,'←-----加仓'),COLORYELLOW;
JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND
AA10>REF(AA10,1) ;
减仓:=FILTER(JC,10);
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
买入:=FILTER(MR,10);
DRAWTEXT(减仓,HIGH*1.02,'←减仓'),COLORCYAN;
DRAWTEXT(买入,LOW*0.98,'←买入'),COLORYELLOW;
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
VAR5:=CROSS(CCI,-100);
VAR6:=CCI>=200;
DRAWTEXT(VAR6,HIGH*1.02,'←-小心'),COLORYELLOW;
SJ:=VAR5;
STICKLINE(SJ,H,L,0.6,0),COLORYELLOW;
LC:=REF(CLOSE,1);
RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
DRAWTEXT(CROSS(84,RSI) , HIGH,'←--逃'),COLORGREEN;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'←-大胆博'),COLORYELLOW;
A:=(3*C+L+O+H)/6;
X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+
14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8* REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/210;
生命线:EMA(X,13),LINETHICK2,COLORMAGENTA;。

相关文档
最新文档