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

通达信源码:庄家动作,猫哥双均布林,Q潜龙决

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

庄家动作:

{庄家动作}

YYK:=1;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN))*YYK;
成交:VOL*YYK,POINTDOT;
庄家买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-
LOW)),VOL/2))*YYK,COLORRED,POINTDOT;
主力卖盘:IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-
LOW),0-VOL/2))*YYK,COLOR00FF00,POINTDOT;
STICKLINE(VOL>0,VOL,0,2,1)*YYK,COLORWHITE;
STICKLINE(庄家买盘>0,0,庄家买盘,2,0)*YYK,COLORRED;
STICKLINE(主力卖盘<0,0,主力卖盘,2,0)*YYK,COLOR00FF00;




猫哥双均布林:

{公式名称: 猫哥双均布林}

 
MA1:EMA(CLOSE,8),COLORRED,LINETHICK3;
MA2:EMA(CLOSE,21),COLORGREEN,LINETHICK3;
生命线A1:EMA(CLOSE,144),COLORWHITE,LINETHICK2;
生命线A2:EMA(CLOSE,169),COLORYELLOW,LINETHICK2;
生命线B1:EMA(CLOSE,288),COLORC08080,LINETHICK2;
生命线B2:EMA(CLOSE,338),COLORFF0080,LINETHICK2;
控盘线:MA(CLOSE,1650),COLORRED,LINETHICK4;
UPPER1:MA(CLOSE,60)+2*STD(CLOSE,60),COLORCYAN;
LOWER1:MA(CLOSE,60)-2*STD(CLOSE,60),COLORCYAN;
UPPER2:MA(CLOSE,90)+2*STD(CLOSE,90),COLORC080FF;
LOWER2:MA(CLOSE,90)-2*STD(CLOSE,90),COLORC080FF;
VAR1:=REF(CLOSE,1);
{顶尖财经 股票学院: www.58188.com}
VAR2:=IF((CLOSE-VAR1)*100/VAR1>=10-0.01*100/VAR1,1,0);
VAR3:=AMOUNT/VOL/100;
STICKLINE(VAR2,OPEN,CLOSE,4,0),COLORBLACK;
STICKLINE(VAR2,OPEN,CLOSE,3,0),COLORRED;
VAR4:=IF((VAR1-CLOSE)*100/VAR1>=10-0.01*100/VAR1,1,0);
STICKLINE(VAR4,OPEN,CLOSE,2,0),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.1,0,0,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.2,0,0,GNBLOCK),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.5,0,0,FGBLOCK),COLORWHITE;
 



Q潜龙决:

{Q潜龙决}

C1:=REF(C,1);
O1:=REF(O,1);
H1:=REF(H,1);
C2:=REF(C,2);
O2:=REF(O,2);
C3:=REF(C,3);
V1:=REF(V,1);
V2:=REF(V,2);
C/C1>1.06 AND C>O AND AMOUNT>=60000000 AND HHV(C,140)/REF(C,140)<=1.65;

上一篇:通达信源码:爆赢法则,多空神准变色磁力线,开天之剑

下一篇:通达信源码:分时涨停预警,威力巨大主图,抄底小王子