技术手法驰骋股市。 如何判断一个指标是否是好指标? 指标的意义在于提示主力的异动。那么怎么才有利于我们更快更容易把握住主力脉搏呢?我们应该力求指标及时的、准确的、明确的、简洁的、直观的将主力的异动汇报给我们。 及时、准确是指标的生命线,不准确或不及时的信号都会贻误战机,这是指标的内在要求。 但是指标作为一种图形化的信息,达到人的大脑需要经过视觉系统的转化,为了更快捷的进行信息转化,势必要求指标所呈现的图形简明扼要,能让人直观的把握要领,否则,让人看得晕头转向,同样会降低决策效率和反应速度。因此,这是指标的外在要求。 综合上述,好的指标应该是及时、准确、简明、直观的。这是我们判断指标好坏的终极标准! 我见过很多指标,要么失之过简(简单的简),要么失之过繁 ,一个没有深度,一个眼花缭乱,都不能很好的为操盘服务。我个人觉得,公式的编写应尽量将繁杂的信息简化,这种简化主要体现在优化画面和整合买卖信号上,即使是复合式的指标公式,也尽量以简明的色带、图标呈现出来,尽量减少不必要的杂乱的线条,虽然信息量较大,但是依然清爽。 以上就是我作为一个基本面为前提下的技术分析派的一点心得,希望能引起同道的共鸣。 上涨雷达主图周期筹码上涨周期雷达通达信主图双副图指标 主图指标 参数 M1 2 500 5 M2 2 500 13 M4 2 500 50 突破:REF(EMA(C,5),1)NODRAW,COLORFF00FF,LINETHICK1; A1X:=(EMA(C,5)-突破)/突破*100,NODRAW; 出击:IF(A1X>=0,REF(EMA(C,5),BARSLAST(CROSS(A1X,0))+1),DRAWNULL)NODRAW,COLORRED,LINETHICK1; 休假:IF(A1X<0,REF(EMA(C,5),BARSLAST(CROSS(0,A1X))+1),DRAWNULL)NODRAW,COLORGREEN,LINETHICK1; STICKLINE(A1X>=0,出击,突破,0,-1)NODRAW,COLORRED; STICKLINE(A1X<0,休假,突破,0,-1)NODRAW,COLORGREEN; {DRAWBAND(MA(CLOSE,5),RGB(55,55,55),MA(CLOSE,8),RGB(55,55,55));} DRAWBAND(MA(CLOSE,5),RGB(200,0,0),MA(CLOSE,13),RGB(0,200,0)),COLORRED; DRAWKLINE(H,O,L,C),COLORRED; 阳涨幅:=4;{可自调4-10} 阳倍量:=1.90;{王子倍量倍数} 单阳:=C>O*(1+阳涨幅/100) AND VOL>REF(VOL,1)*阳倍量; LS0:=BARSLAST(单阳); 不破价:=REF(L,LS0); 单阳距今T数:LS0,NODRAW,COLORGREEN; P1:=5; P2:=10; P3:=20; P4:=30; ZT1:=BARSLAST((C/REF(C,1)-1)*100>9.5); 最后涨停距今数:ZT1,NODRAW,COLORYELLOW; MA1:MA(CLOSE,M1)COLORWHITE; MA2:MA(CLOSE,M2)COLORYELLOW; MA4:MA(CLOSE,M4),COLORGREEN; STICKLINE(C>=MA2 && C>=O,C,O,3,0),COLORRED; STICKLINE(C>=MA2&& C>=O,H,L,0,0),COLORRED; STICKLINE(C>=MA2&& C<O,C,O,3,1),COLORRED; STICKLINE(C>=MA2 && C<O,O,H,0,0),COLORRED; STICKLINE(C>=MA2 && C<O,C,L,0,0),COLORRED; STICKLINE(CROSS(A1X,0),C,O,4,0)COLORWHITE; STICKLINE(CROSS(0,A1X),C,O,4,0)COLORGREEN; Z1:=STRCAT(HYBLOCK,' '); Z2:=STRCAT(Z1,DYBLOCK); Z3:=STRCAT(Z2,' '); DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(Z3,GNBLOCK)),COLORRED; AAA1:=STRCAT('沪深总上涨数:',CON2STR(DYNAINFO(60),0)); AAA2:=STRCAT('沪深总下跌数:',CON2STR(DYNAINFO(61),0)); AAA3:=STRCAT('沪深总成交金额:',CON2STR(DYNAINFO(62)/100000000,0)); DRAWTEXT_FIX(ISLASTBAR,0.01,0.18,0,AAA1),COLORRED; DRAWTEXT_FIX(ISLASTBAR,0.01,0.12,0,AAA2),COLORGREEN; DRAWTEXT_FIX(ISLASTBAR,0.01,0.06,0,AAA3),COLORYELLOW; YTSL:=(3*CLOSE+LOW+OPEN+HIGH)/6; VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2)); VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)); VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR19:=((REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)) AND VAR1); 均价线:=AMOUNT/V/100; 涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0); STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED; STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED; STICKLINE(涨停,H,L,0,0),COLORRED; MA13:MA(C,13)NODRAW,COLORGRAY; MA21:MA(C,21)NODRAW,COLORWHITE; 支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,NODRAW; LC:=REF(CLOSE,1); 操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100; 趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100; 震仓线:=45; 震仓线2:=50; 逃命线:=80; 抄底线:=20; 绝底线:=5; PP2:=操作线<震仓线2 AND REF(操作线,1)>震仓线2 ; PP:=操作线<震仓线 AND REF(操作线,1)>震仓线 ; PP3:=操作线<抄底线 AND REF(操作线,1)>抄底线; HH:=COUNT(涨停,13)>=1; STICKLINE(PP2 AND HH,OPEN,CLOSE,2.3,0),COLORBLUE; STICKLINE(PP AND HH,OPEN,CLOSE,2.3,0),COLORBLUE; STICKLINE(PP3 AND HH,OPEN,CLOSE,2.3,0),COLORBLUE; A:=SMA(L,4,3) ; STICKLINE(A AND REF(PP,1) AND HH ,A*0.97,A*0.9979,3,1),COLOR808080; STICKLINE(A AND REF(PP3,1) AND HH ,A*0.97,A*0.9979,3,1),COLORGREEN,LINETHICK2; DRAWICON(A AND REF(PP3,1) AND HH,L*0.999,1),COLORBLUE; DRAWICON(A AND REF(PP,1) AND HH,L*0.999,1),COLORBLUE; N1:=12; N2:=26; N3:=9; DIFF:=(EMA(CLOSE,N1) - EMA(CLOSE,N2)); MACD2:=MACD; TYP:=(HIGH+LOW+CLOSE)/3; CCI:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14)); DA:=6;FA:=5;CT:=1;P:=0;N:=3; NS:=IF((HHV(ABS(((HHV(CLOSE,DA)/LLV(CLOSE,DA))-1)),DA)>(10/100)),3,DA); MM:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(VOL,N1))/100)); M1:=REF(MM,1)COLORYELLOW,LINETHICK1; 买入:=IF(CROSS(CLOSE,M1),M1,0); 卖出:=IF(CROSS(M1,CLOSE),M1,0); DW:=BARSLAST((卖出>0)); EX10:=HHV((买入>0),(DW+1)); BJ:=IF((EX10>REF(EX10,1)),买入,0); SS:=MA((LOW+HIGH+CLOSE)/3,5)>REF(MA((LOW+HIGH+CLOSE)/3,5),1) AND REF(MA((LOW+HIGH+CLOSE)/3,5),1)<REF(MA((LOW+HIGH+CLOSE)/3,5),2); SC:=L<HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND H>HHV(MA((LOW+HIGH+CLOSE)/3,5),13) AND C>REF(C,1) AND C>O; MR:=SC AND COUNT(SS,2); 必涨:=MR AND NOT(REF(MR,1)),COLORYELLOW; STICKLINE(必涨,OPEN,CLOSE,4,0),COLORFF00FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,3,0), COLOR0044FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.6,0), COLOR0077FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.2,0), COLOR1199FF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.8,0), COLOR22BBFF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.4,0), COLOR33DDFF; STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0), COLOR33FFFF; STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,3,0), COLOR000055; STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.6,0), COLOR000077; STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.2,0), COLOR000099; 黄色底买:VAR19,COLOR33AACC,NODRAW; CO:=(C-O); STICKLINE(黄色底买,O,O+CO/3,3,0),COLOR335555; STICKLINE(黄色底买,O,O+CO/3,2,0),COLOR338888; STICKLINE(黄色底买,O,O+CO/3,1.5,0),COLOR33AAAA; STICKLINE(黄色底买,O,O+CO/3,1,0),COLOR33CCCC; STICKLINE(黄色底买,O,O+CO/3,0,0),COLOR33EEEE; 位置1:=不破价 *0.998; 位置2:=不破价 *0.98; LS11:=IF(1,LS0=1,单阳); LS21:=IF(1,LLV(L,1)>REF(L,1),1); 单阳不破:=LS11 AND LS21; STICKLINE(单阳不破,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破,位置2,'1'),COLORGREEN; LS12:=IF(2,LS0=2,单阳); LS22:=IF(2,LLV(L,2)>REF(L,2),1); 单阳不破2:=LS12 AND LS22; STICKLINE(单阳不破2,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破2,位置2,'2'),COLORGREEN; LS13:=IF(3,LS0=3,单阳); LS23:=IF(3,LLV(L,3)>REF(L,3),1); 单阳不破3:=LS13 AND LS23; STICKLINE(单阳不破3,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破3,位置2,'3'),COLORGREEN; LS14:=IF(4,LS0=4,单阳); LS24:=IF(4,LLV(L,4)>REF(L,4),1); 单阳不破4:=LS14 AND LS24; STICKLINE(单阳不破4,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破4,位置2,'4'),COLORGREEN; LS15:=IF(5,LS0=5,单阳); LS25:=IF(5,LLV(L,5)>REF(L,5),1); 单阳不破5:=LS15 AND LS25; STICKLINE(单阳不破5,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破5,位置2,'5'),COLORGREEN; LS16:=IF(6,LS0=6,单阳); LS26:=IF(6,LLV(L,6)>REF(L,6),1); 单阳不破6:=LS16 AND LS26; STICKLINE(单阳不破6,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破6,位置2,'6'),COLORGREEN; LS17:=IF(7,LS0=7,单阳); LS27:=IF(7,LLV(L,7)>REF(L,7),1); 单阳不破7:=LS17 AND LS27; STICKLINE(单阳不破7,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破7,位置2,'7'),COLORGREEN; LS18:=IF(8,LS0=8,单阳); LS28:=IF(8,LLV(L,8)>REF(L,8),1); 单阳不破8:=LS18 AND LS28; STICKLINE(单阳不破8,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破8,位置2,'8'),COLORGREEN; LS19:=IF(9,LS0=9,单阳); LS29:=IF(9,LLV(L,9)>REF(L,9),1); 单阳不破9:=LS19 AND LS29; STICKLINE(单阳不破9,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破9,位置2,'9'),COLORGREEN; LS110:=IF(10,LS0=10,单阳); LS210:=IF(10,LLV(L,10)>REF(L,10),1); 单阳不破10:=LS110 AND LS210; STICKLINE(单阳不破10,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破10,位置2,'10'),COLORGREEN; LS111:=IF(11,LS0=11,单阳); LS211:=IF(11,LLV(L,11)>REF(L,11),1); 单阳不破11:=LS111 AND LS211; STICKLINE(单阳不破11,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破11,位置2,'11'),COLORGREEN; LS122:=IF(12,LS0=12,单阳); LS222:=IF(12,LLV(L,12)>REF(L,12),1); 单阳不破12:=LS122 AND LS222; STICKLINE(单阳不破12,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破12,位置2,'12'),COLORGREEN; LS133:=IF(13,LS0=13,单阳); LS233:=IF(13,LLV(L,13)>REF(L,13),1); 单阳不破13:=LS133 AND LS233; STICKLINE(单阳不破13,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破13,位置2,'13'),COLORGREEN; LS144:=IF(14,LS0=14,单阳); LS244:=IF(14,LLV(L,14)>REF(L,14),1); 单阳不破14:=LS144 AND LS244; STICKLINE(单阳不破14,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破14,位置2,'14'),COLORGREEN; LS155:=IF(15,LS0=15,单阳); LS255:=IF(15,LLV(L,15)>REF(L,15),1); 单阳不破15:=LS155 AND LS255; STICKLINE(单阳不破15,位置1,不破价,4,0),COLORRED; DRAWTEXT(单阳不破15,位置2,'15'),COLORGREEN; DRAWTEXT(单阳,L-L*0.004,'倍量'),COLOR00FFFF; ZGB:=VOL*100/HSCOL.HSCOL,NODRAW; DRAWTEXT(ZGB-REF(ZGB,1)>50,H,'解')COLORGREEN; β0:=(H-L)/2+L; α:=β0,LINETHICK0; β:=REF(β0,1),LINETHICK0,COLORGREEN; γ:=REF(β0,2),LINETHICK0,COLORMAGENTA; 高:=PLOYLINE(1,CONST(HHV(H,20))),COLOR880088,LINETHICK1; 止:=PLOYLINE(1,CONST(HHV(H,20)*0.95)),COLOR888888,LINETHICK1; IF(CONST(α>β) AND DYNAINFO(7)>0,DYNAINFO(7),DRAWNULL)DOTLINE,COLOR0000AA,LINETHICK1; IF(CONST(α<=β)AND DYNAINFO(7)>0,DYNAINFO(7),DRAWNULL)DOTLINE,COLOR00AA00,LINETHICK1; AA:=CLOSE/REF(C,1)>=1.09; BA:=CLOSE/REF(C,1)>=1.09; 副图1 VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN)); ZM:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT; ZM1:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLOR00FF00,POINTDOT; MMB:=(SUM(ZM,30)+SUM(ZM1,30))/10,COLORYELLOW; SG:=MMB>0 AND REF(MMB,1)<MMB; 上攻周期:COUNT(SG,5),LINESTICK,COLORWHITE; JSC:=上攻周期<1; DBQD:=FILTER(COUNT(JSC,5)>3 AND NOT(JSC),10); DRAWICON(DBQD,2,1); DRAWBAND(上攻周期,RGB(255,120,120),3,RGB(0,0,0)); DRAWBAND(JSC,RGB(0,0,255),0.5,RGB(0,0,0)); STICKLINE(COUNT(上攻周期>3,5)>=3 AND SG,0,上攻周期,1.5,0),COLORRED; XG: COUNT(COUNT(上攻周期>3,5)>=3 AND SG,20)>4; 副图2 LC:=REF(CLOSE,1); WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100; 获利筹码:=CONST(WINNER(C)*100); SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20)); 量能饱和:=(IF(SAT>1,1,SAT)*100); WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100; 活跃:=(WRSI-WR10); 活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2)); DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.25,1,STRCAT(STRCAT('量能饱和:',CON2STR(量能饱和,2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.52,1,STRCAT(STRCAT('活跃度比:',CON2STR(活跃度比,2)),'%')),COLORYELLOW; DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.75,1,STRCAT(STRCAT('获利筹码:',CON2STR(获利筹码,2)),'%')),COLORYELLOW; DRAWRECTREL(950,470,630,365,RGB(150,10,250)); DRAWRECTREL(950,710,630,610,RGB(150,10,250)); DRAWRECTREL(950,855,630,955,RGB(150,10,250)); DRAWRECTREL(950,470,630+CONST(量能饱和*(950-630)/100),365,RGB(0,100,0)); DRAWRECTREL(790,470,790,365,RGB(0,0,10)); DRAWRECTREL(950,710,630+CONST(活跃度比*(950-630)/100),610,RGB(0,100,0)); DRAWRECTREL(790,710,790,610,RGB(0,0,10)); DRAWRECTREL(950,855,630+CONST(获利筹码*(950-630)/100),955,RGB(0,100,0)); DRAWRECTREL(790,855,790,955,RGB(0,0,10)); 总涨幅周期:=350; 高点位:=REFDATE(HHV(H,总涨幅周期),DATE); 低点位:=REFDATE(LLV(L,总涨幅周期),DATE); 低位价:=REF(L,BARSLAST(低点位=L)),COLORGREEN,NODRAW; 高位价:=REF(H,BARSLAST(高点位=H)),COLORRED,NODRAW; 曾最大涨幅:=(高位价-低位价)/低位价*100; 当前涨幅:=(C-低位价)/低位价*100; ZFA:=CON2STR(CONST(曾最大涨幅),2); ZFB:=CON2STR(CONST(当前涨幅),2); ZFC:=STRCAT('【曾最大涨幅】:',ZFA); ZFD:=STRCAT(ZFC,'%'); ZFE:=STRCAT(ZFD,'【当前总涨幅】:'); ZFF:=STRCAT(ZFE,ZFB); ZFG:=STRCAT(ZFF,'%'); {DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,''),COLORRED; DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,ZFG),COLORYELLOW}; AA1X:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(CLOSE<REF(CLOSE,1),- VOL/CAPITAL*100,0)),0)}; 成交额:=V*C/100,NODRAW;{万元} AA2X:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0); AA3X:=SUM((IF(((成交额/8>20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0); AA4X:=SUM((IF(((成交额/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0); AA5X:=SUM((IF(((成交额/8<20) AND (CLOSE<(REF(CLOSE,1)))),成交额,0)),0); AA6X:=((AA2X+AA3X)+AA4X)+AA5X; DD1X:=1; AAA1:=STRCAT(STRCAT('机构持有',CON2STR((100*AA2X)/AA6X,0)),'%'); AAA2:=STRCAT(STRCAT('散户持有',CON2STR((100*AA3X)/AA6X,0)),'%'); DRAWTEXT_FIX(1,0.83,0,1,'《★筹码分析★》'),COLORRED; DRAWTEXT_FIX(DD1X=1,0.63,0,0,AAA1),COLORMAGENTA; DRAWTEXT_FIX(DD1X=1,0.89,0,0,AAA2),COLORGREEN; VARA5:=CONST(AA2X/AA6X*100); DRAWRECTREL(950,220,630,115,RGB(150,10,250)); DRAWRECTREL(950,220,630+CONST(VARA5*(950-630)/100),115,RGB(0,100,0)); DRAWRECTREL(790,220,790,115,RGB(0,0,10)); 最近团购资讯 指标类
|
|
来自: 常熟老李jlr5mr > 《通达信公式》