如何判断一个指标是否是好指标?
指标的意义在于提示主力的异动。那么怎么才有利于我们更快更容易把握住主力脉搏呢?我们应该力求指标及时的、准确的、明确的、简洁的、直观的将主力的异动汇报给我们。
及时、准确是指标的生命线,不准确或不及时的信号都会贻误战机,这是指标的内在要求。
但是指标作为一种图形化的信息,达到人的大脑需要经过视觉系统的转化,为了更快捷的进行信息转化,势必要求指标所呈现的图形简明扼要,能让人直观的把握要领,否则,让人看得晕头转向,同样会降低决策效率和反应速度。因此,这是指标的外在要求。
主图
DRAWGBK(C>0, RGB(0,108,108),RGB(108,38,38),0,'11',0);
生命线:=MA(C,60);
牛熊线:=MA(C,120);
DRAWBAND(生命线,RGB(200,50,55),牛熊线,RGB(0,100,50));
DRAWKLINE(H,O,L,C);
压力:=MA(REF(HHV(C,30),1),2);
支撑:=MA(REF(LLV(C,30),1),2);
中:(MA(C,3)+MA(C,6)+MA(C,12)+MA(C,24))/4,COLORFFFF00,LINETHICK2;
IF(中>=REF(中,1), 中 ,DRAWNULL),LINETHICK2,COLOR00FFFF,;
上:BBI+3*STD(BBI,10),COLOR00FF00,CIRCLEDOT;
下:BBI-3*STD(BBI,10),COLOR0000FF,CIRCLEDOT;
安全:=MA(C,30),CIRCLEDOT,COLORFF00FF;
TJ1:=下*1.05>中 AND 中*1.05>上 AND 中>=REF(中,1) AND REF(中,1)>=REF(中,2);
TJ2:=LLV(REF(VOL,1),60);
VAR91:=REF(V,1)+REF(V,2)+REF(V,3)+REF(V,4)+REF(V,5);
VAR92:=VAR91/5;
LB:=V/VAR92;
TJ8:=C>LLV(LOW,120)*1.38;
VAR2:=(HIGH-LOW);
VAR3:=ABS((OPEN-CLOSE));
VAR4:=(HIGH-IF((CLOSE>OPEN),CLOSE,OPEN));
VAR5:=(IF((CLOSE>OPEN),OPEN,CLOSE)-LOW);
VAR6:=((VAR3/VAR2)*VOL);
VAR7:=((VAR4/VAR2)*VOL);
VAR8:=((VAR5/VAR2)*VOL);
GG:=(VAR6>=VAR7) AND (VAR6>=VAR8) AND (CLOSE>OPEN);
TJ3:=LB>2 OR VOL/REF(VOL,1)>2 AND GG;
WLT1:=EMA(C,3);
WLT2:=EMA(C,5);
WLT3:=EMA(WLT2,5);
QQ:=C<上;
MM:=WLT1<REF(WLT1,1);
DD:=QQ AND MM;
TJ6:=COUNT(DD,7)=1;
TJ7:=C<LLV(LOW,250)*2.1;
XG:=FILTER(TJ1 AND TJ7 AND TJ3,5) AND C<支撑*1.13;
DRAWICON(XG,L,23);
DRAWICON(TJ6 AND MM AND TJ8 AND 上>中*1.1,HIGH*1.01,19);
TJ81:=中>=REF(中,1) AND LAST(中<=REF(中,1),8,1) AND CROSS(C,中) AND C<支撑*1.13;
TJ82:=中>=REF(中,1) AND LAST(中<=REF(中,1),5,1) AND CROSS(C,中) AND C<HHV(H,55)*0.72 AND C<支撑*1.13;
布林兔:=(TJ82 OR TJ81) AND LAST(MA(C,120)>MA(C,60),34,0);
布林牛:=(TJ82 OR TJ81) AND MA(C,120)<MA(C,60) AND C<LLV(L,55)*1.5 AND C>MA(C,120);
DRAWICON(布林兔,LOW*0.997,26);
DRAWICON(布林牛,LOW*0.99,23);
DRAWTEXT(布林兔,L*0.987,'兔');
DRAWTEXT(布林牛,L*0.987,'牛');
DRAWBAND(WLT1,RGB(158,38,158),WLT2,RGB(0,38,138));
STICKLINE(CLOSE> REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORRED;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR000099;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLOR0000CC;
STICKLINE(CLOSE> REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLOR0000FF;
STICKLINE(CLOSE< REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORCYAN;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999900;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBB00;
STICKLINE(CLOSE< REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFF00;
STICKLINE(CLOSE= REF(CLOSE,1) ,HIGH,LOW,0,1 ),COLORWHITE;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,3,0 ),COLOR999999;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,1.5,0 ),COLORBBBBBB;
STICKLINE(CLOSE= REF(CLOSE,1) ,OPEN,CLOSE,0.1,0 ),COLORFFFFFF;
STICKLINE(TJ82 OR TJ81 ,O,(C+O)/2,5,0 ),COLOR00FFFF;
遵:IF(WLT1>=WLT2,WLT1,DRAWNULL),COLORRED;
守:IF(WLT2>=WLT1,WLT2,DRAWNULL),COLORFF9900;
纪:IF(WLT1>=WLT2,WLT2,DRAWNULL),COLOR00FFFF;
律:IF(WLT2>=WLT1,WLT1,DRAWNULL),COLOR00FF00;
IF(生命线>=牛熊线,生命线,DRAWNULL),COLORRED;
IF(牛熊线>=生命线,牛熊线,DRAWNULL),COLORFF9900;
IF(生命线>=牛熊线,牛熊线,DRAWNULL),COLOR00FFFF;
IF(牛熊线>=生命线,生命线,DRAWNULL),COLOR00FF00;
DRAWTEXT_FIX(1,0.0,0.06,0,DYBLOCK),COLOR0079FF;
DRAWTEXT_FIX(1,0.06,0.06,0,HYBLOCK),COLORFFFFFF;
DRAWTEXT_FIX(1,0.12,0.06,0,EXTERNSTR(0,10)),COLOR0077FF;
DRAWTEXT_FIX(1,0.0,0.00,0,'★理念★:★趋势为先,看长做短, 波段操作★
★★严守纪律, 坚决止损★★ ★★★永远不要让个股的亏损超过5-7℅!★★★'),COLORFF66FF;
副图1
{主力吸筹}
N1:=9;N2:=5;
MTM:=C-REF(C,1);
主力轨迹:100*EMA(EMA(MTM,N1),N1)/EMA(EMA(ABS(MTM),N1),N1),COLORRED;
MAZL:MA(主力轨迹,N2),COLORBLUE;
VAR1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VAR2:=SMA(ABS(LOW-VAR1),13,1)/SMA(MAX(LOW-VAR1,0),10,1);
VAR3:=EMA(VAR2,10);
VAR4:=LLV(LOW,33);
VAR5:=EMA(IF(LOW<=VAR4,VAR3,0),3);
主力进场:IF(VAR5>REF(VAR5,1),VAR5,0),COLORRED,NODRAW;
STICKLINE(VAR5>REF(VAR5,1),0,VAR5,1,0 ),COLORRED;
洗盘:IF(VAR5<REF(VAR5,1),VAR5,0),COLORBLUE,NODRAW;
STICKLINE(VAR5<REF(VAR5,1),0,VAR5,1,0),COLORBLUE;
VAR21:=SMA(ABS(HIGH-VAR1),13,1)/SMA(MIN(HIGH-VAR1,0),10,1);
VAR31:=EMA(VAR21,10);
VAR41:=HHV(HIGH,33);
VAR51:=EMA(IF(HIGH>=VAR41,VAR31,0),3);
主力拉高:IF(VAR51<REF(VAR51,1),VAR51,0),COLORMAGENTA,NODRAW;
STICKLINE(VAR51<REF(VAR51,1),0,VAR51,1,0),COLORMAGENTA;
出货:IF(VAR51>REF(VAR51,1),VAR51,0),COLORGREEN,NODRAW;
STICKLINE(VAR51>REF(VAR51,1),0,VAR51,1,0 ),COLORGREEN;
逃顶:=IF(CROSS(82,RSI),50,0),COLORRED,LINETHICK1;
{顶底}
D1:=(C+L+H)/3;
D2:=EMA(D1,6);
D3:=EMA(D2,5);
BBUY:=CROSS(D2,D3);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWTEXT(CROSS(82,VARR1),35,'--出'),COLORRED;
趋势线:=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);
抄底:=IF(CROSS(趋势线,6),50,0),COLORBLUE,LINETHICK1;
DRAWTEXT(FILTER(抄底,10)=1,35,'--抄'),COLORBLUE,LINETHICK1;
{钻石底}
A1:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
A2:=SMA(A1,3.1,1);
A3:=SMA(A2,3.1,1);
出击:=3*A2-2*A3,COLORYELLOW,LINETHICK2;
底部吸筹指标:=((((CLOSE - MA(CLOSE,20)) / MA(CLOSE,20)) * 100));
A:=(((((((((((((59 - 59) + 66) - 44) + 20) + 2) + (24 * 100000000)) + 5) - 5) + 1700000) + 1580) + 3) - 3) - 44);
B:=((((6 * 100000000) + 23578500) + 92) + 3);
线:IF((((底部吸筹指标 < 0) && ( A)) && ( B)),(底部吸筹指标 * 4),0),COLORBLUE,NODRAW;
DRAWICON(CROSS(出击,5),5,25);
副图2
A1:=EMA(C,12)-EMA(C,25),NODRAW;
A2:=EMA(A1,6),NODRAW;
获利回吐:(A2>=0)*A2,COLORLIBLUE,LINETHICK1;
空头回补:(A2<0)*A2,COLORMAGENTA,LINETHICK1;
坚绝做空:(A1<0)*A1,COLORGREEN,LINETHICK1;
买入持股:(A1>=0)*A1,COLORRED,LINETHICK1;
STICKLINE(A2>=0,A2,0,3.2,0),COLORAAAAAA;
STICKLINE(A2>=0,A2,0,2.9,0),COLOR777777;
STICKLINE(A2>=0,A2,0,2.4,0),COLOR999999;
STICKLINE(A2>=0,A2,0,1.8,0),COLORBBBBBB;
STICKLINE(A2>=0,A2,0,1.1,0),COLORDDDDDD;
STICKLINE(A2>=0,A2,0,0.3,0),COLORFFFFFF;
STICKLINE(A2<0,A2,0,3.2,0),COLORFF5500;
STICKLINE(A2<0,A2,0,2.9,0),COLORYELLOW;
STICKLINE(A2<0,A2,0,2.4,0),COLORYELLOW;
STICKLINE(A2<0,A2,0,1.8,0),COLORYELLOW;
STICKLINE(A2<0,A2,0,1.1,0),COLORYELLOW;
STICKLINE(A2<0,A2,0,0.3,0),COLORYELLOW;
STICKLINE(A1<0,A1,0,3.2,0),COLORCC0066;
STICKLINE(A1<0,A1,0,2.9,0),COLOREE0066;
STICKLINE(A1<0,A1,0,1.8,0),COLORFF2266;
STICKLINE(A1<0,A1,0,1.1,0),COLORFF4466;
STICKLINE(A1<0,A1,0,0.3,0),COLORFF6666;
STICKLINE(A1>=0,A1,0,3.2,0),COLOR000055;
STICKLINE(A1>=0,A1,0,2.9,0),COLOR000077;
STICKLINE(A1>=0,A1,0,2.4,0),COLOR000099;
STICKLINE(A1>=0,A1,0,1.8,0),COLOR0000BB;
STICKLINE(A1>=0,A1,0,1.1,0),COLOR0000DD;
STICKLINE(A1>=0,A1,0,0.3,0),COLOR0000FF;
持股区域判断:=IF(获利回吐 > 0,1,0);
持股流出天数:=REF(COUNT(A1<A2,3),1) >=3;
持股强:=持股区域判断=1 AND 持股流出天数 AND A1>A2;
DRAWTEXT(持股强,买入持股+0.5,'多'),COLORMAGENTA,LINETHICK2;
回补区域判断:=IF(空头回补 < 0,1,0),NODRAW;
回补流出:=回补区域判断 AND ABS(A2)/ABS(A1)<2,NODRAW;
回补流程天数:=REF(COUNT(回补流出,3),1) >=3,NODRAW;
回补强:=回补流程天数 AND ABS(A2)/ABS(A1) >= 2;
DRAWTEXT(回补强,买入持股+0.5,'多'),COLORMAGENTA,LINETHICK2;
特殊区域强:=回补流程天数 AND REF(A1,1)<0 AND A1>0;
DRAWTEXT(特殊区域强,买入持股+0.5,'多'),COLORMAGENTA,LINETHICK2;
开始做空:REF(A1>A2,1) AND A2>A1,COLORBLUE,NODRAW;
开始做多:REF(A1<A2,1) AND A2<A1,COLORRED,NODRAW;
DRAWICON(开始做空,买入持股+0.5,2);
DRAWICON(开始做多,买入持股+0.5,1);
副图3
A:=IF((CLOSE > 126.32),(AMOUNT / 100000),VOL);
主力:MA(A,4),LINETHICK0,COLORYELLOW;
游资:MA(A,8),LINETHICK0,COLORGREEN;
大户:MA(A,16),LINETHICK0,COLORRED;
散户:MA(A,32),LINETHICK0,COLORLIBLUE;
主力比例:CEILING(((主力 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,COLORYELLOW;
游资比例:CEILING(((游资 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,COLORGREEN;
大户比例:CEILING(((大户 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,COLORRED;
散户比例:CEILING(((散户 / (((主力 + 游资) + 大户) + 散户)) * 100)),LINETHICK0,COLORLIBLUE;
警戒线:MA(A,180),COLORMAGENTA;
STICKLINE((主力 > 0),0,主力,3,0),COLOR009CFF;
STICKLINE((主力 > 0),0,主力,2.8,0),COLOR009CFF;
STICKLINE((主力 > 0),0,主力,2.5,0),COLOR00C0FF;
STICKLINE((主力 > 0),0,主力,1.5,0),COLOR00D1FF;
STICKLINE((主力 > 0),0,主力,1,0),COLOR00EAFF;
STICKLINE((主力 > 0),0,主力,0.7,0),COLOR00FFFF;
STICKLINE((游资 > 0),0,游资,3,0),COLOR00C100;
STICKLINE((游资 > 0),0,游资,2.8,0),COLOR00CA00;
STICKLINE((游资 > 0),0,游资,2.5,0),COLOR00D300;
STICKLINE((游资 > 0),0,游资,1.5,0),COLOR00DB00;
STICKLINE((游资 > 0),0,游资,1,0),COLOR00EA00;
STICKLINE((游资 > 0),0,游资,0.7,0),COLOR00FF00;
STICKLINE((大户 > 0),0,大户,3,0),COLOR1020AA;
STICKLINE((大户 > 0),0,大户,2.8,0),COLOR1020BB;
STICKLINE((大户 > 0),0,大户,2.5,0),COLOR1020CC;
STICKLINE((大户 > 0),0,大户,1.5,0),COLOR1020DD;
STICKLINE((大户 > 0),0,大户,1,0),COLOR1020EE;
STICKLINE((大户 > 0),0,大户,0.7,0),COLOR1020FF;
STICKLINE((散户 > 0),0,散户,3,0),COLORFF7700;
STICKLINE((散户 > 0),0,散户,2.8,0),COLORFF8800;
STICKLINE((散户 > 0),0,散户,2.5,0),COLORFF9900;
STICKLINE((散户 > 0),0,散户,1.5,0),COLORFFAA00;
STICKLINE((散户 > 0),0,散户,1,0),COLORFFBB00;
STICKLINE((散户 > 0),0,散户,0.7,0),COLORFFCC00;
{DRAWTEXT(CROSS(主力,游资),主力,'始'),COLORMAGENTA,LINETHICK2;
DRAWTEXT(CROSS(游资,主力),游资,'终'),COLORBLUE,LINETHICK2;};