迎接2016 通达信自用集粹主图源码
TT10:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
TT11:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
TT12:=CONST(IF(C<200 AND ((((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
TT13:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX >= DSLX1)),1,0));
TT14:=CONST(IF( C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX >= DSLX1)),1,0));
TT15:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)) AND (DSLX < DSLX1)),1,0));
TT16:=CONST(IF(C<200 AND ((((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)) AND (DSLX < DSLX1)),1,0));
TT17:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));
TT18:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 >= V2)),1,0));
TT19:=CONST(IF(C>200 AND (CROSS(AVX,1) AND (V1 < V2)),1,0));
TT20:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 >= V2)),1,0));
TT21:=CONST(IF(C>200 AND (CROSS(1,AVX) AND (V1 < V2)),1,0));
TT22:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 >= V2)),1,0));
TT23:=CONST(IF(C>200 AND (((AVX >= 1) AND (REF(AVX,1) > 0)) AND (V1 < V2)),1,0));
TT24:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 >= V2)),1,0));
TT25:=CONST(IF(C>200 AND (((AVX < 1) AND (REF(AVX,1) < 0)) AND (V1 < V2)),1,0));
DRAWTEXT_FIX(TT1=1,0.4,0.9,0,"量能理想,明显走强,中线参与,仓位在2/3左右。") COLORFFFFFF;
DRAWTEXT_FIX(TT2=1,0.4,0.9,0,"走势趋强,还显不足,短线进场,仓位在1/2左右。") COLORFFFFFF;
DRAWTEXT_FIX(TT3=1,0.4,0.9,0,"量价良好,没有明显走强,短线进场,仓位1/2左右。") COLORFFFFFF;
DRAWTEXT_FIX(TT4=1,0.4,0.9,0,"形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右。") COLORFFFFFF;
DRAWTEXT_FIX(TT5=1,0.4,0.9,0,"形态变坏,重仓者减持大半,清仓者观望。") COLORFFFFFF;
DRAWTEXT_FIX(TT6=1,0.4,0.9,0,"随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓。") COLORFFFFFF;
DRAWTEXT_FIX(TT7=1,0.4,0.9,0,"该股放量下跌,走势明显偏弱,离场观望。") COLORFFFFFF;
DRAWTEXT_FIX(TT8=1,0.4,0.9,0,"该股缩量下跌,走势偏弱,离场观望。") COLORFFFFFF;
DRAWTEXT_FIX(TT9=1,0.4,0.9,0,"该股形态良好,强势明显,量能充足,可以继续持有。") COLORFFFFFF;
DRAWTEXT_FIX(TT10=1,0.4,0.9,0,"上行趋势不变,强势依然,量能开始转弱,注意风险。") COLORFFFFFF;
DRAWTEXT_FIX(TT11=1,0.4,0.9,0,"该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。") COLORFFFFFF;
DRAWTEXT_FIX(TT12=1,0.4,0.9,0,"该股走势趋弱,量能不足,减持大部分筹码。") COLORFFFFFF;
DRAWTEXT_FIX(TT13=1,0.4,0.9,0,"该股形态不佳,注意成交量的变化,目前不适合参与。") COLORFFFFFF;
DRAWTEXT_FIX(TT14=1,0.4,0.9,0,"趋势不明,股价偏弱,注意量能变化,目前不宜参与。") COLORFFFFFF;
DRAWTEXT_FIX(TT15=1,0.4,0.9,0,"有走强迹象,但量能不足,趋势不明,不适合操作。") COLORFFFFFF;
DRAWTEXT_FIX(TT16=1,0.4,0.9,0,"该股走势太弱,没有参与价值。") COLORFFFFFF;
DRAWTEXT_FIX(TT17=1,0.4,0.9,0,"大盘理想,有明显走强迹象,中线参与,仓位在2/3左右。") COLORFFFFFF;
DRAWTEXT_FIX(TT18=1,0.4,0.9,0,"如前期经过一轮下跌,最佳买点,前期有过一段涨幅需谨慎。") COLORFFFFFF;
DRAWTEXT_FIX(TT19=1,0.4,0.9,0,"考虑短线进场,仓位在1/2左右,一旦量能放大,加仓买入。") COLORFFFFFF;
DRAWTEXT_FIX(TT20=1,0.4,0.9,0,"大盘形态走坏,重仓者可以减去大部分仓位。") COLORFFFFFF;
DRAWTEXT_FIX(TT21=1,0.4,0.9,0,"大盘缩量调整,注意风险,短线清仓观望。") COLORFFFFFF;
DRAWTEXT_FIX(TT22=1,0.4,0.9,0,"大盘走势良好,量能理想,可以继续持有强势股。") COLORFFFFFF;
DRAWTEXT_FIX(TT23=1,0.4,0.9,0,"大盘形态良好,但量能稍显不足,随时准备减仓。") COLORFFFFFF;
DRAWTEXT_FIX(TT24=1,0.4,0.9,0,"大盘趋势不明,注意成交量变化,目前不适宜进场。") COLORFFFFFF;
DRAWTEXT_FIX(TT25=1,0.4,0.9,0,"大盘趋势向下,量能萎缩,不适合进场。") COLORFFFFFF;
{K线文字解盘2,可以删去}
TT:=240/FROMOPEN;
比:=TT;
J12:=(HIGH - ((HIGH - LOW) / 3));
J23:=(LOW + ((HIGH - LOW) / 3));
AAA:=CONST(HHV(H,190));
BBB:=CONST(LLV(L,180));
DRAWKLINE(H,O,L,C);
T1{早晨之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) < 0.95 AND REF(OPEN,1)
< REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.03 AND
CLOSE/OPEN>1.05 AND CLOSE>REF(CLOSE,2)),1,0));
T2{黄昏之星}:=CONST(IF((REF(CLOSE,2)/REF(OPEN,2) > 1.03 AND REF(OPEN,1)
> REF(CLOSE,2) AND ABS(REF(OPEN,1)-REF(CLOSE,1))/REF(CLOSE,1)<0.02