相关简介: 板块资金流向指标公式
授权方式:免费版
指标评级:★★★★★
指标分类:策略
画线方法:副图/主图
未来函数检测结果:
暂未发现存在未来函数
板块资金流向指标公式源码:
X_1:=STRCAT(5388,STRCAT(STRCAT(STRCAT(5389,HYBLOCK),STRCAT(5390,DYBLOCK)),STRCAT(5391,GNBLOCK)));
DRAWTEXT_FIX(ISLASTBAR,0.005,0.02,0,X_1),COLORMAGENTA;
X_2:=REF(CLOSE,1);
X_3:=REF(CLOSE,1)*1.097;
X_4:=CLOSE>=X_3ANDCLOSE=HIGH;
STICKLINE(X_4,OPEN,CLOSE,2.5,0),COLORYELLOW;
X_5:=IF(DTPRICE(REF(CLOSE,1),0.1)=CLOSE,2,0);
STICKLINE(X_5,OPEN,CLOSE,2.5,0),COLORGREEN;
X_6:=LOW<REF(LOW,1)ANDHIGH<REF(HIGH,1);
X_7:=LOW>REF(LOW,1)ANDHIGH>REF(HIGH,1);
X_8:=LOW<REF(LOW,1)ANDHIGH>=REF(HIGH,1)ANDREF(LOW,1)>=REF(LOW,2)ANDREF(HIGH,1)<=REF(HIGH,2)ANDHIGH<REF(HIGH,2)ANDCOUNT(X_6,BArslAST(X_7))=0;
X_9:=HIGH>REF(HIGH,1)ANDLOW<=REF(LOW,1)ANDREF(HIGH,1)<=REF(HIGH,2)ANDREF(LOW,1)>=REF(LOW,2)ANDLOW>REF(LOW,2)ANDCOUNT(X_7,BARSLAST(X_6))=0;
X_10:=HIGH<REF(HIGH,1)ANDREF(LOW,1)<=REF(LOW,2)ANDREF(HIGH,1)>=REF(HIGH,2)ANDLOW<REF(LOW,2)ANDCOUNT(X_6,BARSLAST(X_7))=0;
X_11:=LOW>REF(LOW,1)ANDREF(HIGH,1)>=REF(HIGH,2)ANDREF(LOW,1)<=REF(LOW,2)ANDHIGH>REF(HIGH,2)ANDCOUNT(X_7,BARSLAST(X_6))=0;
X_12:=X_6ORX_8ORX_10;
X_13:=X_7ORX_9ORX_11;
X_14:=X_13ANDCOUNT(X_13,BARSLAST(X_12))=1;
X_15:=X_12ANDCOUNT(X_12,BARSLAST(X_13))=1;
X_16:=IF(X_14,LLV(LOW,1+BARSLAST(X_15)),0);
X_17:=IF(X_16,X_16,REF(X_16,BARSLAST(X_16)));
X_18:=IF(X_15,HHV(HIGH,1+BARSLAST(X_14)),0);
X_19:=IF(X_18,X_18,REF(X_18,BARSLAST(X_18)));
X_20:=HIGH>=REF(HIGH,1)ANDLOW<=REF(LOW,1);
X_21:=HIGH<=REF(HIGH,1)ANDLOW>=REF(LOW,1);
X_22:=X_20ORX_21;
X_23:=HIGH>=REF(HIGH,1)ANDLOW<=REF(LOW,1)ANDREF(LOW,1)>=REF(HIGH,2)ANDREF(HIGH,1)<=REF(HIGH,2)ANDHIGH>=REF(HIGH,2);
X_24:=HIGH<=REF(HIGH,1)ANDLOW>=REF(LOW,1)ANDREF(HIGH,1)>=REF(HIGH,2)ANDREF(LOW,1)<=REF(LOW,2)ANDLOW<=REF(LOW,2);
X_25:=X_23ORX_24AND(COUNT(X_15,BARSLAST(X_14))=0ORX_15);
X_26:=HIGH>=REF(HIGH,1)ANDLOW<=REF(LOW,1)ANDREF(HIGH,1)<=REF(HIGH,2)ANDREF(LOW,1)>=REF(LOW,2)ANDLOW>=REF(LOW,2);
X_27:=HIGH<=REF(HIGH,1)ANDLOW>=REF(LOW,2)ANDREF(LOW,1)<=REF(LOW,2)ANDREF(HIGH,1)>=REF(HIGH,2)ANDHIGH>=REF(HIGH,2);
X_28:=X_26ORX_27AND(COUNT(X_14,BARSLAST(X_15))=0ORX_14);
X_29:=X_25ORX_28;
X_30:=BARSLAST(X_17!=REF(X_17,1))-COUNT(X_22,BARSLAST(X_17!=REF(X_17,1)))+COUNT(X_29,BARSLAST(X_17!=REF(X_17,1)))>2ANDHIGH=HHV(HIGH,1+BARSLAST(X_17!=REF(X_17,1)))ANDCOUNT(LOW<REF(X_17,BARSLAST(X_17!=REF(X_17,1))),BARSLAST(X_17!=REF(X_17,1)))=0ANDBARSLAST(X_17!=REF(X_17,1))>0;
X_31:=SUMBARS(X_17!=REF(X_17,1),2)-COUNT(X_22,SUMBARS(X_17!=REF(X_17,1),2))+COUNT(X_29,SUMBARS(X_17!=REF(X_17,1),2))>3ANDHIGH=HHV(HIGH,SUMBARS(X_17!=REF(X_17,1),2))ANDREF(X_17,SUMBARS(X_17!=REF(X_17,1),2)-1)<=LLV(LOW,SUMBARS(X_17!=REF(X_17,1),2));
X_32:=SUMBARS(X_17!=REF(X_17,1),3)-COUNT(X_22,SUMBARS(X_17!=REF(X_17,1),3))+COUNT(X_29,SUMBARS(X_17!=REF(X_17,1),3))>3ANDHIGH=HHV(HIGH,SUMBARS(X_17!=REF(X_17,1),3))ANDREF(X_17,SUMBARS(X_17!=REF(X_17,1),3)-1)<=LLV(LOW,SUMBARS(X_17!=REF(X_17,1),3));
X_33:=SUMBARS(X_17!=REF(X_17,1),4)-COUNT(X_22,SUMBARS(X_17!=REF(X_17,1),4))+COUNT(X_29,SUMBARS(X_17!=REF(X_17,1),4))>3ANDHIGH=HHV(HIGH,SUMBARS(X_17!=REF(X_17,1),4))ANDREF(X_17,SUMBARS(X_17!=REF(X_17,1),4)-1)<=LLV(LOW,SUMBARS(X_17!=REF(X_17,1),4));
X_34:=SUMBARS(X_17!=REF(X_17,1),5)-COUNT(X_22,SUMBARS(X_17!=REF(X_17,1),5))+COUNT(X_29,SUMBARS(X_17!=REF(X_17,1),5))>3ANDHIGH=HHV(HIGH,SUMBARS(X_17!=REF(X_17,1),5))ANDREF(X_17,SUMBARS(X_17!=REF(X_17,1),5)-1)<=LLV(LOW,SUMBARS(X_17!=REF(X_17,1),5));
X_35:=SUMBARS(X_17!=REF(X_17,1),6)-COUNT(X_22,SUMBARS(X_17!=REF(X_17,1),6))+COUNT(X_29,SUMBARS(X_17!=REF(X_17,1),6))>3ANDHIGH=HHV(HIGH,SUMBARS(X_17!=REF(X_17,1),6))ANDREF(X_17,SUMBARS(X_17!=REF(X_17,1),6)-1)<=LLV(LOW,SUMBARS(X_17!=REF(X_17,1),6));
X_36:=BARSLAST(X_19!=REF(X_19,1))-COUNT(X_22,BARSLAST(X_19!=REF(X_19,1)))+COUNT(X_29,BARSLAST(X_19!=REF(X_19,1)))>2ANDCOUNT(HIGH>REF(X_19,BARSLAST(X_19!=REF(X_19,1))),BARSLAST(X_19!=REF(X_19,1)))=0ANDLOW=LLV(LOW,BARSLAST(X_19!=REF(X_19,1)))ANDBARSLAST(X_19!=REF(X_19,1))>0;
X_37:=SUMBARS(X_19!=REF(X_19,1),2)-COUNT(X_22,SUMBARS(X_19!=REF(X_19,1),2))+COUNT(X_29,SUMBARS(X_19!=REF(X_19,1),2))>3ANDLOW=LLV(LOW,SUMBARS(X_19!=REF(X_19,1),2))ANDREF(X_19,SUMBARS(X_19!=REF(X_19,1),2)-1)>=HHV(HIGH,SUMBARS(X_19!=REF(X_19,1),2));
X_38:=SUMBARS(X_19!=REF(X_19,1),3)-COUNT(X_22,SUMBARS(X_19!=REF(X_19,1),3))+COUNT(X_29,SUMBARS(X_19!=REF(X_19,1),3))>3ANDLOW=LLV(LOW,SUMBARS(X_19!=REF(X_19,1),3))ANDREF(X_19,SUMBARS(X_19!=REF(X_19,1),3)-1)>=HHV(HIGH,SUMBARS(X_19!=REF(X_19,1),3));
X_39:=SUMBARS(X_19!=REF(X_19,1),4)-COUNT(X_22,SUMBARS(X_19!=REF(X_19,1),4))+COUNT(X_29,SUMBARS(X_19!=REF(X_19,1),4))>3ANDLOW=LLV(LOW,SUMBARS(X_19!=REF(X_19,1),4))ANDREF(X_19,SUMBARS(X_19!=REF(X_19,1),4)-1)>=HHV(HIGH,SUMBARS(X_19!=REF(X_19,1),4));
X_40:=SUMBARS(X_19!=REF(X_19,1),5)-COUNT(X_22,SUMBARS(X_19!=REF(X_19,1),5))+COUNT(X_29,SUMBARS(X_19!=REF(X_19,1),5))>3ANDLOW=LLV(LOW,SUMBARS(X_19!=REF(X_19,1),5))ANDREF(X_19,SUMBARS(X_19!=REF(X_19,1),5)-1)>=HHV(HIGH,SUMBARS(X_19!=REF(X_19,1),5));
X_41:=SUMBARS(X_19!=REF(X_19,1),6)-COUNT(X_22,SUMBARS(X_19!=REF(X_19,1),6))+COUNT(X_29,SUMBARS(X_19!=REF(X_19,1),6))>3ANDLOW=LLV(LOW,SUMBARS(X_19!=REF(X_19,1),6))ANDREF(X_19,SUMBARS(X_19!=REF(X_19,1),6)-1)>=HHV(HIGH,SUMBARS(X_19!=REF(X_19,1),6));
X_42:=X_30ORX_31ORX_32ORX_33ORX_34ORX_35;
X_43:=X_36ORX_37ORX_38ORX_39ORX_40ORX_41;
X_44:=X_42ANDCOUNT(X_42,1+BARSLAST(X_43))=1;
X_45:=X_43ANDCOUNT(X_43,1+BARSLAST(X_42))=1;
X_46:=IF(X_44,LLV(LOW,1+BARSLAST(X_45)),0);
X_47:=IF(X_46,X_46,REF(X_46,BARSLAST(X_46)));
X_48:=IF(X_45,HHV(HIGH,1+BARSLAST(X_44)),0);
X_49:=IF(X_48,X_48,REF(X_48,BARSLAST(X_48)));
X_50:=HHV(HIGH,1+BARSLAST(X_46))=HIGH;
X_51:=LLV(LOW,1+BARSLAST(X_48))=LOW;
X_52:=FILTERX(X_50,BARSLAST(X_51));
X_53:=FILTERX(X_51,BARSLAST(X_50));
X_54:=IF(X_53,LOW,0);
X_55:=IF(X_52,HIGH,0);
X_56:=IF(X_54>0,X_54,REF(X_54,BARSLAST(X_54>0)));
X_57:=IF(X_55>0,X_55,REF(X_55,BARSLAST(X_55>0)));
X_58:=BARSLAST(X_53)-COUNT(X_22,BARSLAST(X_53))+COUNT(X_29,BARSLAST(X_53))>3ANDCOUNT(LOW<REF(X_56,BARSLAST(X_53)),BARSLAST(X_53))=0ANDHIGH=HHV(HIGH,1+BARSLAST(X_53))ANDBARSLAST(X_53)>0;
X_59:=BARSLAST(X_52)-COUNT(X_22,BARSLAST(X_52))+COUNT(X_29,BARSLAST(X_52))>3ANDCOUNT(HIGH>REF(X_57,BARSLAST(X_52)),BARSLAST(X_52))=0ANDLOW=LLV(LOW,BARSLAST(X_52))ANDBARSLAST(X_52)>0;
X_60:=FILTERX(X_58,BARSLAST(X_59));
X_61:=FILTERX(X_59,BARSLAST(X_58));
X_62:=IF(X_61,LOW,0);
X_63:=IF(X_60,HIGH,0);
X_64:=IF(X_62>0,X_62,REF(X_62,BARSLAST(X_62>0)));
X_65:=IF(X_63>0,X_63,REF(X_63,BARSLAST(X_63>0)));
X_66:=LLV(LOW,1+BARSLAST(X_64!=REF(X_64,1)OR(X_62>0ANDX_64=REF(X_64,1))))=LOWANDCOUNT(X_65!=REF(X_65,1),BARSLAST(X_64!=REF(X_64,1)OR(X_62>0ANDX_64=REF(X_64,1))))=0;
X_67:=HHV(HIGH,1+BARSLAST(X_65!=REF(X_65,1)OR(X_63>0ANDX_65=REF(X_65,1))))=HIGHANDCOUNT(X_64!=REF(X_64,1),BARSLAST(X_65!=REF(X_65,1)OR(X_63>0ANDX_65=REF(X_65,1))))=0;
X_68:=FILTERX(X_67,BARSLAST(X_66));
X_69:=FILTERX(X_66,BARSLAST(X_67));
X_70:=IF(X_69,LOW,0);
X_71:=IF(X_68,HIGH,0);
X_72:=IF(X_70>0,X_70,REF(X_70,BARSLAST(X_70>0)));
X_73:=IF(X_71>0,X_71,REF(X_71,BARSLAST(X_71>0)));
X_74:=IF(X_72>REF(X_72,1),X_73,REF(X_73,BARSLAST(X_72>REF(X_72,1))));
X_75:=IF(X_73<REF(X_73,1),X_72,REF(X_72,BARSLAST(X_73<REF(X_73,1))));
X_76:=HIGH>X_74ANDCOUNT(HIGH>X_74,BARSLAST(LOW<X_75))=1ANDBARSLAST(X_72>REF(X_72,1))<BARSLAST(X_73>REF(X_73,1));
X_77:=LOW<X_75ANDCOUNT(LOW<X_75,BARSLAST(HIGH>X_74))=1ANDBARSLAST(X_72<REF(X_72,1))>BARSLAST(X_73<REF(X_73,1));
X_78:=IF(X_76,LLV(LOW,1+BARSLAST(X_77)),0);
X_79:=IF(X_78,X_78,REF(X_78,BARSLAST(X_78)));
X_80:=IF(X_77,HHV(HIGH,1+BARSLAST(X_76)),0);
X_81:=IF(X_80,X_80,REF(X_80,BARSLAST(X_80)));
X_82:=HHV(HIGH,1+BARSLAST(X_78))=HIGH;
X_83:=LLV(LOW,1+BARSLAST(X_80))=LOW;
X_84:=FILTERX(X_82,BARSLAST(X_83));
X_85:=FILTERX(X_83,BARSLAST(X_82));
X_86:=IF(X_85,LOW,0);
X_87:=IF(X_84,HIGH,0);
X_88:=IF(X_86>0,X_86,REF(X_86,BARSLAST(X_86>0)));
X_89:=IF(X_87>0,X_87,REF(X_87,BARSLAST(X_87>0)));
X_90:=IF(X_88>REF(X_88,1),X_89,REF(X_89,BARSLAST(X_88>REF(X_88,1))));
X_91:=IF(X_89<REF(X_89,1),X_88,REF(X_88,BARSLAST(X_89<REF(X_89,1))));
X_92:=HIGH>X_90ANDCOUNT(HIGH>X_90,BARSLAST(LOW<X_91))=1;
X_93:=LOW<X_91ANDCOUNT(LOW<X_91,BARSLAST(HIGH>X_90))=1;
X_94:=IF(X_92,LLV(LOW,1+BARSLAST(X_93)),0);
X_95:=IF(X_94,X_94,REF(X_94,BARSLAST(X_94)));
X_96:=IF(X_93,HHV(HIGH,1+BARSLAST(X_92)),0);
X_97:=IF(X_96,X_96,REF(X_96,BARSLAST(X_96)));
X_98:=HHV(HIGH,1+BARSLAST(X_94))=HIGH;
X_99:=LLV(LOW,1+BARSLAST(X_96))=LOW;
X_100:=FILTERX(X_98,BARSLAST(X_99));
X_101:=FILTERX(X_99,BARSLAST(X_98));
X_102:=IF(X_101,LOW,0);
X_103:=IF(X_100,HIGH,0);
X_104:=IF(X_102>0,X_102,REF(X_102,BARSLAST(X_102>0)));
X_105:=IF(X_103>0,X_103,REF(X_103,BARSLAST(X_103>0)));
X_106:=IF(X_104>REF(X_104,1),X_105,REF(X_105,BARSLAST(X_104>REF(X_104,1))));
X_107:=IF(X_105<REF(X_105,1),X_104,REF(X_104,BARSLAST(X_105<REF(X_105,1))));
X_108:=HIGH>X_106ANDCOUNT(HIGH>X_106,BARSLAST(LOW<X_107))=1;
X_109:=LOW<X_107ANDCOUNT(LOW<X_107,BARSLAST(HIGH>X_106))=1;
X_110:=IF(X_108,LLV(LOW,1+BARSLAST(X_109)),0);
X_111:=IF(X_110,X_110,REF(X_110,BARSLAST(X_110)));
X_112:=IF(X_109,HHV(HIGH,1+BARSLAST(X_108)),0);
X_113:=IF(X_112,X_112,REF(X_112,BARSLAST(X_112)));
X_114:=HHV(HIGH,1+BARSLAST(X_110))=HIGH;
X_115:=LLV(LOW,1+BARSLAST(X_112))=LOW;
X_116:=FILTERX(X_114,BARSLAST(X_115));
X_117:=FILTERX(X_115,BARSLAST(X_114));
X_118:=IF(X_117,LOW,0);
X_119:=IF(X_116,HIGH,0);
X_120:=IF(X_118>0,X_118,REF(X_118,BARSLAST(X_118>0)));
X_121:=IF(X_119>0,X_119,REF(X_119,BARSLAST(X_119>0)));
X_122:=X_72!=REF(X_72,1)ANDX_72<=REF(X_73,1+BARSLAST(X_73!=REF(X_73,1)));
X_123:=MIN(REF(X_73,1+BARSLAST(X_73!=REF(X_73,1))),REF(X_73,BARSLAST(X_73!=REF(X_73,1))));
X_124:=MAX(REF(X_72,1+BARSLAST(X_72!=REF(X_72,1))),REF(X_72,BARSLAST(X_72!=REF(X_72,1))));
X_125:=IF(X_122,X_123,REF(X_123,BARSLAST(X_122)));
X_126:=IF(X_122,X_124,REF(X_124,BARSLAST(X_122)));
X_127:=X_73!=REF(X_73,1)ANDX_73>=REF(X_72,1+BARSLAST(X_72!=REF(X_72,1)));
X_128:=MIN(REF(X_73,1+BARSLAST(X_73!=REF(X_73,1))),REF(X_73,BARSLAST(X_73!=REF(X_73,1))));
X_129:=MAX(REF(X_72,1+BARSLAST(X_72!=REF(X_72,1))),REF(X_72,BARSLAST(X_72!=REF(X_72,1))));
X_130:=IF(X_127,X_128,REF(X_128,BARSLAST(X_127)));
X_131:=IF(X_127,X_129,REF(X_129,BARSLAST(X_127)));
X_132:=X_72>REF(X_72,1)ANDX_72>LLV(X_73,BARSLAST(X_86>0))ANDCOUNT(X_72>REF(X_72,1)ANDX_72>LLV(X_73,BARSLAST(X_86>0)),BARSLAST(X_86>0))=1;
X_133:=X_122ANDCOUNT(X_122,BARSLAST(X_132))=1;
X_134:=X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_133))ANDCOUNT(X_73<X_126,BARSLAST(X_133))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_133)),BARSLAST(X_133))=1;
X_135:=X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_133))ANDCOUNT(X_72>X_125,BARSLAST(X_133))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_133)),BARSLAST(X_133))=1;
X_136:=X_122ANDCOUNT(X_122,BARSLAST(X_134))=1ANDBARSLAST(X_134)>0;
X_137:=X_127ANDCOUNT(X_127,BARSLAST(X_135))=1ANDBARSLAST(X_135)>0;
X_138:=X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_136))ANDCOUNT(X_73<X_126,BARSLAST(X_136))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_136)),BARSLAST(X_136))=1;
X_139:=X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_136))ANDCOUNT(X_72>X_125,BARSLAST(X_136))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_136)),BARSLAST(X_136))=1;
X_140:=X_122ANDCOUNT(X_122,BARSLAST(X_138))=1ANDBARSLAST(X_138)>0;
X_141:=X_127ANDCOUNT(X_127,BARSLAST(X_139))=1ANDBARSLAST(X_139)>0;
X_142:=X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_140))ANDCOUNT(X_73<X_126,BARSLAST(X_140))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_140)),BARSLAST(X_140))=1;
X_143:=X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_140))ANDCOUNT(X_72>X_125,BARSLAST(X_140))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_140)),BARSLAST(X_140))=1;
X_144:=X_122ANDCOUNT(X_122,BARSLAST(X_142))=1ANDBARSLAST(X_142)>0;
X_145:=X_127ANDCOUNT(X_127,BARSLAST(X_143))=1ANDBARSLAST(X_143)>0;
X_146:=X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_144))ANDCOUNT(X_73<X_126,BARSLAST(X_144))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_144)),BARSLAST(X_144))=1;
X_147:=X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_144))ANDCOUNT(X_72>X_125,BARSLAST(X_144))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_144)),BARSLAST(X_144))=1;
X_148:=X_122ANDCOUNT(X_122,BARSLAST(X_146))=1ANDBARSLAST(X_146)>0;
X_149:=X_127ANDCOUNT(X_127,BARSLAST(X_147))=1ANDBARSLAST(X_147)>0;
X_150:=X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_148))ANDCOUNT(X_73<X_126,BARSLAST(X_148))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_148)),BARSLAST(X_148))=1;
X_151:=X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_148))ANDCOUNT(X_72>X_125,BARSLAST(X_148))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_148)),BARSLAST(X_148))=1;
X_152:=X_122ANDCOUNT(X_122,BARSLAST(X_150))=1ANDBARSLAST(X_150)>0;
X_153:=X_127ANDCOUNT(X_127,BARSLAST(X_151))=1ANDBARSLAST(X_151)>0;
X_154:=X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_152))ANDCOUNT(X_73<X_126,BARSLAST(X_152))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_152)),BARSLAST(X_152))=1;
X_155:=X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_152))ANDCOUNT(X_72>X_125,BARSLAST(X_152))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_152)),BARSLAST(X_152))=1;
X_156:=X_122ANDCOUNT(X_122,BARSLAST(X_154))=1ANDBARSLAST(X_154)>0;
X_157:=X_127ANDCOUNT(X_127,BARSLAST(X_155))=1ANDBARSLAST(X_155)>0;
X_158:=X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_156))ANDCOUNT(X_73<X_126,BARSLAST(X_156))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_125,BARSLAST(X_156)),BARSLAST(X_156))=1;
X_159:=X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_156))ANDCOUNT(X_72>X_125,BARSLAST(X_156))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_126,BARSLAST(X_156)),BARSLAST(X_156))=1;
X_160:=X_122ANDCOUNT(X_122,BARSLAST(X_158))=1ANDBARSLAST(X_158)>0;
X_161:=X_127ANDCOUNT(X_127,BARSLAST(X_159))=1ANDBARSLAST(X_159)>0;
X_162:=X_73<REF(X_73,1)ANDX_73<HHV(X_72,BARSLAST(X_87>0))ANDCOUNT(X_73<REF(X_73,1)ANDX_73<HHV(X_72,BARSLAST(X_87>0)),BARSLAST(X_87>0))=1;
X_163:=X_127ANDCOUNT(X_127,BARSLAST(X_162))=1;
X_164:=X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_163))ANDCOUNT(X_73<X_131,BARSLAST(X_163))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_163)),BARSLAST(X_163))=1;
X_165:=X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_163))ANDCOUNT(X_72>X_130,BARSLAST(X_163))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_163)),BARSLAST(X_163))=1;
X_166:=X_122ANDCOUNT(X_122,BARSLAST(X_164))=1ANDBARSLAST(X_164)>0;
X_167:=X_127ANDCOUNT(X_127,BARSLAST(X_165))=1ANDBARSLAST(X_165)>0;
X_168:=X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_167))ANDCOUNT(X_73<X_131,BARSLAST(X_167))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_167)),BARSLAST(X_167))=1;
X_169:=X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_167))ANDCOUNT(X_72>X_130,BARSLAST(X_167))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_167)),BARSLAST(X_167))=1;
X_170:=X_122ANDCOUNT(X_122,BARSLAST(X_168))=1ANDBARSLAST(X_168)>0;
X_171:=X_127ANDCOUNT(X_127,BARSLAST(X_169))=1ANDBARSLAST(X_169)>0;
X_172:=X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_171))ANDCOUNT(X_73<X_131,BARSLAST(X_171))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_171)),BARSLAST(X_171))=1;
X_173:=X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_171))ANDCOUNT(X_72>X_130,BARSLAST(X_171))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_171)),BARSLAST(X_171))=1;
X_174:=X_122ANDCOUNT(X_122,BARSLAST(X_172))=1ANDBARSLAST(X_172)>0;
X_175:=X_127ANDCOUNT(X_127,BARSLAST(X_173))=1ANDBARSLAST(X_173)>0;
X_176:=X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_175))ANDCOUNT(X_73<X_131,BARSLAST(X_175))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_175)),BARSLAST(X_175))=1;
X_177:=X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_175))ANDCOUNT(X_72>X_130,BARSLAST(X_175))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_175)),BARSLAST(X_175))=1;
X_178:=X_122ANDCOUNT(X_122,BARSLAST(X_176))=1ANDBARSLAST(X_176)>0;
X_179:=X_127ANDCOUNT(X_127,BARSLAST(X_177))=1ANDBARSLAST(X_177)>0;
X_180:=X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_179))ANDCOUNT(X_73<X_131,BARSLAST(X_179))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_179)),BARSLAST(X_179))=1;
X_181:=X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_179))ANDCOUNT(X_72>X_130,BARSLAST(X_179))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_179)),BARSLAST(X_179))=1;
X_182:=X_122ANDCOUNT(X_122,BARSLAST(X_180))=1ANDBARSLAST(X_180)>0;
X_183:=X_127ANDCOUNT(X_127,BARSLAST(X_181))=1ANDBARSLAST(X_181)>0;
X_184:=X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_183))ANDCOUNT(X_73<X_131,BARSLAST(X_183))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_183)),BARSLAST(X_183))=1;
X_185:=X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_183))ANDCOUNT(X_72>X_130,BARSLAST(X_183))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_183)),BARSLAST(X_183))=1;
X_186:=X_122ANDCOUNT(X_122,BARSLAST(X_184))=1ANDBARSLAST(X_184)>0;
X_187:=X_127ANDCOUNT(X_127,BARSLAST(X_185))=1ANDBARSLAST(X_185)>0;
X_188:=X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_187))ANDCOUNT(X_73<X_131,BARSLAST(X_187))=0ANDCOUNT(X_72>REF(X_72,1)ANDX_72>REF(X_130,BARSLAST(X_187)),BARSLAST(X_187))=1;
X_189:=X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_187))ANDCOUNT(X_72>X_130,BARSLAST(X_187))=0ANDCOUNT(X_73<REF(X_73,1)ANDX_73<REF(X_131,BARSLAST(X_187)),BARSLAST(X_187))=1;
X_190:=X_122ANDCOUNT(X_122,BARSLAST(X_188))=1ANDBARSLAST(X_188)>0;
X_191:=X_127ANDCOUNT(X_127,BARSLAST(X_189))=1ANDBARSLAST(X_189)>0;
X_192:=X_133ORX_136ORX_140ORX_144ORX_148ORX_152ORX_156ORX_160ORX_166ORX_170ORX_174ORX_178ORX_182ORX_186ORX_190;
上中枢上1:IF(X_192>0,X_123,REF(X_123,BARSLAST(X_192>0))),DOTLINE,COLORLIRED;
上中枢下1:IF(X_192>0,X_124,REF(X_124,BARSLAST(X_192>0))),DOTLINE,COLORLIRED;
X_193:=(上中枢上1-上中枢下1)/2+上中枢下1;
X_194:=BARSLAST(X_192);
X_195:=BacKSET(X_194=0,SUMBARS(X_71>0,2)-1);
DRAWLINE(crOSS(X_195,0.5),REFX(X_125,BARSNEXT(X_192)),X_192,X_125,0),COLORRED,LINETHICK2;
DRAWLINE(CROSS(X_195,0.5),REFX(X_126,BARSNEXT(X_192)),X_192,X_126,0),COLORRED,LINETHICK2;
DRAWLINE(CROSS(X_195,0.5),(REFX(X_125,BARSNEXT(X_192))-REFX(X_126,BARSNEXT(X_192)))/2+REFX(X_126,BARSNEXT(X_192)),X_192,(REFX(X_125,BARSNEXT(X_192))-REFX(X_126,BARSNEXT(X_192)))/2+REFX(X_126,BARSNEXT(X_192)),0),COLORRED,LINETHICK2;
STICKLINE(CROSS(X_195,0.5),REFX(X_125,BARSNEXT(X_192)),REFX(X_126,BARSNEXT(X_192)),0,0),COLORRED,LINETHICK2;
STICKLINE(X_192,X_125,X_126,0,0),COLORRED,LINETHICK2;
X_196:=X_137ORX_137ORX_141ORX_145ORX_149ORX_153ORX_157ORX_161ORX_163ORX_167ORX_171ORX_175ORX_179ORX_183ORX_187ORX_191;
下中枢上1:IF(X_196,X_128,REF(X_128,BARSLAST(X_196))),DOTLINE,COLORLIBLUE;
下中枢下1:IF(X_196,X_129,REF(X_129,BARSLAST(X_196))),DOTLINE,COLORLIBLUE;
X_197:=(下中枢上1-下中枢下1)/2+下中枢下1;
X_198:=BARSLAST(X_196);DRAWTEXT_FIX(C>O,0.01,0.01,0,''),COLORWHITE;
X_199:=BACKSET(X_198=0,SUMBARS(X_70>0,2)-1);
DRAWLINE(CROSS(X_199,0.5),REFX(X_130,BARSNEXT(X_196)),X_196,X_130,0),COLORLIGREEN,LINETHICK2;
DRAWLINE(CROSS(X_199,0.5),REFX(X_131,BARSNEXT(X_196)),X_196,X_131,0),COLORLIGREEN,LINETHICK2;
DRAWLINE(CROSS(X_199,0.5),(REFX(X_130,BARSNEXT(X_196))-REFX(X_131,BARSNEXT(X_196)))/2+REFX(X_131,BARSNEXT(X_196)),X_196,(REFX(X_130,BARSNEXT(X_196))-REFX(X_131,BARSNEXT(X_196)))/2+REFX(X_131,BARSNEXT(X_196)),0),COLORLIGREEN,LINETHICK2;
STICKLINE(CROSS(X_199,0.5),REFX(X_130,BARSNEXT(X_196)),REFX(X_131,BARSNEXT(X_196)),0,0),COLORLIGREEN,LINETHICK2;
STICKLINE(X_196,X_130,X_131,0,0),COLORLIGREEN,LINETHICK2;
X_200:=HHV(HIGH,1+BARSLAST(X_16))=HIGH;
X_201:=LLV(LOW,1+BARSLAST(X_18))=LOW;
X_202:=FILTERX(X_200,BARSLAST(X_201));
X_203:=FILTERX(X_201,BARSLAST(X_200));
X_204:=IF(X_203,LOW,0);
X_205:=IF(X_202,HIGH,0);
X_206:=IF(X_204>0,X_204,REF(X_204,BARSLAST(X_204>0)));
X_207:=IF(X_205>0,X_205,REF(X_205,BARSLAST(X_205>0)));
DRAWLINE(X_205,HIGH,X_204,LOW,0),COLORWHITE;
DRAWLINE(X_204,LOW,X_205,HIGH,0),COLORWHITE;
DRAWLINE(X_71,HIGH,X_70,LOW,0),COLORGREEN,LINETHICK2;
DRAWLINE(X_70,LOW,X_71,HIGH,0),COLORRED,LINETHICK2;
X_208:=X_132ORX_134ORX_138ORX_142ORX_146ORX_150ORX_154ORX_158ORX_164ORX_168ORX_172ORX_176ORX_180ORX_184ORX_188;
X_209:=X_135ORX_139ORX_143ORX_147ORX_151ORX_155ORX_159ORX_162ORX_165ORX_169ORX_173ORX_177ORX_181ORX_185ORX_189;
X_210:=X_208ANDCOUNT(X_208,BARSLAST(X_209))=1;
X_211:=X_209ANDCOUNT(X_209,BARSLAST(X_208))=1;
X_212:=IF(X_210,LLV(X_72,1+BARSLAST(X_211)),0);
X_213:=IF(X_212,X_212,REF(X_212,BARSLAST(X_212)));
X_214:=IF(X_211,HHV(X_73,1+BARSLAST(X_210)),0);
X_215:=IF(X_214,X_214,REF(X_214,BARSLAST(X_214)));
DRAWICON(X_208,LOW,1);
DRAWICON(X_209,HIGH,2);
X_216:=1+COUNT(X_206<REF(X_206,1),1+BARSLAST(X_206>REF(X_206,1)));
X_217:=1+COUNT(X_207>REF(X_207,1),1+BARSLAST(X_207<REF(X_207,1)));
DRAWNUMBER(X_206<REF(X_206,1),LOW,X_216),NODRAW,COLORGREEN;
DRAWNUMBER(X_206>REF(X_206,1),LOW,1),NODRAW,COLORGREEN;
DRAWNUMBER(X_207>REF(X_207,1),HIGH+(SUM(HIGH-LOW,5)-HHV(HIGH-LOW,5))/8,X_217),NODRAW,COLORRED;
DRAWNUMBER(X_207<REF(X_207,1),HIGH+(SUM(HIGH-LOW,5)-HHV(HIGH-LOW,5))/8,1),NODRAW,COLORRED;
板块资金流向指标公式源码注释翻译结果
X_1赋值:字符串相加
当满足条件是否最后一个周期时,在横轴0.005纵轴0.02位置书写文字,画洋红色
X_2赋值:1日前的收盘价
X_3赋值:1日前的收盘价*1.097
X_4赋值:收盘价>=X_3ANDCLOSE=最高价
当满足条件X_4时,在开盘价和收盘价位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,画黄色
X_5赋值:如果计算跌停价=收盘价,返回2,否则返回0
当满足条件X_5时,在开盘价和收盘价位置之间画柱状线,宽度为2.5,0不为0则画空心柱.,画绿色
X_6赋值:最低价<1日前的最低价ANDHIGH<1日前的最高价
X_7赋值:最低价>1日前的最低价ANDHIGH>1日前的最高价
X_8赋值:最低价<1日前的最低价ANDHIGH>=1日前的最高价ANDREF(最低价,1)>=2日前的最低价ANDREF(最高价,1)<=2日前的最高价ANDHIGH<2日前的最高价ANDCOUNT(X_6,上次X_7距今天数)=0
X_9赋值:最高价>1日前的最高价ANDLOW<=1日前的最低价ANDREF(最高价,1)<=2日前的最高价ANDREF(最低价,1)>=2日前的最低价ANDLOW>2日前的最低价ANDCOUNT(X_7,上次X_6距今天数)=0
X_10赋值:最高价<1日前的最高价ANDREF(最低价,1)<=2日前的最低价ANDREF(最高价,1)>=2日前的最高价ANDLOW<2日前的最低价ANDCOUNT(X_6,上次X_7距今天数)=0
X_11赋值:最低价>1日前的最低价ANDREF(最高价,1)>=2日前的最高价ANDREF(最低价,1)<=2日前的最低价ANDHIGH>2日前的最高价ANDCOUNT(X_7,上次X_6距今天数)=0
X_12赋值:X_6ORX_8ORX_10
X_13赋值:X_7ORX_9ORX_11
X_14赋值:X_13ANDCOUNT(X_13,上次X_12距今天数)=1
X_15赋值:X_12ANDCOUNT(X_12,上次X_13距今天数)=1
X_16赋值:如果X_14,返回1+上次X_15距今天数日内最低价的最低值,否则返回0
X_17赋值:如果X_16,返回X_16,否则返回上次X_16距今天数日前的X_16
X_18赋值:如果X_15,返回1+上次X_14距今天数日内最高价的最高值,否则返回0
X_19赋值:如果X_18,返回X_18,否则返回上次X_18距今天数日前的X_18
X_20赋值:最高价>=1日前的最高价ANDLOW<=1日前的最低价
X_21赋值:最高价<=1日前的最高价ANDLOW>=1日前的最低价
X_22赋值:X_20ORX_21
X_23赋值:最高价>=1日前的最高价ANDLOW<=1日前的最低价ANDREF(最低价,1)>=2日前的最高价ANDREF(最高价,1)<=2日前的最高价ANDHIGH>=2日前的最高价
X_24赋值:最高价<=1日前的最高价ANDLOW>=1日前的最低价ANDREF(最高价,1)>=2日前的最高价ANDREF(最低价,1)<=2日前的最低价ANDLOW<=2日前的最低价
X_25赋值:X_23ORX_24AND(统计上次X_14距今天数日中满足X_15的天数=0ORX_15)
X_26赋值:最高价>=1日前的最高价ANDLOW<=1日前的最低价ANDREF(最高价,1)<=2日前的最高价ANDREF(最低价,1)>=2日前的最低价ANDLOW>=2日前的最低价
X_27赋值:最高价<=1日前的最高价ANDLOW>=2日前的最低价ANDREF(最低价,1)<=2日前的最低价ANDREF(最高价,1)>=2日前的最高价ANDHIGH>=2日前的最高价
X_28赋值:X_26ORX_27AND(统计上次X_15距今天数日中满足X_14的天数=0ORX_14)
X_29赋值:X_25ORX_28
X_30赋值:上次X_17不等于1日前的X_17距今天数-统计上次X_17不等于1日前的X_17距今天数日中满足X_22的天数+统计上次X_17不等于1日前的X_17距今天数日中满足X_29的天数>2ANDHIGH=1+上次X_17不等于1日前的X_17距今天数日内最高价的最高值ANDCOUNT(最低价<上次X_17不等于1日前的X_17距今天数日前的X_17,上次X_17不等于1日前的X_17距今天数)=0ANDBARSLAST(X_17不等于1日前的X_17)>0
X_31赋值:X_17不等于1日前的X_17累加至2的天数-统计X_17不等于1日前的X_17累加至2的天数日中满足X_22的天数+统计X_17不等于1日前的X_17累加至2的天数日中满足X_29的天数>3ANDHIGH=X_17不等于1日前的X_17累加至2的天数日内最高价的最高值ANDREF(X_17,X_17不等于1日前的X_17累加至2的天数-1)<=X_17不等于1日前的X_17累加至2的天数日内最低价的最低值
X_32赋值:X_17不等于1日前的X_17累加至3的天数-统计X_17不等于1日前的X_17累加至3的天数日中满足X_22的天数+统计X_17不等于1日前的X_17累加至3的天数日中满足X_29的天数>3ANDHIGH=X_17不等于1日前的X_17累加至3的天数日内最高价的最高值ANDREF(X_17,X_17不等于1日前的X_17累加至3的天数-1)<=X_17不等于1日前的X_17累加至3的天数日内最低价的最低值
X_33赋值:X_17不等于1日前的X_17累加至4的天数-统计X_17不等于1日前的X_17累加至4的天数日中满足X_22的天数+统计X_17不等于1日前的X_17累加至4的天数日中满足X_29的天数>3ANDHIGH=X_17不等于1日前的X_17累加至4的天数日内最高价的最高值ANDREF(X_17,X_17不等于1日前的X_17累加至4的天数-1)<=X_17不等于1日前的X_17累加至4的天数日内最低价的最低值
X_34赋值:X_17不等于1日前的X_17累加至5的天数-统计X_17不等于1日前的X_17累加至5的天数日中满足X_22的天数+统计X_17不等于1日前的X_17累加至5的天数日中满足X_29的天数>3ANDHIGH=X_17不等于1日前的X_17累加至5的天数日内最高价的最高值ANDREF(X_17,X_17不等于1日前的X_17累加至5的天数-1)<=X_17不等于1日前的X_17累加至5的天数日内最低价的最低值
X_35赋值:X_17不等于1日前的X_17累加至6的天数-统计X_17不等于1日前的X_17累加至6的天数日中满足X_22的天数+统计X_17不等于1日前的X_17累加至6的天数日中满足X_29的天数>3ANDHIGH=X_17不等于1日前的X_17累加至6的天数日内最高价的最高值ANDREF(X_17,X_17不等于1日前的X_17累加至6的天数-1)<=X_17不等于1日前的X_17累加至6的天数日内最低价的最低值
X_36赋值:上次X_19不等于1日前的X_19距今天数-统计上次X_19不等于1日前的X_19距今天数日中满足X_22的天数+统计上次X_19不等于1日前的X_19距今天数日中满足X_29的天数>2ANDCOUNT(最高价>上次X_19不等于1日前的X_19距今天数日前的X_19,上次X_19不等于1日前的X_19距今天数)=0ANDLOW=上次X_19不等于1日前的X_19距今天数日内最低价的最低值ANDBARSLAST(X_19不等于1日前的X_19)>0
X_37赋值:X_19不等于1日前的X_19累加至2的天数-统计X_19不等于1日前的X_19累加至2的天数日中满足X_22的天数+统计X_19不等于1日前的X_19累加至2的天数日中满足X_29的天数>3ANDLOW=X_19不等于1日前的X_19累加至2的天数日内最低价的最低值ANDREF(X_19,X_19不等于1日前的X_19累加至2的天数-1)>=X_19不等于1日前的X_19累加至2的天数日内最高价的最高值
X_38赋值:X_19不等于1日前的X_19累加至3的天数-统计X_19不等于1日前的X_19累加至3的天数日中满足X_22的天数+统计X_19不等于1日前的X_19累加至3的天数日中满足X_29的天数>3ANDLOW=X_19不等于1日前的X_19累加至3的天数日内最低价的最低值ANDREF(X_19,X_19不等于1日前的X_19累加至3的天数-1)>=X_19不等于1日前的X_19累加至3的天数日内最高价的最高值
X_39赋值:X_19不等于1日前的X_19累加至4的天数-统计X_19不等于1日前的X_19累加至4的天数日中满足X_22的天数+统计X_19不等于1日前的X_19累加至4的天数日中满足X_29的天数>3ANDLOW=X_19不等于1日前的X_19累加至4的天数日内最低价的最低值ANDREF(X_19,X_19不等于1日前的X_19累加至4的天数-1)>=X_19不等于1日前的X_19累加至4的天数日内最高价的最高值
X_40赋值:X_19不等于1日前的X_19累加至5的天数-统计X_19不等于1日前的X_19累加至5的天数日中满足X_22的天数+统计X_19不等于1日前的X_19累加至5的天数日中满足X_29的天数>3ANDLOW=X_19不等于1日前的X_19累加至5的天数日内最低价的最低值ANDREF(X_19,X_19不等于1日前的X_19累加至5的天数-1)>=X_19不等于1日前的X_19累加至5的天数日内最高价的最高值
X_41赋值:X_19不等于1日前的X_19累加至6的天数-统计X_19不等于1日前的X_19累加至6的天数日中满足X_22的天数+统计X_19不等于1日前的X_19累加至6的天数日中满足X_29的天数>3ANDLOW=X_19不等于1日前的X_19累加至6的天数日内最低价的最低值ANDREF(X_19,X_19不等于1日前的X_19累加至6的天数-1)>=X_19不等于1日前的X_19累加至6的天数日内最高价的最高值
X_42赋值:X_30ORX_31ORX_32ORX_33ORX_34ORX_35
X_43赋值:X_36ORX_37ORX_38ORX_39ORX_40ORX_41
X_44赋值:X_42ANDCOUNT(X_42,1+上次X_43距今天数)=1
X_45赋值:X_43ANDCOUNT(X_43,1+上次X_42距今天数)=1
X_46赋值:如果X_44,返回1+上次X_45距今天数日内最低价的最低值,否则返回0
X_47赋值:如果X_46,返回X_46,否则返回上次X_46距今天数日前的X_46
X_48赋值:如果X_45,返回1+上次X_44距今天数日内最高价的最高值,否则返回0
X_49赋值:如果X_48,返回X_48,否则返回上次X_48距今天数日前的X_48
X_50赋值:1+上次X_46距今天数日内最高价的最高值=最高价
X_51赋值:1+上次X_48距今天数日内最低价的最低值=最低价
X_52赋值:X_50的上次X_51距今天数日反向过滤
X_53赋值:X_51的上次X_50距今天数日反向过滤
X_54赋值:如果X_53,返回最低价,否则返回0
X_55赋值:如果X_52,返回最高价,否则返回0
X_56赋值:如果X_54>0,返回X_54,否则返回上次X_54>0距今天数日前的X_54
X_57赋值:如果X_55>0,返回X_55,否则返回上次X_55>0距今天数日前的X_55
X_58赋值:上次X_53距今天数-统计上次X_53距今天数日中满足X_22的天数+统计上次X_53距今天数日中满足X_29的天数>3ANDCOUNT(最低价<上次X_53距今天数日前的X_56,上次X_53距今天数)=0ANDHIGH=1+上次X_53距今天数日内最高价的最高值ANDBARSLAST(X_53)>0
X_59赋值:上次X_52距今天数-统计上次X_52距今天数日中满足X_22的天数+统计上次X_52距今天数日中满足X_29的天数>3ANDCOUNT(最高价>上次X_52距今天数日前的X_57,上次X_52距今天数)=0ANDLOW=上次X_52距今天数日内最低价的最低值ANDBARSLAST(X_52)>0
X_60赋值:X_58的上次X_59距今天数日反向过滤
X_61赋值:X_59的上次X_58距今天数日反向过滤
X_62赋值:如果X_61,返回最低价,否则返回0
X_63赋值:如果X_60,返回最高价,否则返回0
X_64赋值:如果X_62>0,返回X_62,否则返回上次X_62>0距今天数日前的X_62
X_65赋值:如果X_63>0,返回X_63,否则返回上次X_63>0距今天数日前的X_63
X_66赋值:1+上次X_64不等于1日前的X_64OR(X_62>0ANDX_64=1日前的X_64)距今天数日内最低价的最低值=LOWANDCOUNT(X_65不等于1日前的X_65,上次X_64不等于1日前的X_64OR(X_62>0ANDX_64=1日前的X_64)距今天数)=0
X_67赋值:1+上次X_65不等于1日前的X_65OR(X_63>0ANDX_65=1日前的X_65)距今天数日内最高价的最高值=HIGHANDCOUNT(X_64不等于1日前的X_64,上次X_65不等于1日前的X_65OR(X_63>0ANDX_65=1日前的X_65)距今天数)=0
X_68赋值:X_67的上次X_66距今天数日反向过滤
X_69赋值:X_66的上次X_67距今天数日反向过滤
X_70赋值:如果X_69,返回最低价,否则返回0
X_71赋值:如果X_68,返回最高价,否则返回0
X_72赋值:如果X_70>0,返回X_70,否则返回上次X_70>0距今天数日前的X_70
X_73赋值:如果X_71>0,返回X_71,否则返回上次X_71>0距今天数日前的X_71
X_74赋值:如果X_72>1日前的X_72,返回X_73,否则返回上次X_72>1日前的X_72距今天数日前的X_73
X_75赋值:如果X_73<1日前的X_73,返回X_72,否则返回上次X_73<1日前的X_73距今天数日前的X_72
X_76赋值:最高价>X_74ANDCOUNT(最高价>X_74,上次最低价<X_75距今天数)=1ANDBARSLAST(X_72>1日前的X_72)<上次X_73>1日前的X_73距今天数
X_77赋值:最低价<X_75ANDCOUNT(最低价<X_75,上次最高价>X_74距今天数)=1ANDBARSLAST(X_72<1日前的X_72)>上次X_73<1日前的X_73距今天数
X_78赋值:如果X_76,返回1+上次X_77距今天数日内最低价的最低值,否则返回0
X_79赋值:如果X_78,返回X_78,否则返回上次X_78距今天数日前的X_78
X_80赋值:如果X_77,返回1+上次X_76距今天数日内最高价的最高值,否则返回0
X_81赋值:如果X_80,返回X_80,否则返回上次X_80距今天数日前的X_80
X_82赋值:1+上次X_78距今天数日内最高价的最高值=最高价
X_83赋值:1+上次X_80距今天数日内最低价的最低值=最低价
X_84赋值:X_82的上次X_83距今天数日反向过滤
X_85赋值:X_83的上次X_82距今天数日反向过滤
X_86赋值:如果X_85,返回最低价,否则返回0
X_87赋值:如果X_84,返回最高价,否则返回0
X_88赋值:如果X_86>0,返回X_86,否则返回上次X_86>0距今天数日前的X_86
X_89赋值:如果X_87>0,返回X_87,否则返回上次X_87>0距今天数日前的X_87
X_90赋值:如果X_88>1日前的X_88,返回X_89,否则返回上次X_88>1日前的X_88距今天数日前的X_89
X_91赋值:如果X_89<1日前的X_89,返回X_88,否则返回上次X_89<1日前的X_89距今天数日前的X_88
X_92赋值:最高价>X_90ANDCOUNT(最高价>X_90,上次最低价<X_91距今天数)=1
X_93赋值:最低价<X_91ANDCOUNT(最低价<X_91,上次最高价>X_90距今天数)=1
X_94赋值:如果X_92,返回1+上次X_93距今天数日内最低价的最低值,否则返回0
X_95赋值:如果X_94,返回X_94,否则返回上次X_94距今天数日前的X_94
X_96赋值:如果X_93,返回1+上次X_92距今天数日内最高价的最高值,否则返回0
X_97赋值:如果X_96,返回X_96,否则返回上次X_96距今天数日前的X_96
X_98赋值:1+上次X_94距今天数日内最高价的最高值=最高价
X_99赋值:1+上次X_96距今天数日内最低价的最低值=最低价
X_100赋值:X_98的上次X_99距今天数日反向过滤
X_101赋值:X_99的上次X_98距今天数日反向过滤
X_102赋值:如果X_101,返回最低价,否则返回0
X_103赋值:如果X_100,返回最高价,否则返回0
X_104赋值:如果X_102>0,返回X_102,否则返回上次X_102>0距今天数日前的X_102
X_105赋值:如果X_103>0,返回X_103,否则返回上次X_103>0距今天数日前的X_103
X_106赋值:如果X_104>1日前的X_104,返回X_105,否则返回上次X_104>1日前的X_104距今天数日前的X_105
X_107赋值:如果X_105<1日前的X_105,返回X_104,否则返回上次X_105<1日前的X_105距今天数日前的X_104
X_108赋值:最高价>X_106ANDCOUNT(最高价>X_106,上次最低价<X_107距今天数)=1
X_109赋值:最低价<X_107ANDCOUNT(最低价<X_107,上次最高价>X_106距今天数)=1
X_110赋值:如果X_108,返回1+上次X_109距今天数日内最低价的最低值,否则返回0
X_111赋值:如果X_110,返回X_110,否则返回上次X_110距今天数日前的X_110
X_112赋值:如果X_109,返回1+上次X_108距今天数日内最高价的最高值,否则返回0
X_113赋值:如果X_112,返回X_112,否则返回上次X_112距今天数日前的X_112
X_114赋值:1+上次X_110距今天数日内最高价的最高值=最高价
X_115赋值:1+上次X_112距今天数日内最低价的最低值=最低价
X_116赋值:X_114的上次X_115距今天数日反向过滤
X_117赋值:X_115的上次X_114距今天数日反向过滤
X_118赋值:如果X_117,返回最低价,否则返回0
X_119赋值:如果X_116,返回最高价,否则返回0
X_120赋值:如果X_118>0,返回X_118,否则返回上次X_118>0距今天数日前的X_118
X_121赋值:如果X_119>0,返回X_119,否则返回上次X_119>0距今天数日前的X_119
X_122赋值:X_72不等于1日前的X_72ANDX_72<=1+上次X_73不等于1日前的X_73距今天数日前的X_73
X_123赋值:1+上次X_73不等于1日前的X_73距今天数日前的X_73和上次X_73不等于1日前的X_73距今天数日前的X_73的较小值
X_124赋值:1+上次X_72不等于1日前的X_72距今天数日前的X_72和上次X_72不等于1日前的X_72距今天数日前的X_72的较大值
X_125赋值:如果X_122,返回X_123,否则返回上次X_122距今天数日前的X_123
X_126赋值:如果X_122,返回X_124,否则返回上次X_122距今天数日前的X_124
X_127赋值:X_73不等于1日前的X_73ANDX_73>=1+上次X_72不等于1日前的X_72距今天数日前的X_72
X_128赋值:1+上次X_73不等于1日前的X_73距今天数日前的X_73和上次X_73不等于1日前的X_73距今天数日前的X_73的较小值
X_129赋值:1+上次X_72不等于1日前的X_72距今天数日前的X_72和上次X_72不等于1日前的X_72距今天数日前的X_72的较大值
X_130赋值:如果X_127,返回X_128,否则返回上次X_127距今天数日前的X_128
X_131赋值:如果X_127,返回X_129,否则返回上次X_127距今天数日前的X_129
X_132赋值:X_72>1日前的X_72ANDX_72>上次X_86>0距今天数日内X_73的最低值ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_86>0距今天数日内X_73的最低值,上次X_86>0距今天数)=1
X_133赋值:X_122ANDCOUNT(X_122,上次X_132距今天数)=1
X_134赋值:X_72>1日前的X_72ANDX_72>上次X_133距今天数日前的X_125ANDCOUNT(X_73<X_126,上次X_133距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_133距今天数日前的X_125,上次X_133距今天数)=1
X_135赋值:X_73<1日前的X_73ANDX_73<上次X_133距今天数日前的X_126ANDCOUNT(X_72>X_125,上次X_133距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_133距今天数日前的X_126,上次X_133距今天数)=1
X_136赋值:X_122ANDCOUNT(X_122,上次X_134距今天数)=1ANDBARSLAST(X_134)>0
X_137赋值:X_127ANDCOUNT(X_127,上次X_135距今天数)=1ANDBARSLAST(X_135)>0
X_138赋值:X_72>1日前的X_72ANDX_72>上次X_136距今天数日前的X_125ANDCOUNT(X_73<X_126,上次X_136距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_136距今天数日前的X_125,上次X_136距今天数)=1
X_139赋值:X_73<1日前的X_73ANDX_73<上次X_136距今天数日前的X_126ANDCOUNT(X_72>X_125,上次X_136距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_136距今天数日前的X_126,上次X_136距今天数)=1
X_140赋值:X_122ANDCOUNT(X_122,上次X_138距今天数)=1ANDBARSLAST(X_138)>0
X_141赋值:X_127ANDCOUNT(X_127,上次X_139距今天数)=1ANDBARSLAST(X_139)>0
X_142赋值:X_72>1日前的X_72ANDX_72>上次X_140距今天数日前的X_125ANDCOUNT(X_73<X_126,上次X_140距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_140距今天数日前的X_125,上次X_140距今天数)=1
X_143赋值:X_73<1日前的X_73ANDX_73<上次X_140距今天数日前的X_126ANDCOUNT(X_72>X_125,上次X_140距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_140距今天数日前的X_126,上次X_140距今天数)=1
X_144赋值:X_122ANDCOUNT(X_122,上次X_142距今天数)=1ANDBARSLAST(X_142)>0
X_145赋值:X_127ANDCOUNT(X_127,上次X_143距今天数)=1ANDBARSLAST(X_143)>0
X_146赋值:X_72>1日前的X_72ANDX_72>上次X_144距今天数日前的X_125ANDCOUNT(X_73<X_126,上次X_144距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_144距今天数日前的X_125,上次X_144距今天数)=1
X_147赋值:X_73<1日前的X_73ANDX_73<上次X_144距今天数日前的X_126ANDCOUNT(X_72>X_125,上次X_144距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_144距今天数日前的X_126,上次X_144距今天数)=1
X_148赋值:X_122ANDCOUNT(X_122,上次X_146距今天数)=1ANDBARSLAST(X_146)>0
X_149赋值:X_127ANDCOUNT(X_127,上次X_147距今天数)=1ANDBARSLAST(X_147)>0
X_150赋值:X_72>1日前的X_72ANDX_72>上次X_148距今天数日前的X_125ANDCOUNT(X_73<X_126,上次X_148距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_148距今天数日前的X_125,上次X_148距今天数)=1
X_151赋值:X_73<1日前的X_73ANDX_73<上次X_148距今天数日前的X_126ANDCOUNT(X_72>X_125,上次X_148距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_148距今天数日前的X_126,上次X_148距今天数)=1
X_152赋值:X_122ANDCOUNT(X_122,上次X_150距今天数)=1ANDBARSLAST(X_150)>0
X_153赋值:X_127ANDCOUNT(X_127,上次X_151距今天数)=1ANDBARSLAST(X_151)>0
X_154赋值:X_72>1日前的X_72ANDX_72>上次X_152距今天数日前的X_125ANDCOUNT(X_73<X_126,上次X_152距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_152距今天数日前的X_125,上次X_152距今天数)=1
X_155赋值:X_73<1日前的X_73ANDX_73<上次X_152距今天数日前的X_126ANDCOUNT(X_72>X_125,上次X_152距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_152距今天数日前的X_126,上次X_152距今天数)=1
X_156赋值:X_122ANDCOUNT(X_122,上次X_154距今天数)=1ANDBARSLAST(X_154)>0
X_157赋值:X_127ANDCOUNT(X_127,上次X_155距今天数)=1ANDBARSLAST(X_155)>0
X_158赋值:X_72>1日前的X_72ANDX_72>上次X_156距今天数日前的X_125ANDCOUNT(X_73<X_126,上次X_156距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_156距今天数日前的X_125,上次X_156距今天数)=1
X_159赋值:X_73<1日前的X_73ANDX_73<上次X_156距今天数日前的X_126ANDCOUNT(X_72>X_125,上次X_156距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_156距今天数日前的X_126,上次X_156距今天数)=1
X_160赋值:X_122ANDCOUNT(X_122,上次X_158距今天数)=1ANDBARSLAST(X_158)>0
X_161赋值:X_127ANDCOUNT(X_127,上次X_159距今天数)=1ANDBARSLAST(X_159)>0
X_162赋值:X_73<1日前的X_73ANDX_73<上次X_87>0距今天数日内X_72的最高值ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_87>0距今天数日内X_72的最高值,上次X_87>0距今天数)=1
X_163赋值:X_127ANDCOUNT(X_127,上次X_162距今天数)=1
X_164赋值:X_72>1日前的X_72ANDX_72>上次X_163距今天数日前的X_130ANDCOUNT(X_73<X_131,上次X_163距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_163距今天数日前的X_130,上次X_163距今天数)=1
X_165赋值:X_73<1日前的X_73ANDX_73<上次X_163距今天数日前的X_131ANDCOUNT(X_72>X_130,上次X_163距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_163距今天数日前的X_131,上次X_163距今天数)=1
X_166赋值:X_122ANDCOUNT(X_122,上次X_164距今天数)=1ANDBARSLAST(X_164)>0
X_167赋值:X_127ANDCOUNT(X_127,上次X_165距今天数)=1ANDBARSLAST(X_165)>0
X_168赋值:X_72>1日前的X_72ANDX_72>上次X_167距今天数日前的X_130ANDCOUNT(X_73<X_131,上次X_167距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_167距今天数日前的X_130,上次X_167距今天数)=1
X_169赋值:X_73<1日前的X_73ANDX_73<上次X_167距今天数日前的X_131ANDCOUNT(X_72>X_130,上次X_167距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_167距今天数日前的X_131,上次X_167距今天数)=1
X_170赋值:X_122ANDCOUNT(X_122,上次X_168距今天数)=1ANDBARSLAST(X_168)>0
X_171赋值:X_127ANDCOUNT(X_127,上次X_169距今天数)=1ANDBARSLAST(X_169)>0
X_172赋值:X_72>1日前的X_72ANDX_72>上次X_171距今天数日前的X_130ANDCOUNT(X_73<X_131,上次X_171距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_171距今天数日前的X_130,上次X_171距今天数)=1
X_173赋值:X_73<1日前的X_73ANDX_73<上次X_171距今天数日前的X_131ANDCOUNT(X_72>X_130,上次X_171距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_171距今天数日前的X_131,上次X_171距今天数)=1
X_174赋值:X_122ANDCOUNT(X_122,上次X_172距今天数)=1ANDBARSLAST(X_172)>0
X_175赋值:X_127ANDCOUNT(X_127,上次X_173距今天数)=1ANDBARSLAST(X_173)>0
X_176赋值:X_72>1日前的X_72ANDX_72>上次X_175距今天数日前的X_130ANDCOUNT(X_73<X_131,上次X_175距今天数)=0ANDCOUNT(X_72>1日前的X_72ANDX_72>上次X_175距今天数日前的X_130,上次X_175距今天数)=1
X_177赋值:X_73<1日前的X_73ANDX_73<上次X_175距今天数日前的X_131ANDCOUNT(X_72>X_130,上次X_175距今天数)=0ANDCOUNT(X_73<1日前的X_73ANDX_73<上次X_175距今天数日前的X_131,上次X_175距今天数)=1
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)