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

通达信源码精选:狂买快闪,主导动能,天天涨停完美组合主副图

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

1、狂买快闪

狂买快闪的用法:
红绿k线,表示股票价格趋势,红色趋势向上,绿色趋势向下。
文字指示“狂买”和蓝色文字“快闪”,就是买卖点。
 
ANGEL:EMA(CLOSE,3);
DEVIL:EMA((SLOPE(CLOSE,21))*(20) + CLOSE,42);
狂买:CROSS(ANGEL,DEVIL),LINETHICK0;
快闪:CROSS(DEVIL,ANGEL),LINETHICK0;
DRAWTEXT(狂买,(LOW)*(0.97),'狂买'),COLORRED;
DRAWTEXT(快闪,(HIGH)*(1.03),'快闪'),COLORBLUE;
STICKLINE((ANGEL >= DEVIL),LOW,HIGH,0.1,0),COLOR0000FF;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,4.5,0),COLOR0000AA;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE((ANGEL >= DEVIL),CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,1,0),COLORE0E000;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,2,0),COLORD0D000;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,3,0),COLORC0C000;
STICKLINE((ANGEL < DEVIL),CLOSE,OPEN,4.5,0),COLORA0A000;
STICKLINE((ANGEL < DEVIL),LOW,HIGH,0.1,0),COLORF0F000;
STICKLINE(CROSS(ANGEL,DEVIL) OR CROSS(DEVIL,ANGEL),OPEN,CLOSE,3.5,0),COLOR0A0A0A;



2、主导动能

主导动能公式的使用方法:
出现红柱视为做多主导,为买入时机,
黄柱出现是获利回吐提示注意高抛低吸,( 股民学院: http://www.58188.com )
一旦绿柱出现是做空主导,即使卖错也要立即卖出股票不要留恋,
待蓝柱出现并且逐渐缩短至零轴,请注意低吸机会!
 
{主导动能副图}
TT:=(2*CLOSE+OPEN+HIGH+LOW);
主导动能:TT/EMA(TT,4)-1,COLORSTICK;
FF:=主导动能;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,4,0),COLOR33CFDD;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,3,0),COLOR33DFDD;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,2,0),COLOR33EFDD;
STICKLINE(FF<REF(FF,1)AND FF>0,0,FF,1,0),COLOR33FFDD;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,4,0),COLOR00CC00;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,3,0),COLOR00DD00;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,2,0),COLOR00EE00;
STICKLINE(FF<REF(FF,1)AND FF<0,0,FF,1,0),COLOR00FF00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,4,0),COLORFF9900;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,3,0),COLORFFAA00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,2,0),COLORFFBB00;
STICKLINE(FF>REF(FF,1)AND FF<0,0,FF,1,0),COLORFFCC00;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,4,0),COLOR0000CC;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,3,0),COLOR0000DD;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,2,0),COLOR0000EE;
STICKLINE(FF>REF(FF,1)AND FF>0,0,FF,1,0),COLOR0000FF;




3、天天涨停完美组合主副图

两个公式配合
使用说明:( 股民学院: http://www.58188.com )
如果当日K线上主图公式出现了黄色方块的买入信号后,我们可以不必急着去买入,
而是看一下副图公式,如果下面的副图公式也相对的出现了买入信号后,
我们则可以大胆的全仓介入,坐等着主力拉升就可以了。
 
涨停完美主图公式:
N:=20;
N1:=7;
N2:=69;
T1:=IF((DATE<=1341231),1,0);
M3:=EMA(CLOSE,3);
M8:EMA(CLOSE,8),COLOR008000;
M13:EMA(M8,13),COLOR0000FF;
M62:EMA(M8,55),COLORF0F000;
VAR1:=EMA(M13,62);
M81:EMA(M62,81),COLOR00FFFF;
M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;
M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;
VAR2:=(CLOSE+HIGH+LOW)/(3);
VAR3:=(EMA(VAR2,10))*(T1);
VAR4:=(REF(VAR3,1))*(T1);
STICKLINE((VAR3>VAR4),VAR3,VAR4,4,0),COLOR00FFFF;
STICKLINE((VAR3<VAR4),VAR3,VAR4,4,0),COLORFF0000;
VAR5:=((REF(HIGH,1)+REF(LOW,1))/(2))*(T1);
VAR6:=MA(CLOSE,N)+((2)*(STD(CLOSE,N)))*(T1);
DRAWTEXT(CROSS(VAR3,VAR4),(VAR3)*(0.98),'★'),COLOR00FFFF;
DRAWTEXT(CROSS(VAR5,VAR6),(HIGH)*(1.04),'↓卖'),COLOR008000;
VAR7:=REF(CLOSE,1);
 
 
涨停完美副图公式:
N:=5;
VAR1:4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-
3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1),COLORYELLOW,LINETHICK0;
VAR2:8,COLORGREEN,LINETHICK0;
上升在即: IF(CROSS(VAR1,VAR2),80,0),STICK,COLOR0000CC,LINETHICK2;
专吸庄血: IF(VAR1<=8,25,0),STICK,COLORWHITE,LINETHICK2;
DRAWTEXT(CROSS(VAR1,VAR2),80,'准备买入'),COLOR00FFFF;
VARO5:=LLV(LOW,27);
VARO6:=HHV(HIGH,34);
VARO7:=EMA((CLOSE-VARO5)/(VARO6-VARO5)*4,4)*25;
建仓区: IF((VARO7<10),80,100) ,COLOR00CCFF,LINETHICK1;
0,LINETHICK2 ,COLORFFCC00;
 

上一篇:通达信源码精选:紫金神兽II,波浪自动画线,获利盘副图

下一篇:通达信源码精选:有庄控盘主图,筹码辨顶底,主力进场轨迹