{M平均线}
input:出货(1.5,0,10),第一(1.2,0,10),突破(1.07,0,10),心理(1.2,0,10),调(30,0,999),参数(4,0,100),N(5,0,999),N1(10,0,999),N2(20,0,999),N3(89,0,999),调1(14,0,999);
DRAWTEXTREL(0,10,'【代码:'+STKLABEL+' 名称:'+STKNAME+'】'),linethick2,colorWhite;
A1:=DISPSTATUS = 2;
A2:=REF(HIGH,参数);
A3:=REF(LOW,参数);
A4:=HHV(A2,调);
A5:=LLV(A3,调);
A6:=HHV(HIGH,调);
A7:=LLV(LOW,调);
A8:=DYNAINFO(7);
A9:=DYNAINFO(5);
A10:=DYNAINFO(6);
A11:=A8 - A7;
A12:=(A11 / A7) * 100;
A13:=A6 - A10;
A14:=(A13 / A10) * 100;
A15:=A6 - A7;
A16:=(A15 / A7) * 100;
A17:=A4 - A5;
A18:=(A17 / A5) * 100;
DRAWTEXTREL(13,285,' 最低/当前幅度 :('+NUMTOSTRN(A12,2)+'%)'+'涨('+NUMTOSTRN(A11,2)+')'+')'),colorWhite;
DRAWTEXTREL(13,300,' 从最低到最高幅度 :('+NUMTOSTRN(A16,2)+'%)'+'涨('+NUMTOSTRN(A15,2)+')'+')'),ColorFEBAF5;
DRAWTEXTREL(10,35,'【调天:'+NUMTOSTRN(调,0)+'天】'),linethick3,ColorFEBAF5;
振幅:((HIGH - LOW) / LOW) * 100,linethick0,colorYellow;
差价:(HIGH - LOW),linethick0,colorYellow;
DRAWTEXTREL(0,55,' 【当天幅度:'+NUMTOSTRN(振幅,2)+'% '+NUMTOSTRN((HIGH - LOW),2)+'元 】'),linethick3,colorGreen;
STICKLINE((振幅 >= 5),HIGH,LOW,0,0),colorGreen;
A19:=(((HIGH + LOW) + OPEN) + (2 * CLOSE)) / 5;
A20:=A19 + (HIGH - LOW);
A21:=(A19 * 2) - LOW;
A22:=(A19 * 2) - HIGH;
A23:=A19 - (HIGH - LOW);
A24:=((((A19 + A20) + A21) + A22) + A23) / 5;
A25:=REF(A20,1);
A26:=REF(A21,1);
A27:=REF(A22,1);
A28:=REF(A23,1);
A29:=REF(A24,1);
DRAWTEXTABS(13,80,'今/明日上升突破点价 :'+NUMTOSTRN(A25,2)+'/'+NUMTOSTRN(A20,2)+NUMTOSTRN(A20,2)),linethick3,colorGreen;
DRAWTEXTABS(13,100,'今/明日上升阻力价位 :'+NUMTOSTRN(A26,2)+'/'+NUMTOSTRN(A21,2)+NUMTOSTRN(A21,2)),linethick3,colorGreen;
DRAWTEXTABS(13,120,'今/明日下跌支撑价位 :'+NUMTOSTRN(A27,2)+'/'+NUMTOSTRN(A22,2)+NUMTOSTRN(A22,2)),linethick3,colorYellow;
DRAWTEXTABS(13,140,'今/明日下跌反转点价位:'+NUMTOSTRN(A28,2)+'/'+NUMTOSTRN(A23,2)+NUMTOSTRN(A23,2)),linethick3,colorYellow;
DRAWTEXTABS(13,160,'今/明日 心理价位 :'+NUMTOSTRN(A29,2)+'/'+NUMTOSTRN(A24,2)+NUMTOSTRN(A24,2)),linethick3,ColorFEFFFF;
A30:=出货 * A7;
A31:=第一 * A7;
A32:=A31 - A7;
A33:=A30 - A7;
A34:=突破 * A6;
A35:=A34 - A6;
A36:=心理 * 1.2;
A37:=A36 - A6;
DRAWTEXTABS(13,220,' 第一目标位:('+NUMTOSTRN(A31,2)+'元)'+' 利润空间('+NUMTOSTRN(A32,2)+')'+')'),linethick3,colorWhite;
DRAWTEXTABS(13,240,' 出货目标位:('+NUMTOSTRN(A30,2)+'元)'+' 利润空间('+NUMTOSTRN(A33,2)+')'+')'),linethick3,colorWhite;
DRAWTEXTABS(13,260,' 突破前期高点后目标位:'+NUMTOSTRN(突破,2)+'倍('+'倍('+NUMTOSTRN(A34,2)+'元)'+' 利润空间('+NUMTOSTRN(A35,2)+')'+')'),linethick3,colorWhite;
A38:=CLOSE * 1.015;
A39:=CLOSE * 1.025;
A40:=REF(A38,1);
A41:=REF(A39,1);
DRAWTEXTABS(13,180,'今/明日 短线赢利 [1.5%--2.5%:]'+NUMTOSTRN(A40,2)+'--'+NUMTOSTRN(A41,2)+'/'+NUMTOSTRN(A38,2)+'--'+NUMTOSTRN(A39,2)),linethick3,ColorFEBAF5;
A42:=A5 - A4;
A43:=A4 - (A17 * 0.191);
A44:=((A4 - (A17 * 0.125)));
A45:=A4 - (A17 * 0.78);
A46:=A5 - (A42 * 1.03);
A47:=A5 - (A42 * 1.125);
A48:=A5 - (A42 * 2);
A49:=A4 - (A17 * 0.5);
A50:=A4 - (A17 * 0.382);
A51:=A4 - (A17 * 0.333);
A52:=A4 - (A17 * 0.85);
A53:=A5 - (A42 * 1.08);
A54:=A5 - (A42 * 1.333);
A55:=A4 - (A17 * 0.618);
A56:=A4 - (A17 * 0.667);
A57:=A4 - (A17 * 0.95);
A58:=A5 - (A42 * 1.1);
A59:=A5 - (A42 * 1.667);
A60:=((A4 - (A17 * 0.809)));
A61:=A4 - (A17 * 0.875);
A62:=A4 - (A17 * 0.45);
A63:=A5 - (A42 * 1.15);
A64:=A5 - (A42 * 1.875);
A65:=(A49);
A66:=A4 - (A17 * 0.375);
A67:=A4 - (A17 * 0.55);
A68:=A5 - (A42 * 1.02);
A69:=A5 - (A42 * 1.375);
A70:=((A4 - (A17 * 0.03)));
A71:=A4 - (A17 * 0.625);
A72:=A5 - (A42 * 1.191);
A73:=A5 - (A42 * 1.45);
A74:=A5 - (A42 * 1.625);
A75:=((A4 - (A17 * 0.05)));
A76:=A4 - (A17 * 0.22);
A77:=A5 - (A42 * 1.382);
A78:=A5 - (A42 * 1.55);
A79:=A5 - (A42 * 1.22);
A80:=((A4 - (A17 * 0.1)));
A81:=A4 - (A17 * 0.25);
A82:=A5 - (A42 * 1.618);
A83:=A5 - (A42 * 1.05);
A84:=A5 - (A42 * 1.28);
A85:=((A4 - (A17 * 0.15)));
A86:=A4 - (A17 * 0.28);
A87:=A5 - (A42 * 1.809);
A88:=A5 - (A42 * 1.9);
A89:=A5 - (A42 * 1.72);
A90:=((A4 - (A17 * 0.9)));
A91:=A4 - (A17 * 0.72);
A92:=A5 - (A42 * 1.5);
A93:=A5 - (A42 * 1.95);
A94:=A5 - (A42 * 1.78);
A95:=A4 - (A17 * 0.75);
A96:=A5 - (A42 * 1.53);
A97:=A5 - (A42 * 1.75);
A98:=A5 - (A42 * 1.25);
DRAWTEXT(A1,A92,'150%:'+NUMTOSTRN(A92,2)+' ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),linethick1,ALIGN2,Color208FFF;
DRAWTEXT(A1,A4,NUMTOSTRN(A4,3)+',★0.000(高点) ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),linethick3,ALIGN2,Color20FF20;
DRAWTEXT(A1,A5,'(低点) ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄'),linethick1,ALIGN2,Color20FF20;
DRAWTEXT(A1,A5,NUMTOSTRN(A5,2)),linethick1,colorCyan;
DRAWTEXT(A1,A68,'--'),linethick1,ALIGN2,Color00DD00;
DRAWTEXT(A1,A83,NUMTOSTRN(A83,2)+'﹊'),linethick1,ALIGN2,Color00DD00;
DRAWTEXT(A1,A58,NUMTOSTRN(A58,2)+'﹊﹊'),linethick1,ALIGN2,ColorEEEEEE;
DRAWTEXT(A1,A73,'145%:'+NUMTOSTRN(A73,2)+'﹉﹉﹉﹉'),linethick3,ALIGN2,colorWhite;
DRAWTEXT(A1,A63,'115%:'+NUMTOSTRN(A63,2)+'﹉﹉﹉﹉'),linethick3,ALIGN2,Color208FFF;
DRAWTEXT(A1,A47,NUMTOSTRN(A47,2)+'﹋﹋﹋﹋﹋﹋'),linethick1,ALIGN2,ColorFEBAF5;
DRAWTEXT(A1,A72,NUMTOSTRN(A72,2)+'﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),linethick1,ALIGN2,colorYellow;
DRAWTEXT(A1,A79,NUMTOSTRN(A79,2)+'﹊'),linethick1,ALIGN2,ColorDDDD00;
DRAWTEXT(A1,A98,'125%:'+NUMTOSTRN(A98,2)+'﹉﹉﹉﹉'),linethick1,ALIGN2,Color208FFF;
DRAWTEXT(A1,A54,NUMTOSTRN(A54,2)+'﹋﹋﹋﹋﹋﹋'),linethick1,ALIGN2,ColorFEBAF5;
DRAWTEXT(A1,A77,NUMTOSTRN(A77,2)+'﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),linethick1,ALIGN2,colorYellow;
DRAWTEXT(A1,A84,NUMTOSTRN(A84,2)+'﹊'),linethick1,ALIGN2,ColorDDDD00;
DRAWTEXT(A1,A49,NUMTOSTRN(A49,2)+',★50%﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),linethick3,ALIGN2,colorWhite;
DRAWTEXT(A1,A62,NUMTOSTRN(A62,2)+'﹉﹉'),linethick1,ALIGN2,Color208FFF;
DRAWTEXT(A1,A67,NUMTOSTRN(A67,2)+'﹉﹉'),linethick1,ALIGN2,Color208FFF;
DRAWTEXT(A1,A95,NUMTOSTRN(A95,2)+'﹉﹉'),linethick1,ALIGN2,Color208FFF;
DRAWTEXT(A1,A81,NUMTOSTRN(A81,2)+'﹉﹉'),linethick1,ALIGN2,Color208FFF;
DRAWTEXT(A1,A75,NUMTOSTRN(A75,2)+'﹊﹊'),linethick1,ALIGN2,colorCyan;
DRAWTEXT(A1,A57,'﹊﹊'),linethick1,ALIGN2,colorCyan;
DRAWTEXT(A1,A44,NUMTOSTRN(A44,2)+'﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋'),linethick1,ALIGN2,ColorFEBAF5;
DRAWTEXT(A1,A51,NUMTOSTRN(A51,2)+'﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋'),linethick1,ALIGN2,ColorFEBAF5;
DRAWTEXT(A1,A56,NUMTOSTRN(A56,2)+'﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋'),linethick1,ALIGN2,ColorFEBAF5;
DRAWTEXT(A1,A61,NUMTOSTRN(A61,2)+'﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋'),linethick1,ALIGN2,ColorFEBAF5;
DRAWTEXT(A1,A90,'﹊﹊'),linethick1,ALIGN2,ColorF0FF00;
DRAWTEXT(A1,A80,'﹊﹊'),linethick1,ALIGN2,ColorF0FF00;
DRAWTEXT(A1,A76,'﹊ ﹊ '),linethick1,ALIGN2,ColorF0FF00;
DRAWTEXT(A1,A86,NUMTOSTRN(A86,2)+'﹊ ﹊﹊﹊﹊ '),linethick1,ALIGN2,ColorF0FF00;
DRAWTEXT(A1,A91,NUMTOSTRN(A91,2)+'﹊ ﹊﹊﹊ '),linethick1,ALIGN2,ColorF0FF00;
DRAWTEXT(A1,A45,'﹊ ﹊ '),linethick1,ALIGN2,ColorF0FF00;
DRAWTEXT(A1,A85,NUMTOSTRN(A85,2)+'﹋'),ALIGN2,ColorC8E3FF;
DRAWTEXT(A1,A52,NUMTOSTRN(A52,2)+'﹋'),ALIGN2,ColorC8E3FF;
DRAWTEXT(A1,A43,NUMTOSTRN(A43,2)+'★0.191﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),linethick3,ALIGN2,colorYellow;
DRAWTEXT(A1,A50,NUMTOSTRN(A50,2)+'★0.382﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),linethick3,ALIGN2,colorYellow;
DRAWTEXT(A1,A55,NUMTOSTRN(A55,2)+'★0.618﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),linethick3,ALIGN2,colorYellow;
DRAWTEXT(A1,A60,NUMTOSTRN(A60,2)+'★0.809﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉﹉'),linethick3,ALIGN2,colorYellow;
A60:=((MA(CLOSE,20)));
A65:=((CLOSE > (MA(CLOSE,5))));
A70:=(((MA(CLOSE,5)) > (MA(CLOSE,10))));
A75:=((CLOSE > (MA(CLOSE,10))));
A80:=(((MA(CLOSE,5)) > (MA(CLOSE,20))));
A85:=((CLOSE > (MA(CLOSE,20))));
A90:=REF(A60,1);
A44:=A60 > A90;
A99:=(((((IF(A65,10,(0 - 10))) + (IF(A70,10,(0 - 10)))) + (IF(A75,10,(0 - 10)))) + (IF(A80,10,(0 - 10)))) + (IF(A85,10,(0 - 10)))) + (IF(A44,10,(0 - 10)));
A100:=CLOSE / INDEXC;
A101:=MA(A100,5);
A102:=MA(A100,10);
A103:=MA(VOL,5);
A104:=MA(VOL,10);
A105:=REF(CLOSE,1);
A106:=IF((CLOSE > 200),(CLOSE * 1.01),(CLOSE * 1.07));
A107:=IF((CLOSE < 10),(CLOSE * 1.05),A106);
A108:=IF((CLOSE > 200),(CLOSE * 0.99),(CLOSE * 0.93));
A109:=IF((CLOSE < 10),(CLOSE * 0.95),A108);
A110:=IF((A105 > 200),(A105 * 1.01),(A105 * 1.07));
A111:=IF((A105 < 10),(A105 * 1.05),A110);
A112:=IF((A105 > 200),(A105 * 0.99),(A105 * 0.93));
A113:=IF((A105 < 10),(A105 * 0.95),A112);
A114:=(BARSTATUS = 2) AND (CLOSE < 200);
A115:=(BARSTATUS = 2) AND (CLOSE > 200);
DRAWTEXTABS(18,200,'[昨/今日 止损位 :'+NUMTOSTRN(A112,2)+'/'+NUMTOSTRN(A109,2)+'**]'),linethick3,colorGreen;
A116:=BARSLAST((DISPSTATUS = 1)) + 1;
A117:=HHV(HIGH,A116);
A118:=LLV(LOW,A116);
A119:=HHV(A78,A116);
DRAWTEXT((A114 AND (((CROSS(A99,1)) AND (A103 >= A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),ALIGN2,colorRed;
DRAWTEXT((A114 AND (((CROSS(A99,1)) AND (A103 < A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),ALIGN2,colorRed;
DRAWTEXT((A114 AND (((CROSS(A99,1)) AND (A103 > A104)) AND (A100 < A101))),(A119 * 0.99),'*该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),ALIGN2,colorRed;
DRAWTEXT((A114 AND (((CROSS(A99,1)) AND (A103 <= A104)) AND (A100 < A101))),(A119 * 0.99),'*该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),ALIGN2,colorRed;
DRAWTEXT((A114 AND (((CROSS(1,A99)) AND (A103 >= A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),ALIGN2,colorGreen;
DRAWTEXT((A114 AND (((CROSS(1,A99)) AND (A103 < A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 '),ALIGN2,colorGreen;
DRAWTEXT((A114 AND (((CROSS(1,A99)) AND (A103 >= A104)) AND (A100 < A101))),(A119 * 0.99),'*该股放量下跌,走势明显偏弱,离场观望。 '),ALIGN2,colorGreen;
DRAWTEXT((A114 AND (((CROSS(1,A99)) AND (A103 < A104)) AND (A100 < A101))),(A119 * 0.99),'*该股缩量下跌,走势偏弱,离场观望。 '),ALIGN2,colorGreen;
DRAWTEXT((A114 AND ((((A99 >= 1) AND ((REF(A99,1)) > 0)) AND (A103 >= A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股形态良好,强势明显,量能充足,可以继续持有。 '),ALIGN2,colorYellow;
DRAWTEXT((A114 AND ((((A99 >= 1) AND ((REF(A99,1)) > 0)) AND (A103 < A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),ALIGN2,colorYellow;
DRAWTEXT((A114 AND ((((A99 >= 1) AND ((REF(A99,1)) > 0)) AND (A103 >= A104)) AND (A100 < A101))),(A119 * 0.99),'*该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),ALIGN2,colorYellow;
DRAWTEXT((A114 AND ((((A99 >= 1) AND ((REF(A99,1)) > 0)) AND (A103 < A104)) AND (A100 < A101))),(A119 * 0.99),'*该股走势趋弱,量能不足,减持大部分筹码。 '),ALIGN2,colorYellow;
DRAWTEXT((A114 AND ((((A99 < 1) AND ((REF(A99,1)) < 0)) AND (A103 >= A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股形态不佳,注意成交量的变化,但目前不适合参与。 '),ALIGN2;
DRAWTEXT((A114 AND ((((A99 < 1) AND ((REF(A99,1)) < 0)) AND (A103 < A104)) AND (A100 >= A101))),(A119 * 0.99),'*该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),ALIGN2;
DRAWTEXT((A114 AND ((((A99 < 1) AND ((REF(A99,1)) < 0)) AND (A103 >= A104)) AND (A100 < A101))),(A119 * 0.99),'*该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),ALIGN2;
DRAWTEXT((A114 AND ((((A99 < 1) AND ((REF(A99,1)) < 0)) AND (A103 < A104)) AND (A100 < A101))),(A119 * 0.99),'*该股走势太弱,没有参与价值。 '),ALIGN2;
DRAWTEXT((A115 AND ((CROSS(A99,1)) AND (A103 >= A104))),(A119 * 0.99),'*大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),ALIGN2,colorRed;
DRAWTEXT((A115 AND ((CROSS(A99,1)) AND (A103 >= A104))),(A119 * 0.98),'* 如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),ALIGN2,colorRed;
DRAWTEXT((A115 AND ((CROSS(A99,1)) AND (A103 < A104))),(A119 * 0.99),'*大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),ALIGN2,colorRed;
DRAWTEXT((A115 AND ((CROSS(A99,1)) AND (A103 < A104))),(A119 * 0.98),' *可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),ALIGN2,colorRed;
DRAWTEXT((A115 AND ((CROSS(1,A99)) AND (A103 >= A104))),(A119 * 0.99),'*大盘形态走坏,重仓者可以减去大部分仓位。 '),ALIGN2,colorGreen;
DRAWTEXT((A115 AND ((CROSS(1,A99)) AND (A103 < A104))),(A119 * 0.99),'*大盘缩量调整,注意风险,短线清仓观望。 '),ALIGN2,colorGreen;
DRAWTEXT((A115 AND (((A99 >= 1) AND ((REF(A99,1)) > 0)) AND (A103 >= A104))),(A119 * 0.99),'*大盘走势良好,量能理想,可以继续持有强势股。 '),ALIGN2,colorYellow;
DRAWTEXT((A115 AND (((A99 >= 1) AND ((REF(A99,1)) > 0)) AND (A103 < A104))),(A119 * 0.99),'*大盘形态良好,但量能稍显不足,随时准备减仓。 '),ALIGN2,colorYellow;
DRAWTEXT((A115 AND (((A99 < 1) AND ((REF(A99,1)) < 0)) AND (A103 >= A104))),(A119 * 0.99),'*大盘趋势不明,注意成交量变化,目前不适宜进场。 '),ALIGN2;
DRAWTEXT((A115 AND (((A99 < 1) AND ((REF(A99,1)) < 0)) AND (A103 < A104))),(A119 * 0.99),'*大盘趋势向下,量能萎缩,不适合进场。 '),ALIGN2;