当前位置: 网站首页 > 股票软件公式 > 通达信公式 > 文章 当前位置: 通达信公式 > 文章

通达信指标:六金叉+涨停伏击主图+资金流向

点击: 次    来源:顶尖财经    作者:股市狙击 - 小 + 大

通达信六金叉指标公式:

DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIFF,9);
STICKLINE(DIFF>DEA,-1,-2,3,0),colorred;
STICKLINE(DIFF<DEA,-1,-2,3,0),colorgreen;
MCDA金叉:DIFF>DEA,NODRAW;
RSV:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
STICKLINE(K>D,-3,-4,3,0),colorred;
STICKLINE(K<D,-3,-4,3,0),colorgreen;
KDJ金叉:K>D,NODRAW;
LC:=REF(CLOSE,1);
RSI1:=(SMA(MAX(CLOSE-LC,0),9,1))/(SMA(ABS(CLOSE-LC),9,1))*100;
RSI2:=(SMA(MAX(CLOSE-LC,0),26,1))/(SMA(ABS(CLOSE-LC),26,1))*100;
STICKLINE(RSI1>RSI2,-5,-6,3,0),colorred;
STICKLINE(RSI1<RSI2,-5,-6,3,0),colorgreen;
RSI金叉:RSI1>RSI2,NODRAW;
LWR1:=SMA(RSV,3,1);
LWR2:=SMA(LWR1,3,1);
STICKLINE(LWR1>LWR2,-7,-8,3,0),colorred;
STICKLINE(LWR1<LWR2,-7,-8,3,0),colorgreen;
LWR金叉:LWR1>LWR2,NODRAW;
BBI:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;
STICKLINE(CLOSE>BBI,-9,-10,3,0),colorred;
STICKLINE(CLOSE<BBI,-9,-10,3,0),colorgreen;
BBI金叉:CLOSE>BBI,NODRAW;
MTM:=CLOSE-REF(CLOSE,1);
MMS:=100*EMA(EMA(MTM,9),9)/EMA(EMA(ABS(MTM),9),3);
MMM:=100*EMA(EMA(MTM,26),12)/EMA(EMA(ABS(MTM),26),12);
STICKLINE(MMS>MMM,-11,-12,3,0),colorred;
STICKLINE(MMS<MMM,-11,-12,3,0),colorgreen;
MMS金叉:MMS>MMM,NODRAW;
STICKLINE(MCDA金叉 AND KDJ金叉 AND RSI金叉 AND LWR金叉 AND BBI金叉 AND MMS金叉,-13,-14,3,0),coloryellow;


涨停伏击主图:


{财主抓涨停 主图}

DRAWTEXT_FIX(1,0.02,0.00,0,'首次使用务必先补全数据库,以后每天做收盘作业'),COLORFFFFFF;
DRAWTEXT_FIX(1,0.02,0.08,0,'顶尖财经 股票学院'),COLOR00FF00;
N:=10;M:=9;
VAB0:=531;VAB1:=1510000;
VAB2:=VAB0 + VAB1;
A:=SMA(L,4,3) ;
VAB3:=IF(DATE > VAB2,0,1);
{DRAWTEXT(均价线 AND 涨停,均价线,B1),COLORGREEN;}
T:=DATE>901224 AND DATE<1130630;
涨停:=IF(REF(C,1)*1.1*VAB3-C<0.01 ,1,0);
R1:=(C+L+H)/3;
R2:=EMA(R1,6);
R3:=EMA(R2,5);
联邦私募8号:EMA(R3,17),COLOR00AAFF,LINETHICK1;
单阳:=IF(REF(C,1)*1.1*VAB3-C<0.01 ,1,0)*T;
高不破价:=REF(C,BARSLAST(单阳));
中不破价:=REF((C+L)/2,BARSLAST(单阳));
低不破价:=REF(L,BARSLAST(单阳));
单阳不破:=BARSLAST(单阳)<11 AND (LLV(L,BARSLAST(单阳))>低不破价 OR LLV(L,BARSLAST(单阳))=低不破价);
STICKLINE(单阳,O,C,1.5,0),COLORYELLOW;
MA17:=MA(C,17),COLOR0000FF;
MA55:MA(C,55),COLORFF00FF,LINETHICK2;
支撑线:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORFFFFFF;
LC:=REF(CLOSE,1);
操作线:=SMA(MAX(CLOSE-LC,0),2,1)/SMA(ABS(CLOSE-LC),2,1)*100,COLORWHITE,LINETHICK2;
趋势线:=SMA(MAX(CLOSE-LC,0),14,1)/SMA(ABS(CLOSE-LC),14,1)*100,COLORGRAY;
震仓线:=45,COLORMAGENTA;
震仓线2:=50,COLORGRAY;
逃命线:=80,COLORRED;
抄底线:=20,COLORGREEN;
绝底线:=5,COLORBLUE;
VARA12:=SMA(H,10,9)*VAB3;
VARA13:=SMA(L,10,9)*VAB3;
PP2:=操作线<震仓线2  AND REF(操作线,1)>震仓线2 ;
PP:=操作线<震仓线  AND REF(操作线,1)>震仓线 ;
PP3:=操作线<抄底线  AND REF(操作线,1)>抄底线;
HH:=COUNT(涨停,13)>=1;
HD:=COUNT(涨停,21)>=1;
A1:=SMA(H,N,M);
A2:=SMA(L,N,M);
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORRED;
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;
STICKLINE(涨停,H,L,0,0),COLORYELLOW;
卖出价参考:VARA12,COLORRED,NODRAW;
补仓价参考:VARA13,COLORGREEN,NODRAW;
T1:=MA(C,21)>REF(MA(C,21),1);
T2:=EXIST(C>REF(C,1)*1.093,21);
T3:=C<O AND C<REF(C,1) AND EVERY(MA(C,5)<REF(MA(C,5),1),3);
T5:=EVERY(V<REF(V,1),2) AND EVERY(V<MA(V,5),2);
T6:=MA(C,5)>MA(C,21);
XG:=T1 AND T2 AND T3 AND T5 AND T6;
DRAWTEXT(XG,L*0.99,'伏击'),COLOR00FF00;
DRAWICON(XG,L*0.9995,1);




资金流向(顶尖财经 股票学院: http://58188.com):

ZERO:0;

QJJ:=VOL/((H-L)*2-ABS(C-O));
XVL:=IF(C>O,QJJ*(H-L),IF(C<O,QJJ*(H-O+(C-L)),VOL/2))+IF(C>O,0-QJJ*(H-C+(O-L)),IF(C<O,0-QJJ*(H-L),0-VOL/2));
HSL:=XVL/20/1.15;
攻击流量:=HSL*0.55+REF(HSL,1)*0.33+REF(HSL,2)*0.22;
流量:=EMA(攻击流量,3),COLORCYAN;
STICKLINE(流量>0,流量,0,1,0),COLORRED;
STICKLINE(流量<0,流量,0,1,0),COLORGREEN;
STICKLINE(HSL*0.4>=0,HSL*0.4*1.5,0,0,1),COLORYELLOW;
STICKLINE(HSL*0.4<0,HSL*0.4*1.5,0,0,1),COLORWHITE;

上一篇:通达信公式下载:黑马营+弯弓射大雕+帝王副图A26

下一篇:通达信源码:绝佳买点+买卖天机+逢低买明天涨,瞄准底部