王通达信牌柱战法 底部双王回踩 副图/选股 源码

 

王牌柱战法 底部双王回踩 副图/选股 源码 通达信

XA_1:=1.3;
 XA_2:=1;
 XA_3:=0;
 XA_4:=MA(CLOSE,5);
 XA_5:=MA(CLOSE,10);
 XA_6:=MA(CLOSE,20);
 XA_7:=XA_4>REF(XA_4,1) AND XA_5<REF(XA_5,1) AND XA_6<REF(XA_6,1);
 XA_8:=REF(VOL,1);
 XA_9:=REF(VOL,2);
 XA_10:=REF(VOL,3);
 XA_11:=REF(CLOSE,1);
 XA_12:=REF(CLOSE,2);
 XA_13:=REF(CLOSE,3);
 XA_14:=REF(CLOSE,4);
 XA_15:=REF(OPEN,1);
 XA_16:=REF(OPEN,2);
 XA_17:=REF(OPEN,3);
 XA_18:=REF(OPEN,4);
 XA_19:=CLOSE>=XA_13 AND XA_11>=XA_13 AND XA_12>=XA_13;
 XA_20:=LOW>XA_17 AND REF(LOW,1)>XA_17 AND REF(LOW,2)>XA_17;
 XA_21:=AMOUNT/VOL/100;
 XA_22:=REF(XA_21,1);
 XA_23:=REF(XA_21,2);
 XA_24:=CLOSE>=OPEN OR (CLOSE<OPEN AND XA_21>XA_11);
 XA_25:=COUNT(XA_24,3)>=2;
 XA_26:=XA_13>XA_17;
 XA_27:=XA_21>=XA_22 OR CLOSE>XA_11 AND (XA_22>=XA_23 OR XA_11>=XA_12);
 XA_28:=(CLOSE+XA_11+XA_12)/3>XA_13;
 XA_29:=VOL>XA_8 AND XA_8>XA_9;
 XA_30:=VOL<=XA_8 AND XA_8<=XA_9;
 XA_31:=(VOL+XA_8+XA_9)/3<=XA_10 AND NOT(XA_29);
 XA_32:=CLOSE/VOL;
 XA_33:=XA_32>=REF(XA_32,1) AND REF(XA_32,1)>=REF(XA_32,2);
 XA_34:=(CLOSE+XA_11+XA_12)/3/XA_13;
 XA_35:=(VOL+XA_8+XA_9)/3/XA_10;
 XA_36:=XA_1*XA_34/XA_35>1;
 XA_37:=XA_17>XA_14 AND XA_14>XA_18;
 XA_38:=XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20 AND XA_37;
 XA_39:=BACKSET(XA_38,5);
 XA_40:=FILTER(XA_39,4);
 XA_41:=XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20;
 XA_42:=BACKSET(XA_41,4);
 XA_43:=FILTER(XA_42,3);
 XA_44:=XA_41 AND REF(XA_41,1);
 XA_45:=BACKSET(XA_44,4);
 XA_46:=FILTER(XA_45,3);
 XA_47:=XA_41 AND REF(XA_41,2);
 XA_48:=BACKSET(XA_47,4);
 XA_49:=FILTER(XA_48,3);
 XA_50:=XA_41 AND REF(XA_41,3);
 XA_51:=BACKSET(XA_50,4);
 XA_52:=FILTER(XA_51,3);
 XA_53:=XA_26 AND XA_27 AND XA_31 AND NOT(XA_29) AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_38);
 XA_54:=BACKSET(XA_53,5);
 XA_55:=FILTER(XA_54,4);
 XA_56:=XA_26 AND XA_27 AND XA_31 AND NOT(XA_29) AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_38);
 XA_57:=BACKSET(XA_56,4);
 XA_58:=FILTER(XA_57,3);
 XA_59:=XA_56 AND REF(XA_56,1);
 XA_60:=BACKSET(XA_59,4);
 XA_61:=FILTER(XA_60,3);
 XA_62:=XA_56 AND REF(XA_56,2);
 XA_63:=BACKSET(XA_62,4);
 XA_64:=FILTER(XA_63,3);
 XA_65:=XA_56 AND REF(XA_56,3);
 XA_66:=BACKSET(XA_65,4);
 XA_67:=FILTER(XA_66,3);
 XA_68:=XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_38) AND NOT(XA_53);
 XA_69:=BACKSET(XA_68,5);
 XA_70:=FILTER(XA_69,4);
 XA_71:=XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_38) AND NOT(XA_53);
 XA_72:=BACKSET(XA_71,4);
 XA_73:=FILTER(XA_72,3);
 XA_74:=XA_71 AND REF(XA_71,1);
 XA_75:=BACKSET(XA_74,4);
 XA_76:=FILTER(XA_75,3);
 XA_77:=XA_71 AND REF(XA_71,2);
 XA_78:=BACKSET(XA_77,4);
 XA_79:=FILTER(XA_78,3);
 XA_80:=XA_71 AND REF(XA_71,3);
 XA_81:=BACKSET(XA_80,4);
 XA_82:=FILTER(XA_81,3);
 XA_83:=XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_38) AND NOT(XA_56) AND NOT(XA_53) AND NOT(XA_71) AND NOT(XA_68);
 XA_84:=BACKSET(XA_83,5);
 XA_85:=FILTER(XA_84,4);
 XA_86:=XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68);
 XA_87:=BACKSET(XA_86,4);
 XA_88:=FILTER(XA_87,3);
 XA_89:=XA_86 AND REF(XA_86,1);
 XA_90:=BACKSET(XA_89,4);
 XA_91:=FILTER(XA_90,3);
 XA_92:=XA_86 AND REF(XA_86,2);
 XA_93:=BACKSET(XA_92,4);
 XA_94:=FILTER(XA_93,3);
 XA_95:=XA_86 AND REF(XA_86,3);
 XA_96:=BACKSET(XA_95,4);
 XA_97:=FILTER(XA_96,3);
 XA_98:=XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83);
 XA_99:=BACKSET(XA_98,5);
 XA_100:=FILTER(XA_99,4);
 XA_101:=XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83);
 XA_102:=BACKSET(XA_101,4);
 XA_103:=FILTER(XA_102,3);
 XA_104:=XA_101 AND REF(XA_101,1);
 XA_105:=BACKSET(XA_104,4);
 XA_106:=FILTER(XA_105,3);
 XA_107:=XA_101 AND REF(XA_101,2);
 XA_108:=BACKSET(XA_107,4);
 XA_109:=FILTER(XA_108,3);
 XA_110:=XA_101 AND REF(XA_101,3);
 XA_111:=BACKSET(XA_110,4);
 XA_112:=FILTER(XA_111,3);
 XA_113:=XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND XA_37 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_101) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83) AND NOT(XA_98);
 XA_114:=BACKSET(XA_113,5);
 XA_115:=FILTER(XA_114,4);
 XA_116:=XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND NOT(XA_41) AND NOT(XA_56) AND NOT(XA_71) AND NOT(XA_86) AND NOT(XA_101) AND NOT(XA_38) AND NOT(XA_53) AND NOT(XA_68) AND NOT(XA_83) AND NOT(XA_98);
 XA_117:=BACKSET(XA_116,4);
 XA_118:=FILTER(XA_117,3);
 XA_119:=XA_116 AND REF(XA_116,1);
 XA_120:=BACKSET(XA_119,4);
 XA_121:=FILTER(XA_120,3);
 XA_122:=XA_116 AND REF(XA_116,2);
 XA_123:=BACKSET(XA_122,4);
 XA_124:=FILTER(XA_123,3);
 XA_125:=XA_116 AND REF(XA_116,3);
 XA_126:=BACKSET(XA_125,4);
 XA_127:=FILTER(XA_126,3);
 XA_128:=XA_41 OR XA_56 OR XA_71 OR XA_86 OR XA_101 OR XA_116;
 XA_129:=HHV(HIGH,60);
 XA_130:=LLV(LOW,60);
 XA_131:=REFDATE(XA_129,DATE);
 XA_132:=REFDATE(XA_130,DATE);
 XA_133:=REFDATE((XA_131-XA_132)*0.5+XA_132,DATE);
 XA_134:=XA_131;
 XA_135:=XA_132;
 XA_136:=XA_134-(XA_134-XA_135)*0.666;
底部双王回踩:CLOSE<XA_136 AND COUNT(XA_128,16)>=2 AND CLOSE<REF(CLOSE,1) AND VOL<REF(VOL,1)*0.67 AND DYNAINFO(4)>0 AND BARSLASTCOUNT(VOL>0)>60;




来函数检测结果如下
该公式包含未来函数:BACKSET
该公式包含未来函数:DYNAINFO

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

通达信XA_1赋值:1.3
XA_2赋值:1
XA_3赋值:0
XA_4赋值:收盘价的5日简单移动平均
XA_5赋值:收盘价的10日简单移动平均
XA_6赋值:收盘价的20日简单移动平均
XA_7赋值:XA_4>1日前的XA_4 AND XA_5<1日前的XA_5 AND XA_6<1日前的XA_6
XA_8赋值:1日前的成交量(手)
XA_9赋值:2日前的成交量(手)
XA_10赋值:3日前的成交量(手)
XA_11赋值:1日前的收盘价
XA_12赋值:2日前的收盘价
XA_13赋值:3日前的收盘价
XA_14赋值:4日前的收盘价
XA_15赋值:1日前的开盘价
XA_16赋值:2日前的开盘价
XA_17赋值:3日前的开盘价
XA_18赋值:4日前的开盘价
XA_19赋值:收盘价>=XA_13 AND XA_11>=XA_13 AND XA_12>=XA_13
XA_20赋值:最低价>XA_17 AND 1日前的最低价>XA_17 AND 2日前的最低价>XA_17
XA_21赋值:成交额(元)/成交量(手)/100
XA_22赋值:1日前的XA_21
XA_23赋值:2日前的XA_21
XA_24赋值:收盘价>=开盘价 OR (收阴线ANDSE XA_21>XA_11)
XA_25赋值:统计3日中满足XA_24的天数>=2
XA_26赋值:XA_13>XA_17
XA_27赋值:XA_21>=XA_22 OR 收盘价>XA_11 AND (XA_22>=XA_23 OR XA_11>=XA_12)
XA_28赋值:(收盘价+XA_11+XA_12)/3>XA_13
XA_29赋值:成交量(手)>XA_8 AND XA_8>XA_9
XA_30赋值:成交量(手)<=XA_8 AND XA_8<=XA_9
XA_31赋值:(成交量(手)+XA_8+XA_9)/3<=XA_10 AND 取反
XA_32赋值:收盘价/成交量(手)
XA_33赋值:XA_32>=1日前的XA_32 AND 1日前的XA_32>=2日前的XA_32
XA_34赋值:(收盘价+XA_11+XA_12)/3/XA_13
XA_35赋值:(成交量(手)+XA_8+XA_9)/3/XA_10
XA_36赋值:XA_1*XA_34/XA_35>1
XA_37赋值:XA_17>XA_14 AND XA_14>XA_18
XA_38赋值:XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20 AND XA_37
XA_39赋值:若XA_38则将最近5周期置为1
XA_40赋值:XA_39的4日过滤
XA_41赋值:XA_26 AND XA_27 AND XA_30 AND XA_19 AND XA_20
XA_42赋值:若XA_41则将最近4周期置为1
XA_43赋值:XA_42的3日过滤
XA_44赋值:XA_41 AND 1日前的XA_41
XA_45赋值:若XA_44则将最近4周期置为1
XA_46赋值:XA_45的3日过滤
XA_47赋值:XA_41 AND 2日前的XA_41
XA_48赋值:若XA_47则将最近4周期置为1
XA_49赋值:XA_48的3日过滤
XA_50赋值:XA_41 AND 3日前的XA_41
XA_51赋值:若XA_50则将最近4周期置为1
XA_52赋值:XA_51的3日过滤
XA_53赋值:XA_26 AND XA_27 AND XA_31 AND 取反 AND XA_19 AND XA_20 AND XA_37 AND 取反 AND 取反
XA_54赋值:若XA_53则将最近5周期置为1
XA_55赋值:XA_54的4日过滤
XA_56赋值:XA_26 AND XA_27 AND XA_31 AND 取反 AND XA_19 AND XA_20 AND 取反 AND 取反
XA_57赋值:若XA_56则将最近4周期置为1
XA_58赋值:XA_57的3日过滤
XA_59赋值:XA_56 AND 1日前的XA_56
XA_60赋值:若XA_59则将最近4周期置为1
XA_61赋值:XA_60的3日过滤
XA_62赋值:XA_56 AND 2日前的XA_56
XA_63赋值:若XA_62则将最近4周期置为1
XA_64赋值:XA_63的3日过滤
XA_65赋值:XA_56 AND 3日前的XA_56
XA_66赋值:若XA_65则将最近4周期置为1
XA_67赋值:XA_66的3日过滤
XA_68赋值:XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND XA_37 AND 取反 AND 取反 AND 取反 AND 取反
XA_69赋值:若XA_68则将最近5周期置为1
XA_70赋值:XA_69的4日过滤
XA_71赋值:XA_26 AND XA_28 AND XA_30 AND XA_19 AND XA_20 AND 取反 AND 取反 AND 取反 AND 取反
XA_72赋值:若XA_71则将最近4周期置为1
XA_73赋值:XA_72的3日过滤
XA_74赋值:XA_71 AND 1日前的XA_71
XA_75赋值:若XA_74则将最近4周期置为1
XA_76赋值:XA_75的3日过滤
XA_77赋值:XA_71 AND 2日前的XA_71
XA_78赋值:若XA_77则将最近4周期置为1
XA_79赋值:XA_78的3日过滤
XA_80赋值:XA_71 AND 3日前的XA_71
XA_81赋值:若XA_80则将最近4周期置为1
XA_82赋值:XA_81的3日过滤
XA_83赋值:XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND XA_37 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反
XA_84赋值:若XA_83则将最近5周期置为1
XA_85赋值:XA_84的4日过滤
XA_86赋值:XA_26 AND XA_28 AND XA_31 AND XA_19 AND XA_20 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反
XA_87赋值:若XA_86则将最近4周期置为1
XA_88赋值:XA_87的3日过滤
XA_89赋值:XA_86 AND 1日前的XA_86
XA_90赋值:若XA_89则将最近4周期置为1
XA_91赋值:XA_90的3日过滤
XA_92赋值:XA_86 AND 2日前的XA_86
XA_93赋值:若XA_92则将最近4周期置为1
XA_94赋值:XA_93的3日过滤
XA_95赋值:XA_86 AND 3日前的XA_86
XA_96赋值:若XA_95则将最近4周期置为1
XA_97赋值:XA_96的3日过滤
XA_98赋值:XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND XA_37 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反
XA_99赋值:若XA_98则将最近5周期置为1
XA_100赋值:XA_99的4日过滤
XA_101赋值:XA_26 AND XA_28 AND XA_36 AND XA_19 AND XA_20 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反
XA_102赋值:若XA_101则将最近4周期置为1
XA_103赋值:XA_102的3日过滤
XA_104赋值:XA_101 AND 1日前的XA_101
XA_105赋值:若XA_104则将最近4周期置为1
XA_106赋值:XA_105的3日过滤
XA_107赋值:XA_101 AND 2日前的XA_101
XA_108赋值:若XA_107则将最近4周期置为1
XA_109赋值:XA_108的3日过滤
XA_110赋值:XA_101 AND 3日前的XA_101
XA_111赋值:若XA_110则将最近4周期置为1
XA_112赋值:XA_111的3日过滤
XA_113赋值:XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND XA_37 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反
XA_114赋值:若XA_113则将最近5周期置为1
XA_115赋值:XA_114的4日过滤
XA_116赋值:XA_26 AND XA_28 AND XA_33 AND XA_19 AND XA_20 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反 AND 取反
XA_117赋值:若XA_116则将最近4周期置为1
XA_118赋值:XA_117的3日过滤
XA_119赋值:XA_116 AND 1日前的XA_116
XA_120赋值:若XA_119则将最近4周期置为1
XA_121赋值:XA_120的3日过滤
XA_122赋值:XA_116 AND 2日前的XA_116
XA_123赋值:若XA_122则将最近4周期置为1
XA_124赋值:XA_123的3日过滤
XA_125赋值:XA_116 AND 3日前的XA_116
XA_126赋值:若XA_125则将最近4周期置为1
XA_127赋值:XA_126的3日过滤
XA_128赋值:XA_41 OR XA_56 OR XA_71 OR XA_86 OR XA_101 OR XA_116
XA_129赋值:60日内最高价的最高值
XA_130赋值:60日内最低价的最低值
XA_131赋值:日期日XA_129
XA_132赋值:日期日XA_130
XA_133赋值:日期日(XA_131-XA_132)*0.5+XA_132
XA_134赋值:XA_131
XA_135赋值:XA_132
XA_136赋值:XA_134-(XA_134-XA_135)*0.666
输出底部双王回踩:收盘价=2 AND 收盘价<1日前的收盘价 AND 成交量(手)<1日前的成交量(手)*0.67 AND 开盘价>0 AND 条件连续成立次数>60

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图