1、凤舞九天,明日看涨跌 {凤舞九天主图} MA5:MA(CLOSE,5); MA10:MA(CLOSE,10); MA30:MA(CLOSE,30); MA60:MA(CLOSE,60); 红轨道:=MA(MA(CLOSE,3),1),LINETHICK1,COLORYELLOW; 绿轨道:=MA(MA(CLOSE,3),3); 上升:IF(红轨道>=绿轨道,绿轨道,DRAWNULL),COLORRED,LINETHICK3; AA1:=3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1); 加仓:=IF(CROSS(AA1,REF(AA1+0.01,1)) AND LLV(AA1,2)=LLV(AA1,8) AND BETWEEN(AA1,20,60),1,0); 波段底:=(3)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1)) - (2)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(100),5,1),3,1)); DRAWICON(加仓,L*0.97,7); DRAWICON(CROSS(波段底,3),L*0.97,1); A:=(3*C+L+O+H)/6; X:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+ 14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12) +7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+ REF(A,20))/210; MTM:=C-REF(C,1); DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6); CB:=EMA(X,13); 卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0); DRAWTEXT(FILTER(卖=1,1),HIGH*1.02,'卖'),COLORWHITE; 买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0); DRAWTEXT(FILTER(买=1,5),LOW-0.03,'买'),COLORRED; RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; BDGD:=HHV(J,2)=HHV(J,8) AND J>80; 注意:=IF(CROSS(REF(J-0.01,1),J) AND REF(BDGD,1),1,0); DRAWTEXT(注意 AND 卖!=1,HIGH*1.02,'减'),COLORLIBLUE; 加仓A:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10; DRAWTEXT(FILTER((CROSS(加仓A,0) OR CROSS(CLOSE,CB)) AND 买!=1,3),LOW-0.03,'加'),COLOR0080FF; MA18:=MA(C,18); 跟:=IF(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),1,0); DRAWTEXT(MA18>=REF(MA18,3) AND CROSS(CLOSE,MA18),LOW*0.96,'跟'),COLOR7F52AF; 买价:=((C-REF(MA5,1))/5+MA5)*1.004; 买条件:=CROSS(C,买价) AND 买价>REF(买价,1); 白K线买进:IF(买条件,L,H),COLORWHITE,POINTDOT; STICKLINE(买条件,H,L,0,1),COLORWHITE,LINETHICK2; STICKLINE(买条件,O,C,4,1),COLORWHITE,LINETHICK2; 加码价:=((C-REF(MA10,1))/20+MA10)*1.004; 加码条件:=CROSS(C,加码价) AND 加码价>REF(加码价,1); 黄K线加码:IF(加码条件,L,H),COLORYELLOW,POINTDOT; STICKLINE(加码条件,H,L,0,1),COLORYELLOW,LINETHICK2; STICKLINE(加码条件,O,C,4,1),COLORYELLOW,LINETHICK2; P1:=5; P2:=10; P3:=20; P4:=30; P5:=60; P6:=120; P7:=240; P8:=340; N:=4; WX:=MA(CLOSE,0); M1:=MA(CLOSE,P1); M2:=(MA(CLOSE,P2) * IF((N < 2),WX,1)); M3:=(MA(CLOSE,P3) * IF((N < 3),WX,1)); M4:=(MA(CLOSE,P4) * IF((N < 4),WX,1)); M5:=(MA(CLOSE,P5) * IF((N < 5),WX,1)); M6:=(MA(CLOSE,P6) * IF((N < 6),WX,1)); M7:=(MA(CLOSE,P7) * IF((N < 7),WX,1)); M8:=(MA(CLOSE,P8) * IF((N < 8),WX,1)); C1:=REF(CLOSE,1); C2:=HHV(C1,2); C3:=LLV(C1,1); ET:=HHV(C1,2); ET1:=REF(ET,1); XB:=LLV(C1,1); XB1:=REF(XB,1); M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1))); M11:=REF(M,1); N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1))); N1:=REF(N9,1); M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1); N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1); ET2:=HHV(ET,M21); XB2:=LLV(XB,N2); H1:=IF(((M - N9) > 0),CLOSE,ET2); H2:=IF((A = 1),CLOSE,C2); H3:=IF(((M - N9) < 0),CLOSE,XB2); H4:=IF((A = 1),CLOSE,XB2); H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3); H6:=REF(H5,1); H7:=REF(H5,2); H8:=(H5 > H6); H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10); T9:=((H5 < H6) AND (H5 < REF(H5,2))); T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2))); T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1))); T12:=((H5 = REF(H5,1)) AND (H3 = H4)); T13:=((H2 = REF(H2,1)) AND (H2 = H5)); TW:=((((T9 OR T10) OR T11) OR T12) OR T13); PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4); PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); STICKLINE((ISLASTBAR AND W),(H5 * 1.025),(H5 * 0.99),0.5,0),COLORFF8800; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,8,0),COLOR102088; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,7,0),COLOR102099; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,6,0),COLOR1020AA; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,5,0),COLOR1020BB; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,4,0),COLOR1020CC; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,3,0),COLOR1020DD; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,2,0),COLOR1020EE; STICKLINE((ISLASTBAR AND W),(H5 * 1.02),H5,1,0),COLOR1020FF; DRAWTEXT((ISLASTBAR AND (BBP >= 96.5)),(H5 * 1.022),'明见-短高-龙头-除外'),COLORRED; DRAWTEXT((ISLASTBAR AND (BBP < 1)),((H5 + H4) / 1.96),'明见-短低-跌停-除外'),COLORGREEN; DRAWTEXT(((ISLASTBAR AND W) AND (BBP < 96.5)),(H5 * 1.022),'明日看涨'),COLORYELLOW; DRAWTEXT(((ISLASTBAR AND TW) AND (BBP > 1)),((H5 + H4) / 2),'明日看跌'),COLORGREEN; 2、德军自用MACD,用了周月线macd {德军自用MACD} 月线:="MACD.DIF#MONTH"; 周线:="MACD.DIF#WEEK"; 日线:="MACD.DIF#DAY"; 月线2:="MACD.MACD#MONTH"; 周线2:="MACD.MACD#WEEK"; 日线2:="MACD.MACD#DAY"; 德军MACD:EMA((日线2+月线2+周线2),3),COLORSTICK; STICKLINE(德军MACD<REF(德军MACD,1),0,德军MACD,0.1,1),COLOR00FF80; 德军DIF:EMA((日线+月线+周线),3),COLORMAGENTA; 德军DEA:EMA(德军DIF,10)COLORGREEN LINETHICK2; DRAWBAND(德军DIF,RGB(244,0,0),德军DEA,RGB(250,215,0)); DRAWTEXT_FIX(1,0.90,5,0,'~☆~德军作品~☆~'),COLOR009191; MACD在O轴之下是趋势向下;MACD在O轴之上是趋势向上。 MACD和O轴的关系往往为我们抓涨停提供胜算参考。MACD从高位跌落在O轴企稳意味着这是一个潜在的大牛股, 看图买卖有参考价值。( 股民学院: http://www.58188.com ) 3、结构背离 {公式名称: 结构背离 公式描述: 无参数 公式类型: 技术指标公式-其他类型 画线方法: 副图 公式版本: 0 显示小数: 缺省位数 坐标线位置: 自动 额外Y轴分界: 无 参数精灵:无 用法注释:无 公式源码:} DIF:100*(EMA(CLOSE,12)-EMA(CLOSE,26)); DEA:EMA(DIF,9); MACD:(DIF-DEA)*2,COLORSTICK; X_1:=CROSS(DEA,DIF); X_2:=BARSLAST(X_1); X_3:=REF(BARSLAST(X_1),X_2+1); X_4:=REF(BARSLAST(X_1),X_3+X_2+2); X_5:=LLV(CLOSE,X_2+1); X_6:=LLV(DIF,X_2+1); X_7:=REF(X_5,X_2+1); X_8:=REF(X_6,X_2+1); X_9:=REF(X_7,X_2+1); X_10:=REF(X_8,X_2+1); X_11:=IF(X_8>0,INTPART(LOG(X_8))-1,INTPART(LOG(-X_8))-1); X_12:=INTPART(X_8/POW(10,X_11)); X_13:=IF(X_10>0,INTPART(LOG(X_10))-1,INTPART(LOG(-X_10))-1); X_14:=INTPART(X_10/POW(10,X_13)); X_15:=INTPART(DIF/POW(10,X_11)); X_16:=INTPART(DIF/POW(10,X_13)); X_17:=X_5<X_7 AND X_15>X_12 AND (MACD<0 AND REF(MACD,1)<0) AND X_15<=REF(X_15,1); X_18:=X_5<X_9 AND X_9<X_7 AND X_16>X_14 AND (MACD<0 AND REF(MACD,1)<0) AND X_16<=REF(X_16,1); X_19:=X_17 OR X_18; X_20:=(X_15>REF(X_15,1))*REF(X_17,1) OR (X_16>REF(X_16,1))*REF(X_18,1); X_21:=REF(X_17,1) AND X_6<=X_8 OR (REF(X_18,1) AND X_6<=X_10); STICKLINE(X_19 OR X_20,DIF,DEA,8,0),COLORRED; DRAWTEXT(X_19 AND COUNT(X_19,2)=1,DIF*1.5,'钝化'),COLORYELLOW; DRAWTEXT(FILTER(X_20,10),DIF*1.5,'结构形成'),COLORMAGENTA; DRAWTEXT(FILTER(X_21,10),DIF+MACD,'消失'),COLORGREEN; STICKLINE(X_20,0,DIF+DEA,5,0),COLORRED; X_22:=CROSS(DIF,DEA); X_23:=BARSLAST(X_22); X_24:=REF(BARSLAST(X_22),X_23+1); X_25:=REF(BARSLAST(X_22),X_24+X_23+2); X_26:=HHV(CLOSE,X_23+1); X_27:=HHV(DIF,X_23+1); X_28:=REF(X_26,X_23+1); X_29:=REF(X_27,X_23+1); X_30:=REF(X_28,X_23+1); X_31:=REF(X_29,X_23+1); X_32:=IF(X_29>0,INTPART(LOG(X_29))-1,INTPART(LOG(-X_29))-1); X_33:=INTPART(X_29/POW(10,X_32)); X_34:=IF(X_31>0,INTPART(LOG(X_31))-1,INTPART(LOG(-X_31))-1); X_35:=INTPART(X_31/POW(10,X_34)); X_36:=INTPART(DIF/POW(10,X_32)); X_37:=INTPART(DIF/POW(10,X_34)); X_38:=X_26>X_28 AND X_36<X_33 AND (MACD>0 AND REF(MACD,1)>0) AND X_36>=REF(X_36,1); X_39:=X_26>X_30 AND X_30>X_28 AND X_37<X_35 AND (MACD>0 AND REF(MACD,1)>0) AND X_37>=REF(X_37,1); X_40:=X_38 OR X_39; X_41:=(X_36<REF(X_36,1))*REF(X_38,1) OR (X_37<REF(X_37,1))*REF(X_39,1); X_42:=REF(X_38,1) AND X_27>=X_29 OR (REF(X_39,1) AND X_27>=X_31); STICKLINE(X_41,0,DIF+DEA,5,0),COLORGREEN; STICKLINE(X_40 OR X_41,DIF,DEA,8,0),COLORGREEN; DRAWTEXT(FILTER(X_41,20),DIF*1.4,'371'),COLORMAGENTA; DRAWTEXT(FILTER(X_42,20),DIF+MACD,'消失'),COLORGREEN; 底:(-50); 顶:50; X_43:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14); X_44:=HIGH-REF(HIGH,1); X_45:=REF(LOW,1)-LOW; X_46:=SUM(IF(X_44>0 AND X_44>X_45,X_44,0),14); X_47:=SUM(IF(X_45>0 AND X_45>X_44,X_45,0),14); X_48:=X_46*100/X_43; X_49:=X_47*100/X_43; X_50:=BARSLAST(REF(CROSS(MACD.DIF(12,26,9),MACD.DEA(12,26,9)),1)); X_51:=REF(CLOSE,X_50+1)>CLOSE AND REF(MACD.DIF(12,26,9),X_50+1)<MACD.DIF(12,26,9) AND CROSS(MACD.DIF(12,26,9),MACD.DEA(12,26,9)); X_52:=BARSLAST(REF(CROSS(KDJ.K(9,3,3),KDJ.D(9,3,3)),1)); X_53:=REF(CLOSE,X_52+1)>CLOSE AND REF(KDJ.K(9,3,3),X_52+1)<KDJ.K(9,3,3) AND CROSS(KDJ.K(9,3,3),KDJ.D(9,3,3)); X_54:=BARSLAST(REF(CROSS(RSI.RSI1(6,12,24),RSI.RSI2(6,12,24)),1)); X_55:=REF(CLOSE,X_54+1)>CLOSE AND REF(RSI.RSI1(6,12,24),X_54+1)<RSI.RSI1(6,12,24) AND CROSS(RSI.RSI1(6,12,24),RSI.RSI2(6,12,24)); X_56:=BARSLAST(REF(CROSS(MACD.DEA(12,26,9),MACD.DIF(12,26,9)),1)); X_57:=REF(CLOSE,X_56+1)<CLOSE AND REF(MACD.DIF(12,26,9),X_56+1)>MACD.DIF(12,26,9) AND CROSS(MACD.DEA(12,26,9),MACD.DIF(12,26,9)); X_58:=BARSLAST(REF(CROSS(KDJ.D(9,3,3),KDJ.K(9,3,3)),1)); X_59:=REF(CLOSE,X_58+1)<CLOSE AND REF(KDJ.K(9,3,3),X_58+1)>KDJ.K(9,3,3) AND CROSS(KDJ.D(9,3,3),KDJ.K(9,3,3)); X_60:=BARSLAST(REF(CROSS(RSI.RSI2(6,12,24),RSI.RSI1(6,12,24)),1)); X_61:=REF(CLOSE,X_60+1)<CLOSE AND REF(RSI.RSI1(6,12,24),X_60+1)>RSI.RSI1(6,12,24) AND CROSS(RSI.RSI2(6,12,24),RSI.RSI1(6,12,24)); X_62:=BARSLAST(REF(CROSS(X_49,X_48),1)); X_63:=REF(CLOSE,CLOSE+1)<CLOSE AND REF(X_49,X_62+1)>X_49 AND CROSS(X_49,X_48); X_64:=BARSLAST(REF(CROSS(X_48,X_49),1)); X_65:=REF(CLOSE,X_64+1)>CLOSE AND REF(X_48,X_64+1)<X_48 AND CROSS(X_48,X_49); DMI底背:IF(X_65>0,(-50),0),POINTDOT,COLOR0099FF; DRAWTEXT(X_65>0,(-5),'DMI底背'),COLOR0099FF; DMI顶背:IF(X_63>0,50,0),POINTDOT,COLORBLUE; DRAWTEXT(X_63>0,15,'265'),COLORBLUE; MACD底背:IF(X_51>0,(-50),0),POINTDOT,COLORRED; DRAWTEXT(X_51>0,(-15),'266'),COLORRED; KDJ底背:IF(X_53>0,(-50),0),POINTDOT,COLORMAGENTA; DRAWTEXT(X_53>0,(-25),'267'),COLORMAGENTA; RSI底背:IF(X_55>0,(-50),0),POINTDOT,COLORYELLOW; DRAWTEXT(X_55>0,(-35),'RSI底背'),COLORYELLOW; MACD顶背:IF(X_57>0,50,0),POINTDOT,COLORGREEN; DRAWTEXT(X_57>0,25,'MACD顶背'),COLORGREEN; KDJ顶背:IF(X_59>0,50,0),POINTDOT,COLORFFCC66; DRAWTEXT(X_59>0,35,'270'),COLORFFCC66; RSI顶背:IF(X_61>0,50,0),POINTDOT,COLORWHITE; DRAWTEXT(X_61>0,45,'RSI背离'),COLORWHITE; STICKLINE(X_51>0,(-50),0,0,0),COLORRED; STICKLINE(X_53>0,(-50),0,0,0),COLORMAGENTA; STICKLINE(X_55>0,(-50),0,0,0),COLORYELLOW; STICKLINE(X_57>0,50,0,0,0),COLORGREEN; STICKLINE(X_59>0,50,0,0,0),COLORFFCC66; STICKLINE(X_61>0,50,0,0,0),COLORWHITE; STICKLINE(X_65>0,(-50),0,0,0),COLOR0099FF; STICKLINE(X_63>0,50,0,0,0),COLORBLUE; MA6:MA(CLOSE,6),NODRAW,COLORYELLOW,LINETHICK2; 操作均线:EMA(CLOSE,20),NODRAW,COLORYELLOW; 红升:IF(操作均线>REF(操作均线,1),操作均线,DRAWNULL),NODRAW,COLORRED,LINETHICK4; 绿降:IF(操作均线<REF(操作均线,1),操作均线,DRAWNULL),NODRAW,COLORCYAN,LINETHICK4; 趋势线:EMA(CLOSE,50),NODRAW,COLORYELLOW,LINETHICK2; 红升2:IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),POINTDOT,COLORRED,LINETHICK4; 绿降2:IF(趋势线<REF(趋势线,1),趋势线,DRAWNULL),POINTDOT,COLORCYAN,LINETHICK4; 买:IF(MA6>REF(MA6,1),MA6,DRAWNULL),NODRAW,COLORRED,LINETHICK2; 卖:IF(MA6<REF(MA6,1),MA6,DRAWNULL),NODRAW,COLORCYAN,LINETHICK2; X_66:=240/FROMOPEN; X_67:=X_66; X_68:=EMA(CLOSE,12)-EMA(CLOSE,26); X_69:=EMA(X_68,9); X_70:=X_68-X_69; X_71:=IF(X_70,LLV(LOW,21),DRAWNULL); X_72:=HHV(HIGH,80)*0.99; X_73:=CONST(X_72); X_74:=LLV(X_71,80); X_75:=CONST(X_74); X_76:=MA(CLOSE,20); X_77:=CLOSE>MA(CLOSE,5); X_78:=MA(CLOSE,5)>MA(CLOSE,10); X_79:=CLOSE>MA(CLOSE,10); X_80:=MA(CLOSE,5)>MA(CLOSE,20); X_81:=CLOSE>MA(CLOSE,20); X_82:=REF(X_76,1); X_83:=X_76>X_82; X_84:=IF(X_77,10,0-10)+IF(X_78,10,0-10)+IF(X_79,10,0-10)+IF(X_80,10,0-10)+IF(X_81,10,0-10)+IF(X_83,10,0-10); X_85:=CLOSE/INDEXC; X_86:=MA(X_85,5); X_87:=MA(X_85,10); X_88:=MA(VOL,5); X_89:=MA(VOL,10); X_90:=CONST(IF(X_84>0,200,100)); X_91:=CONST(IF(X_84>0,0,100)); X_92:=CONST(IF(X_84>0,100,100)); X_93:=X_73; X_94:=X_75; X_95:=X_73; X_96:=CONST(IF(CROSS(X_84,1) AND X_88>=X_89 AND X_85>=X_86,1,0)); X_97:=CONST(IF(CROSS(X_84,1) AND X_88<X_89 AND X_85>=X_86,1,0)); X_98:=CONST(IF(CROSS(X_84,1) AND X_88>X_89 AND X_85<X_86,1,0)); X_99:=CONST(IF(CROSS(X_84,1) AND X_88<=X_89 AND X_85<X_86,1,0)); X_100:=CONST(IF(CROSS(1,X_84) AND X_88>=X_89 AND X_85>=X_86,1,0)); X_101:=CONST(IF(CROSS(1,X_84) AND X_88<X_89 AND X_85>=X_86,1,0)); X_102:=CONST(IF(CROSS(1,X_84) AND X_88>=X_89 AND X_85<X_86,1,0)); X_103:=CONST(IF(CROSS(1,X_84) AND X_88<X_89 AND X_85<X_86,1,0)); X_104:=CONST(IF(X_84>=1 AND REF(X_84,1)>0 AND X_88>=X_89 AND X_85>=X_86,1,0)); X_105:=CONST(IF(X_84>=1 AND REF(X_84,1)>0 AND X_88<X_89 AND X_85>=X_86,1,0)); X_106:=CONST(IF(X_84>=1 AND REF(X_84,1)>0 AND X_88>=X_89 AND X_85<X_86,1,0)); X_107:=CONST(IF(X_84>=1 AND REF(X_84,1)>0 AND X_88<X_89 AND X_85<X_86,1,0)); X_108:=CONST(IF(X_84<1 AND REF(X_84,1)<0 AND X_88>=X_89 AND X_85>=X_86,1,0)); X_109:=CONST(IF(X_84<1 AND REF(X_84,1)<0 AND X_88<X_89 AND X_85>=X_86,1,0)); X_110:=CONST(IF(X_84<1 AND REF(X_84,1)<0 AND X_88>=X_89 AND X_85<X_86,1,0)); X_111:=CONST(IF(X_84<1 AND REF(X_84,1)<0 AND X_88<X_89 AND X_85<X_86,1,0)); X_112:=CONST(IF(CROSS(X_84,1) AND X_88>=X_89,1,0)); X_113:=CONST(IF(CROSS(X_84,1) AND X_88<X_89,1,0)); X_114:=CONST(IF(CROSS(1,X_84) AND X_88>=X_89,1,0)); X_115:=CONST(IF(CROSS(1,X_84) AND X_88<X_89,1,0)); X_116:=CONST(IF(X_84>=1 AND REF(X_84,1)>0 AND X_88>=X_89,1,0)); X_117:=CONST(IF(X_84>=1 AND REF(X_84,1)>0 AND X_88<X_89,1,0)); X_118:=CONST(IF(X_84<1 AND REF(X_84,1)<0 AND X_88>=X_89,1,0)); X_119:=CONST(IF(X_84<1 AND REF(X_84,1)<0 AND X_88<X_89,1,0)); X_120:=(HIGH-LOW)*1000000/(VOL*X_67); X_121:=X_120>=REF(X_120,1) AND VOL*X_67>=REF(VOL,1); X_122:=CONST(X_121); X_123:=X_120<REF(X_120,1) AND VOL*X_67<REF(VOL,1); X_124:=CONST(X_123); X_125:=X_120>=REF(X_120,1) AND VOL*X_67<REF(VOL,1); X_126:=CONST(X_125); X_127:=X_120<REF(X_120,1) AND VOL*X_67>=REF(VOL,1); X_128:=CONST(X_127); X_129:=(HIGH+LOW+CLOSE)/3; X_130:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE)); X_131:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-X_129); X_132:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW); X_133:=IF(HIGH=LOW,1,X_129-MIN(CLOSE,OPEN)); X_134:=VOL/IF(HIGH=LOW,4,HIGH-LOW); X_135:=X_130*X_134; X_136:=X_131*X_134; X_137:=X_132*X_134; X_138:=X_133*X_134; X_139:=DYNAINFO(23)*X_67; X_140:=DYNAINFO(22)*X_67; X_141:=IF(ISLASTBAR AND CLOSE>300,(X_138+X_137)*X_66,X_138+X_137); X_142:=IF(ISLASTBAR AND CLOSE>300,(X_135+X_136)*X_66,X_135+X_136); X_143:=IF(ISLASTBAR AND PERIOD=5 AND CLOSE<300,X_139,X_141); X_144:=IF(ISLASTBAR AND PERIOD=5 AND CLOSE<300,X_140,X_142); X_145:=(X_144+X_143)/REF(VOL,1)>2; X_146:=CONST(X_145); X_147:=REF(VOL,1)/(X_144+X_143)>1.5; X_148:=CONST(X_147); X_149:=(X_144-X_143)/X_143>0.4; X_150:=CONST(X_149); X_151:=(X_143-X_144)/X_144>0.4; X_152:=CONST(X_151); X_153:=IF(X_96=1,0.06+0.06,0.06); X_154:=IF(X_97=1,X_153+0.06,X_153); X_155:=IF(X_98=1,X_154+0.06,X_154); X_156:=IF(X_99=1,X_155+0.06,X_155); X_157:=IF(X_100=1,X_156+0.06,X_156); X_158:=IF(X_101=1,X_157+0.06,X_157); X_159:=IF(X_102=1,X_158+0.06,X_158); X_160:=IF(X_103=1,X_159+0.06,X_159); X_161:=IF(X_104=1,X_160+0.06,X_160); X_162:=IF(X_105=1,X_161+0.06,X_161); X_163:=IF(X_106=1,X_162+0.06,X_162); X_164:=IF(X_107=1,X_163+0.06,X_163); X_165:=IF(X_108=1,X_164+0.06,X_164); X_166:=IF(X_109=1,X_165+0.06,X_165); X_167:=IF(X_110=1,X_166+0.06,X_166); X_168:=IF(X_111=1,X_167+0.06,X_167); X_169:=IF(X_112=1,X_168+0.06,X_168); X_170:=IF(X_113=1,X_169+0.06,X_169); X_171:=IF(X_114=1,X_170+0.06,X_170); X_172:=IF(X_115=1,X_171+0.06,X_171); X_173:=IF(X_116=1,X_172+0.06,X_172); X_174:=IF(X_117=1,X_173+0.06,X_173); X_175:=IF(X_118=1,X_174+0.06,X_174); X_176:=IF(X_119=1,X_175+0.06,X_175); X_177:=IF(X_122=1,X_176+0.06,X_176); X_178:=IF(X_124=1,X_177+0.06,X_177); X_179:=IF(X_126=1,X_178+0.06,X_178); X_180:=IF(X_128=1,X_179+0.06,X_179); X_181:=IF(X_146=1,X_180+0.03,X_180); X_182:=IF(X_148=1,X_181+0.03,X_181); X_183:=IF(X_150=1,X_182+0.03,X_182); X_184:=IF(X_152=1,X_183+0.03,X_183); DRAWTEXT_FIX(X_96=1,0.1,0,0,'373'),COLORMAGENTA; DRAWTEXT_FIX(X_97=1,0.1,0,0,'374'),COLORMAGENTA; DRAWTEXT_FIX(X_98=1,0.1,0,0,'375'),COLORMAGENTA; DRAWTEXT_FIX(X_99=1,0.1,0,0,'376'),COLORMAGENTA; DRAWTEXT_FIX(X_100=1,0.1,0,0,'377'),COLORYELLOW; DRAWTEXT_FIX(X_101=1,0.1,0,0,'378'),COLORYELLOW; DRAWTEXT_FIX(X_102=1,0.1,0,0,'379'),COLORWHITE; DRAWTEXT_FIX(X_103=1,0.1,0,0,'380'),COLORCYAN; DRAWTEXT_FIX(X_104=1,0.1,0,0,'该股形态良好,强势明显,量能充足,可以维续持有'),COLORYELLOW; DRAWTEXT_FIX(X_105=1,0.1,0,0,'93'),COLORYELLOW; DRAWTEXT_FIX(X_106=1,0.1,0,0,'381'),COLORWHITE; DRAWTEXT_FIX(X_107=1,0.1,0,0,'382'),COLORCYAN; DRAWTEXT_FIX(X_108=1,0.1,0,0,'总势趋势不明:注意成交量变化,目前暂不适宜进场。'),COLORCYAN; DRAWTEXT_FIX(X_109=1,0.1,0,0,'384'),COLORCYAN; DRAWTEXT_FIX(X_110=1,0.1,0,0,'385'),COLORCYAN; DRAWTEXT_FIX(X_111=1,0.1,0,0,'386'),COLORWHITE; DRAWTEXT_FIX(X_112,0.1,0.05,0,'387'),COLORGREEN; DRAWTEXT_FIX(X_113,0.1,0.05,0,'388'),COLORMAGENTA; DRAWTEXT_FIX(X_114,0.1,0.05,0,'389'),COLORAAAAAA; DRAWTEXT_FIX(X_115,0.1,0.05,0,'390'),COLORWHITE; DRAWTEXT_FIX(X_116,0.1,0.05,0,'总势走势良好,量能理想,可继续持有或加仓强势股。'),COLORYELLOW; DRAWTEXT_FIX(X_117,0.1,0.05,0,'392'),COLORGREEN; DRAWTEXT_FIX(X_118,0.1,0.05,0,'总势趋势不明:注意成交量变化,目前暂不适宜进场。'),COLORWHITE; DRAWTEXT_FIX(X_119,0.1,0.05,0,'394'),COLORWHITE; DRAWTEXT_FIX(X_122,0.1,0.1,0,'395'),COLORWHITE; DRAWTEXT_FIX(X_124,0.1,0.1,0,'[衰退]实计交易量减少。MFI促进指数减少。'),COLORGREEN; DRAWTEXT_FIX(X_126,0.1,0.1,0,'[伪装] 实计交易里减少。MFI促进指数增加 。'),COLORGREEN; DRAWTEXT_FIX(X_128,0.1,0.1,0,'398'),COLORYELLOW; DRAWTEXT_FIX(X_146,0.1,0.15,0,'399'),COLORGREEN; DRAWTEXT_FIX(X_148,0.1,0.15,0,'★今天比昨天的成交里缩量一半以上。'),COLORYELLOW; DRAWTEXT_FIX(X_150,0.1,0.2,0,'401'),COLORGREEN; DRAWTEXT_FIX(X_152,0.1,0.2,0,'该股今天买入重大于卖出童40%以上。'),COLORYELLOW; |