通达信龙腾四海副图指标 出现龙抬头波段转红就介入 源码 贴图

A2:=((EMA(CLOSE,12)) - (EMA(CLOSE,26))) * 10;
A3:=EMA(A2,27);
A4:=2 * (A2 - A3);
A5:=((CLOSE - (LLV(LOW,9))) / ((HHV(HIGH,9)) - (LLV(LOW,9)))) * 100;
A6:=SMA(A5,3,1);
A7:=SMA(A6,3,1);
A8:=(3 * A6) - (2 * A7);
A9:=((MA(CLOSE,3)));
A10:=MA(CLOSE,5);
A11:=MA(CLOSE,10);
A12:=((MA(CLOSE,13)));
A13:=MA(CLOSE,30);
A14:=MA(CLOSE,34);
A15:=MA(CLOSE,55);
A16:=MA(CLOSE,60);
A17:=MA(CLOSE,90);
A18:=MA(CLOSE,120);
A19:=MA(CLOSE,250);
A20:=((CLOSE - A10) / A10) * 100;
A21:=((CLOSE - A11) / A11) * 100;
A22:=((CLOSE - A12) / A12) * 100;
A23:=((CLOSE - A13) / A13) * 100;
A24:=((CLOSE - A14) / A14) * 100;
A25:=((CLOSE - A16) / A16) * 100;
A26:=((CLOSE - A17) / A17) * 100;
A27:=((CLOSE - A18) / A18) * 100;
A28:=((CLOSE - A19) / A19) * 100;
A29:=MA(CLOSE,4);
A30:=MA(CLOSE,25);
A31:=MA(CLOSE,45);
A32:=MA(CLOSE,74);
A33:=MA(CLOSE,99);
A34:=MA(CLOSE,144);
A35:=MA(CLOSE,165);
A36:=MA(CLOSE,200);
A37:=MA(CLOSE,318);
A38:=MA(CLOSE,453);
A39:=EMA(CLOSE,17);
A40:=EMA(CLOSE,50);
A41:=(100 * (CLOSE - A13)) / A13;
龙腾四海:(100 - ((100 * ((HHV(HIGH,40)) - CLOSE)) / ((HHV(HIGH,40)) - (LLV(LOW,40))))),COLORFFFFCC;
A42:=(((((CLOSE / (REF(CLOSE,1))) <= 0.97) AND ((OPEN / CLOSE) >= 1.02)) OR (((CLOSE / (REF(CLOSE,1))) <= 0.95) AND (OPEN!= CLOSE))));
A43:=((SMA((MAX((CLOSE - (REF(CLOSE,1))),0)),9,1)) / (SMA(ABS((CLOSE - (REF(CLOSE,1)))),9,1))) * 100;
A44:=((SMA((MAX((CLOSE - (REF(CLOSE,1))),0)),14,1)) / (SMA(ABS((CLOSE - (REF(CLOSE,1)))),14,1))) * 100;
A45:=(((ABS((A44 - A43)) < 9) AND (A44 < 20)) AND (A43 > 9.5)) AND (A43 < 12);
A46:=((((A45 AND (A20 < -9)) AND A42) AND (VOL < ((REF(VOL,1)) * 3))) * VOL) * 1.5;
A47:=REF(A46,1);
A48:=((SMA((MAX((CLOSE - (REF(CLOSE,1))),0)),7,1)) / (SMA(ABS((CLOSE - (REF(CLOSE,1)))),7,1))) * 100;
A49:=((SMA((MAX((CLOSE - (REF(CLOSE,1))),0)),13,1)) / (SMA(ABS((CLOSE - (REF(CLOSE,1)))),13,1))) * 100;
TYP := (HIGH + LOW + CLOSE)/3;
CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
A50:=(REF(CCI,1)) > (-180);
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
A51:=CROSS((J),0);
A52:=(((CLOSE / (REF(CLOSE,1))) >= 1.066) AND ((HIGH / CLOSE) < 1.005)) AND (((MA(CLOSE,46)) / CLOSE) >= 1.19);
A53:=(VOL / (REF(VOL,3))) >= 1.29;
A54:=(((A48 < 19) AND (A49 < 23)) AND A51) AND A50;
A55:=A52 AND ((COUNT(A52,10)) = 1);
A56:=(A54 >= 1) AND A53;
A57:=(A56 AND ((COUNT(A56,20)) = 1));
A58:=A57 OR A55;
A59:=(((((((((REF(CLOSE,1)) / (REF(CLOSE,2))) <= 0.97) AND (A4 > -2.5)) AND ((REF(A7,1)) < 20)) AND (CLOSE >= OPEN)) AND (CLOSE < A18)) AND ((REF(A8,1)) < 10)) AND (HIGH < (REF(OPEN,1)))) AND (LOW >= (REF(CLOSE,1)));
A60:=((((((REF(CLOSE,1)) / (REF(CLOSE,2))) <= 0.97) AND (CLOSE > (REF(HIGH,1)))) AND (CLOSE < A18)) AND (A6 > (REF(A6,1)))) AND (A8 < 30);
A61:=(((REF(A60,1)) AND (A7 < 30)) AND ((CLOSE / (REF(CLOSE,1))) < 0.98)) AND (VOL < (REF(VOL,1)));
A62:=((((((A8 < -3) AND (A7 < 25)) AND ((CLOSE / (REF(CLOSE,1))) <= 0.97)) AND ((OPEN / CLOSE) >= 1.02)) AND (VOL < ((REF(VOL,1)) * 2.5))));
A63:=(((REF(A62,1)) AND (CLOSE > OPEN)) AND ((A7 - A6) > 3.5)) AND (A8 > (REF(A8,1)));
A64:=((A59 OR A61) OR A63) * 2;
A65:=(CROSS(K,D)) * 60;
A66:=(((REF(CLOSE,1)) / (REF(CLOSE,2))) <= 0.97) AND (((REF(OPEN,1)) / (REF(CLOSE,1))) >= 1.02);
A67:=(((CLOSE / (REF(CLOSE,1))) <= 0.96) AND ((OPEN / CLOSE) >= 1.02)) OR (((CLOSE / (REF(CLOSE,1))) <= 0.95) AND (OPEN !=CLOSE));
A68:=(1);
A69:=IF(((((((EMA(CLOSE,5)) / (EMA((EMA(CLOSE,9)),16))) <= 0.85) AND ((CLOSE / (REF(CLOSE,1))) > 0.905)) AND ((CLOSE / (REF(CLOSE,1))) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),50,0);
A70:=((-100 * ((HHV(HIGH,34)) - CLOSE)) / ((HHV(HIGH,34)) - (LLV(LOW,34)))) + (100 * A68);
A71:=((-100 * ((HHV(HIGH,50)) - CLOSE)) / ((HHV(HIGH,50)) - (LLV(LOW,50)))) + 100;
A72:=((-100 * ((HHV(HIGH,70)) - CLOSE)) / ((HHV(HIGH,70)) - (LLV(LOW,70)))) + (100 * A68);
A73:=(A24 + 10) * 5;
A74:=((((CLOSE - (MA(CLOSE,50))) / (MA(CLOSE,50))) * 100) + 10) * 5;
A75:=((((CLOSE - (MA(CLOSE,70))) / (MA(CLOSE,70))) * 100) + 10) * 5;
A76:=((((((A70 + A71) + A72) + A73) + A74) + A75) / 6) * A68;
A77:=EMA(A76,3);
A78:=ABS((A73 - A75));
A79:=(A76 + A78) / 2;
A80:=(-1 * ((EMA((100 * (1 - WINNER(CLOSE))),1)) - 50)) + 50;
A81:=A80 + A79;
A82:=(IF(((A69 > 0) AND (A81 < 0)),200,0)) * A68;
A83:=IF((((((A79 < 0) AND (CLOSE = (LLV(CLOSE,5)))) AND ((CLOSE / (REF(CLOSE,1))) > 0.905)) AND ((CLOSE / (REF(CLOSE,1))) < 1.05)) AND (((VOL / CAPITAL) * 100) < 5)),-50,0);
A84:=(IF(((A81 < 0) AND (A83 = -50)),100,0)) * A68;
A85:=(REF(CLOSE,2)) * 0.865;
A86:=(REF(CLOSE,13)) * 0.772;
A87:=MIN(A85,A86);
A88:=((100 * VOL) / CAPITAL) * A68;
A89:=IF(((((CLOSE - A87) / CLOSE) < (3 / 100)) AND (((SUM(A88,5)) / 5) < 1.8)),1,0);
A90:=IF(((A89 > 0) AND ((A83 < 0) OR (A69 > 0))),100,0);
A91:=IF((((((A82 > 0) AND (A84 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR ((A89 > 0) AND (((REF(CLOSE,1)) / (REF(CLOSE,2))) > 0.902))) OR ((((((A82 > 0) AND (A84 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR (A89 > 0)) AND ((A83 < 0) OR (A69 > 0))) AND (A90 < 10))),50,0);
A92:=(((((A82 > 0) AND (A84 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR (A89 > 0)) AND ((A83 < 0) OR (A69 > 0))) OR ((((A82 > 0) AND (A84 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR ((A89 > 0) AND (((REF(CLOSE,1)) / (REF(CLOSE,2))) > 0.902)));
A93:=A90 OR A92;
A94:=(A90);
A95:=(MA(CLOSE,80)) - ((A11 / 3) * A68);
A96:=AMOUNT / VOL;
A97:=EMA(((WINNER((CLOSE * 1.1)) - WINNER((CLOSE * 0.9))) * 80),5);
A98:=VOL * CLOSE;
A99:=(EMA(A98,5)) / (EMA(VOL,5));
A100:=((CLOSE - A99) / A99) * 100;
A101:=A96 / 100;
A102:=MA(A101,5);
A103:=MA(A101,20);
A104:=MA(A101,30);
A105:=MA(CLOSE,27);
A106:=((CLOSE - A105) / A105) * 100;
A107:=(MA(A106,3));
A108:=(A100 < -2) AND ((A102 > (A101 * 1.03)) AND (A103 > (A101 * 1.13)));
A109:=(((2 * CLOSE) + HIGH) + LOW) / 4;
A110:=EMA((((((EMA(A109,3)) + (EMA(A109,6))) + (EMA(A109,12))) + (EMA(A109,24))) / 4),2);
A111:=(1 + (100 / 1000)) * A110;
A112:=((CLOSE - COST(10)) / CLOSE) * 100;
A113:=(1 + (-120 / 1000)) * A110;
A114:=IF((((LOW < A113) AND (CLOSE < OPEN)) AND ((A112 < -13) = 1)),65,0);
A115:=(SUM((VOL / CAPITAL),13)) * 100;
A116:=(((REF(CLOSE,13)) - CLOSE) / (REF(CLOSE,13))) * 100;
A117:=(((A115 <= 30) AND (A115 >= 2)) AND (((VOL / CAPITAL) * 100) < 2)) AND (((((REF(CLOSE,1)) - CLOSE) / (REF(CLOSE,1))) * 100) < 6);
A118:=MA(CLOSE,44);
A119:=(CLOSE - A118) / A118;
A120:=((((3 * HIGH) + LOW) + OPEN) + (2 * CLOSE)) / 7;
A121:=((SUM(AMOUNT,13)) / A101) / 100;
A122:=DMA(A120,(VOL / A121));
A123:=((CLOSE - A122) / A122) * 100;
A124:=(9999);
A125:=CLOSE - (REF((MA(CLOSE,20)),11));
A126:=(IF(((A69 > 0) AND (A81 < 0)),200,0)) * A125;
A127:=(IF(((A81 < 0) AND (A83 = -50)),100,0)) * A125;
A128:=((100 * VOL) / CAPITAL) * A125;
A129:=IF(((((CLOSE - A87) / CLOSE) < (3 / 100)) AND (((SUM(A128,5)) / 5) < 1.8)),1,0);
A130:=IF(((A129 > 0) AND ((A83 < 0) OR (A69 > 0))),100,0);
A131:=IF((A130 > 0),60,0);
A132:=IF((((((A126 > 0) AND (A127 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR ((A129 > 0) AND (((REF(CLOSE,1)) / (REF(CLOSE,2))) > 0.902))) OR ((((((A126 > 0) AND (A127 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR (A129 > 0)) AND ((A83 < 0) OR (A69 > 0))) AND (A130 < 10))),50,0);
A133:=(((((A126 > 0) AND (A127 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR (A129 > 0)) AND ((A83 < 0) OR (A69 > 0))) OR ((((A126 > 0) AND (A127 > 0)) AND (((SUM(((VOL / CAPITAL) * 100),5)) / 5) < 1)) OR ((A129 > 0) AND (((REF(CLOSE,1)) / (REF(CLOSE,2))) > 0.902)));
A134:=A131 OR A133;
A135:=(A130);
A136:=(MA(CLOSE,80)) - ((A11 / 3) * A125);
A137:=(REF(("KDJ.J"),1)) < ("KDJ.J");
A138:=((((CLOSE / (REF(CLOSE,1))) < 0.98) AND (OPEN !=CLOSE)));
A140:=SMA((SMA((((CLOSE - (LLV(LOW,55))) / ((HHV(HIGH,55)) - (LLV(LOW,55)))) * 100),18,1)),12,1);
A141:=SMA((((CLOSE - (LLV(LOW,55))) / ((HHV(HIGH,55)) - (LLV(LOW,55)))) * 100),12,1);
A142:=IF((CROSS(A141,A140)),30,0);
A143:=((HIGH + LOW) + CLOSE) / 3;
A144:=(A143 - (MA(A143,14))) / (0.015 * (AVEDEV(A143,14)));
A145:=(A143 - (MA(A143,85))) / (0.015 * (AVEDEV(A143,85)));
A146:=IF(((A145 >= 200) AND (A144 >= 150)),10,0);
A147:=((SMA((MAX((CLOSE - (REF(CLOSE,1))),0)),6,1)) / (SMA(ABS((CLOSE - (REF(CLOSE,1)))),6,1))) * 100;
A148:=IF((CROSS(80,A147)),30,0);
A149:=BARSLAST(((CROSS(-10,A107)) = 1));
A150:=BARSLAST(((CROSS(A107,10)) = 1));
A151:=((A107 < -10) AND (A149 > 3));
A152:=((A107 > 10) AND (A150 > 3));
安全:(((IF(A151,A107,0)) < 0) * -10),DOTLINE,COLORGREEN;
风险:100,DOTLINE,COLORLIMAGENTA;
龙抬头:((((((A65 AND 安全) AND ((A6 - A7) > 1.5)) AND (OPEN != HIGH)) AND (A26 < -10)) OR (安全 AND (CROSS(A6,A7)))) * 10),STICK,LINETHICK1,COLORRED;
龙抬头1:STICKLINE((龙抬头 > 0),0,15,3,0),COLORYELLOW;
安全区:STICKLINE(((IF(A151,A107,0)) < 0),-10,0,10,1),COLORGREEN;
风险区:STICKLINE(((IF(A152,A107,0)) > 0),110,100,10,1),COLORRED;
A153:=MAX(MAX(MAX(MAX(A39,A40),A30),A33),A36) / MIN(MIN(MIN(MIN(A39,A40),A30),A33),A36) < 1.05;
A154:=((((((((CLOSE < A17) AND (CROSS(A6,A7))) AND ((REF(A2,1)) < 1)) AND (A2 > A3)) AND (A8 > (REF(A8,4)))) AND ((REF(A4,1)) < (REF(A4,2)))) AND (A4 > (REF(A4,1)))) * 55);
A155:=((FILTER(((((((REF(A40,1)) < (REF(A40,2))) AND (CLOSE > A33)) AND (A40 > (REF(A40,1)))) AND (A2 > A3)) AND (A8 > (REF(A8,1)))),5)) * 45);
A157:=MAX(MAX(MAX(MAX(A13,A16),A17),A18),A19) / MIN(MIN(MIN(MIN(A13,A16),A17),A18),A19) < 1.05;
A158:=MAX(MAX(MAX(A13,A16),A17),A18) / MIN(MIN(MIN(A13,A16),A17),A18) < 1.05;
海面:20,COLORLIBLUE;
DRAWTEXT(ISLASTBAR,海面,'海面'),COLORGREEN;
海天分界线:50,COLORYELLOW;
DRAWTEXT(ISLASTBAR,海天分界线,'分界线'),COLORYELLOW;
天际:80,COLORRED;
DRAWTEXT(ISLASTBAR,天际,'天际'),COLORRED;
YAR1:=HHV(HIGH,9)-LLV(LOW,9);
YAR2:=HHV(HIGH,9)-CLOSE;
YAR3:=CLOSE-LLV(LOW,9);
YAR4:=YAR2/YAR1*100-70;
YAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60));
YAR6:=(2*CLOSE+HIGH+LOW)/4;
YAR7:=SMA(YAR3/YAR1*100,3,1);
YAR8:=LLV(LOW,34);
YAR9:=SMA(YAR7,3,1)-SMA(YAR4,9,1);
YAR10:=IF(YAR9>100,YAR9-100,0);
YAR11:=HHV(HIGH,34);
多:EMA((YAR6-YAR8)/(YAR11-YAR8)*100,13),COLORRED;
空:EMA(0.667*REF(多,1)+0.333*多,2);
DRAWBAND(多,RGB(255,0,0),空,RGB(256,200,10));
DRAWTEXT((龙抬头 > 0),-5,'龙抬头'),COLORYELLOW;



未来函数检测结果如下:
该公式包含未来函数:WINNER
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

A2赋值:((收盘价的12日指数移动平均) - (收盘价的26日指数移动平均)) * 10
A3赋值:A2的27日指数移动平均
A4赋值:2 * (A2 - A3)
A5赋值:((收盘价 - (9日内最低价最低值)) / ((9日内最高价最高值) - (9日内最低价最低值))) * 100
A5的3日[1日权重]移动平均
A6的3日[1日权重]移动平均
A8赋值:(3 * A6) - (2 * A7)
A9赋值:((收盘价的3日简单移动平均))
A10赋值:收盘价的5日简单移动平均
A11赋值:收盘价的10日简单移动平均
A12赋值:((收盘价的13日简单移动平均))
A13赋值:收盘价的30日简单移动平均
A14赋值:收盘价的34日简单移动平均
A15赋值:收盘价的55日简单移动平均
A16赋值:收盘价的60日简单移动平均
A17赋值:收盘价的90日简单移动平均
A18赋值:收盘价的120日简单移动平均
A19赋值:收盘价的250日简单移动平均
A20:=((收盘价 - A10) / A10) * 100
A21:=((收盘价 - A11) / A11) * 100
A22:=((收盘价 - A12) / A12) * 100
A23:=((收盘价 - A13) / A13) * 100
A24:=((收盘价 - A14) / A14) * 100
A25:=((收盘价 - A16) / A16) * 100
A26:=((收盘价 - A17) / A17) * 100
A27:=((收盘价 - A18) / A18) * 100
A28:=((收盘价 - A19) / A19) * 100
A29:=收盘价的4日简单移动平均
A30:=收盘价的25日简单移动平均
A31:=收盘价的45日简单移动平均
A32:=收盘价的74日简单移动平均
A33:=收盘价的99日简单移动平均
A34:=收盘价的144日简单移动平均
A35:=收盘价的165日简单移动平均
A36:=收盘价的200日简单移动平均
A37:=收盘价的318日简单移动平均
A38:=收盘价的453日简单移动平均
A39:=收盘价的17日指数移动平均
A40:=收盘价的50日指数移动平均
A41:=(100 * (收盘价 - A13)) / A13
输出龙腾四海:(100 - ((100 * ((40日内最高价最高值) - 收盘价)) / ((40日内最高价最高值) - (40日内最低价最低值)))),COLORFFFFCC
A42:=(((((收盘价 / (1日前的收盘价)) <= 0.97) AND ((开盘价 / 收盘价) >= 1.02)) OR (((收盘价 / (1日前的收盘价)) <= 0.95) AND (开盘价!= 收盘价))))
A43:=((SMA((MAX((收盘价 - (1日前的收盘价)),0)),9,1)) / (SMA((收盘价 - (1日前的收盘价的绝对值)),9,1))) * 100
A44:=((SMA((MAX((收盘价 - (1日前的收盘价)),0)),14,1)) / (SMA((收盘价 - (1日前的收盘价的绝对值)),14,1))) * 100
A45:=((((A44 - A43的绝对值) < 9) AND (A44 < 20)) AND (A43 > 9.5)) AND (A43 < 12)
A46:=((((A45 AND (A20 < -9)) AND A42) AND (成交量 < ((1日前的成交量) * 3))) * 成交量) * 1.5
A47:=1日前的A46
A48:=((SMA((MAX((收盘价 - (1日前的收盘价)),0)),7,1)) / (SMA((收盘价 - (1日前的收盘价的绝对值)),7,1))) * 100
A49:=((SMA((MAX((收盘价 - (1日前的收盘价)),0)),13,1)) / (SMA((收盘价 - (1日前的收盘价的绝对值)),13,1))) * 100
TYP := (最高价 + 最低价 + 收盘价)/3
CCI赋值:(TYP-TYP的14日简单移动平均)/(0.015*AVEDEV(TYP,14))
A50:=(1日前的CCI) > (-180)
RSV赋值:(收盘价-9日内最低价最低值)/(9日内最高价最高值-9日内最低价最低值)*100
RSV的3日[1日权重]移动平均
K的3日[1日权重]移动平均
J赋值:3*K-2*D
A51:=CROSS((J),0)
A52:=(((收盘价 / (1日前的收盘价)) >= 1.066) AND ((最高价 / 收盘价) < 1.005)) AND (((收盘价的46日简单移动平均) / 收盘价) >= 1.19)
A53:=(成交量 / (3日前的成交量)) >= 1.29
A54:=(((A48 < 19) AND (A49 < 23)) AND A51) AND A50
A55:=A52 AND ((统计10日满足A52的天数) = 1)
A56:=(A54 >= 1) AND A53
A57:=(A56 AND ((统计20日满足A56的天数) = 1))
A58:=A57 OR A55
A59:=(((((((((1日前的收盘价) / (2日前的收盘价)) <= 0.97) AND (A4 > -2.5)) AND ((1日前的A7) < 20)) AND (收盘价 >= 开盘价)) AND (收盘价 < A18)) AND ((1日前的A8) < 10)) AND (最高价 < (1日前的开盘价))) AND (最低价 >= (1日前的收盘价))
A60:=((((((1日前的收盘价) / (2日前的收盘价)) <= 0.97) AND (收盘价 > (1日前的最高价))) AND (收盘价 < A18)) AND (A6 > (1日前的A6))) AND (A8 < 30)
A61:=(((1日前的A60) AND (A7 < 30)) AND ((收盘价 / (1日前的收盘价)) < 0.98)) AND (成交量 < (1日前的成交量))
A62:=((((((A8 < -3) AND (A7 < 25)) AND ((收盘价 / (1日前的收盘价)) <= 0.97)) AND ((开盘价 / 收盘价) >= 1.02)) AND (成交量 < ((1日前的成交量) * 2.5))))
A63:=(((1日前的A62) AND (收盘价 > 开盘价)) AND ((A7 - A6) > 3.5)) AND (A8 > (1日前的A8))
A64:=((A59 OR A61) OR A63) * 2
A65:=(K上穿D) * 60
A66:=(((1日前的收盘价) / (2日前的收盘价)) <= 0.97) AND (((1日前的开盘价) / (1日前的收盘价)) >= 1.02)
A67:=(((收盘价 / (1日前的收盘价)) <= 0.96) AND ((开盘价 / 收盘价) >= 1.02)) OR (((收盘价 / (1日前的收盘价)) <= 0.95) AND (开盘价 !=收盘价))
A68:=(1)
A69:=IF(((((((收盘价的5日指数移动平均) / (EMA((EMA(收盘价,9)),16))) <= 0.85) AND ((收盘价 / (1日前的收盘价)) > 0.905)) AND ((收盘价 / (1日前的收盘价)) < 1.05)) AND (((成交量 / 当前流通股本) * 100) < 5)),50,0)
A70:=((-100 * ((34日内最高价最高值) - 收盘价)) / ((34日内最高价最高值) - (34日内最低价最低值))) + (100 * A68)
A71:=((-100 * ((50日内最高价最高值) - 收盘价)) / ((50日内最高价最高值) - (50日内最低价最低值))) + 100
A72:=((-100 * ((70日内最高价最高值) - 收盘价)) / ((70日内最高价最高值) - (70日内最低价最低值))) + (100 * A68)
A73:=(A24 + 10) * 5
A74:=((((收盘价 - (收盘价的50日简单移动平均)) / (收盘价的50日简单移动平均)) * 100) + 10) * 5
A75:=((((收盘价 - (收盘价的70日简单移动平均)) / (收盘价的70日简单移动平均)) * 100) + 10) * 5
A76:=((((((A70 + A71) + A72) + A73) + A74) + A75) / 6) * A68
A77:=A76的3日指数移动平均
A78:=(A73 - A75的绝对值)
A79:=(A76 + A78) / 2
A80:=(-1 * ((EMA((100 * (1 - 收盘价计算的获利盘比例)),1)) - 50)) + 50
A81:=A80 + A79
A82:=(IF(((A69 > 0) AND (A81 < 0)),200,0)) * A68
A83:=IF((((((A79 < 0) AND (收盘价 = (5日内收盘价最低值))) AND ((收盘价 / (1日前的收盘价)) > 0.905)) AND ((收盘价 / (1日前的收盘价)) < 1.05)) AND (((成交量 / 当前流通股本) * 100) < 5)),-50,0)
A84:=(IF(((A81 < 0) AND (A83 = -50)),100,0)) * A68
A85:=(2日前的收盘价) * 0.865
A86:=(13日前的收盘价) * 0.772
A87:=A85和A86的较小值
A88:=((100 * 成交量) / 当前流通股本) * A68
A89:=IF(((((收盘价 - A87) / 收盘价) < (3 / 100)) AND (((5的A88日累和) / 5) < 1.8)),1,0)
A90:=IF(((A89 > 0) AND ((A83 < 0) OR (A69 > 0))),100,0)
A91:=IF((((((A82 > 0) AND (A84 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR ((A89 > 0) AND (((1日前的收盘价) / (2日前的收盘价)) > 0.902))) OR ((((((A82 > 0) AND (A84 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR (A89 > 0)) AND ((A83 < 0) OR (A69 > 0))) AND (A90 < 10))),50,0)
A92:=(((((A82 > 0) AND (A84 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR (A89 > 0)) AND ((A83 < 0) OR (A69 > 0))) OR ((((A82 > 0) AND (A84 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR ((A89 > 0) AND (((1日前的收盘价) / (2日前的收盘价)) > 0.902)))
A93:=A90 OR A92
A94:=(A90)
A95:=(收盘价的80日简单移动平均) - ((A11 / 3) * A68)
A96:=成交额 / 成交量
A97:=EMA((((收盘价 * 1.1计算的获利盘比例) - WINNER((收盘价 * 0.9))) * 80),5)
A98:=成交量 * 收盘价
A99:=(A98的5日指数移动平均) / (成交量的5日指数移动平均)
A100:=((收盘价 - A99) / A99) * 100
A101:=A96 / 100
A102:=A101的5日简单移动平均
A103:=A101的20日简单移动平均
A104:=A101的30日简单移动平均
A105:=收盘价的27日简单移动平均
A106:=((收盘价 - A105) / A105) * 100
A107:=(A106的3日简单移动平均)
A108:=(A100 < -2) AND ((A102 > (A101 * 1.03)) AND (A103 > (A101 * 1.13)))
A109:=(((2 * 收盘价) + 最高价) + 最低价) / 4
A110:=EMA((((((EMA(A109,3)) + (EMA(A109,6))) + (EMA(A109,12))) + (EMA(A109,24))) / 4),2)
A111:=(1 + (100 / 1000)) * A110
A112:=((收盘价 - 获利盘为10%的成本分布) / 收盘价) * 100
A113:=(1 + (-120 / 1000)) * A110
A114:=IF((((最低价 < A113) AND (收盘价 < 开盘价)) AND ((A112 < -13) = 1)),65,0)
A115:=(SUM((成交量 / 当前流通股本),13)) * 100
A116:=(((13日前的收盘价) - 收盘价) / (13日前的收盘价)) * 100
A117:=(((A115 <= 30) AND (A115 >= 2)) AND (((成交量 / 当前流通股本) * 100) < 2)) AND (((((1日前的收盘价) - 收盘价) / (1日前的收盘价)) * 100) < 6)
A118:=收盘价的44日简单移动平均
A119:=(收盘价 - A118) / A118
A120:=((((3 * 最高价) + 最低价) + 开盘价) + (2 * 收盘价)) / 7
A121:=((13的成交额日累和) / A101) / 100
A122:=DMA(A120,(成交量 / A121))
A123:=((收盘价 - A122) / A122) * 100
A124:=(9999)
A125:=收盘价 - (REF((收盘价的20日简单移动平均),11))
A126:=(IF(((A69 > 0) AND (A81 < 0)),200,0)) * A125
A127:=(IF(((A81 < 0) AND (A83 = -50)),100,0)) * A125
A128:=((100 * 成交量) / 当前流通股本) * A125
A129:=IF(((((收盘价 - A87) / 收盘价) < (3 / 100)) AND (((5的A128日累和) / 5) < 1.8)),1,0)
A130:=IF(((A129 > 0) AND ((A83 < 0) OR (A69 > 0))),100,0)
A131:=IF((A130 > 0),60,0)
A132:=IF((((((A126 > 0) AND (A127 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR ((A129 > 0) AND (((1日前的收盘价) / (2日前的收盘价)) > 0.902))) OR ((((((A126 > 0) AND (A127 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR (A129 > 0)) AND ((A83 < 0) OR (A69 > 0))) AND (A130 < 10))),50,0)
A133:=(((((A126 > 0) AND (A127 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR (A129 > 0)) AND ((A83 < 0) OR (A69 > 0))) OR ((((A126 > 0) AND (A127 > 0)) AND (((SUM(((成交量 / 当前流通股本) * 100),5)) / 5) < 1)) OR ((A129 > 0) AND (((1日前的收盘价) / (2日前的收盘价)) > 0.902)))
A134:=A131 OR A133
A135:=(A130)
A136:=(收盘价的80日简单移动平均) - ((A11 / 3) * A125)
A137:=(REF(("KDJ.J"),1)) < ("KDJ.J")
A138:=((((收盘价 / (1日前的收盘价)) < 0.98) AND (开盘价 !=收盘价)))
A140:=SMA((SMA((((收盘价 - (55日内最低价最低值)) / ((55日内最高价最高值) - (55日内最低价最低值))) * 100),18,1)),12,1)
A141:=SMA((((收盘价 - (55日内最低价最低值)) / ((55日内最高价最高值) - (55日内最低价最低值))) * 100),12,1)
A142:=IF((A141上穿A140),30,0)
A143:=((最高价 + 最低价) + 收盘价) / 3
A144:=(A143 - (A143的14日简单移动平均)) / (0.015 * (AVEDEV(A143,14)))
A145:=(A143 - (A143的85日简单移动平均)) / (0.015 * (AVEDEV(A143,85)))
A146:=IF(((A145 >= 200) AND (A144 >= 150)),10,0)
A147:=((SMA((MAX((收盘价 - (1日前的收盘价)),0)),6,1)) / (SMA((收盘价 - (1日前的收盘价的绝对值)),6,1))) * 100
A148:=IF((80上穿A147),30,0)
A149:=上次((-10上穿A107距今天数 = 1))
A150:=上次((A107上穿10距今天数 = 1))
A151:=((A107 < -10) AND (A149 > 3))
A152:=((A107 > 10) AND (A150 > 3))
如果A151返回A107否则返回0
输出风险:100,DOTLINE,COLORLIMAGENTA
输出龙抬头:((((((A65 AND 安全) AND ((A6 - A7) > 1.5)) AND (开盘价 != 最高价)) AND (A26 < -10)) OR (安全 AND (A6上穿A7))) * 10),STICK,LINETHICK1,COLORRED
龙抬头1:STICKLINE((龙抬头 > 0),0,15,3,0),画黄色
如果A151返回A107否则返回0
如果A152返回A107否则返回0
A153:=A39和A40较大值,A30),A33),A36) / A39和A40的较小值,A30),A33),A36) < 1.05
A154:=((((((((收盘价 < A17) AND (A6上穿A7)) AND ((1日前的A2) < 1)) AND (A2 > A3)) AND (A8 > (4日前的A8))) AND ((1日前的A4) < (2日前的A4))) AND (A4 > (1日前的A4))) * 55)
A155:=((FILTER(((((((1日前的A40) < (2日前的A40)) AND (收盘价 > A33)) AND (A40 > (1日前的A40))) AND (A2 > A3)) AND (A8 > (1日前的A8))),5)) * 45)
A157:=A13和A16较大值,A17),A18),A19) / A13和A16的较小值,A17),A18),A19) < 1.05
A158:=A13和A16较大值,A17),A18) / A13和A16的较小值,A17),A18) < 1.05
输出海面:20, 画淡蓝色
当满足条件ISLASTBAR时,在海面和'海面'位置书写文字
输出海天分界线:50,画黄色
当满足条件ISLASTBAR时,在海天分界线和'分界线'位置书写文字
输出天际:80,COLORRED
当满足条件ISLASTBAR时,在天际和'天际'位置书写文字
YAR1赋值:9日内最高价最高值-9日内最低价最低值
YAR2赋值:9日内最高价最高值-收盘价
YAR3赋值:收盘价-9日内最低价最低值
YAR4赋值:YAR2/YAR1*100-70
YAR5赋值:(收盘价-60日内最低价最低值)/(60日内最高价最高值-60日内最低价最低值)
YAR6赋值:(2*收盘价+最高价+最低价)/4
YAR3/YAR1*100的3日[1日权重]移动平均
YAR8赋值:34日内最低价最低值
YAR7的3日[1日权重]移动平均
如果YAR9>100返回YAR9-100否则返回0
YAR11:=34日内最高价最高值
输出多:EMA((YAR6-YAR8)/(YAR11-YAR8)*100,13),COLORRED
输出空:E0.667*1日前的多+0.333*多的2日简单移动平均
DRAWBAND(多,RGB(255,0,0),空,RGB(256,200,10))
DRAWTEXT((龙抬头 > 0),-5,'龙抬头'),画黄色

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

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