黄金梯副图指标公式[通达信公式]
相关标签:
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
XA_1:=CONST(HHV(REF(HIGH,1),240));
XA_2:=CONST(LLV(REF(LOW,1),240));
XA_3:=XA_1-XA_2;
XA_4:=LOW-XA_3*0.03;
XA_5:=HIGH+XA_3*0.03;
XA_6:=CLOSE>500;
XA_7:=MAX(CLOSE,OPEN);
XA_8:=MIN(CLOSE,OPEN);
XA_9:=0;
XA_10:=1;
XA_11:=IF(XA_6,HIGH,XA_7);
XA_12:=IF(XA_6,LOW,XA_8);
XA_13:=IF(CLOSE>OPEN,IF(XA_10=0,LOW,XA_12),IF(XA_10=0,HIGH,XA_11));
XA_14:=2/1000;
XA_15:=CURRBARSCOUNT;
XA_16:=120;
XA_17:=XA_15<=XA_16;
XA_18:=LOW;
XA_19:=IF(XA_9=0,XA_18,REF(XA_9,XA_9));
基准价:IF(XA_17,CONST(XA_19),DRAWNULL),DOTLINE,COLORRED;
XA_20:=基准价;
XA_21:=XA_20*XA_14;
XA_22:=ABS(LOW-XA_20)<=XA_21;
XA_23:=ABS(OPEN-XA_20)<=XA_21;
XA_24:=ABS(CLOSE-XA_20)<=XA_21;
XA_25:=ABS(HIGH-XA_20)<=XA_21;
XA_26:=XA_22 OR XA_23 OR XA_24 OR XA_25 AND XA_17 AND XA_15!=1;
XA_27:=COUNT(XA_26,XA_16);
精准点个数:IF(XA_27>0,XA_27+1,0),NODRAW,COLORRED;
XA_28:=AMOUNT/VOL/100;
XA_29:=CLOSE>OPEN AND REF(CLOSE,1)>XA_28 AND CLOSE>XA_28 AND CLOSE<300;
STICKLINE(XA_29,OPEN,CLOSE,1,0),COLORLICYAN;
XA_30:=OPEN>CLOSE AND CLOSE<XA_28 AND XA_28>REF(CLOSE,1);
STICKLINE(XA_30,OPEN,CLOSE,1,0),COLORRED;
XA_31:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
XA_32:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND XA_31;
STICKLINE(XA_32,OPEN,CLOSE,1,0),COLORBLUE;
XA_33:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_34:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_33>=4.945;
XA_35:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_33<=(-4.945);
涨停价:IF(XA_34,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(XA_35,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
XA_36:=REF(CLOSE,1);
XA_37:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(XA_37,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(XA_37,OPEN,CLOSE,1,0),COLORMAGENTA;
XA_38:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(XA_38,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(XA_38,HIGH,LOW,0,1),COLORGREEN;
XA_39:=1.3;
XA_40:=1;
XA_41:=0;
XA_42:=MA(CLOSE,5);
XA_43:=MA(CLOSE,10);
XA_44:=MA(CLOSE,20);
XA_45:=XA_42>REF(XA_42,1) AND XA_43<REF(XA_43,1) AND XA_44<REF(XA_44,1);
XA_46:=REF(VOL,1);
XA_47:=REF(VOL,2);
XA_48:=REF(VOL,3);
XA_49:=REF(CLOSE,1);
XA_50:=REF(CLOSE,2);
XA_51:=REF(CLOSE,3);
XA_52:=REF(CLOSE,4);
XA_53:=REF(OPEN,1);
XA_54:=REF(OPEN,2);
XA_55:=REF(OPEN,3);
XA_56:=REF(OPEN,4);
XA_57:=CLOSE>=XA_51 AND XA_49>=XA_51 AND XA_50>=XA_51;
XA_58:=LOW>XA_55 AND REF(LOW,1)>XA_55 AND REF(LOW,2)>XA_55;
XA_59:=AMOUNT/VOL/100;
XA_60:=REF(XA_59,1);
XA_61:=REF(XA_59,2);
XA_62:=CLOSE>=OPEN OR (CLOSE<OPEN AND XA_59>XA_49);
XA_63:=COUNT(XA_62,3)>=2;
XA_64:=XA_51>XA_55;
XA_65:=XA_59>=XA_60 OR CLOSE>XA_49 AND (XA_60>=XA_61 OR XA_49>=XA_50);
XA_66:=(CLOSE+XA_49+XA_50)/3>XA_51;
XA_67:=VOL>XA_46 AND XA_46>XA_47;
XA_68:=VOL<=XA_46 AND XA_46<=XA_47;
XA_69:=(VOL+XA_46+XA_47)/3<=XA_48 AND NOT(XA_67);
XA_70:=CLOSE/VOL;
XA_71:=XA_70>=REF(XA_70,1) AND REF(XA_70,1)>=REF(XA_70,2);
XA_72:=(CLOSE+XA_49+XA_50)/3/XA_51;
XA_73:=(VOL+XA_46+XA_47)/3/XA_48;
XA_74:=XA_39*XA_72/XA_73>1;
XA_75:=XA_55>XA_52 AND XA_52>XA_56;
XA_76:=XA_64 AND XA_65 AND XA_68 AND XA_57 AND XA_58 AND XA_75;
XA_77:=BACKSET(XA_76,5);
XA_78:=FILTER(XA_77,4);
XA_79:=XA_64 AND XA_65 AND XA_68 AND XA_57 AND XA_58;
XA_80:=BACKSET(XA_79,4);
XA_81:=FILTER(XA_80,3);
XA_82:=XA_79 AND REF(XA_79,1);
XA_83:=BACKSET(XA_82,4);
XA_84:=FILTER(XA_83,3);
XA_85:=XA_79 AND REF(XA_79,2);
XA_86:=BACKSET(XA_85,4);
XA_87:=FILTER(XA_86,3);
XA_88:=XA_79 AND REF(XA_79,3);
XA_89:=BACKSET(XA_88,4);
XA_90:=FILTER(XA_89,3);
XA_91:=XA_64 AND XA_65 AND XA_69 AND NOT(XA_67) AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_76);
XA_92:=BACKSET(XA_91,5);
XA_93:=FILTER(XA_92,4);
XA_94:=XA_64 AND XA_65 AND XA_69 AND NOT(XA_67) AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_76);
XA_95:=BACKSET(XA_94,4);
XA_96:=FILTER(XA_95,3);
XA_97:=XA_94 AND REF(XA_94,1);
XA_98:=BACKSET(XA_97,4);
XA_99:=FILTER(XA_98,3);
XA_100:=XA_94 AND REF(XA_94,2);
XA_101:=BACKSET(XA_100,4);
XA_102:=FILTER(XA_101,3);
XA_103:=XA_94 AND REF(XA_94,3);
XA_104:=BACKSET(XA_103,4);
XA_105:=FILTER(XA_104,3);
XA_106:=XA_64 AND XA_66 AND XA_68 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_76) AND NOT(XA_91);
XA_107:=BACKSET(XA_106,5);
XA_108:=FILTER(XA_107,4);
XA_109:=XA_64 AND XA_66 AND XA_68 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_76) AND NOT(XA_91);
XA_110:=BACKSET(XA_109,4);
XA_111:=FILTER(XA_110,3);
XA_112:=XA_109 AND REF(XA_109,1);
XA_113:=BACKSET(XA_112,4);
XA_114:=FILTER(XA_113,3);
XA_115:=XA_109 AND REF(XA_109,2);
XA_116:=BACKSET(XA_115,4);
XA_117:=FILTER(XA_116,3);
XA_118:=XA_109 AND REF(XA_109,3);
XA_119:=BACKSET(XA_118,4);
XA_120:=FILTER(XA_119,3);
XA_121:=XA_64 AND XA_66 AND XA_69 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_76) AND NOT(XA_94) AND NOT(XA_91) AND NOT(XA_109) AND NOT(XA_106);
XA_122:=BACKSET(XA_121,5);
XA_123:=FILTER(XA_122,4);
XA_124:=XA_64 AND XA_66 AND XA_69 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106);
XA_125:=BACKSET(XA_124,4);
XA_126:=FILTER(XA_125,3);
XA_127:=XA_124 AND REF(XA_124,1);
XA_128:=BACKSET(XA_127,4);
XA_129:=FILTER(XA_128,3);
XA_130:=XA_124 AND REF(XA_124,2);
XA_131:=BACKSET(XA_130,4);
XA_132:=FILTER(XA_131,3);
XA_133:=XA_124 AND REF(XA_124,3);
XA_134:=BACKSET(XA_133,4);
XA_135:=FILTER(XA_134,3);
XA_136:=XA_64 AND XA_66 AND XA_74 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121);
XA_137:=BACKSET(XA_136,5);
XA_138:=FILTER(XA_137,4);
XA_139:=XA_64 AND XA_66 AND XA_74 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121);
XA_140:=BACKSET(XA_139,4);
XA_141:=FILTER(XA_140,3);
XA_142:=XA_139 AND REF(XA_139,1);
XA_143:=BACKSET(XA_142,4);
XA_144:=FILTER(XA_143,3);
XA_145:=XA_139 AND REF(XA_139,2);
XA_146:=BACKSET(XA_145,4);
XA_147:=FILTER(XA_146,3);
XA_148:=XA_139 AND REF(XA_139,3);
XA_149:=BACKSET(XA_148,4);
XA_150:=FILTER(XA_149,3);
XA_151:=XA_64 AND XA_66 AND XA_71 AND XA_57 AND XA_58 AND XA_75 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_139) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121) AND NOT(XA_136);
XA_152:=BACKSET(XA_151,5);
XA_153:=FILTER(XA_152,4);
XA_154:=XA_64 AND XA_66 AND XA_71 AND XA_57 AND XA_58 AND NOT(XA_79) AND NOT(XA_94) AND NOT(XA_109) AND NOT(XA_124) AND NOT(XA_139) AND NOT(XA_76) AND NOT(XA_91) AND NOT(XA_106) AND NOT(XA_121) AND NOT(XA_136);
XA_155:=BACKSET(XA_154,4);
XA_156:=FILTER(XA_155,3);
XA_157:=XA_154 AND REF(XA_154,1);
XA_158:=BACKSET(XA_157,4);
XA_159:=FILTER(XA_158,3);
XA_160:=XA_154 AND REF(XA_154,2);
XA_161:=BACKSET(XA_160,4);
XA_162:=FILTER(XA_161,3);
XA_163:=XA_154 AND REF(XA_154,3);
XA_164:=BACKSET(XA_163,4);
XA_165:=FILTER(XA_164,3);
XA_166:=XA_81 AND NOT(REF(XA_81,4)) OR (XA_84 AND NOT(REF(XA_84,4))) OR (XA_87 AND NOT(REF(XA_87,4))) OR (XA_90 AND NOT(REF(XA_90,4)));
XA_167:=XA_96 AND NOT(REF(XA_96,4)) OR (XA_99 AND NOT(REF(XA_99,4))) OR (XA_102 AND NOT(REF(XA_102,4))) OR (XA_105 AND NOT(REF(XA_105,4)));
XA_168:=XA_111 AND NOT(REF(XA_111,4)) OR (XA_114 AND NOT(REF(XA_114,4))) OR (XA_117 AND NOT(REF(XA_117,4))) OR (XA_120 AND NOT(REF(XA_120,4)));
XA_169:=XA_126 AND NOT(REF(XA_126,4)) OR (XA_129 AND NOT(REF(XA_129,4))) OR (XA_132 AND NOT(REF(XA_132,4))) OR (XA_135 AND NOT(REF(XA_135,4)));
XA_170:=XA_141 AND NOT(REF(XA_141,4)) OR (XA_144 AND NOT(REF(XA_144,4))) OR (XA_147 AND NOT(REF(XA_147,4))) OR (XA_150 AND NOT(REF(XA_150,4)));
XA_171:=XA_156 AND NOT(REF(XA_156,4)) OR (XA_159 AND NOT(REF(XA_159,4))) OR (XA_162 AND NOT(REF(XA_162,4))) OR (XA_165 AND NOT(REF(XA_165,4)));
XA_172:=XA_166 OR XA_167 OR XA_168 OR XA_169 OR XA_170 OR XA_171;
STICKLINE(XA_172 AND NOT(REF(XA_172,4)),OPEN,CLOSE,1,0),COLOR0099FF;
XA_173:=SUMBARS(XA_172,1);
STICKLINE(XA_173 AND XA_40=1,REF(CLOSE,XA_173-1),REF(CLOSE,XA_173-1),10,0),COLORMAGENTA;
XA_174:=XA_78 AND NOT(REF(XA_78,5));
XA_175:=XA_93 AND NOT(REF(XA_93,5));
XA_176:=XA_108 AND NOT(REF(XA_108,5));
XA_177:=XA_123 AND NOT(REF(XA_123,5));
XA_178:=XA_138 AND NOT(REF(XA_138,5));
XA_179:=XA_153 AND NOT(REF(XA_153,5));
XA_180:=XA_174 OR XA_175 OR XA_176 OR XA_177 OR XA_178 OR XA_179;
STICKLINE(XA_180 AND NOT(REF(XA_180,5)),OPEN,CLOSE,1,0),COLORRED;
流通市值:FINANCE(40)/100000000,NODRAW;
MA5角度:ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.142,NODRAW,COLORRED;
循环年位置:(CLOSE-LLV(CLOSE,225))/(HHV(CLOSE,225)-LLV(CLOSE,225))*100,NODRAW,COLORGREEN;
XA_181:=HHV(VOL,10);
XA_182:=BARSLAST(XA_181=VOL);
XA_183:=CROSS(REF(MAX(CLOSE,OPEN),XA_182),CLOSE);
STICKLINE(XA_183,MAX(CLOSE,OPEN)*1.02,MIN(CLOSE,OPEN)*0.98,0,1),COLORRED;
STICKLINE(XA_183,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,10,0),COLORRED;
DRAWICON(OPEN>REF(MAX(CLOSE,OPEN),1) AND CLOSE>OPEN AND CLOSE>REF(CLOSE,1) AND CLOSE>MA(CLOSE,5),LOW*0.97,11);
XA_184:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5);
XA_185:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3) AND REFX(CLOSE,8)<REFX(CLOSE,4);
XA_186:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6);
XA_187:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3);
XA_188:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7);
XA_189:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2);
XA_190:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8);
XA_191:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1);
XA_192:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9);
XA_193:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE;
XA_194:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10);
XA_195:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1);
XA_196:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11);
XA_197:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2);
XA_198:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12);
XA_199:=REFX(CLOSE,1)<REF(CLOSE,3);
XA_200:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12) AND REF(CLOSE,9)>REF(CLOSE,13);
XA_201:=IF(PERIOD<4,LOW*(1-(PERIOD+1)/10*0.01),LOW*0.98);
XA_202:=IF(PERIOD<4,HIGH*(1+(PERIOD+1)/10*0.01),HIGH*1.05);
XA_203:=CURRBARSCOUNT-1;
DRAWNUMBER(XA_184 AND (XA_185 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193) OR (XA_203=5 AND XA_191) OR (XA_203=6 AND XA_189) OR (XA_203=7 AND XA_187)),XA_201,1),COLORMAGENTA;
DRAWNUMBER(XA_186 AND (XA_187 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193) OR (XA_203=5 AND XA_191) OR (XA_203=6 AND XA_189)),XA_201,2),COLORMAGENTA;
DRAWNUMBER(XA_188 AND (XA_189 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193) OR (XA_203=5 AND XA_191)),XA_201,3),COLORMAGENTA;
DRAWNUMBER(XA_190 AND (XA_191 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195) OR (XA_203=4 AND XA_193)),XA_201,4),COLORMAGENTA;
DRAWNUMBER(XA_192 AND (XA_193 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197) OR (XA_203=3 AND XA_195)),XA_201,5),COLORMAGENTA;
DRAWNUMBER(XA_194 AND (XA_195 OR XA_203=0 OR (XA_203=1 AND XA_199) OR (XA_203=2 AND XA_197)),XA_201,6),COLORMAGENTA;
DRAWNUMBER(XA_196 AND (XA_197 OR XA_203=0 OR (XA_203=1 AND XA_199)),XA_201,7),COLORMAGENTA;
DRAWNUMBER(XA_198 AND (XA_199 OR XA_203<1),XA_201,8),COLORMAGENTA;
DRAWNUMBER(XA_200,XA_201,9),COLORGREEN;
XA_204:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5);
XA_205:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3) AND REFX(CLOSE,8)>REFX(CLOSE,4);
XA_206:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6);
XA_207:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3);
XA_208:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7);
XA_209:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2);
XA_210:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8);
XA_211:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1);
XA_212:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9);
XA_213:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE;
XA_214:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10);
XA_215:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1);
XA_216:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11);
XA_217:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2);
XA_218:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12);
XA_219:=REFX(CLOSE,1)>REF(CLOSE,3);
XA_220:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12) AND REF(CLOSE,9)<REF(CLOSE,13);
DRAWNUMBER(XA_204 AND (XA_205 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213) OR (XA_203=5 AND XA_211) OR (XA_203=6 AND XA_209) OR (XA_203=7 AND XA_207)),XA_202,1),COLORMAGENTA;
DRAWNUMBER(XA_206 AND (XA_207 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213) OR (XA_203=5 AND XA_211) OR (XA_203=6 AND XA_209)),XA_202,2),COLORMAGENTA;
DRAWNUMBER(XA_208 AND (XA_209 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213) OR (XA_203=5 AND XA_211)),XA_202,3),COLORMAGENTA;
DRAWNUMBER(XA_210 AND (XA_211 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215) OR (XA_203=4 AND XA_213)),XA_202,4),COLORMAGENTA;
DRAWNUMBER(XA_212 AND (XA_213 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217) OR (XA_203=3 AND XA_215)),XA_202,5),COLORMAGENTA;
DRAWNUMBER(XA_214 AND (XA_215 OR XA_203=0 OR (XA_203=1 AND XA_219) OR (XA_203=2 AND XA_217)),XA_202,6),COLORMAGENTA;
DRAWNUMBER(XA_216 AND (XA_217 OR XA_203=0 OR (XA_203=1 AND XA_219)),XA_202,7),COLORMAGENTA;
DRAWNUMBER(XA_218 AND (XA_219 OR XA_203<1),XA_202,8),COLORMAGENTA;
DRAWNUMBER(XA_220,XA_202,9),COLORGREEN;
XA_221:=OPEN-(OPEN-CLOSE)/3;
XA_222:=(OPEN+CLOSE)/2;
XA_223:=OPEN-2*(OPEN-CLOSE)/3;
STICKLINE((OPEN+CLOSE)/2 AND CLOSE/REF(CLOSE,1)>=1.035 OR REF(CLOSE,1)/CLOSE>=1.035,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,3,0),COLORBLUE;
DRAWTEXT_FIX(C>O,0.01,0.9,0,' WWW.CXH99.COM '),COLORRED;
DRAWTEXT_FIX(C>O,1,1,0,'程序化交易模型'),COLORRED;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容