同花顺崔氏主力资金主图源码
-
相关简介:一;均线系统设置13日均线,和其最低价平均线,作为13日均线的辅助均线。红色虚线是疯牛线,虚线上边疯牛行情。均线系统作为参考线。 二、箭头是135战法的买入信号,在这里只做参考,不作为具体操作信号。 三、操盘分为三个区域,绿色k线区域是主力资金没有大举进场区域,不作为我们操作区域。粉色空心k线区域,是散户买多主力买少区域,我们可以轻仓参与。正常的红色k线区域,是主力资金大举运作区域,主力买多散户买少,重仓参与,黄色k线是主力还在散户跑了,是主力洗盘行为短线到位,是判断介入点的标志,若随后出现红k
-
文章来源:股海网作者:股海网发布时间:2016-05-21浏览次数:
一;均线系统设置13日均线,和其最低价平均线,作为13日均线的辅助均线。红色虚线是疯牛线,虚线上边疯牛行情。均线系统作为参考线。
二、箭头是135战法的买入信号,在这里只做参考,不作为具体操作信号。
三、操盘分为三个区域,绿色k线区域是主力资金没有大举进场区域,不作为我们操作区域。粉色空心k线区域,是散户买多主力买少区域,我们可以轻仓参与。正常的红色k线区域,是主力资金大举运作区域,主力买多散户买少,重仓参与,黄色k线是主力还在散户跑了,是主力洗盘行为短线到位,是判断介入点的标志,若随后出现红k线向上,我们在第一时间积极做多。这点可以帮助我们不追高不被套在高位,
四、该主图公式是最精品公式,可以单独使用,不看任何指标。可以在任何股票任何行情得到验证。
短期:=100*(C-LLV(L,5))/(HHV(C,5)-LLV(L,5)),colorwhite;
中期:=100*(C-LLV(L,10))/(HHV(C,10)-LLV(L,10)),coloryellow;
中长期:=100*(C-LLV(L,20))/(HHV(C,20)-LLV(L,20)),colormagenta;
长期:=100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorred,LINETHICK2;
强势线:=80,DOTLINE;
分水岭:=50,DOTLINE;
弱势线:=20,DOTLINE;
STICKLINE(长期<50,OPEN,CLOSE,8,1),colorgreen,,linethick1;
STICKLINE(短期>长期 AND 长期>50,OPEN,CLOSE,8,1),colormagenta,linethick2;
STICKLINE(短期<20 AND 长期>50,OPEN,CLOSE,8,0),coloryellow,,linethick2;
MA13:MA(C,13);
MA13l:MA(L,13);
疯牛线: DMA(MA(CLOSE+REF(CLOSE,5)/CLOSE*0.098,90),VOL),LINETHICK1,colorred,DOTLINE;
涨停:=IF(REF(C,1)*1.1-C<0.01 ,1,0);
STICKLINE(涨停,OPEN,CLOSE,9,0),colormagenta;
C3:=REF(C,1);
跌停:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);
STICKLINE(跌停,OPEN,CLOSE,9,0),colorgreen;
RSV=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
k:=SMA(RSV,3,1),colorwhite;
D:=SMA(K,3,1),coloryellow;
K2:=k-50,colorwhite;
D2:=D-50,coloryellow;
MD:=2*(K2-D2),nodraw;
DF := EMA(CLOSE,12) - EMA(CLOSE,26),colorred;
DA := EMA(DF,9),colorliblue;
MACD:=2*(DF-DA),nodraw;
MACDkdj共振能量:= MACD>=REF(MACD,1) AND MD>=REF(MD,1);;
持续放量:=(VOL>=MA(VOL,5) AND VOL>=MA(VOL,135)) OR (MA(VOL,5)>MA(VOL,135));
k线形态:=C>O;
强势共振:持续放量 AND MACDkdj共振能量 AND C>O AND C>MA(C,20),nodraw,colorred;
STICKLINE(强势共振,O,C,4,0),coloryellow;
五日线角度2:=ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.1416>70;
DRAWICON(五日线角度2 AND 强势共振 AND (C-REF(C,5))/C<0.2 AND (C-REF(C,1))/REF(C,1)>0.05,L,1);
EMA13:=MA(C,13),colorwhite,LINETHICK2;
EMA34:=MA(C,34),coloryellow;
EMA55:=MA(C,55),COLORFF00FF;
HX1:=EMA13<EMA34 AND EMA34<EMA55;
HX2:=BARSLAST((C-EMA13)/EMA13*100<-6);
HX3:=ABS(1-EMA55/REF(C,1))>0.1;
HX6:=BARSLAST(CROSS(EMA55,EMA34))>=20;
HX4:=ABS(1-REF(EMA13,1)/EMA13)<0.004 AND C<EMA34;
HX5:=REF(C,1)<EMA13 AND C>EMA13 AND C>O;
HX7:=HX1 AND HX3 AND HX4 AND HX5 ;
HX8:=HX7 AND FILTER(HX7,10);
红杏出墙:= HX8;
DRAWICON(HX8,L,1);
BR1:=COUNT(BETWEEN(((C-O)/O)*100,0,5) ,5)=5;
BR2:=(ABS(EMA13-EMA34)+ABS(EMA34-EMA55))/C<0.1;
BR3:=C>EMA55 AND COUNT(L<EMA55,5)>=1;
MYSS:=BR1 AND BR2 AND BR3;
蚂蚁上树:= MYSS AND FILTER(MYSS,5);
DRAWICON(蚂蚁上树,L,1);
DJ1:=EMA13>EMA34 AND EMA34<EMA55;
DJ2:=O>EMA55;
DJ3:=CROSS(EMA13,EMA55) OR ABS(1-EMA13/EMA55)<0.002;
DJ4:=O>C AND C<REF(C,1);
HKDJ:= DJ2 AND DJ3 AND DJ4;
DRAWICON(HKDJ AND FILTER(HKDJ,10),L,1);
XN1:=ABS(1-HHV(EMA55,5)/LLV(EMA55,5))<0.02;
XN2:=CROSS(EMA13,EMA55) OR ABS(1-EMA13/EMA55)<0.002;
XN3:=C>O AND V>REF(V,1) AND C>EMA55;
HYXN:=XN1 AND XN2 AND XN3;
DRAWICON(HYXN AND FILTER(HYXN,5),L,1);
LY1:=COUNT(ABS(1-EMA55/EMA34)<0.1,20)>=16;
LY2:=COUNT(CROSS(EMA34,EMA13),40)>=1 AND COUNT(CROSS(EMA55,EMA13),40)>=1;
LY3:=CROSS(EMA13,EMA55);
HDLY:=LY1 AND LY2 AND LY3;
DRAWICON(HDLY AND FILTER(HDLY,5),L,1);
MKED1:=BARSLAST(REF(CROSS(EMA34,EMA13),1));
MKED2:=COUNT(H>=EMA55,MKED1)=MKED1;
MKED:=MKED2 AND CROSS(EMA13,EMA34);
DRAWICON(MKED,L,1);
YY1:=C>EMA13 AND O<EMA13;
YY2:=C>EMA34 AND O<EMA34;
YY3:=C>EMA55 AND O<EMA55;
YYSX:=YY1 AND YY2 AND YY3;
DRAWICON(YYSX,L,1);
MAX3:=MAX(MAX(EMA13,EMA34),EMA55);
MIN3:=MIN(MIN(EMA13,EMA34),EMA55);
JG1:=ABS(EMA13-EMA34)<C*0.05;
JG2:=ABS(EMA34-EMA55)<C*0.05;
JG3:=C>=O*1.03 AND C>MAX3;
JG4:=O>MIN3 AND O<MAX3;
JG5:=C>REF(H,5);
JG6:=(C-EMA34)/EMA34<=0.15;
JG7:=V>MA(V,5) AND MA(V,10);
JGEQ:=JG1 AND JG2 AND JG3 AND JG4 AND JG5 AND JG6 AND JG7;
DRAWICON(JGEQ,L,1);
MAX4:=MAX(MAX(MAX(EMA13,EMA34),EMA55),H);
MIN4:=MIN(MIN(MIN(EMA13,EMA34),EMA55),L);
SXTJ1:=HHV(MAX4,60);
SXTJ2:=LLV(MIN4,60);
SXTJ3:=EVERY(ABS(1-SXTJ1/SXTJ2)<0.3,20);
SXTJ:=SXTJ3 AND (YYSX OR JGEQ);
DRAWICON(SXTJ AND FILTER(SXTJ,10),L,1);
JWCJ1:=C<O AND REF(C,1)<REF(O,1);
JWCJ2:=O<=REF(C,1) AND L>=REF(L,1);
JWCJ3:=REF(C,1)/REF(L,1)>1.02;
JWCJ4:=EMA13<EMA34 OR EMA13<EMA55;
JWCJ:=JWCJ1 AND JWCJ2 AND JWCJ3 AND JWCJ4;
DRAWICON(JWCJ,L,1);
RYHB1:=REF(O,1)<=REF(C,2) AND REF(C,1)<REF(O,1) AND ABS(1-REF(C,1)/REF(L,1))<0.02;
RYHB2:=C>O AND ABS(1-C/REF(O,1))<0.025 AND ABS(1-O/REF(C,1))<0.025;
RYHB3:=EMA13<REF(EMA13,1) OR ABS(1-EMA13/REF(EMA13,1))<0.01 AND (EMA13<EMA34 OR EMA13<EMA55);
RYHB4:=REF(L,1)<=LLV(REF(L,1),10);
RYHB:=RYHB1 AND RYHB2 AND RYHB3 AND RYHB4;
DRAWICON(RYHB,L,1);
TSWL1:=CROSS(EMA13,EMA34) AND EMA13<EMA55;
DRAWICON(TSWL1,L,1);
FDYB:=CROSS(EMA34,EMA13) AND EMA34>EMA55;
DRAWICON(FDYB,L,1);
SJJJ3:=REF(EMA55,1)>REF(EMA13,1);
SJJJ4:=ABS(1-(MAX(MAX(EMA34,EMA55),EMA13)/MIN(MIN(EMA13,EMA34),EMA55)))<0.005;
SJJJ:=SJJJ3 AND SJJJ4;
DRAWICON(SJJJ AND FILTER(SJJJ,5),L,1);
TCCW1:=REF(EMA55,1)<REF(EMA13,1);
TCCW2:=EMA13<LLV(REF(EMA13,1),5) AND ABS(1-(MAX(MAX(EMA34,EMA55),EMA13)/MIN(MIN(EMA13,EMA34),EMA55)))<0.008;
TCCW:=TCCW1 AND TCCW2;
DRAWICON(TCCW AND FILTER(TCCW,5),L,1);
PJCY1:=REF(O,1)/REF(C,1)>1.02;
PJCY2:=O<=REF(C,1) AND C>=REF(O,1);
PJCY3:=(ABS(1-REF(C,1)/EMA55)<0.05 OR ABS(1-C/EMA55)<0.05 OR ABS(1-MA(C,2)/EMA55)<0.05);
PJCY4:=EMA13>EMA55 OR EMA13>MA(EMA13,5);
PJCY:=PJCY1 AND PJCY2 AND PJCY3 AND PJCY4;
DRAWICON(PJCY,L,1);
BBG1:=C>=REF(C,1) AND REF(C,1)>=REF(C,2);
BBG2:=V>=REF(V,1) AND REF(V,1)>=REF(V,2);
BBG3:=COUNT(C>=O,3)=3;
BBG:=BBG1 AND BBG2 AND BBG3;
DRAWICON(BBG AND FILTER(BBG,3),L,1);
JCFS1:=EMA55>EMA13 AND EMA13>C;
JCFS2:=O<=REF(L,1) AND C/O>1.05;
JCFS:= JCFS1 AND JCFS2;
DRAWICON(JCFS,L,1);