回调K线 做强势回调必备 源码 简单注解
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2012-03-29 12:30:00
公式简介:
新版通达信才可以使用
发个帮助做回调的公式总稿,图中箭头信号并非买入信号,只作为一个参考区间。一般强势股回调下跌,配合以前我发的{均线定势}跌到一个支撑区间就可以参与了,跌破支撑就逃命了,短线收益丰厚,以前模拟做过实验,半个月收益65%。昨日又动了莱因置业。由于我不怎么喜欢看书,没看过关于K线的书,对公式中K线的定义完全靠自己对着K线图 理解而来,到现在,我个人认为只有K线和均线才是炒股(短线)的得力助手,其他东西真不用花太多心思去研究!公式可以好好琢磨,看得多自然看出灵魂。天气暖了,以后我会经常发公式,完毕!
{回调K线}
涨幅:100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORWHITE;
最大涨幅:100*(H-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORYELLOW;
最大跌幅:100*(L-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORYELLOW;
实体幅:ABS(100*(CLOSE-OPEN)/OPEN),NODRAW,COLORRED;
上影幅:IF(CLOSE>OPEN,100*(H-C)/C,100*(H-O)/O),NODRAW,COLORYELLOW;
下影幅:IF(CLOSE>OPEN,100*(O-L)/L,100*(C-L)/L),NODRAW,COLORWHITE;
X:=(3*C+L+O+H)/6;
AH1:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210;
CP:=IF(C>REF(C,1),(3*H+4*C+3*OPEN+2*L)/12,(2*H+4*C+3*OPEN+3*L)/12);
AH2:=EXPMEMA(CP,25);
持股线:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
VAR2M:=CLOSE*VOL;
VAR3M:=EMA((EXPMA(VAR2M,3)/EXPMA(VOL,3)+EXPMA(VAR2M,6)/EXPMA(VOL,6)+EXPMA(VAR2M,12)/EXPMA(VOL,12)+EXPMA(VAR2M,24)/EXPMA(VOL,24))/4,13);
SDN:=VAR3M*0.94;
涨停B:=CLOSE>1.1*REF(CLOSE,1)-0.005 AND H>L;
首个涨停:=BARSLAST(涨停B);
大阳:=100*(H-REF(C,1))/REF(C,1)>7;
DRAWICON((C>SDN AND 100*(L-持股线)/持股线<1.5 AND 100*(L-((MIN(AH2,AH1)+MIN(持股线,AH2)+MIN(持股线,AH1))/2.95))/((MIN(AH2,AH1)+MIN(持股线,AH2)+MIN(持股线,AH1))/2.95)<1.5 AND (COUNT(大阳{ OR 倍量},13)>=2 OR 首个涨停<13) AND BARSLAST(大阳)>0 AND 涨幅<=2),L*0.98,1);
DRAWTEXT(CLOSE>1.1*REF(CLOSE,1)-0.005,CLOSE*1.02,'停,'),COLORCYAN;
DRAWTEXT(CLOSE<0.9*REF(CLOSE,1)+0.005,L*0.98,'停,'),COLORCCCCCC;
VAR32:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*10;
火:=BARSLAST(EMA(CLOSE,5)<REF(EMA(CLOSE,5),1));
CRXP:=((REF(上影幅,1)>3 AND REF(下影幅,1)<1.15))
AND ((下影幅>3 AND 上影幅<1.55)) AND 涨幅<8;
JM:=(3*SMA(SMA(VAR32,2,1),2,1)-2*SMA(SMA(SMA(VAR32,2,1),2,1),3,1));
强势回调:=(首个涨停<14 OR (首个涨停<26 AND 首个涨停>19));
搓揉:=((强势回调 AND CRXP) OR (CRXP AND (JM>REF(JM,1) OR (火>0 AND JM<7))));
DRAWTEXT_FIX(1,0.85,0,0,'~ 作者: 阿虎 ~'),COLORCYAN;
DRAWTEXT(搓揉,L*0.98,'搓揉,'),COLORYELLOW;
回调搓合承受价:(MIN(AH2,AH1)+MIN(BBI,AH2)+MIN(BBI,AH1))/2.95,NODRAW;
大盘短期生命线:EMA(((SLOPE(INDEXC,22)*23)+INDEXC),48),COLORYELLOW,LINETHICK3,NODRAW;
=============================================================================================================
{均线定势}
日最大涨幅:100*(H-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORYELLOW;
日涨幅:100*(CLOSE-REF(CLOSE,1))/REF(CLOSE,1),NODRAW,COLORWHITE;
M5:MA(C,5),COLORWHITE;
M10:MA(C,10),COLORYELLOW;
M20:MA(C,20),COLORBLUE;
MA30:MA(C,30),COLORRED,LINETHICK2;
M60:MA(C,60),COLORFFCC66;
PMA:=MA(C,5);
X:=(3*C+L+O+H)/6;
多空线:(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)
+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*REF(X,10)+9*REF(X,11)+8*REF(X,12)
+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+
REF(X,20))/210,COLORFF00FF,LINETHICK2;
DD:=多空线<REF(多空线,1);
IF(DD,多空线,DRAWNULL),COLOR00FFFF,LINETHICK2;
A:=(PMA>多空线);
IF(A,多空线,DRAWNULL),COLOR33FF33,POINTDOT,LINETHICK4;
IF(MA(CLOSE,30)<=REF(MA(CLOSE,30),1),MA(CLOSE,30),DRAWNULL),COLORGREEN,LINETHICK2;
IF(MA(CLOSE,5)<=REF(MA(CLOSE,5),1),MA(CLOSE,5),DRAWNULL),COLORGREEN;
IF(MA(CLOSE,10)<=REF(MA(CLOSE,10),1),MA(CLOSE,10),DRAWNULL),COLORGREEN;
DRAWTEXT(CLOSE>=1.094*REF(CLOSE,1),CLOSE*1.02,'停,'),COLORCYAN;
VARZT:=BARSLAST(C/REF(C,1)>1.094);
DRAWTEXT(VARZT=2,L*0.95,'3T'),COLORYELLOW;
DRAWTEXT(VARZT=4,H*1.06,'5T'),COLORYELLOW;
DRAWTEXT(VARZT=7,L*0.95,'8T'),COLORYELLOW;
DRAWTEXT(VARZT=12,H*1.06,'13T'),COLORYELLOW;
DRAWTEXT(VARZT=20,L*0.95,'21T'),COLORYELLOW;
DRAWTEXT(VARZT=33,H*1.06,'34T'),COLORYELLOW;
DRAWTEXT(VARZT=54,L*0.95,'55T'),COLORYELLOW;
DRAWTEXT_FIX(1,0,0,0,'总股本(亿):'),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.06,0,0,CONST(FINANCE(1)/100000000)),COLORLIGRAY;
DRAWTEXT_FIX(1,0.13,0,0,'流通股本(亿):'),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.2,0,0,CONST(CAPITAL/1000000)),COLORLIGRAY;
DRAWTEXT_FIX(1,0.25,0,0,'所属板块:'),COLORLIGRAY;
DRAWTEXT_FIX(1,0.302,0,0,HYBLOCK),COLORLIGRAY;
DRAWTEXT_FIX(1,0.35,0,0,DYBLOCK),COLORLIGRAY;
AL2:=ABS((REF(C,1)-(REF(O,1)))/(REF(O,1)));
AL3:=ABS((REF(H,1)-(REF(O,1)))/(REF(O,1)));
AL4:=ABS((REF(L,1)-(REF(O,1)))/(REF(O,1)));
ELE:=(((REF(HIGH,1))+(REF(LOW,1))+(REF(OPEN,1))+2*(REF(CLOSE,1)))/5);
上升突破价:=(ELE+((REF(HIGH,1))-(REF(LOW,1))));
上升阻力价:=(2*ELE-(REF(LOW,1)));
下跌支撑价:=(2*ELE-(REF(HIGH,1)));
下跌反转价:=(ELE-((REF(HIGH,1))-(REF(LOW,1))));
预测低一:=O-(O*(ABS((AL2+AL3+AL4)/3)));
预测低二:=(预测低一+((((ELE+上升突破价+上升阻力价+下跌支撑价+下跌反转价)/5)+O)/2))/2;
VARM:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买盘:=IF(CLOSE>OPEN,VARM*(HIGH-LOW),IF(CLOSE<OPEN,VARM*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
DRAWTEXT_FIX(1,0.85,0,0,'~ 作者: 阿虎 ~'),COLORCYAN;
DRAWTEXT_FIX(1,0.78,0.9,0,'@别人贪婪时我恐惧,别人恐惧时我贪婪! '),COLORLIGRAY;
DRAWTEXT_FIX(1,0,0.10,0,'预测低一:'),COLORLIGRAY;
DRAWTEXT_FIX(1,0,0.18,0,'预测低二:'),COLORLIGRAY;
DRAWTEXT_FIX(1,0.25,0.18,0,'系数:'),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.06,0.10,0,CONST(预测低一)),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.06,0.18,0,CONST(预测低二)),COLORLIGRAY;
DRAWTEXT_FIX(1,0.13,0.10,0,'成交量比:'),COLORLIGRAY;
DRAWTEXT_FIX(1,0.13,0.18,0,'涨停价★:'),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.19,0.18,0,CONST(REF(C,1)+(REF(C,1))/10)),COLORLIGRAY;
DRAWTEXT_FIX(1,0.25,0.10,0,'量比:'),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.19,0.10,0,CONST(买盘/VOL*100)),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.28,0.10,0,CONST(DYNAINFO(17))),COLORLIGRAY;
DRAWNUMBER_FIX(1,0.28,0.18,0,CONST(IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1))),COLORLIGRAY;
[url=http://www.goodgupiao.com/gupiaogongshi/18645.html][B]回调K线 做强势回调必备 源码 简单注解[/B][/url]