很不错趋势自画线指标!(通达信)[通达信公式]
相关标签: 通达信画线指标公式 、 通达信支撑画线指标 、 通达信画线指标 、 通达信画线主图公式 、 通达信顶级画线公式 、 通达信自动画线公式 、 通达信画线工具文件 、 通达信自动画线 、 通达信波浪画线公式 、
一个很不错的趋势自画线指标!(通达信)
n{1 120 6}
保护价:(O+ref(MA(C,1),1)+ref(ref(MA(C,1),1),1))/3;
A2:=(ref(H,6)) = (HHV(H,((2 * 6) + 1)));
A3:=FILTER(A2,6);{本文来源: }
A4:=BACKSET(A3,(6 + 1));
A5:=FILTER(A4,6);
A6:=(ref(L,6)) = (LLV(L,((2 * 6) + 1)));
A7:=FILTER(A6,6);
A8:=BACKSET(A7,(6 + 1));
A9:=FILTER(A8,6);
A10:=((ref((LLV(L,(2 * 6))),1)) + (ref((HHV(H,(2 * 6))),1))) / 2;
A11:=(H + L) / 2;
A12:=((A5 AND NOT((A9 AND (A10 >= A11)))) OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
A13:=A9 AND NOT((A5 AND (A10 = A11)));
A14:=(ref(BARSLAST(A12),1)) + 1;
A15:=BACKSET((A12 AND ((COUNT(A13,A14)) > 0)),(LLVBARS((IF(A13,L,10000)),A14)));
A16:=A15 > (ref(A15,1));
A17:=BACKSET(A16,2);
A18:=A17 > (ref(A17,1));
A19:=(A18 OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
A20:=(ref(BARSLAST(A19),1)) + 1;
A21:=BACKSET((A19 AND ((COUNT((A5 AND NOT((A9 AND (A10 >= A11)))),A20)) > 0)),(HHVBARS((IF((A5 AND NOT((A9 AND (A10 >= A11)))),H,0)),A20)));
A22:=A21 > (ref(A21,1));
A23:=BACKSET(A22,2);
A24:=A23 > (ref(A23,1));
A25:=BACKSET((ISLASTBAR),(BARSLAST(A18) + 1));
A26:=A25 > (ref(A25,1));
A27:=BACKSET(A26,((ref(BARSLAST(A18),1)) + 2));
A28:=A27>(ref(A27,1));
DRAWLINE(A28,L,A26,L,1),COLOR800040 LINETHICK2;
DRAWTEXT_FIX(C>O,0.01,0.9,0,'WWW.CXH99.COM'),COLORRED;
A29:=BACKSET((ISLASTBAR),(BARSLAST(A24) + 1));
A30:=A29>(ref(A29,1));
A31:=BACKSET(A30,((ref(BARSLAST(A24),1)) + 2));
A32:=A31>(ref(A31,1));
DRAWLINE(A32,H,A30,H,1),COLOR800040 LINETHICK2;
A33:=(ref(H,3)) = (HHV(H,((2 * 3) + 1)));
A34:=FILTER(A33,3);
A35:=BACKSET(A34,(3 + 1));
A36:=FILTER(A35,3);
A37:=(ref(L,3)) = (LLV(L,((2 * 3) + 1)));
A38:=FILTER(A37,3);
A39:=BACKSET(A38,(3 + 1));
A40:=FILTER(A39,3);
A41:=((ref((LLV(L,(2 * 3))),1)) + (ref((HHV(H,(2 * 3))),1))) / 2;
A42:=((A36 AND NOT((A40 AND (A41 >= A11)))) OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
DRAWTEXT_FIX(C>O,1,1,0,'<span style="display:none;"><a href=http://cxh99.com/Article/tdx/tdxgs title="股票程序化交易">程序化交易模型</a></span>'),COLORRED;
A43:=A40 AND NOT((A36 AND (A41 = A11)));
A44:=(ref(BARSLAST(A42),1)) + 1;
A45:=BACKSET((A42 AND ((COUNT(A43,A44)) > 0)),(LLVBARS((IF(A43,L,10000)),A44))); {文章来至程序化交易网 cxh99.com}
A46:=A45 > (ref(A45,1));
A47:=BACKSET(A46,2);
A48:=A47 > (ref(A47,1));
A49:=(A48 OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
A50:=(ref(BARSLAST(A49),1)) + 1;
A51:=BACKSET((A49 AND ((COUNT((A36 AND NOT((A40 AND (A41 >= A11)))),A50)) > 0)),(HHVBARS((IF((A36 AND NOT((A40 AND (A41 >= A11)))),H,0)),A50)));
A52:=A51 > (ref(A51,1));
A53:=BACKSET(A52,2);
A54:=A53 > (ref(A53,1));
A55:=BACKSET((ISLASTBAR),(BARSLAST(A48) + 1));
A56:=A55 > (ref(A55,1));
A57:=BACKSET(A56,((ref(BARSLAST(A48),1)) + 2));
A58:=A57>(ref(A57,1));
DRAWLINE(A58,L,A56,L,1),COLOR009090 LINETHICK2;
A59:=BACKSET((ISLASTBAR),(BARSLAST(A54) + 1));
A60:=A59 > (ref(A59,1));
A61:=BACKSET(A60,((ref(BARSLAST(A54),1)) + 2));
A62:=A61 > (ref(A61,1));
DRAWLINE(A62,H,A60,H,1),COLOR888888 LINETHICK2;
A63:=(ref(H,13)) = (HHV(H,((2 * 13) + 1)));
A64:=FILTER(A63,13);
A65:=BACKSET(A64,(13 + 1));
A66:=FILTER(A65,13);
A67:=(ref(L,13)) = (LLV(L,((2 * 13) + 1)));
A68:=FILTER(A67,13);
A69:=BACKSET(A68,(13 + 1));
A70:=FILTER(A69,13);
A71:=((ref((LLV(L,(2 * 13))),1)) + (ref((HHV(H,(2 * 13))),1))) / 2;
A72:=((A66 AND NOT((A70 AND (A71 >= A11)))) OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
A73:=A70 AND NOT((A66 AND (A71 = A11)));
A74:=(ref(BARSLAST(A72),1)) + 1;
A75:=BACKSET((A72 AND ((COUNT(A73,A74)) > 0)),(LLVBARS((IF(A73,L,10000)),A74)));
A76:=A75 > (ref(A75,1));
A77:=BACKSET(A76,2);
A78:=A77 > (ref(A77,1));
A79:=(A78 OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
A80:=(ref(BARSLAST(A79),1)) + 1;
A81:=BACKSET((A79 AND ((COUNT((A66 AND NOT((A70 AND (A71 >= A11)))),A80)) > 0)),(HHVBARS((IF((A66 AND NOT((A70 AND (A71 >= A11)))),H,0)),A80)));
A82:=A81 > (ref(A81,1));
A83:=BACKSET(A82,2);
A84:=A83 > (ref(A83,1));
A85:=BACKSET((ISLASTBAR),(BARSLAST(A78) + 1));
A86:=A85 > (ref(A85,1));
A87:=BACKSET(A86,((ref(BARSLAST(A78),1)) + 2));
A88:=A87 > (ref(A87,1));
DRAWLINE(A88,L,A86,L,1),COLORRED LINETHICK2;
A89:=BACKSET((ISLASTBAR),(BARSLAST(A84) + 1));
A90:=A89 > (ref(A89,1));
A91:=BACKSET(A90,((ref(BARSLAST(A84),1)) + 2));
A92:=A91 > (ref(A91,1));
DRAWLINE(A92,H,A90,H,1),COLORGREEN LINETHICK2;
A93:=(ref(H,N)) = (HHV(H,((2 * N) + 1)));
A94:=FILTER(A93,N);
A95:=BACKSET(A94,(N + 1));
A96:=FILTER(A95,N);
A97:=(ref(L,N)) = (LLV(L,((2 * N) + 1)));
A98:=FILTER(A97,N);
A99:=BACKSET(A98,(N + 1));
A100:=FILTER(A99,N);
A101:=((ref((LLV(L,(2 * N))),1)) + (ref((HHV(H,(2 * N))),1))) / 2;
A102:=((A96 AND NOT((A100 AND (A101 >= A11)))) OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
A103:=A100 AND NOT((A96 AND (A101 < A11)));
A104:=(ref(BARSLAST(A102),1)) + 1;
A105:=BACKSET((A102 AND ((COUNT(A103,A104)) > 0)),(LLVBARS((IF(A103,L,10000)),A104)));
A106:=A105 > (ref(A105,1));
A107:=BACKSET(A106,2);
A108:=A107 > (ref(A107,1));
A109:=(A108 OR (ISLASTBAR)) OR (BARSCOUNT(C) = 1);
A110:=(ref(BARSLAST(A109),1)) + 1;A111:=BACKSET((A109 AND ((COUNT((A96 AND NOT((A100 AND (A101 >= A11)))),A110)) > 0)),(HHVBARS((IF((A96 AND NOT((A100 AND (A101 >=
A11)))),H,0)),A110)));
A112:=A111 > (ref(A111,1));
A113:=BACKSET(A112,2);
A114:=A113 > (ref(A113,1));
A115:=BACKSET((ISLASTBAR),(BARSLAST(A114) + 1));
A116:=A115 > (ref(A115,1));
A117:=BACKSET((ISLASTBAR),(BARSLAST(A108) + 1));
A118:=A117 > (ref(A117,1));
A119:=BACKSET(A116,((ref(BARSLAST(A114),1)) + 2));
A120:=A119 > (ref(A119,1));
A121:=BACKSET(A118,((ref(BARSLAST(A108),1)) + 2));
A122:=A121 > (ref(A121,1));
A123:=BACKSET(A120,((ref(BARSLAST(A114),1)) + 2));
A124:=A123 > (ref(A123,1));
A125:=BACKSET(A122,((ref(BARSLAST(A108),1)) + 2));
A126:=A125 > (ref(A125,1));
A127:=BACKSET(A124,((ref(BARSLAST(A114),1)) + 2));
A128:=A127 > (ref(A127,1));
A129:=BACKSET(A126,((ref(BARSLAST(A108),1)) + 2));
A130:=A129 > (ref(A129,1));
A131:=BACKSET(A128,((ref(BARSLAST(A114),1)) + 2));
A132:=A131 > (ref(A131,1));
A133:=BACKSET(A130,((ref(BARSLAST(A108),1)) + 2));
A134:=A133 > (ref(A133,1));
A135:=BACKSET(A132,((ref(BARSLAST(A114),1)) + 2));
A136:=A135 > (ref(A135,1));
A137:=BACKSET(A134,((ref(BARSLAST(A108),1)) + 2));
A138:=A137 > (ref(A137,1));
真见招:DRAWLINE(A130,L,A126,L,0),COLORMAGENTA LINETHICK2;
破解群81288516:DRAWLINE(A126,L,A122,L,0),COLOR8080FF LINETHICK2;
提示是参考!:DRAWLINE(A120,H,A116,H,1),COLORCYAN LINETHICK2;
决策在人脑!:DRAWLINE(A122,L,A118,L,1),COLORFAABEC LINETHICK2;
破解公式人木子:DRAWLINE(A132,H,A128,H,1),COLORFF9C00 LINETHICK2;
我的Q9961609:DRAWLINE(A134,L,A130,L,1),COLOR400080 LINETHICK2;
祝大家合家幸福:DRAWLINE(A136,H,A132,H,0);
财源滚滚!:DRAWLINE(A138,L,A134,L,0),COLOR800080 LINETHICK2;
个人观点!:DRAWLINE(A124,H,A120,H,0),COLORFF0000 LINETHICK2;
仅供参考!:DRAWLINE(A128,H,A124,H,1),COLOR009900 LINETHICK2;
高点1:DRAWLINE(A124,H,A116,H,0),COLORFA0059 LINETHICK2;
高点2:DRAWLINE(A136 AND C<A128,H,A128,H,1),COLOR222222 LINETHICK2;
低点1:DRAWLINE(A126,L,A118,L,0),COLOR00008E LINETHICK2;
低点2:DRAWLINE(A130 AND C>A122,L,A122 ,L,1),COLOR222222 LINETHICK2;
A139:=MA(C,20);
A140:=MA(C,35);
A141:=(EMA(C,12)) - (EMA(C,26));
A142:=EMA(A141,9);
A143:=2 * (A141 - A142);
A144:=MA(C,12);
A145:=(ATAN((MA(C,9) - (ref(MA(C,9),1)))) * 3.1416) * 10;
A146:=(ATAN((A144 - (ref(A144,1)))) * 3.1416) * 10;
A147:=(((O + L) + H) + C) / 4;
A148:=LLV(L,30);
A149:=HHV(H,27);
A150:=EMA(A147,5);
A151:=HHV(A150,60);
A152:=HHV(L,23);
A153:=SMA(L,5,1);
{PARTLINE(MA(C,9),MA(C,9) > (ref(MA(C,9),1)),RGB(255,255,180),MA(C,9) <= (ref(MA(C,9),1)),RGB(0,186,0)),LINETHICK2;
PARTLINE(MA(C,3),MA(C,3) > (ref(MA(C,3),1)),RGB(255,0,80),MA(C,3) <= (ref(MA(C,3),1)),RGB(0,125,255)),LINETHICK2;}
DRAWTEXT((FILTER(((((H > A151) AND (C < A151)) AND MA(C,9)<=(ref(MA(C,9),1))) AND ((C / O) > (0 - 1.06))),5)),(H * 1.02),'逃'),COLOR009900 LINETHICK2;
A154:=(MA(H,15)) * 1.05;
A155:=(MA(L,15)) * 0.985;
A156:=(MA(L,15)) * 0.96;
A157:=((H + L) + C) / 3;
A158:=HHV(A157,(4 * 15));
A159:=LLV(A157,(4 * 15));
A160:=A158 - A159;
A161:=(MA(((A157 - A159) / A160),2)) * 80;
A162:=((C - (LLV(L,100))) / ((HHV(H,100)) - (LLV(L,100)))) * 200;
A163:=SMA(A162,3,1);
A164:=SMA(A163,3,1);
A165:=(3 * A163) - (2 * A164);
A166:=LLV(L,5);
A167:=HHV(H,5);
A168:=(EMA((((C - A166) / (A167 - A166)) * 100),4)) * 2;
A169:=EMA(((0.667 * (ref(A168,1))) + (0.333 * A168)),2);
A170:=(3 * A168) - (2 * A169);
A171:=(POW((MA(C,5)),2)) + (MA(C,5));
A172:=(POW((MA(L,5)),2)) + (MA(L,5));
A173:=(POW((MA(H,5)),2)) + (MA(H,5));
A174:=((((A171 - (LLV(A172,64))) / ((HHV(A173,64)) - (LLV(A172,64)))) * 150) + 65) - 10;
A175:=((SMA(A174,3,1)) * 1.5) - 100;
A176:=SMA(A175,3,1);
A177:=(3 * A175) - (2 * A176);
A178:=((H + L) + (C * 2)) / 4;
A179:=EMA(A178,13);
A180:=STD(A178,13);
A181:=((A178 - A179) * 100) / A180;
A182:=EMA(A181,5);
A183:=EMA(A182,13);
A184:=(A183 + 200) - 100;
A185:=EMA(A184,10);
A186:=(3 * A184) - (2 * A185);
A187:=((A163 + A168) + A175) + A184;
A188:=((A164 + A169) + A176) + A185;
A189:=((A165 + A170) + A177) + A186;
A190:=(AMOUNT / VOL) / 100;
A191:=((SUM(AMOUNT,5)) / (SUM(VOL,5))) / 100;
A192:=(A157 - (MA(A157,34))) / (0.015 * (AVEDEV(A157,34)));
A193:=DMA(A190,(VOL / CAPITAL));
A194:=(((H + L) + C) + A157) / 4;
A195:=EMA(A194,24);
A196:=STD(A194,24);
A197:=((A194 - A195) / A196) * 100;
A198:=(A157 - (MA(A157,24))) / (0.015 * (AVEDEV(A157,24)));
A199:=EMA(A197,5);
A200:=(A190 - (MA(A190,21))) / (0.015 * (AVEDEV(A190,21)));
A201:=(A191 - (MA(A191,90))) / (0.015 * (AVEDEV(A191,90)));
A202:=((((((A201 + A200) + A199) + A198) + A192) / 5) + 165) / 4;
A203:=((((A187 + A188) + (A189 * 30)) / 32) / 5) - 15;
A204:=((A202 + A203) / 2) / 1.1;
A205:=MA(C,26);
A206:=A205 + (2 * (STD(C,26)));
A207:=A205 - (2 * (STD(C,26)));
A208:=MA(A204,26);
A209:=A208 + (2 * (STD(A204,26)));
A210:=A208 - (2 * (STD(A204,26)));
A211:=IF((A204 > A208),A208,A204);
A212:=(LLV(H,30)) * 0.9125;
A213:=SMA(C,2,1);
A214:=(MA(L,10)) * 0.96;
A215:=(EMA(O,107)) * 0.897;
A216:=MA(C,15); {本文来至CXH99.COM}
A217:=(SMA(H,21,2)) * 1.05;
A218:=A151 * 0.92;
A219:=(SMA(H,21,2)) * 1.035;
A220:=(SMA(L,21,2)) * 0.96;
A221:=((C - (LLV(L,13))) / ((HHV(H,13)) - (LLV(L,13)))) * 100;
A222:=SMA(A221,3,1);
A223:=SMA(A222,3,1);
A224:=(3 * A222) - (2 * A223);
A225:=((C - (MA(C,6))) / (MA(C,6))) * 100;
A226:=((C - A144) / A144) * 100;
A227:=((C - (MA(C,24))) / (MA(C,24))) * 100;
A228:=((A225 + (2 * A226)) + (3 * A227)) / 6;
A229:=MA(A228,3);
A230:=((C - (LLV(L,34))) / ((HHV(H,34)) - (LLV(L,34)))) * 100;
A231:=SMA(A230,3,1);
A232:=SMA(A231,3,1);
A233:=(3 * A231) - (2 * A232);
A234:=((C - (LLV(L,55))) / ((HHV(H,55)) - (LLV(L,55)))) * 100;
A235:=SMA(A234,3,1);
A236:=SMA(A235,3,1);
A237:=(3 * A235) - (2 * A236);
A238:=IF((CROSS(A237,A224)),H,L);
A239:=IF((C >= A139),80,50);
A240:=IF((C >= A139),50,20);
A241:=(SMA(H,5,2)) * 1.05;
A242:=(SMA(L,5,2)) * 0.96;
A243:=SMA(L,2,1);
A244:=((((3 * C) + H) + L) + O) / 6;
A245:=EMA(A244,10);
A246:=ref(A245,1);
A247:=((ref(H,1)) + (ref(L,1))) / 2;
A248:=(MA(C,21)) + (2 * (STD(C,21)));
A249:=ref(C,1);
A250:=((SMA((MAX((C - A249),0)),7,1)) / (SMA(ABS((C - A249)),7,1))) * 100;
A251:=CROSS(79,A250);
A252:=MA(C,115);
A253:=CROSS(A250,79);
A254:=FILTER(A253,4);
A255:=MA(VOL,10);
DRAWTEXT(A254 AND VOL>A255,(H * 1.04),'调'),COLORFF9C00 LINETHICK2;
A256:=((C - (LLV(L,8))) / ((HHV(H,8)) - (LLV(L,8)))) * 100;
A257:=((EMA(A256,3)) - 50) * 2;
A258:=ref((A257 > 70),1);
A259:=FILTER(A258,2);
A260:=(3 * (SMA((((C - (LLV(L,28))) / ((HHV(H,28)) - (LLV(L,28)))) * 100),5,1))) - (2 * (SMA((SMA((((C - (LLV(L,28))) / ((HHV(H,28)) - (LLV(L,28)))) *
100),5,1)),3,1)));
A261:=MA(A260,3);
{高顶:VERTLINE(((((A260 > 85) AND A1) AND (A260 < 105)) AND ((A260 / A261) > 1.03)),3),COLOR003300;}
A262:=(A260 > 20) AND (ref((A260 < 80),1));
DRAWTEXT(A259 AND A262 AND VOL>A255,(H * 1.06),'减'),COLORGREEN LINETHICK2;
A263:=(MA(C,9) - MA(C,3)) > 0.038;
A264:=(((MA(C,9) - (ref(MA(C,9),1))) < 0.0125) AND (MA(C,3) < (ref(MA(C,3),1)))) AND (MA(C,3) > MA(C,9));
A265:=((C + L) + H) / 3;
A266:=((MA(A265,9)) - (ref((MA(A265,3)),1))) > 0.1;
A267:=((MA(A265,9)) - (ref((MA(A265,3)),1))) > 0.125;
{深底:VERTLINE((((((A260 <= 6.1) AND A267) AND (VOL > (A255 * 0.668))) AND A1) AND ((A261 / A260) > 1.035)),4),COLOR2F0F3F;}
{STICKLINE((O >= C),C,O,7,0),COLORFF1100 LINETHICK2;
STICKLINE((O >= C),C,O,5,0),COLORFF5500 LINETHICK2;
STICKLINE((O >= C),C,O,3,0),COLORFF9900 LINETHICK2;
STICKLINE((O >= C),C,O,1,0),COLORFFDD00 LINETHICK2;
STICKLINE((C >= O),C,O,7,0),COLOR000055 LINETHICK2;
STICKLINE((C >= O),C,O,5,0),COLOR000077 LINETHICK2;
STICKLINE((C >= O),C,O,3,0),COLOR0000BB LINETHICK2;
STICKLINE((C >= O),C,O,1,0),COLORRED;};
{STICKLINE((((((C / O) > 1.04) AND (C < A217)) AND (A260 < 25)) AND ((C - A249) > 0)),C,O,7,0),COLORFF11FF LINETHICK2;
STICKLINE((((((C / O) > 1.04) AND (C < A217)) AND (A260 < 25)) AND ((C - A249) > 0)),C,O,5,0),COLORFF55FF LINETHICK2;
STICKLINE((((((C / O) > 1.04) AND (C < A217)) AND (A260 < 25)) AND ((C - A249) > 0)),C,O,3,0),COLORFF99FF LINETHICK2;
STICKLINE((((((C / O) > 1.04) AND (C < A217)) AND (A260 < 25)) AND ((C - A249) > 0)),C,O,1,0),COLORFFDDFF LINETHICK2;
STICKLINE((((((C < A249) AND (C < A249)) AND (A260 > 75)) AND (H > A217)) AND (C < A217)),C,O,7,0),COLOR005500 LINETHICK2;
STICKLINE((((((C < A249) AND (C < A249)) AND (A260 > 75)) AND (H > A217)) AND (C < A217)),C,O,5,0),COLOR007700 LINETHICK2;
STICKLINE((((((C < A249) AND (C < A249)) AND (A260 > 75)) AND (H > A217)) AND (C < A217)),C,O,3,0),COLOR009900 LINETHICK2;
STICKLINE((((((C < A249) AND (C < A249)) AND (A260 > 75)) AND (H > A217)) AND (C < A217)),C,O,1,0),COLORGREEN LINETHICK2;}
DRAWTEXT(((FILTER(((((((L <= A155) AND (C >= A139)) AND (H < A152)) AND ((A155 - (ref(A155,1))) > 0)) AND (C < A152)) AND ((A139 - (ref(A139,1))) > 0)),6)) AND (L <=
((A149 + A212) / 2))),(L - 0.24),'全仓'),COLOR4F2F4F LINETHICK2;
DRAWTEXT((((((L <= A242) AND (H >= A212)) AND (C >= (LLV(H,30)))) AND (L <= ((A149 + A148) / 2))) AND ((C / L) > 1.026)),(L * 0.97),'短'),COLORRED LINETHICK2;
{DRAWTEXT((((((L <= A242) AND (H >= A212)) AND (C >= (LLV(H,30)))) AND (L <= ((A149 + A148) / 2))) AND ((C / L) > 1.026)),(L * 0.92),'炒'),COLORRED LINETHICK2;}
DRAWTEXT((((((CROSS(A139,A238)) AND (L <= A139)) AND ((A139 - (ref(A139,1))) > 0.02)) AND A263) AND (A143 > -0.03)),(L - 0.07),'佳'),COLOR999999 LINETHICK2;
{DRAWTEXT(((((((CROSS(A139,A238)) AND A1) AND (L <= A139)) AND ((A139 - (ref(A139,1))) > 0.02)) AND A264) AND (A143 > -0.03)),(L - 0.07),'佳'),ALIGN1,COLOR9A589F
LINETHICK2;}
DRAWTEXT(((((CROSS(A140,A238)) AND (L <= A140)) AND ((A140 - (ref(A140,1))) > 0.02)) AND (L <= ((A149 + A212) / 2))),(L - 0.35),'绝佳'),COLOR0000B7 LINETHICK2;
DRAWTEXT(((((L <= A148) AND (C > L)) AND ((C / L) > 1.0175)) AND ((L / A207) < 0.9375)),(L * 0.935),'底'),COLOR0000B7 LINETHICK2;
A268:=SUM((IF((C > A249),VOL,(IF((C < A249),(0 - VOL),0)))),0);
A269:=(40);{本文来源: }
A270:=(IF((C > (LLV(C,A269))),1,-1)) * (IF((A268 > (LLV(A268,A269))),1,-1));
A271:=IF((A270 = -1),1,0);
A272:=(COUNT((A271 = 1),8)) > 3;
A273:=((SUM(AMOUNT,13)) / A190) / 100;
A274:=DMA(A157,(VOL / A273));
A275:=(((C - A274) / A274) * 100) < -21;
A276:=((C - (MIN(((ref(C,5)) * 0.83),((ref(C,21)) * 0.72)))) / C) < 0.045;
DRAWTEXT(((((A275 AND A276) AND (A260 > -1.5)) AND (VOL > (A255 * 0.7))) AND A272),(L - 0.42),'财'),COLOR9DFFFF LINETHICK2;
A277:=(100 * (C - (LLV(L,10)))) / ((HHV(C,10)) - (LLV(L,10)));
A278:=(IF((CROSS(A277,3)),1,0)) AND A267;
{招线:VERTLINE(A278,1),COLOR555555 LINETHICK2;}
A279:=MA(VOL,120);
A280:=((((((ref(VOL,1)) > A279) AND ((ref(VOL,2)) > A279)) AND ((ref(VOL,3)) > A279)) AND (C < O)) AND (C < A249)) AND ((((A249 - C) / C) * 100) > 5);
A281:=(((ref(A280,1)) = 1) AND (L < (A249 * 1.005))) AND (C > (L * 1.0098));
DRAWTEXT(A281,(L * 0.976),'短'),COLORFFD4FF LINETHICK2;
A282:=(C / (MA(C,48))) < 0.75;
A283:=(C / (MA(C,70))) < 0.7;
A284:=A282 AND A283;
A285:=(VOL < ((ref(VOL,1)) * 2.8)) AND (((COUNT((C < (O * 0.966)),2)) = 2) OR ((COUNT(((H / L) > 1.1085),5)) > 2.99));
A286:=(A284 AND ((((C - L) / C) > 0.03) OR (C > (A249 * 1.012)))) AND A285;
A287:=((C / (MA(C,40))) * 100) < 78;
A288:=((C / (MA(C,60))) * 100) < 74;
A289:=H > (L * 1.08);
A290:=A289 AND ((COUNT(A289,5)) > 2);
A291:=DMA(C,(VOL / (SUM(VOL,34))));
A292:=DMA(C,(VOL / (SUM(VOL,13))));
A293:=((C - A291) / A291) * 100;
A294:=((C - A292) / A292) * 100;
A295:=(A294 <= -20) AND (A293 <= -35.8);
A296:=IF((A290 AND (A287 OR A288)),2,0);
A297:=(C / (ref(C,25))) <= 0.698;
A298:=(((SMA((MAX((C - (ref(C,2))),0)),7,1)) / (SMA(ABS((C - (ref(C,2)))),7,1))) * 100) < 15;
A299:=SMA(A256,2,1);
A300:=SMA(A299,2,1);
A301:=IF((((A299 > (ref(A299,1))) AND ((ref(A299,1)) < (ref(A299,2)))) AND (A299 < 20)),1.5,0);
A302:=((A297 AND A296) AND A298) AND A301;
A303:=(A286 AND A295) AND A302;
A304:=((C / A216) * 100) < 77.3;
A305:=((C / (MA(C,30))) * 100) < 69.4;
A306:=H >= (L * 1.13146);
A307:=A306 AND ((COUNT(A306,6)) >= 2);
A308:=((A307 AND (A304 OR A305)) AND ((COUNT((((H = L) AND (C = O)) AND (C < A249)),3)) = 0)) * 10;
DRAWTEXT(A308,(L * 0.905),'宝'),LINETHICK7,COLORRED LINETHICK2;
DRAWTEXT(A303,(L * 0.903),'宝'),LINETHICK7,COLORE6E8FA LINETHICK2;
A309:=((((((((C / (MA(C,48))) < 0.74) AND ((C / (MA(C,70))) < 0.69)) AND ((((C - L) / C) > 0.03) OR (C > (A249 * 0.97)))) AND (VOL < ((ref(VOL,1)) * 2.8))) AND
(((COUNT((C < (O * 0.958)),2)) = 2) OR ((COUNT(((H / L) > 1.1072),5)) > 3))) AND (A294 <= -25.2)) AND (A293 <= -29.8));
DRAWTEXT(A309,(L * 0.901),'宝'),LINETHICK7,COLORFF9C00 LINETHICK2;
A310:=BACKSET(((ref(H,2)) = A167),3);
A311:=CROSS(A310,0.9);
A312:=BACKSET(((ref(L,2)) = A166),3);
A313:=CROSS(A312,0.9);
{A314:=NUMTOSTRN(H,2);
A315:=NUMTOSTRN(L,2);
DRAWTEXT(((A114 OR A24) OR A54),(H * 1.01),A314),ALIGN1,COLOR999999 LINETHICK2;
DRAWTEXT(((A108 OR A18) OR A48),(L * 0.996),A315),ALIGN1,COLOR999999 LINETHICK2;
STICKLINE((ref(H,BARSLAST(A311))),(ref(H,BARSLAST(A311))),(ref(H,BARSLAST(A311))),3,0),COLOR003300;
STICKLINE((ref(L,BARSLAST(A313))),(ref(L,BARSLAST(A313))),(ref(L,BARSLAST(A313))),3,0),COLOR2F2F3F;
DRAWTEXTREL(2,980.5,'底部区域:'+NUMTOSTR(COST(0.33))+' 安全区域:'+NUMTOSTR(COST(5))),COLORRED;
DRAWTEXTREL(2,950.5,'投机区域:'+NUMTOSTR(COST(15))+' 风险区域:'+NUMTOSTR(COST(55))),COLOR00DDFF;}; {本文来至程序化交易网 cxh99.com}
(责任编辑:程序化交易网整理)
如果以上指标公式不适用于您常用的行情软件
或者您想改编成选股公式,以便快速选出某种形态个股的话,
- 上一篇:笑看趋势未来!
- 下一篇:没有了!
相关文章
-
没有相关内容