如何判断一个指标是否是好指标?
指标的意义在于提示主力的异动。那么怎么才有利于我们更快更容易把握住主力脉搏呢?我们应该力求指标及时的、准确的、明确的、简洁的、直观的将主力的异动汇报给我们。
及时、准确是指标的生命线,不准确或不及时的信号都会贻误战机,这是指标的内在要求。
但是指标作为一种图形化的信息,达到人的大脑需要经过视觉系统的转化,为了更快捷的进行信息转化,势必要求指标所呈现的图形简明扼要,能让人直观的把握要领,否则,让人看得晕头转向,同样会降低决策效率和反应速度。因此,这是指标的外在要求。
综合上述,好的指标应该是及时、准确、简明、直观的。这是我们判断指标好坏的终极标准!
我见过很多指标,要么失之过简(简单的简),要么失之过繁 ,一个没有深度,一个眼花缭乱,都不能很好的为操盘服务。我个人觉得,公式的编写应尽量将繁杂的信息简化,这种简化主要体现在优化画面和整合买卖信号上,即使是复合式的指标公式,也尽量以简明的色带、图标呈现出来,尽量减少不必要的杂乱的线条,虽然信息量较大,但是依然清爽。
以上就是我作为一个基本面为前提下的技术分析派的一点心得,希望能引起同道的共鸣。
周末福利铁树开花进击版指标源码主图附图选股手机通用
指标包括一主图,两附图,一选股指标,手机电脑通达信通用,无未来函数,信号仅供参考,详细介绍看图
铁树花开主图
{建仓区}
RSV:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
TJ:=D<10;
TJ1:=D>90;
上边线:IF(BARSLAST(TJ),REF(HIGH,BARSLAST(TJ)),DRAWNULL),COLORWHITE;
下边线:IF(BARSLAST(TJ),REF(LOW,BARSLAST(TJ)),DRAWNULL),COLORMAGENTA;
安全带:STICKLINE(D,上边线*0.996,下边线*1.005,8,0),COLORBROWN;
STICKLINE(C>O,O,C,3,1),COLORRED;
STICKLINE(C>O,H,C,0,0),COLORRED;
STICKLINE(C>O,L,O,0,0),COLORRED;
STICKLINE(C<O,O,C,3,0),COLORCYAN;
STICKLINE(C<O,H,L,0,1),COLORCYAN;
STICKLINE(TJ,O,C,2,0),COLORFF00FF;
STICKLINE(TJ1,O,C,2,0),COLORGREEN;
{涨停板立体K线}
A:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)>=9.8/100;
STICKLINE(A AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
B:=(REF(CLOSE,1)-CLOSE)/CLOSE>=9.8/100;
STICKLINE(B AND CLOSE=OPEN AND HIGH=LOW,REF(CLOSE,1),H,0,0),COLORGREEN,LINETHICK1;
STICKLINE(B,H,L,0,0),COLORGREEN,LINETHICK2;
STICKLINE(B,O,C,3.5,0),COLOR008800;
STICKLINE(B,O,C,2,0),COLOR00AA00;
STICKLINE(B,O,C,1,0),COLOR00CC00;
STICKLINE(B,O,C,0.2,0),COLOR00FF00;
STICKLINE(A,H,L,0,0),COLORYELLOW,LINETHICK2;
STICKLINE(A,O,C,3.5,0),COLOR008888;
STICKLINE(A,O,C,2,0),COLOR00AAAA;
STICKLINE(A,O,C,1,0),COLOR00CCCC;
STICKLINE(A,O,C,0.2,0),COLOR00FFFF;
{地域板块、所属行业、所属概念,主图显示}
DRAWTEXT_FIX(ISLASTBAR ,0.10,0.01,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.18,0.01,1,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR ,0.36,0.01,1,GNBLOCK),COLORWHITE;
AA1:=AMOUNT/VOL;
BB1:=L< AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;
DD1:=L< MA(C,5)*0.921;
EE1:=VOL< MA(V,5)*1.5;
HSL:=V/CAPITAL*100>10;
趋势线:=EMA(CLOSE,17);
牛熊分界线:=EMA(CLOSE,50);
X_2:=IF(NAMELIKE(8),1,0)=0;
X_3:=IF(NAMELIKE(9),1,0)=0;
X_4:=IF(NAMELIKE(10),1,0)=0;
X_5:=IF(CODELIKE(11),1,0)=0;
X_6:=IF(CODELIKE(12),1,0)=0;
X_7:=IF(CODELIKE(13),1,0)=0;
X_8:=X_2 AND X_3 AND X_4 AND X_5 AND X_6 AND X_7;
ZF:=C/REF(C,1)<1.05;
铁树花开:=BB1 AND CC1 AND DD1 AND EE1 AND HSL AND ZF;
XG:=FILTER(铁树花开=1,3) AND X_8;
STICKLINE(XG,OPEN,CLOSE,3,0),COLORYELLOW;
DRAWTEXT(XG,L*0.99,'↖铁树开花进击版'),COLORYELLOW;
辅助进击版副图
WL:(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100,LINETHICK1,COLOR0000FF;
WL3:=MA(WL,3),COLOR00FFFF;
WLT:MA(WL,89),COLOR00FFFF,LINETHICK1;
DRAWBAND(WL,RGB(200,60,200),WLT,RGB(0,100,50));
遵涨:IF(WL>=WLT,WL,DRAWNULL),COLOR3300FF;
守望:IF(WLT>=WL,WLT,DRAWNULL),COLORFF6000;
纪买:IF(WL>=WLT,WLT,DRAWNULL),COLOR00FFFF;
律跌:IF(WLT>=WL,WL,DRAWNULL),COLOR00FF00;
WLT1:=CROSS(WL,WLT);
WLT11:=CROSS(WL,-10);
WLT2:=FILTER(WLT1,8);
SKY:=10,POINTDOT,COLORFF0000,LINETHICK1;
SEA:=-10,POINTDOT,COLORFF00FF,LINETHICK1;
DRAWICON(WLT2,WLT,23);
DRAWICON(WLT11,SEA,15);
T8:=FILTER(CROSS(WL,WL3) AND WL3<WLT,5);
DRAWICON(T8,WL,25);
WLT3:=COUNT(WL>10,5)>=3;
WLT33:=CROSS(10,WL);
SEL:=WLT3 AND WLT33;
DRAWICON(SEL,10,19);
STICKLINE(WL>10,WL,10,0.001,0),COLOR00FF00;
STICKLINE(WL<-10,WL,-10,0.001,0),COLORFF00FF;
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
MACD:=(DIF-DEA)*2,COLORSTICK;
DIF底:=LLV(DIF,120);
最底价:=L=LLV(L,120);
距今:=BARSLAST(最底价);
偏离:=IF((距今=0 AND DIF>DIF底),1,0);
DDD:=EXIST(偏离,20) AND SLOPE(DEA,2)>=0;
HRY:=FILTER(DDD,10);
STICKLINE(HRY,-5,-10,3,0),COLOR00FFFF;
DRAWTEXT(HRY,-5,'M背'),COLOR88FFFF;
{YYY:COUNT(偏离,5);}
DIF顶:=HHV(DIF,120);
最高价:=H=HHV(H,120);
距今高:=BARSLAST(最高价);
偏离高:=IF((距今高=0 AND DIF<DIF顶),1,0);
GGG:=EXIST(偏离高,20) AND SLOPE(DEA,2)<0;
HRY1:=FILTER(GGG,10);
STICKLINE(HRY1,10,6.5,7,1),COLORFF8000;
DRAWTEXT(HRY1,6,' M背'),COLORFF8000;
A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));
A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));
C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
KDJ底背:FILTER(IF(B2>0,-1,0),13),COLORFF00FF,NODRAW;
STICKLINE(KDJ底背,-10,-8,3,0),COLORFF00FF;
DRAWTEXT(KDJ底背,-7.5,'K背'),COLORFF00FF;
RSI底背:FILTER(IF(B3>0,-1,0),13),COLORFF8000,NODRAW;
STICKLINE(RSI底背,-10,-7,3,0),COLORFFFFFF;
DRAWTEXT(RSI底背,-6.5,'R背'),COLORFFFFFF;
KDJ顶背:FILTER(IF(D2>0,1,0),13),COLORFFF000,NODRAW;
STICKLINE(KDJ顶背,10,5,2,0),COLORFFFF00;
DRAWTEXT(KDJ顶背,4.5,'K背'),COLORFFFF00;
RSI顶背:FILTER(IF(D3>0,1,0),13),NODRAW;
STICKLINE(RSI顶背,10,8,5,0),COLOR00FF00;
DRAWTEXT(RSI顶背,7.5,'R背'),COLOR00FF80;
T:=IF((BARSCOUNT(C) > 7),(100)*((MA(C,7))/(LLV(MA(C,7),7)) - 1),1);
N:=IF((T > 0.35),6,65);
W:=((-((100)*(HHV(H,N) - C))/(HHV(HIGH,N) - LLV(L,N))));
RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
J0:=(HIGH+LOW)/2;
QJ:=EMA(J0,3);
J1:=IF(CLOSE>QJ,VOL,0);
J2:=IF(CLOSE<QJ,VOL,0);
BB:=MA(SUM(J1-J2,22),3);
修改1:=DYNAINFO(8)*240/FROMOPEN;
修改2:=IF(CLOSE>QJ,修改1,0);
修改3:=IF(CLOSE<QJ,修改1,0);
修改4:=MA(SUM(修改2-修改3,22),3);
累加:=21*修改4+20*REF(BB,1)+19*REF(BB,2)+18*REF(BB,3)+17*REF(BB,4)
+16*REF(BB,5)+15*REF(BB,6)+14*REF(BB,7)+13*REF(BB,8)+12*REF
(BB,9)+11*REF(BB,10)+10*REF(BB,11)+9*REF(BB,12)+8*REF(BB,13)
+7*REF(BB,14)+6*REF(BB,15)+5*REF(BB,16)+4*REF(BB,17)+3*REF
(BB,18)+2*REF(BB,19)+REF(BB,20);
WMA3:=累加/(21+1)/21*2;
CC:=WMA3;VAR3:=(BB-CC);VAR4:=SMA(RV,3,1);
VAR5:=SMA(VAR4,3,1);
KK:=EMA(SMA(RG,3,1),2),COLORFFFFFF;
DD:=SMA(KK,3,1),COLOR00FFFF;
涨停:=CROSS(W,-2) AND CROSS(VAR4,VAR5) AND CROSS(KK,DD);
STICKLINE(涨停,-10,-5,4,0)COLORRED;
DRAWTEXT(REF("KDJ.J",1)<0 AND "KDJ.J">0,-4,'短'),COLORFF88FF;
STICKLINE(REF("KDJ.J",1)<0 AND "KDJ.J">0,-10,-4.5,3,0),COLORFF88FF;
AA1:=HHV(H,55);
BB1:=REF(H,13);
TJ1:=AA1=BB1;
XX:=LLV(L,55);
YY:=REF(L,13);
YY1:=REF(L,21);
TJ2:=XX=YY;
TJ3:=XX=YY1;
选股:TJ1 OR TJ2;
DRAWTEXT(TJ2,-6,'离底13'),COLOR00FF00;
STICKLINE(TJ2 ,-10,-6.5,2,1),COLOR00FF00;
DRAWTEXT(TJ3,-7.5,'离底21'),COLOR00FFFF;
STICKLINE(TJ3 ,-10,-8,4,1),COLOR00FFFF;
DRAWTEXT(TJ1,-5.5,'离高13'),COLOR0000FF;
STICKLINE(TJ1 ,-10,-6,2,0),COLOR0000FF;
LV:=MA(C,24);
HR0:=HHV(HIGH,N);
HRY0:=LLV(LOW,N);
HRY110:=HR0*HRY0;
HRY330:=SQRT(HRY110);
NS1:=C>HRY330 AND HRY330 >=REF(HRY330,1) AND C>LV;
STICKLINE(C>0,-10,-11.5,3,0),COLORFF6000;
STICKLINE(WLT2 OR WL>WLT,-10,-11.5,3,0),COLOR00FFFF;
STICKLINE(NS1,-10,-11.5,3,0),COLOR0000FF;
DRAWTEXT(FILTER(NS1,21),-11,'持股'),COLORFFFFFF;
DRAWTEXT(FILTER(WLT2 OR WL>WLT,13),-11,'买入'),COLOR0000FF;
铁树花开幅图
AA1:=AMOUNT/VOL;
BB1:=L< AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;
DD1:=L< MA(C,5)*0.921;
EE1:=VOL< MA(V,5)*1.5;
HSL:=V/CAPITAL*100>10;
趋势线:=EMA(CLOSE,17);
牛熊分界线:=EMA(CLOSE,50);
X_2:=IF(NAMELIKE(8),1,0)=0;
X_3:=IF(NAMELIKE(9),1,0)=0;
X_4:=IF(NAMELIKE(10),1,0)=0;
X_5:=IF(CODELIKE(11),1,0)=0;
X_6:=IF(CODELIKE(12),1,0)=0;
X_7:=IF(CODELIKE(13),1,0)=0;
X_8:=X_2 AND X_3 AND X_4 AND X_5 AND X_6 AND X_7;
ZF:=C/REF(C,1)<1.05;
铁树花开:=BB1 AND CC1 AND DD1 AND EE1 AND HSL AND ZF;
XG:=FILTER(铁树花开=1,3) AND X_8;
DRAWBMP(XG,1.7,'01');
STICKLINE(XG,0,2,2,0),COLORGREEN;
DRAWICON(XG,2.05,9);
DRAWICON(XG,1.4,29);
DRAWICON(XG,1.0,28);
DRAWICON(XG,1.1,29);
DRAWICON(XG,1.2,28);
DRAWICON(XG,1.3,29);
DRAWICON(XG,0.9,28);
铁树花开进阶选股
AA1:=AMOUNT/VOL;
BB1:=L< AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100> 1.2;
DD1:=L< MA(C,5)*0.921;
EE1:=VOL< MA(V,5)*1.5;
HSL:=V/CAPITAL*100>10;
趋势线:=EMA(CLOSE,17);
牛熊分界线:=EMA(CLOSE,50);
S1:=IF(NAMELIKE('S'),0,1);
S2:=IF(NAMELIKE('*'),0,1);
Z3:=NOT(INBLOCK('近期解禁'));
Z4:=NOT(INBLOCK('拟减持'));
Z5:=NOT(INBLOCK('股东减持'));
Z6:=NOT(INBLOCK('基金减持'));
Z7:=NOT(INBLOCK('即将解禁'));
Z8:=IF(CODELIKE('688'),0,1);
Z9:=IF(CODELIKE('8'),0,1);
去掉:=S1 AND S2 AND Z3 AND Z4 AND Z5 AND Z6 AND Z7 AND Z8 AND Z9;
ZF:=C/REF(C,1)<1.05;
铁树花开:=BB1 AND CC1 AND DD1 AND EE1 AND HSL AND ZF;
FILTER(铁树花开=1,3) AND 去掉;
指 标 完 结
|